aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/fsouza/go-dockerclient/external/golang.org
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/external/golang.org')
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/net/context/context.go447
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm.s10
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_386.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm.s30
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm64.s30
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_386.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_386.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_arm.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_386.s35
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm64.s24
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_ppc64x.s28
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_386.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_arm.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_386.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_amd64.s29
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_solaris_amd64.s17
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/constants.go13
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unix.go27
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unset.go14
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock.go24
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock_linux_32bit.go13
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go46
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_c.c41
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_linux_amd64.go20
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh274
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh476
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall.pl323
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall_solaris.pl294
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysctl_openbsd.pl264
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_darwin.pl39
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_dragonfly.pl50
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_freebsd.pl63
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_linux.pl58
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_netbsd.pl58
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_openbsd.pl50
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race.go30
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race0.go25
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_linux.go36
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_unix.go103
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/str.go26
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall.go74
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_bsd.go628
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin.go509
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_386.go79
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_amd64.go81
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm.go73
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm64.go79
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly.go411
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_386.go63
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_amd64.go63
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd.go682
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_386.go63
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_amd64.go63
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_arm.go63
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux.go1086
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_386.go388
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_amd64.go146
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm.go233
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm64.go150
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_ppc64x.go96
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd.go492
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_386.go44
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_amd64.go44
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_arm.go44
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_no_getwd.go11
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd.go303
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_386.go44
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_amd64.go44
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris.go713
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris_amd64.go37
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_unix.go297
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_386.go1576
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_amd64.go1576
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm.go1293
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm64.go1576
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_386.go1530
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go1530
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_386.go1743
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_amd64.go1748
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_arm.go1729
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_386.go1817
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_amd64.go1818
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm.go1742
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm64.go1896
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64.go1969
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64le.go1968
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_386.go1712
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_amd64.go1702
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_arm.go1688
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_386.go1584
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_amd64.go1583
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_solaris_amd64.go1436
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_386.go1426
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_amd64.go1442
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm.go1426
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm64.go1426
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_386.go1412
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go1412
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_386.go1664
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go1664
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_arm.go1664
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_386.go1628
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_amd64.go1822
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm.go1756
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm64.go1750
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64.go1792
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go1792
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_386.go1326
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go1326
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_arm.go1326
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_386.go1386
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go1386
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_solaris_amd64.go1559
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysctl_openbsd.go270
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_386.go398
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_amd64.go398
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm.go358
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm64.go398
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_386.go304
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go304
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_386.go351
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go351
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_arm.go351
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_386.go355
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_amd64.go321
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm.go356
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm64.go272
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64.go360
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go353
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_386.go273
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go273
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_arm.go273
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_386.go207
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go207
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_solaris_amd64.go13
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_386.go447
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_amd64.go462
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm.go449
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm64.go457
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_386.go437
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go443
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_386.go502
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_amd64.go505
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_arm.go497
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_386.go590
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_amd64.go608
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm.go579
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm64.go595
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64.go605
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go605
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_386.go396
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_amd64.go403
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_arm.go401
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_386.go441
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_amd64.go448
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_solaris_amd64.go422
162 files changed, 0 insertions, 95136 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/net/context/context.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/net/context/context.go
deleted file mode 100644
index dd13857..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/net/context/context.go
+++ /dev/null
@@ -1,447 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Package context defines the Context type, which carries deadlines,
6// cancelation signals, and other request-scoped values across API boundaries
7// and between processes.
8//
9// Incoming requests to a server should create a Context, and outgoing calls to
10// servers should accept a Context. The chain of function calls between must
11// propagate the Context, optionally replacing it with a modified copy created
12// using WithDeadline, WithTimeout, WithCancel, or WithValue.
13//
14// Programs that use Contexts should follow these rules to keep interfaces
15// consistent across packages and enable static analysis tools to check context
16// propagation:
17//
18// Do not store Contexts inside a struct type; instead, pass a Context
19// explicitly to each function that needs it. The Context should be the first
20// parameter, typically named ctx:
21//
22// func DoSomething(ctx context.Context, arg Arg) error {
23// // ... use ctx ...
24// }
25//
26// Do not pass a nil Context, even if a function permits it. Pass context.TODO
27// if you are unsure about which Context to use.
28//
29// Use context Values only for request-scoped data that transits processes and
30// APIs, not for passing optional parameters to functions.
31//
32// The same Context may be passed to functions running in different goroutines;
33// Contexts are safe for simultaneous use by multiple goroutines.
34//
35// See http://blog.golang.org/context for example code for a server that uses
36// Contexts.
37package context // import "github.com/fsouza/go-dockerclient/external/golang.org/x/net/context"
38
39import (
40 "errors"
41 "fmt"
42 "sync"
43 "time"
44)
45
46// A Context carries a deadline, a cancelation signal, and other values across
47// API boundaries.
48//
49// Context's methods may be called by multiple goroutines simultaneously.
50type Context interface {
51 // Deadline returns the time when work done on behalf of this context
52 // should be canceled. Deadline returns ok==false when no deadline is
53 // set. Successive calls to Deadline return the same results.
54 Deadline() (deadline time.Time, ok bool)
55
56 // Done returns a channel that's closed when work done on behalf of this
57 // context should be canceled. Done may return nil if this context can
58 // never be canceled. Successive calls to Done return the same value.
59 //
60 // WithCancel arranges for Done to be closed when cancel is called;
61 // WithDeadline arranges for Done to be closed when the deadline
62 // expires; WithTimeout arranges for Done to be closed when the timeout
63 // elapses.
64 //
65 // Done is provided for use in select statements:
66 //
67 // // Stream generates values with DoSomething and sends them to out
68 // // until DoSomething returns an error or ctx.Done is closed.
69 // func Stream(ctx context.Context, out <-chan Value) error {
70 // for {
71 // v, err := DoSomething(ctx)
72 // if err != nil {
73 // return err
74 // }
75 // select {
76 // case <-ctx.Done():
77 // return ctx.Err()
78 // case out <- v:
79 // }
80 // }
81 // }
82 //
83 // See http://blog.golang.org/pipelines for more examples of how to use
84 // a Done channel for cancelation.
85 Done() <-chan struct{}
86
87 // Err returns a non-nil error value after Done is closed. Err returns
88 // Canceled if the context was canceled or DeadlineExceeded if the
89 // context's deadline passed. No other values for Err are defined.
90 // After Done is closed, successive calls to Err return the same value.
91 Err() error
92
93 // Value returns the value associated with this context for key, or nil
94 // if no value is associated with key. Successive calls to Value with
95 // the same key returns the same result.
96 //
97 // Use context values only for request-scoped data that transits
98 // processes and API boundaries, not for passing optional parameters to
99 // functions.
100 //
101 // A key identifies a specific value in a Context. Functions that wish
102 // to store values in Context typically allocate a key in a global
103 // variable then use that key as the argument to context.WithValue and
104 // Context.Value. A key can be any type that supports equality;
105 // packages should define keys as an unexported type to avoid
106 // collisions.
107 //
108 // Packages that define a Context key should provide type-safe accessors
109 // for the values stores using that key:
110 //
111 // // Package user defines a User type that's stored in Contexts.
112 // package user
113 //
114 // import "golang.org/x/net/context"
115 //
116 // // User is the type of value stored in the Contexts.
117 // type User struct {...}
118 //
119 // // key is an unexported type for keys defined in this package.
120 // // This prevents collisions with keys defined in other packages.
121 // type key int
122 //
123 // // userKey is the key for user.User values in Contexts. It is
124 // // unexported; clients use user.NewContext and user.FromContext
125 // // instead of using this key directly.
126 // var userKey key = 0
127 //
128 // // NewContext returns a new Context that carries value u.
129 // func NewContext(ctx context.Context, u *User) context.Context {
130 // return context.WithValue(ctx, userKey, u)
131 // }
132 //
133 // // FromContext returns the User value stored in ctx, if any.
134 // func FromContext(ctx context.Context) (*User, bool) {
135 // u, ok := ctx.Value(userKey).(*User)
136 // return u, ok
137 // }
138 Value(key interface{}) interface{}
139}
140
141// Canceled is the error returned by Context.Err when the context is canceled.
142var Canceled = errors.New("context canceled")
143
144// DeadlineExceeded is the error returned by Context.Err when the context's
145// deadline passes.
146var DeadlineExceeded = errors.New("context deadline exceeded")
147
148// An emptyCtx is never canceled, has no values, and has no deadline. It is not
149// struct{}, since vars of this type must have distinct addresses.
150type emptyCtx int
151
152func (*emptyCtx) Deadline() (deadline time.Time, ok bool) {
153 return
154}
155
156func (*emptyCtx) Done() <-chan struct{} {
157 return nil
158}
159
160func (*emptyCtx) Err() error {
161 return nil
162}
163
164func (*emptyCtx) Value(key interface{}) interface{} {
165 return nil
166}
167
168func (e *emptyCtx) String() string {
169 switch e {
170 case background:
171 return "context.Background"
172 case todo:
173 return "context.TODO"
174 }
175 return "unknown empty Context"
176}
177
178var (
179 background = new(emptyCtx)
180 todo = new(emptyCtx)
181)
182
183// Background returns a non-nil, empty Context. It is never canceled, has no
184// values, and has no deadline. It is typically used by the main function,
185// initialization, and tests, and as the top-level Context for incoming
186// requests.
187func Background() Context {
188 return background
189}
190
191// TODO returns a non-nil, empty Context. Code should use context.TODO when
192// it's unclear which Context to use or it is not yet available (because the
193// surrounding function has not yet been extended to accept a Context
194// parameter). TODO is recognized by static analysis tools that determine
195// whether Contexts are propagated correctly in a program.
196func TODO() Context {
197 return todo
198}
199
200// A CancelFunc tells an operation to abandon its work.
201// A CancelFunc does not wait for the work to stop.
202// After the first call, subsequent calls to a CancelFunc do nothing.
203type CancelFunc func()
204
205// WithCancel returns a copy of parent with a new Done channel. The returned
206// context's Done channel is closed when the returned cancel function is called
207// or when the parent context's Done channel is closed, whichever happens first.
208//
209// Canceling this context releases resources associated with it, so code should
210// call cancel as soon as the operations running in this Context complete.
211func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
212 c := newCancelCtx(parent)
213 propagateCancel(parent, c)
214 return c, func() { c.cancel(true, Canceled) }
215}
216
217// newCancelCtx returns an initialized cancelCtx.
218func newCancelCtx(parent Context) *cancelCtx {
219 return &cancelCtx{
220 Context: parent,
221 done: make(chan struct{}),
222 }
223}
224
225// propagateCancel arranges for child to be canceled when parent is.
226func propagateCancel(parent Context, child canceler) {
227 if parent.Done() == nil {
228 return // parent is never canceled
229 }
230 if p, ok := parentCancelCtx(parent); ok {
231 p.mu.Lock()
232 if p.err != nil {
233 // parent has already been canceled
234 child.cancel(false, p.err)
235 } else {
236 if p.children == nil {
237 p.children = make(map[canceler]bool)
238 }
239 p.children[child] = true
240 }
241 p.mu.Unlock()
242 } else {
243 go func() {
244 select {
245 case <-parent.Done():
246 child.cancel(false, parent.Err())
247 case <-child.Done():
248 }
249 }()
250 }
251}
252
253// parentCancelCtx follows a chain of parent references until it finds a
254// *cancelCtx. This function understands how each of the concrete types in this
255// package represents its parent.
256func parentCancelCtx(parent Context) (*cancelCtx, bool) {
257 for {
258 switch c := parent.(type) {
259 case *cancelCtx:
260 return c, true
261 case *timerCtx:
262 return c.cancelCtx, true
263 case *valueCtx:
264 parent = c.Context
265 default:
266 return nil, false
267 }
268 }
269}
270
271// removeChild removes a context from its parent.
272func removeChild(parent Context, child canceler) {
273 p, ok := parentCancelCtx(parent)
274 if !ok {
275 return
276 }
277 p.mu.Lock()
278 if p.children != nil {
279 delete(p.children, child)
280 }
281 p.mu.Unlock()
282}
283
284// A canceler is a context type that can be canceled directly. The
285// implementations are *cancelCtx and *timerCtx.
286type canceler interface {
287 cancel(removeFromParent bool, err error)
288 Done() <-chan struct{}
289}
290
291// A cancelCtx can be canceled. When canceled, it also cancels any children
292// that implement canceler.
293type cancelCtx struct {
294 Context
295
296 done chan struct{} // closed by the first cancel call.
297
298 mu sync.Mutex
299 children map[canceler]bool // set to nil by the first cancel call
300 err error // set to non-nil by the first cancel call
301}
302
303func (c *cancelCtx) Done() <-chan struct{} {
304 return c.done
305}
306
307func (c *cancelCtx) Err() error {
308 c.mu.Lock()
309 defer c.mu.Unlock()
310 return c.err
311}
312
313func (c *cancelCtx) String() string {
314 return fmt.Sprintf("%v.WithCancel", c.Context)
315}
316
317// cancel closes c.done, cancels each of c's children, and, if
318// removeFromParent is true, removes c from its parent's children.
319func (c *cancelCtx) cancel(removeFromParent bool, err error) {
320 if err == nil {
321 panic("context: internal error: missing cancel error")
322 }
323 c.mu.Lock()
324 if c.err != nil {
325 c.mu.Unlock()
326 return // already canceled
327 }
328 c.err = err
329 close(c.done)
330 for child := range c.children {
331 // NOTE: acquiring the child's lock while holding parent's lock.
332 child.cancel(false, err)
333 }
334 c.children = nil
335 c.mu.Unlock()
336
337 if removeFromParent {
338 removeChild(c.Context, c)
339 }
340}
341
342// WithDeadline returns a copy of the parent context with the deadline adjusted
343// to be no later than d. If the parent's deadline is already earlier than d,
344// WithDeadline(parent, d) is semantically equivalent to parent. The returned
345// context's Done channel is closed when the deadline expires, when the returned
346// cancel function is called, or when the parent context's Done channel is
347// closed, whichever happens first.
348//
349// Canceling this context releases resources associated with it, so code should
350// call cancel as soon as the operations running in this Context complete.
351func WithDeadline(parent Context, deadline time.Time) (Context, CancelFunc) {
352 if cur, ok := parent.Deadline(); ok && cur.Before(deadline) {
353 // The current deadline is already sooner than the new one.
354 return WithCancel(parent)
355 }
356 c := &timerCtx{
357 cancelCtx: newCancelCtx(parent),
358 deadline: deadline,
359 }
360 propagateCancel(parent, c)
361 d := deadline.Sub(time.Now())
362 if d <= 0 {
363 c.cancel(true, DeadlineExceeded) // deadline has already passed
364 return c, func() { c.cancel(true, Canceled) }
365 }
366 c.mu.Lock()
367 defer c.mu.Unlock()
368 if c.err == nil {
369 c.timer = time.AfterFunc(d, func() {
370 c.cancel(true, DeadlineExceeded)
371 })
372 }
373 return c, func() { c.cancel(true, Canceled) }
374}
375
376// A timerCtx carries a timer and a deadline. It embeds a cancelCtx to
377// implement Done and Err. It implements cancel by stopping its timer then
378// delegating to cancelCtx.cancel.
379type timerCtx struct {
380 *cancelCtx
381 timer *time.Timer // Under cancelCtx.mu.
382
383 deadline time.Time
384}
385
386func (c *timerCtx) Deadline() (deadline time.Time, ok bool) {
387 return c.deadline, true
388}
389
390func (c *timerCtx) String() string {
391 return fmt.Sprintf("%v.WithDeadline(%s [%s])", c.cancelCtx.Context, c.deadline, c.deadline.Sub(time.Now()))
392}
393
394func (c *timerCtx) cancel(removeFromParent bool, err error) {
395 c.cancelCtx.cancel(false, err)
396 if removeFromParent {
397 // Remove this timerCtx from its parent cancelCtx's children.
398 removeChild(c.cancelCtx.Context, c)
399 }
400 c.mu.Lock()
401 if c.timer != nil {
402 c.timer.Stop()
403 c.timer = nil
404 }
405 c.mu.Unlock()
406}
407
408// WithTimeout returns WithDeadline(parent, time.Now().Add(timeout)).
409//
410// Canceling this context releases resources associated with it, so code should
411// call cancel as soon as the operations running in this Context complete:
412//
413// func slowOperationWithTimeout(ctx context.Context) (Result, error) {
414// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond)
415// defer cancel() // releases resources if slowOperation completes before timeout elapses
416// return slowOperation(ctx)
417// }
418func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) {
419 return WithDeadline(parent, time.Now().Add(timeout))
420}
421
422// WithValue returns a copy of parent in which the value associated with key is
423// val.
424//
425// Use context Values only for request-scoped data that transits processes and
426// APIs, not for passing optional parameters to functions.
427func WithValue(parent Context, key interface{}, val interface{}) Context {
428 return &valueCtx{parent, key, val}
429}
430
431// A valueCtx carries a key-value pair. It implements Value for that key and
432// delegates all other calls to the embedded Context.
433type valueCtx struct {
434 Context
435 key, val interface{}
436}
437
438func (c *valueCtx) String() string {
439 return fmt.Sprintf("%v.WithValue(%#v, %#v)", c.Context, c.key, c.val)
440}
441
442func (c *valueCtx) Value(key interface{}) interface{} {
443 if c.key == key {
444 return c.val
445 }
446 return c.Context.Value(key)
447}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm.s
deleted file mode 100644
index 8ed2fdb..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm.s
+++ /dev/null
@@ -1,10 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9TEXT ·use(SB),NOSPLIT,$0
10 RET
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_386.s
deleted file mode 100644
index 8a72783..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_386.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for 386, Darwin
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_amd64.s
deleted file mode 100644
index 6321421..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for AMD64, Darwin
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm.s
deleted file mode 100644
index 333242d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm.s
+++ /dev/null
@@ -1,30 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6// +build arm,darwin
7
8#include "textflag.h"
9
10//
11// System call support for ARM, Darwin
12//
13
14// Just jump to package syscall's implementation for all these functions.
15// The runtime may know about them.
16
17TEXT ·Syscall(SB),NOSPLIT,$0-28
18 B syscall·Syscall(SB)
19
20TEXT ·Syscall6(SB),NOSPLIT,$0-40
21 B syscall·Syscall6(SB)
22
23TEXT ·Syscall9(SB),NOSPLIT,$0-52
24 B syscall·Syscall9(SB)
25
26TEXT ·RawSyscall(SB),NOSPLIT,$0-28
27 B syscall·RawSyscall(SB)
28
29TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
30 B syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm64.s
deleted file mode 100644
index 97e0174..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_darwin_arm64.s
+++ /dev/null
@@ -1,30 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6// +build arm64,darwin
7
8#include "textflag.h"
9
10//
11// System call support for AMD64, Darwin
12//
13
14// Just jump to package syscall's implementation for all these functions.
15// The runtime may know about them.
16
17TEXT ·Syscall(SB),NOSPLIT,$0-56
18 B syscall·Syscall(SB)
19
20TEXT ·Syscall6(SB),NOSPLIT,$0-80
21 B syscall·Syscall6(SB)
22
23TEXT ·Syscall9(SB),NOSPLIT,$0-104
24 B syscall·Syscall9(SB)
25
26TEXT ·RawSyscall(SB),NOSPLIT,$0-56
27 B syscall·RawSyscall(SB)
28
29TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
30 B syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_386.s
deleted file mode 100644
index 7e55e0d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_386.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for 386, FreeBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-32
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-44
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-56
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-32
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-44
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_amd64.s
deleted file mode 100644
index d5ed672..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_dragonfly_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for AMD64, DragonFly
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-64
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-88
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-112
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-64
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-88
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_386.s
deleted file mode 100644
index c9a0a26..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_386.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for 386, FreeBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_amd64.s
deleted file mode 100644
index 3517247..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for AMD64, FreeBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_arm.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_arm.s
deleted file mode 100644
index 9227c87..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_freebsd_arm.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2012 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for ARM, FreeBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 B syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 B syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 B syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 B syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 B syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_386.s
deleted file mode 100644
index 4db2909..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_386.s
+++ /dev/null
@@ -1,35 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System calls for 386, Linux
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·RawSyscall(SB),NOSPLIT,$0-28
23 JMP syscall·RawSyscall(SB)
24
25TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
26 JMP syscall·RawSyscall6(SB)
27
28TEXT ·socketcall(SB),NOSPLIT,$0-36
29 JMP syscall·socketcall(SB)
30
31TEXT ·rawsocketcall(SB),NOSPLIT,$0-36
32 JMP syscall·rawsocketcall(SB)
33
34TEXT ·seek(SB),NOSPLIT,$0-28
35 JMP syscall·seek(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_amd64.s
deleted file mode 100644
index 44e25c6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System calls for AMD64, Linux
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·RawSyscall(SB),NOSPLIT,$0-56
23 JMP syscall·RawSyscall(SB)
24
25TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
26 JMP syscall·RawSyscall6(SB)
27
28TEXT ·gettimeofday(SB),NOSPLIT,$0-16
29 JMP syscall·gettimeofday(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm.s
deleted file mode 100644
index cf0b574..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System calls for arm, Linux
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 B syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 B syscall·Syscall6(SB)
21
22TEXT ·RawSyscall(SB),NOSPLIT,$0-28
23 B syscall·RawSyscall(SB)
24
25TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
26 B syscall·RawSyscall6(SB)
27
28TEXT ·seek(SB),NOSPLIT,$0-32
29 B syscall·seek(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm64.s
deleted file mode 100644
index 4be9bfe..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_arm64.s
+++ /dev/null
@@ -1,24 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build linux
6// +build arm64
7// +build !gccgo
8
9#include "textflag.h"
10
11// Just jump to package syscall's implementation for all these functions.
12// The runtime may know about them.
13
14TEXT ·Syscall(SB),NOSPLIT,$0-56
15 B syscall·Syscall(SB)
16
17TEXT ·Syscall6(SB),NOSPLIT,$0-80
18 B syscall·Syscall6(SB)
19
20TEXT ·RawSyscall(SB),NOSPLIT,$0-56
21 B syscall·RawSyscall(SB)
22
23TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
24 B syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_ppc64x.s
deleted file mode 100644
index 8d231fe..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_linux_ppc64x.s
+++ /dev/null
@@ -1,28 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build linux
6// +build ppc64 ppc64le
7// +build !gccgo
8
9#include "textflag.h"
10
11//
12// System calls for ppc64, Linux
13//
14
15// Just jump to package syscall's implementation for all these functions.
16// The runtime may know about them.
17
18TEXT ·Syscall(SB),NOSPLIT,$0-56
19 BR syscall·Syscall(SB)
20
21TEXT ·Syscall6(SB),NOSPLIT,$0-80
22 BR syscall·Syscall6(SB)
23
24TEXT ·RawSyscall(SB),NOSPLIT,$0-56
25 BR syscall·RawSyscall(SB)
26
27TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
28 BR syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_386.s
deleted file mode 100644
index 48bdcd7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_386.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for 386, NetBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_amd64.s
deleted file mode 100644
index 2ede05c..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for AMD64, NetBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_arm.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_arm.s
deleted file mode 100644
index e892857..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_netbsd_arm.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for ARM, NetBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 B syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 B syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 B syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 B syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 B syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_386.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_386.s
deleted file mode 100644
index 00576f3..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_386.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for 386, OpenBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-28
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_amd64.s
deleted file mode 100644
index 790ef77..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_openbsd_amd64.s
+++ /dev/null
@@ -1,29 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System call support for AMD64, OpenBSD
11//
12
13// Just jump to package syscall's implementation for all these functions.
14// The runtime may know about them.
15
16TEXT ·Syscall(SB),NOSPLIT,$0-56
17 JMP syscall·Syscall(SB)
18
19TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 JMP syscall·Syscall6(SB)
21
22TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 JMP syscall·Syscall9(SB)
24
25TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 JMP syscall·RawSyscall(SB)
27
28TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 JMP syscall·RawSyscall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_solaris_amd64.s b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_solaris_amd64.s
deleted file mode 100644
index 43ed17a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/asm_solaris_amd64.s
+++ /dev/null
@@ -1,17 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build !gccgo
6
7#include "textflag.h"
8
9//
10// System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
11//
12
13TEXT ·sysvicall6(SB),NOSPLIT,$0-64
14 JMP syscall·sysvicall6(SB)
15
16TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64
17 JMP syscall·rawSysvicall6(SB)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/constants.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/constants.go
deleted file mode 100644
index a96f0eb..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/constants.go
+++ /dev/null
@@ -1,13 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7package unix
8
9const (
10 R_OK = 0x4
11 W_OK = 0x2
12 X_OK = 0x1
13)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unix.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unix.go
deleted file mode 100644
index 45e281a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unix.go
+++ /dev/null
@@ -1,27 +0,0 @@
1// Copyright 2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7// Unix environment variables.
8
9package unix
10
11import "syscall"
12
13func Getenv(key string) (value string, found bool) {
14 return syscall.Getenv(key)
15}
16
17func Setenv(key, value string) error {
18 return syscall.Setenv(key, value)
19}
20
21func Clearenv() {
22 syscall.Clearenv()
23}
24
25func Environ() []string {
26 return syscall.Environ()
27}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unset.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unset.go
deleted file mode 100644
index 9222262..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/env_unset.go
+++ /dev/null
@@ -1,14 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build go1.4
6
7package unix
8
9import "syscall"
10
11func Unsetenv(key string) error {
12 // This was added in Go 1.4.
13 return syscall.Unsetenv(key)
14}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock.go
deleted file mode 100644
index ce67a59..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock.go
+++ /dev/null
@@ -1,24 +0,0 @@
1// +build linux darwin freebsd openbsd netbsd dragonfly
2
3// Copyright 2014 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7// +build darwin dragonfly freebsd linux netbsd openbsd
8
9package unix
10
11import "unsafe"
12
13// fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
14// systems by flock_linux_32bit.go to be SYS_FCNTL64.
15var fcntl64Syscall uintptr = SYS_FCNTL
16
17// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
18func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
19 _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
20 if errno == 0 {
21 return nil
22 }
23 return errno
24}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock_linux_32bit.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock_linux_32bit.go
deleted file mode 100644
index 362831c..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/flock_linux_32bit.go
+++ /dev/null
@@ -1,13 +0,0 @@
1// +build linux,386 linux,arm
2
3// Copyright 2014 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package unix
8
9func init() {
10 // On 32-bit Linux systems, the fcntl syscall that matches Go's
11 // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
12 fcntl64Syscall = SYS_FCNTL64
13}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go
deleted file mode 100644
index 94c8232..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo.go
+++ /dev/null
@@ -1,46 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build gccgo
6
7package unix
8
9import "syscall"
10
11// We can't use the gc-syntax .s files for gccgo. On the plus side
12// much of the functionality can be written directly in Go.
13
14//extern gccgoRealSyscall
15func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr)
16
17func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
18 syscall.Entersyscall()
19 r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
20 syscall.Exitsyscall()
21 return r, 0, syscall.Errno(errno)
22}
23
24func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
25 syscall.Entersyscall()
26 r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
27 syscall.Exitsyscall()
28 return r, 0, syscall.Errno(errno)
29}
30
31func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) {
32 syscall.Entersyscall()
33 r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9)
34 syscall.Exitsyscall()
35 return r, 0, syscall.Errno(errno)
36}
37
38func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
39 r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
40 return r, 0, syscall.Errno(errno)
41}
42
43func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
44 r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0)
45 return r, 0, syscall.Errno(errno)
46}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_c.c b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_c.c
deleted file mode 100644
index 07f6be0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_c.c
+++ /dev/null
@@ -1,41 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build gccgo
6
7#include <errno.h>
8#include <stdint.h>
9#include <unistd.h>
10
11#define _STRINGIFY2_(x) #x
12#define _STRINGIFY_(x) _STRINGIFY2_(x)
13#define GOSYM_PREFIX _STRINGIFY_(__USER_LABEL_PREFIX__)
14
15// Call syscall from C code because the gccgo support for calling from
16// Go to C does not support varargs functions.
17
18struct ret {
19 uintptr_t r;
20 uintptr_t err;
21};
22
23struct ret
24gccgoRealSyscall(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)
25{
26 struct ret r;
27
28 errno = 0;
29 r.r = syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9);
30 r.err = errno;
31 return r;
32}
33
34// Define the use function in C so that it is not inlined.
35
36extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline));
37
38void
39use(void *p __attribute__ ((unused)))
40{
41}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_linux_amd64.go
deleted file mode 100644
index bffe1a7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_linux_amd64.go
+++ /dev/null
@@ -1,20 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build gccgo,linux,amd64
6
7package unix
8
9import "syscall"
10
11//extern gettimeofday
12func realGettimeofday(*Timeval, *byte) int32
13
14func gettimeofday(tv *Timeval) (err syscall.Errno) {
15 r := realGettimeofday(tv, nil)
16 if r < 0 {
17 return syscall.GetErrno()
18 }
19 return 0
20}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh
deleted file mode 100755
index de95a4b..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh
+++ /dev/null
@@ -1,274 +0,0 @@
1#!/usr/bin/env bash
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6# The unix package provides access to the raw system call
7# interface of the underlying operating system. Porting Go to
8# a new architecture/operating system combination requires
9# some manual effort, though there are tools that automate
10# much of the process. The auto-generated files have names
11# beginning with z.
12#
13# This script runs or (given -n) prints suggested commands to generate z files
14# for the current system. Running those commands is not automatic.
15# This script is documentation more than anything else.
16#
17# * asm_${GOOS}_${GOARCH}.s
18#
19# This hand-written assembly file implements system call dispatch.
20# There are three entry points:
21#
22# func Syscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr);
23# func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr);
24# func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr);
25#
26# The first and second are the standard ones; they differ only in
27# how many arguments can be passed to the kernel.
28# The third is for low-level use by the ForkExec wrapper;
29# unlike the first two, it does not call into the scheduler to
30# let it know that a system call is running.
31#
32# * syscall_${GOOS}.go
33#
34# This hand-written Go file implements system calls that need
35# special handling and lists "//sys" comments giving prototypes
36# for ones that can be auto-generated. Mksyscall reads those
37# comments to generate the stubs.
38#
39# * syscall_${GOOS}_${GOARCH}.go
40#
41# Same as syscall_${GOOS}.go except that it contains code specific
42# to ${GOOS} on one particular architecture.
43#
44# * types_${GOOS}.c
45#
46# This hand-written C file includes standard C headers and then
47# creates typedef or enum names beginning with a dollar sign
48# (use of $ in variable names is a gcc extension). The hardest
49# part about preparing this file is figuring out which headers to
50# include and which symbols need to be #defined to get the
51# actual data structures that pass through to the kernel system calls.
52# Some C libraries present alternate versions for binary compatibility
53# and translate them on the way in and out of system calls, but
54# there is almost always a #define that can get the real ones.
55# See types_darwin.c and types_linux.c for examples.
56#
57# * zerror_${GOOS}_${GOARCH}.go
58#
59# This machine-generated file defines the system's error numbers,
60# error strings, and signal numbers. The generator is "mkerrors.sh".
61# Usually no arguments are needed, but mkerrors.sh will pass its
62# arguments on to godefs.
63#
64# * zsyscall_${GOOS}_${GOARCH}.go
65#
66# Generated by mksyscall.pl; see syscall_${GOOS}.go above.
67#
68# * zsysnum_${GOOS}_${GOARCH}.go
69#
70# Generated by mksysnum_${GOOS}.
71#
72# * ztypes_${GOOS}_${GOARCH}.go
73#
74# Generated by godefs; see types_${GOOS}.c above.
75
76GOOSARCH="${GOOS}_${GOARCH}"
77
78# defaults
79mksyscall="./mksyscall.pl"
80mkerrors="./mkerrors.sh"
81zerrors="zerrors_$GOOSARCH.go"
82mksysctl=""
83zsysctl="zsysctl_$GOOSARCH.go"
84mksysnum=
85mktypes=
86run="sh"
87
88case "$1" in
89-syscalls)
90 for i in zsyscall*go
91 do
92 sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i
93 rm _$i
94 done
95 exit 0
96 ;;
97-n)
98 run="cat"
99 shift
100esac
101
102case "$#" in
1030)
104 ;;
105*)
106 echo 'usage: mkall.sh [-n]' 1>&2
107 exit 2
108esac
109
110GOOSARCH_in=syscall_$GOOSARCH.go
111case "$GOOSARCH" in
112_* | *_ | _)
113 echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
114 exit 1
115 ;;
116darwin_386)
117 mkerrors="$mkerrors -m32"
118 mksyscall="./mksyscall.pl -l32"
119 mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
120 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
121 ;;
122darwin_amd64)
123 mkerrors="$mkerrors -m64"
124 mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk macosx)/usr/include/sys/syscall.h"
125 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
126 ;;
127darwin_arm)
128 mkerrors="$mkerrors"
129 mksysnum="./mksysnum_darwin.pl /usr/include/sys/syscall.h"
130 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
131 ;;
132darwin_arm64)
133 mkerrors="$mkerrors -m64"
134 mksysnum="./mksysnum_darwin.pl $(xcrun --show-sdk-path --sdk iphoneos)/usr/include/sys/syscall.h"
135 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
136 ;;
137dragonfly_386)
138 mkerrors="$mkerrors -m32"
139 mksyscall="./mksyscall.pl -l32 -dragonfly"
140 mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
141 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
142 ;;
143dragonfly_amd64)
144 mkerrors="$mkerrors -m64"
145 mksyscall="./mksyscall.pl -dragonfly"
146 mksysnum="curl -s 'http://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master' | ./mksysnum_dragonfly.pl"
147 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
148 ;;
149freebsd_386)
150 mkerrors="$mkerrors -m32"
151 mksyscall="./mksyscall.pl -l32"
152 mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
153 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
154 ;;
155freebsd_amd64)
156 mkerrors="$mkerrors -m64"
157 mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
158 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
159 ;;
160freebsd_arm)
161 mkerrors="$mkerrors"
162 mksyscall="./mksyscall.pl -l32 -arm"
163 mksysnum="curl -s 'http://svn.freebsd.org/base/stable/10/sys/kern/syscalls.master' | ./mksysnum_freebsd.pl"
164 # Let the type of C char be singed for making the bare syscall
165 # API consistent across over platforms.
166 mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
167 ;;
168linux_386)
169 mkerrors="$mkerrors -m32"
170 mksyscall="./mksyscall.pl -l32"
171 mksysnum="./mksysnum_linux.pl /usr/include/asm/unistd_32.h"
172 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
173 ;;
174linux_amd64)
175 unistd_h=$(ls -1 /usr/include/asm/unistd_64.h /usr/include/x86_64-linux-gnu/asm/unistd_64.h 2>/dev/null | head -1)
176 if [ "$unistd_h" = "" ]; then
177 echo >&2 cannot find unistd_64.h
178 exit 1
179 fi
180 mkerrors="$mkerrors -m64"
181 mksysnum="./mksysnum_linux.pl $unistd_h"
182 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
183 ;;
184linux_arm)
185 mkerrors="$mkerrors"
186 mksyscall="./mksyscall.pl -l32 -arm"
187 mksysnum="curl -s 'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/arch/arm/include/uapi/asm/unistd.h' | ./mksysnum_linux.pl -"
188 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
189 ;;
190linux_arm64)
191 unistd_h=$(ls -1 /usr/include/asm/unistd.h /usr/include/asm-generic/unistd.h 2>/dev/null | head -1)
192 if [ "$unistd_h" = "" ]; then
193 echo >&2 cannot find unistd_64.h
194 exit 1
195 fi
196 mksysnum="./mksysnum_linux.pl $unistd_h"
197 # Let the type of C char be singed for making the bare syscall
198 # API consistent across over platforms.
199 mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
200 ;;
201linux_ppc64)
202 GOOSARCH_in=syscall_linux_ppc64x.go
203 unistd_h=/usr/include/asm/unistd.h
204 mkerrors="$mkerrors -m64"
205 mksysnum="./mksysnum_linux.pl $unistd_h"
206 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
207 ;;
208linux_ppc64le)
209 GOOSARCH_in=syscall_linux_ppc64x.go
210 unistd_h=/usr/include/powerpc64le-linux-gnu/asm/unistd.h
211 mkerrors="$mkerrors -m64"
212 mksysnum="./mksysnum_linux.pl $unistd_h"
213 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
214 ;;
215netbsd_386)
216 mkerrors="$mkerrors -m32"
217 mksyscall="./mksyscall.pl -l32 -netbsd"
218 mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
219 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
220 ;;
221netbsd_amd64)
222 mkerrors="$mkerrors -m64"
223 mksyscall="./mksyscall.pl -netbsd"
224 mksysnum="curl -s 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_netbsd.pl"
225 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
226 ;;
227openbsd_386)
228 mkerrors="$mkerrors -m32"
229 mksyscall="./mksyscall.pl -l32 -openbsd"
230 mksysctl="./mksysctl_openbsd.pl"
231 zsysctl="zsysctl_openbsd.go"
232 mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
233 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
234 ;;
235openbsd_amd64)
236 mkerrors="$mkerrors -m64"
237 mksyscall="./mksyscall.pl -openbsd"
238 mksysctl="./mksysctl_openbsd.pl"
239 zsysctl="zsysctl_openbsd.go"
240 mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
241 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
242 ;;
243solaris_amd64)
244 mksyscall="./mksyscall_solaris.pl"
245 mkerrors="$mkerrors -m64"
246 mksysnum=
247 mktypes="GOARCH=$GOARCH go tool cgo -godefs"
248 ;;
249*)
250 echo 'unrecognized $GOOS_$GOARCH: ' "$GOOSARCH" 1>&2
251 exit 1
252 ;;
253esac
254
255(
256 if [ -n "$mkerrors" ]; then echo "$mkerrors |gofmt >$zerrors"; fi
257 case "$GOOS" in
258 *)
259 syscall_goos="syscall_$GOOS.go"
260 case "$GOOS" in
261 darwin | dragonfly | freebsd | netbsd | openbsd)
262 syscall_goos="syscall_bsd.go $syscall_goos"
263 ;;
264 esac
265 if [ -n "$mksyscall" ]; then echo "$mksyscall $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi
266 ;;
267 esac
268 if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi
269 if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
270 if [ -n "$mktypes" ]; then
271 echo "echo // +build $GOARCH,$GOOS > ztypes_$GOOSARCH.go";
272 echo "$mktypes types_$GOOS.go | gofmt >>ztypes_$GOOSARCH.go";
273 fi
274) | $run
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh
deleted file mode 100755
index c40d788..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh
+++ /dev/null
@@ -1,476 +0,0 @@
1#!/usr/bin/env bash
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6# Generate Go code listing errors and other #defined constant
7# values (ENAMETOOLONG etc.), by asking the preprocessor
8# about the definitions.
9
10unset LANG
11export LC_ALL=C
12export LC_CTYPE=C
13
14if test -z "$GOARCH" -o -z "$GOOS"; then
15 echo 1>&2 "GOARCH or GOOS not defined in environment"
16 exit 1
17fi
18
19CC=${CC:-cc}
20
21if [[ "$GOOS" -eq "solaris" ]]; then
22 # Assumes GNU versions of utilities in PATH.
23 export PATH=/usr/gnu/bin:$PATH
24fi
25
26uname=$(uname)
27
28includes_Darwin='
29#define _DARWIN_C_SOURCE
30#define KERNEL
31#define _DARWIN_USE_64_BIT_INODE
32#include <sys/types.h>
33#include <sys/event.h>
34#include <sys/ptrace.h>
35#include <sys/socket.h>
36#include <sys/sockio.h>
37#include <sys/sysctl.h>
38#include <sys/mman.h>
39#include <sys/wait.h>
40#include <net/bpf.h>
41#include <net/if.h>
42#include <net/if_types.h>
43#include <net/route.h>
44#include <netinet/in.h>
45#include <netinet/ip.h>
46#include <termios.h>
47'
48
49includes_DragonFly='
50#include <sys/types.h>
51#include <sys/event.h>
52#include <sys/socket.h>
53#include <sys/sockio.h>
54#include <sys/sysctl.h>
55#include <sys/mman.h>
56#include <sys/wait.h>
57#include <sys/ioctl.h>
58#include <net/bpf.h>
59#include <net/if.h>
60#include <net/if_types.h>
61#include <net/route.h>
62#include <netinet/in.h>
63#include <termios.h>
64#include <netinet/ip.h>
65#include <net/ip_mroute/ip_mroute.h>
66'
67
68includes_FreeBSD='
69#include <sys/param.h>
70#include <sys/types.h>
71#include <sys/event.h>
72#include <sys/socket.h>
73#include <sys/sockio.h>
74#include <sys/sysctl.h>
75#include <sys/mman.h>
76#include <sys/wait.h>
77#include <sys/ioctl.h>
78#include <net/bpf.h>
79#include <net/if.h>
80#include <net/if_types.h>
81#include <net/route.h>
82#include <netinet/in.h>
83#include <termios.h>
84#include <netinet/ip.h>
85#include <netinet/ip_mroute.h>
86#include <sys/extattr.h>
87
88#if __FreeBSD__ >= 10
89#define IFT_CARP 0xf8 // IFT_CARP is deprecated in FreeBSD 10
90#undef SIOCAIFADDR
91#define SIOCAIFADDR _IOW(105, 26, struct oifaliasreq) // ifaliasreq contains if_data
92#undef SIOCSIFPHYADDR
93#define SIOCSIFPHYADDR _IOW(105, 70, struct oifaliasreq) // ifaliasreq contains if_data
94#endif
95'
96
97includes_Linux='
98#define _LARGEFILE_SOURCE
99#define _LARGEFILE64_SOURCE
100#ifndef __LP64__
101#define _FILE_OFFSET_BITS 64
102#endif
103#define _GNU_SOURCE
104
105#include <bits/sockaddr.h>
106#include <sys/epoll.h>
107#include <sys/inotify.h>
108#include <sys/ioctl.h>
109#include <sys/mman.h>
110#include <sys/mount.h>
111#include <sys/prctl.h>
112#include <sys/stat.h>
113#include <sys/types.h>
114#include <sys/time.h>
115#include <sys/socket.h>
116#include <linux/if.h>
117#include <linux/if_arp.h>
118#include <linux/if_ether.h>
119#include <linux/if_tun.h>
120#include <linux/if_packet.h>
121#include <linux/if_addr.h>
122#include <linux/filter.h>
123#include <linux/netlink.h>
124#include <linux/reboot.h>
125#include <linux/rtnetlink.h>
126#include <linux/ptrace.h>
127#include <linux/sched.h>
128#include <linux/wait.h>
129#include <linux/icmpv6.h>
130#include <net/route.h>
131#include <asm/termbits.h>
132
133#ifndef MSG_FASTOPEN
134#define MSG_FASTOPEN 0x20000000
135#endif
136
137#ifndef PTRACE_GETREGS
138#define PTRACE_GETREGS 0xc
139#endif
140
141#ifndef PTRACE_SETREGS
142#define PTRACE_SETREGS 0xd
143#endif
144'
145
146includes_NetBSD='
147#include <sys/types.h>
148#include <sys/param.h>
149#include <sys/event.h>
150#include <sys/mman.h>
151#include <sys/socket.h>
152#include <sys/sockio.h>
153#include <sys/sysctl.h>
154#include <sys/termios.h>
155#include <sys/ttycom.h>
156#include <sys/wait.h>
157#include <net/bpf.h>
158#include <net/if.h>
159#include <net/if_types.h>
160#include <net/route.h>
161#include <netinet/in.h>
162#include <netinet/in_systm.h>
163#include <netinet/ip.h>
164#include <netinet/ip_mroute.h>
165#include <netinet/if_ether.h>
166
167// Needed since <sys/param.h> refers to it...
168#define schedppq 1
169'
170
171includes_OpenBSD='
172#include <sys/types.h>
173#include <sys/param.h>
174#include <sys/event.h>
175#include <sys/mman.h>
176#include <sys/socket.h>
177#include <sys/sockio.h>
178#include <sys/sysctl.h>
179#include <sys/termios.h>
180#include <sys/ttycom.h>
181#include <sys/wait.h>
182#include <net/bpf.h>
183#include <net/if.h>
184#include <net/if_types.h>
185#include <net/if_var.h>
186#include <net/route.h>
187#include <netinet/in.h>
188#include <netinet/in_systm.h>
189#include <netinet/ip.h>
190#include <netinet/ip_mroute.h>
191#include <netinet/if_ether.h>
192#include <net/if_bridge.h>
193
194// We keep some constants not supported in OpenBSD 5.5 and beyond for
195// the promise of compatibility.
196#define EMUL_ENABLED 0x1
197#define EMUL_NATIVE 0x2
198#define IPV6_FAITH 0x1d
199#define IPV6_OPTIONS 0x1
200#define IPV6_RTHDR_STRICT 0x1
201#define IPV6_SOCKOPT_RESERVED1 0x3
202#define SIOCGIFGENERIC 0xc020693a
203#define SIOCSIFGENERIC 0x80206939
204#define WALTSIG 0x4
205'
206
207includes_SunOS='
208#include <limits.h>
209#include <sys/types.h>
210#include <sys/socket.h>
211#include <sys/sockio.h>
212#include <sys/mman.h>
213#include <sys/wait.h>
214#include <sys/ioctl.h>
215#include <net/bpf.h>
216#include <net/if.h>
217#include <net/if_arp.h>
218#include <net/if_types.h>
219#include <net/route.h>
220#include <netinet/in.h>
221#include <termios.h>
222#include <netinet/ip.h>
223#include <netinet/ip_mroute.h>
224'
225
226
227includes='
228#include <sys/types.h>
229#include <sys/file.h>
230#include <fcntl.h>
231#include <dirent.h>
232#include <sys/socket.h>
233#include <netinet/in.h>
234#include <netinet/ip.h>
235#include <netinet/ip6.h>
236#include <netinet/tcp.h>
237#include <errno.h>
238#include <sys/signal.h>
239#include <signal.h>
240#include <sys/resource.h>
241#include <time.h>
242'
243ccflags="$@"
244
245# Write go tool cgo -godefs input.
246(
247 echo package unix
248 echo
249 echo '/*'
250 indirect="includes_$(uname)"
251 echo "${!indirect} $includes"
252 echo '*/'
253 echo 'import "C"'
254 echo 'import "syscall"'
255 echo
256 echo 'const ('
257
258 # The gcc command line prints all the #defines
259 # it encounters while processing the input
260 echo "${!indirect} $includes" | $CC -x c - -E -dM $ccflags |
261 awk '
262 $1 != "#define" || $2 ~ /\(/ || $3 == "" {next}
263
264 $2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next} # 386 registers
265 $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next}
266 $2 ~ /^(SCM_SRCRT)$/ {next}
267 $2 ~ /^(MAP_FAILED)$/ {next}
268 $2 ~ /^ELF_.*$/ {next}# <asm/elf.h> contains ELF_ARCH, etc.
269
270 $2 ~ /^EXTATTR_NAMESPACE_NAMES/ ||
271 $2 ~ /^EXTATTR_NAMESPACE_[A-Z]+_STRING/ {next}
272
273 $2 !~ /^ETH_/ &&
274 $2 !~ /^EPROC_/ &&
275 $2 !~ /^EQUIV_/ &&
276 $2 !~ /^EXPR_/ &&
277 $2 ~ /^E[A-Z0-9_]+$/ ||
278 $2 ~ /^B[0-9_]+$/ ||
279 $2 == "BOTHER" ||
280 $2 ~ /^CI?BAUD(EX)?$/ ||
281 $2 == "IBSHIFT" ||
282 $2 ~ /^V[A-Z0-9]+$/ ||
283 $2 ~ /^CS[A-Z0-9]/ ||
284 $2 ~ /^I(SIG|CANON|CRNL|UCLC|EXTEN|MAXBEL|STRIP|UTF8)$/ ||
285 $2 ~ /^IGN/ ||
286 $2 ~ /^IX(ON|ANY|OFF)$/ ||
287 $2 ~ /^IN(LCR|PCK)$/ ||
288 $2 ~ /(^FLU?SH)|(FLU?SH$)/ ||
289 $2 ~ /^C(LOCAL|READ|MSPAR|RTSCTS)$/ ||
290 $2 == "BRKINT" ||
291 $2 == "HUPCL" ||
292 $2 == "PENDIN" ||
293 $2 == "TOSTOP" ||
294 $2 == "XCASE" ||
295 $2 == "ALTWERASE" ||
296 $2 == "NOKERNINFO" ||
297 $2 ~ /^PAR/ ||
298 $2 ~ /^SIG[^_]/ ||
299 $2 ~ /^O[CNPFPL][A-Z]+[^_][A-Z]+$/ ||
300 $2 ~ /^(NL|CR|TAB|BS|VT|FF)DLY$/ ||
301 $2 ~ /^(NL|CR|TAB|BS|VT|FF)[0-9]$/ ||
302 $2 ~ /^O?XTABS$/ ||
303 $2 ~ /^TC[IO](ON|OFF)$/ ||
304 $2 ~ /^IN_/ ||
305 $2 ~ /^LOCK_(SH|EX|NB|UN)$/ ||
306 $2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|ICMP6|TCP|EVFILT|NOTE|EV|SHUT|PROT|MAP|PACKET|MSG|SCM|MCL|DT|MADV|PR)_/ ||
307 $2 == "ICMPV6_FILTER" ||
308 $2 == "SOMAXCONN" ||
309 $2 == "NAME_MAX" ||
310 $2 == "IFNAMSIZ" ||
311 $2 ~ /^CTL_(MAXNAME|NET|QUERY)$/ ||
312 $2 ~ /^SYSCTL_VERS/ ||
313 $2 ~ /^(MS|MNT)_/ ||
314 $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
315 $2 ~ /^(O|F|FD|NAME|S|PTRACE|PT)_/ ||
316 $2 ~ /^LINUX_REBOOT_CMD_/ ||
317 $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
318 $2 !~ "NLA_TYPE_MASK" &&
319 $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
320 $2 ~ /^SIOC/ ||
321 $2 ~ /^TIOC/ ||
322 $2 ~ /^TCGET/ ||
323 $2 ~ /^TCSET/ ||
324 $2 ~ /^TC(FLSH|SBRKP?|XONC)$/ ||
325 $2 !~ "RTF_BITS" &&
326 $2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
327 $2 ~ /^BIOC/ ||
328 $2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
329 $2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|NOFILE|STACK)|RLIM_INFINITY/ ||
330 $2 ~ /^PRIO_(PROCESS|PGRP|USER)/ ||
331 $2 ~ /^CLONE_[A-Z_]+/ ||
332 $2 !~ /^(BPF_TIMEVAL)$/ &&
333 $2 ~ /^(BPF|DLT)_/ ||
334 $2 ~ /^CLOCK_/ ||
335 $2 !~ "WMESGLEN" &&
336 $2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)}
337 $2 ~ /^__WCOREFLAG$/ {next}
338 $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
339
340 {next}
341 ' | sort
342
343 echo ')'
344) >_const.go
345
346# Pull out the error names for later.
347errors=$(
348 echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
349 awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
350 sort
351)
352
353# Pull out the signal names for later.
354signals=$(
355 echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
356 awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
357 egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
358 sort
359)
360
361# Again, writing regexps to a file.
362echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
363 awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print "^\t" $2 "[ \t]*=" }' |
364 sort >_error.grep
365echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
366 awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' |
367 egrep -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT)' |
368 sort >_signal.grep
369
370echo '// mkerrors.sh' "$@"
371echo '// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT'
372echo
373echo "// +build ${GOARCH},${GOOS}"
374echo
375go tool cgo -godefs -- "$@" _const.go >_error.out
376cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
377echo
378echo '// Errors'
379echo 'const ('
380cat _error.out | grep -f _error.grep | sed 's/=\(.*\)/= syscall.Errno(\1)/'
381echo ')'
382
383echo
384echo '// Signals'
385echo 'const ('
386cat _error.out | grep -f _signal.grep | sed 's/=\(.*\)/= syscall.Signal(\1)/'
387echo ')'
388
389# Run C program to print error and syscall strings.
390(
391 echo -E "
392#include <stdio.h>
393#include <stdlib.h>
394#include <errno.h>
395#include <ctype.h>
396#include <string.h>
397#include <signal.h>
398
399#define nelem(x) (sizeof(x)/sizeof((x)[0]))
400
401enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
402
403int errors[] = {
404"
405 for i in $errors
406 do
407 echo -E ' '$i,
408 done
409
410 echo -E "
411};
412
413int signals[] = {
414"
415 for i in $signals
416 do
417 echo -E ' '$i,
418 done
419
420 # Use -E because on some systems bash builtin interprets \n itself.
421 echo -E '
422};
423
424static int
425intcmp(const void *a, const void *b)
426{
427 return *(int*)a - *(int*)b;
428}
429
430int
431main(void)
432{
433 int i, j, e;
434 char buf[1024], *p;
435
436 printf("\n\n// Error table\n");
437 printf("var errors = [...]string {\n");
438 qsort(errors, nelem(errors), sizeof errors[0], intcmp);
439 for(i=0; i<nelem(errors); i++) {
440 e = errors[i];
441 if(i > 0 && errors[i-1] == e)
442 continue;
443 strcpy(buf, strerror(e));
444 // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
445 if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
446 buf[0] += a - A;
447 printf("\t%d: \"%s\",\n", e, buf);
448 }
449 printf("}\n\n");
450
451 printf("\n\n// Signal table\n");
452 printf("var signals = [...]string {\n");
453 qsort(signals, nelem(signals), sizeof signals[0], intcmp);
454 for(i=0; i<nelem(signals); i++) {
455 e = signals[i];
456 if(i > 0 && signals[i-1] == e)
457 continue;
458 strcpy(buf, strsignal(e));
459 // lowercase first letter: Bad -> bad, but STREAM -> STREAM.
460 if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
461 buf[0] += a - A;
462 // cut trailing : number.
463 p = strrchr(buf, ":"[0]);
464 if(p)
465 *p = '\0';
466 printf("\t%d: \"%s\",\n", e, buf);
467 }
468 printf("}\n\n");
469
470 return 0;
471}
472
473'
474) >_errors.c
475
476$CC $ccflags -o _errors _errors.c && $GORUN ./_errors && rm -f _errors.c _errors _const.go _error.grep _signal.grep _error.out
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall.pl
deleted file mode 100755
index b1e7766..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall.pl
+++ /dev/null
@@ -1,323 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6# This program reads a file containing function prototypes
7# (like syscall_darwin.go) and generates system call bodies.
8# The prototypes are marked by lines beginning with "//sys"
9# and read like func declarations if //sys is replaced by func, but:
10# * The parameter lists must give a name for each argument.
11# This includes return parameters.
12# * The parameter lists must give a type for each argument:
13# the (x, y, z int) shorthand is not allowed.
14# * If the return parameter is an error number, it must be named errno.
15
16# A line beginning with //sysnb is like //sys, except that the
17# goroutine will not be suspended during the execution of the system
18# call. This must only be used for system calls which can never
19# block, as otherwise the system call could cause all goroutines to
20# hang.
21
22use strict;
23
24my $cmdline = "mksyscall.pl " . join(' ', @ARGV);
25my $errors = 0;
26my $_32bit = "";
27my $plan9 = 0;
28my $openbsd = 0;
29my $netbsd = 0;
30my $dragonfly = 0;
31my $arm = 0; # 64-bit value should use (even, odd)-pair
32
33if($ARGV[0] eq "-b32") {
34 $_32bit = "big-endian";
35 shift;
36} elsif($ARGV[0] eq "-l32") {
37 $_32bit = "little-endian";
38 shift;
39}
40if($ARGV[0] eq "-plan9") {
41 $plan9 = 1;
42 shift;
43}
44if($ARGV[0] eq "-openbsd") {
45 $openbsd = 1;
46 shift;
47}
48if($ARGV[0] eq "-netbsd") {
49 $netbsd = 1;
50 shift;
51}
52if($ARGV[0] eq "-dragonfly") {
53 $dragonfly = 1;
54 shift;
55}
56if($ARGV[0] eq "-arm") {
57 $arm = 1;
58 shift;
59}
60
61if($ARGV[0] =~ /^-/) {
62 print STDERR "usage: mksyscall.pl [-b32 | -l32] [file ...]\n";
63 exit 1;
64}
65
66if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
67 print STDERR "GOARCH or GOOS not defined in environment\n";
68 exit 1;
69}
70
71sub parseparamlist($) {
72 my ($list) = @_;
73 $list =~ s/^\s*//;
74 $list =~ s/\s*$//;
75 if($list eq "") {
76 return ();
77 }
78 return split(/\s*,\s*/, $list);
79}
80
81sub parseparam($) {
82 my ($p) = @_;
83 if($p !~ /^(\S*) (\S*)$/) {
84 print STDERR "$ARGV:$.: malformed parameter: $p\n";
85 $errors = 1;
86 return ("xx", "int");
87 }
88 return ($1, $2);
89}
90
91my $text = "";
92while(<>) {
93 chomp;
94 s/\s+/ /g;
95 s/^\s+//;
96 s/\s+$//;
97 my $nonblock = /^\/\/sysnb /;
98 next if !/^\/\/sys / && !$nonblock;
99
100 # Line must be of the form
101 # func Open(path string, mode int, perm int) (fd int, errno error)
102 # Split into name, in params, out params.
103 if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)SYS_[A-Z0-9_]+))?$/) {
104 print STDERR "$ARGV:$.: malformed //sys declaration\n";
105 $errors = 1;
106 next;
107 }
108 my ($func, $in, $out, $sysname) = ($2, $3, $4, $5);
109
110 # Split argument lists on comma.
111 my @in = parseparamlist($in);
112 my @out = parseparamlist($out);
113
114 # Try in vain to keep people from editing this file.
115 # The theory is that they jump into the middle of the file
116 # without reading the header.
117 $text .= "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n";
118
119 # Go function header.
120 my $out_decl = @out ? sprintf(" (%s)", join(', ', @out)) : "";
121 $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out_decl;
122
123 # Check if err return available
124 my $errvar = "";
125 foreach my $p (@out) {
126 my ($name, $type) = parseparam($p);
127 if($type eq "error") {
128 $errvar = $name;
129 last;
130 }
131 }
132
133 # Prepare arguments to Syscall.
134 my @args = ();
135 my @uses = ();
136 my $n = 0;
137 foreach my $p (@in) {
138 my ($name, $type) = parseparam($p);
139 if($type =~ /^\*/) {
140 push @args, "uintptr(unsafe.Pointer($name))";
141 } elsif($type eq "string" && $errvar ne "") {
142 $text .= "\tvar _p$n *byte\n";
143 $text .= "\t_p$n, $errvar = BytePtrFromString($name)\n";
144 $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
145 push @args, "uintptr(unsafe.Pointer(_p$n))";
146 push @uses, "use(unsafe.Pointer(_p$n))";
147 $n++;
148 } elsif($type eq "string") {
149 print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
150 $text .= "\tvar _p$n *byte\n";
151 $text .= "\t_p$n, _ = BytePtrFromString($name)\n";
152 push @args, "uintptr(unsafe.Pointer(_p$n))";
153 push @uses, "use(unsafe.Pointer(_p$n))";
154 $n++;
155 } elsif($type =~ /^\[\](.*)/) {
156 # Convert slice into pointer, length.
157 # Have to be careful not to take address of &a[0] if len == 0:
158 # pass dummy pointer in that case.
159 # Used to pass nil, but some OSes or simulators reject write(fd, nil, 0).
160 $text .= "\tvar _p$n unsafe.Pointer\n";
161 $text .= "\tif len($name) > 0 {\n\t\t_p$n = unsafe.Pointer(\&${name}[0])\n\t}";
162 $text .= " else {\n\t\t_p$n = unsafe.Pointer(&_zero)\n\t}";
163 $text .= "\n";
164 push @args, "uintptr(_p$n)", "uintptr(len($name))";
165 $n++;
166 } elsif($type eq "int64" && ($openbsd || $netbsd)) {
167 push @args, "0";
168 if($_32bit eq "big-endian") {
169 push @args, "uintptr($name>>32)", "uintptr($name)";
170 } elsif($_32bit eq "little-endian") {
171 push @args, "uintptr($name)", "uintptr($name>>32)";
172 } else {
173 push @args, "uintptr($name)";
174 }
175 } elsif($type eq "int64" && $dragonfly) {
176 if ($func !~ /^extp(read|write)/i) {
177 push @args, "0";
178 }
179 if($_32bit eq "big-endian") {
180 push @args, "uintptr($name>>32)", "uintptr($name)";
181 } elsif($_32bit eq "little-endian") {
182 push @args, "uintptr($name)", "uintptr($name>>32)";
183 } else {
184 push @args, "uintptr($name)";
185 }
186 } elsif($type eq "int64" && $_32bit ne "") {
187 if(@args % 2 && $arm) {
188 # arm abi specifies 64-bit argument uses
189 # (even, odd) pair
190 push @args, "0"
191 }
192 if($_32bit eq "big-endian") {
193 push @args, "uintptr($name>>32)", "uintptr($name)";
194 } else {
195 push @args, "uintptr($name)", "uintptr($name>>32)";
196 }
197 } else {
198 push @args, "uintptr($name)";
199 }
200 }
201
202 # Determine which form to use; pad args with zeros.
203 my $asm = "Syscall";
204 if ($nonblock) {
205 $asm = "RawSyscall";
206 }
207 if(@args <= 3) {
208 while(@args < 3) {
209 push @args, "0";
210 }
211 } elsif(@args <= 6) {
212 $asm .= "6";
213 while(@args < 6) {
214 push @args, "0";
215 }
216 } elsif(@args <= 9) {
217 $asm .= "9";
218 while(@args < 9) {
219 push @args, "0";
220 }
221 } else {
222 print STDERR "$ARGV:$.: too many arguments to system call\n";
223 }
224
225 # System call number.
226 if($sysname eq "") {
227 $sysname = "SYS_$func";
228 $sysname =~ s/([a-z])([A-Z])/${1}_$2/g; # turn FooBar into Foo_Bar
229 $sysname =~ y/a-z/A-Z/;
230 }
231
232 # Actual call.
233 my $args = join(', ', @args);
234 my $call = "$asm($sysname, $args)";
235
236 # Assign return values.
237 my $body = "";
238 my @ret = ("_", "_", "_");
239 my $do_errno = 0;
240 for(my $i=0; $i<@out; $i++) {
241 my $p = $out[$i];
242 my ($name, $type) = parseparam($p);
243 my $reg = "";
244 if($name eq "err" && !$plan9) {
245 $reg = "e1";
246 $ret[2] = $reg;
247 $do_errno = 1;
248 } elsif($name eq "err" && $plan9) {
249 $ret[0] = "r0";
250 $ret[2] = "e1";
251 next;
252 } else {
253 $reg = sprintf("r%d", $i);
254 $ret[$i] = $reg;
255 }
256 if($type eq "bool") {
257 $reg = "$reg != 0";
258 }
259 if($type eq "int64" && $_32bit ne "") {
260 # 64-bit number in r1:r0 or r0:r1.
261 if($i+2 > @out) {
262 print STDERR "$ARGV:$.: not enough registers for int64 return\n";
263 }
264 if($_32bit eq "big-endian") {
265 $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
266 } else {
267 $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
268 }
269 $ret[$i] = sprintf("r%d", $i);
270 $ret[$i+1] = sprintf("r%d", $i+1);
271 }
272 if($reg ne "e1" || $plan9) {
273 $body .= "\t$name = $type($reg)\n";
274 }
275 }
276 if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
277 $text .= "\t$call\n";
278 } else {
279 $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
280 }
281 foreach my $use (@uses) {
282 $text .= "\t$use\n";
283 }
284 $text .= $body;
285
286 if ($plan9 && $ret[2] eq "e1") {
287 $text .= "\tif int32(r0) == -1 {\n";
288 $text .= "\t\terr = e1\n";
289 $text .= "\t}\n";
290 } elsif ($do_errno) {
291 $text .= "\tif e1 != 0 {\n";
292 $text .= "\t\terr = errnoErr(e1)\n";
293 $text .= "\t}\n";
294 }
295 $text .= "\treturn\n";
296 $text .= "}\n\n";
297}
298
299chomp $text;
300chomp $text;
301
302if($errors) {
303 exit 1;
304}
305
306print <<EOF;
307// $cmdline
308// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
309
310// +build $ENV{'GOARCH'},$ENV{'GOOS'}
311
312package unix
313
314import (
315 "syscall"
316 "unsafe"
317)
318
319var _ syscall.Errno
320
321$text
322EOF
323exit 0;
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall_solaris.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall_solaris.pl
deleted file mode 100755
index 06bade7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksyscall_solaris.pl
+++ /dev/null
@@ -1,294 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6# This program reads a file containing function prototypes
7# (like syscall_solaris.go) and generates system call bodies.
8# The prototypes are marked by lines beginning with "//sys"
9# and read like func declarations if //sys is replaced by func, but:
10# * The parameter lists must give a name for each argument.
11# This includes return parameters.
12# * The parameter lists must give a type for each argument:
13# the (x, y, z int) shorthand is not allowed.
14# * If the return parameter is an error number, it must be named err.
15# * If go func name needs to be different than its libc name,
16# * or the function is not in libc, name could be specified
17# * at the end, after "=" sign, like
18# //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
19
20use strict;
21
22my $cmdline = "mksyscall_solaris.pl " . join(' ', @ARGV);
23my $errors = 0;
24my $_32bit = "";
25
26binmode STDOUT;
27
28if($ARGV[0] eq "-b32") {
29 $_32bit = "big-endian";
30 shift;
31} elsif($ARGV[0] eq "-l32") {
32 $_32bit = "little-endian";
33 shift;
34}
35
36if($ARGV[0] =~ /^-/) {
37 print STDERR "usage: mksyscall_solaris.pl [-b32 | -l32] [file ...]\n";
38 exit 1;
39}
40
41if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
42 print STDERR "GOARCH or GOOS not defined in environment\n";
43 exit 1;
44}
45
46sub parseparamlist($) {
47 my ($list) = @_;
48 $list =~ s/^\s*//;
49 $list =~ s/\s*$//;
50 if($list eq "") {
51 return ();
52 }
53 return split(/\s*,\s*/, $list);
54}
55
56sub parseparam($) {
57 my ($p) = @_;
58 if($p !~ /^(\S*) (\S*)$/) {
59 print STDERR "$ARGV:$.: malformed parameter: $p\n";
60 $errors = 1;
61 return ("xx", "int");
62 }
63 return ($1, $2);
64}
65
66my $package = "";
67my $text = "";
68my $dynimports = "";
69my $linknames = "";
70my @vars = ();
71while(<>) {
72 chomp;
73 s/\s+/ /g;
74 s/^\s+//;
75 s/\s+$//;
76 $package = $1 if !$package && /^package (\S+)$/;
77 my $nonblock = /^\/\/sysnb /;
78 next if !/^\/\/sys / && !$nonblock;
79
80 # Line must be of the form
81 # func Open(path string, mode int, perm int) (fd int, err error)
82 # Split into name, in params, out params.
83 if(!/^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$/) {
84 print STDERR "$ARGV:$.: malformed //sys declaration\n";
85 $errors = 1;
86 next;
87 }
88 my ($nb, $func, $in, $out, $modname, $sysname) = ($1, $2, $3, $4, $5, $6);
89
90 # Split argument lists on comma.
91 my @in = parseparamlist($in);
92 my @out = parseparamlist($out);
93
94 # So file name.
95 if($modname eq "") {
96 $modname = "libc";
97 }
98
99 # System call name.
100 if($sysname eq "") {
101 $sysname = "$func";
102 }
103
104 # System call pointer variable name.
105 my $sysvarname = "proc$sysname";
106
107 my $strconvfunc = "BytePtrFromString";
108 my $strconvtype = "*byte";
109
110 $sysname =~ y/A-Z/a-z/; # All libc functions are lowercase.
111
112 # Runtime import of function to allow cross-platform builds.
113 $dynimports .= "//go:cgo_import_dynamic libc_${sysname} ${sysname} \"$modname.so\"\n";
114 # Link symbol to proc address variable.
115 $linknames .= "//go:linkname ${sysvarname} libc_${sysname}\n";
116 # Library proc address variable.
117 push @vars, $sysvarname;
118
119 # Go function header.
120 $out = join(', ', @out);
121 if($out ne "") {
122 $out = " ($out)";
123 }
124 if($text ne "") {
125 $text .= "\n"
126 }
127 $text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out;
128
129 # Check if err return available
130 my $errvar = "";
131 foreach my $p (@out) {
132 my ($name, $type) = parseparam($p);
133 if($type eq "error") {
134 $errvar = $name;
135 last;
136 }
137 }
138
139 # Prepare arguments to Syscall.
140 my @args = ();
141 my @uses = ();
142 my $n = 0;
143 foreach my $p (@in) {
144 my ($name, $type) = parseparam($p);
145 if($type =~ /^\*/) {
146 push @args, "uintptr(unsafe.Pointer($name))";
147 } elsif($type eq "string" && $errvar ne "") {
148 $text .= "\tvar _p$n $strconvtype\n";
149 $text .= "\t_p$n, $errvar = $strconvfunc($name)\n";
150 $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
151 push @args, "uintptr(unsafe.Pointer(_p$n))";
152 push @uses, "use(unsafe.Pointer(_p$n))";
153 $n++;
154 } elsif($type eq "string") {
155 print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n";
156 $text .= "\tvar _p$n $strconvtype\n";
157 $text .= "\t_p$n, _ = $strconvfunc($name)\n";
158 push @args, "uintptr(unsafe.Pointer(_p$n))";
159 push @uses, "use(unsafe.Pointer(_p$n))";
160 $n++;
161 } elsif($type =~ /^\[\](.*)/) {
162 # Convert slice into pointer, length.
163 # Have to be careful not to take address of &a[0] if len == 0:
164 # pass nil in that case.
165 $text .= "\tvar _p$n *$1\n";
166 $text .= "\tif len($name) > 0 {\n\t\t_p$n = \&$name\[0]\n\t}\n";
167 push @args, "uintptr(unsafe.Pointer(_p$n))", "uintptr(len($name))";
168 $n++;
169 } elsif($type eq "int64" && $_32bit ne "") {
170 if($_32bit eq "big-endian") {
171 push @args, "uintptr($name >> 32)", "uintptr($name)";
172 } else {
173 push @args, "uintptr($name)", "uintptr($name >> 32)";
174 }
175 } elsif($type eq "bool") {
176 $text .= "\tvar _p$n uint32\n";
177 $text .= "\tif $name {\n\t\t_p$n = 1\n\t} else {\n\t\t_p$n = 0\n\t}\n";
178 push @args, "uintptr(_p$n)";
179 $n++;
180 } else {
181 push @args, "uintptr($name)";
182 }
183 }
184 my $nargs = @args;
185
186 # Determine which form to use; pad args with zeros.
187 my $asm = "sysvicall6";
188 if ($nonblock) {
189 $asm = "rawSysvicall6";
190 }
191 if(@args <= 6) {
192 while(@args < 6) {
193 push @args, "0";
194 }
195 } else {
196 print STDERR "$ARGV:$.: too many arguments to system call\n";
197 }
198
199 # Actual call.
200 my $args = join(', ', @args);
201 my $call = "$asm(uintptr(unsafe.Pointer(&$sysvarname)), $nargs, $args)";
202
203 # Assign return values.
204 my $body = "";
205 my $failexpr = "";
206 my @ret = ("_", "_", "_");
207 my @pout= ();
208 my $do_errno = 0;
209 for(my $i=0; $i<@out; $i++) {
210 my $p = $out[$i];
211 my ($name, $type) = parseparam($p);
212 my $reg = "";
213 if($name eq "err") {
214 $reg = "e1";
215 $ret[2] = $reg;
216 $do_errno = 1;
217 } else {
218 $reg = sprintf("r%d", $i);
219 $ret[$i] = $reg;
220 }
221 if($type eq "bool") {
222 $reg = "$reg != 0";
223 }
224 if($type eq "int64" && $_32bit ne "") {
225 # 64-bit number in r1:r0 or r0:r1.
226 if($i+2 > @out) {
227 print STDERR "$ARGV:$.: not enough registers for int64 return\n";
228 }
229 if($_32bit eq "big-endian") {
230 $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i, $i+1);
231 } else {
232 $reg = sprintf("int64(r%d)<<32 | int64(r%d)", $i+1, $i);
233 }
234 $ret[$i] = sprintf("r%d", $i);
235 $ret[$i+1] = sprintf("r%d", $i+1);
236 }
237 if($reg ne "e1") {
238 $body .= "\t$name = $type($reg)\n";
239 }
240 }
241 if ($ret[0] eq "_" && $ret[1] eq "_" && $ret[2] eq "_") {
242 $text .= "\t$call\n";
243 } else {
244 $text .= "\t$ret[0], $ret[1], $ret[2] := $call\n";
245 }
246 foreach my $use (@uses) {
247 $text .= "\t$use\n";
248 }
249 $text .= $body;
250
251 if ($do_errno) {
252 $text .= "\tif e1 != 0 {\n";
253 $text .= "\t\terr = e1\n";
254 $text .= "\t}\n";
255 }
256 $text .= "\treturn\n";
257 $text .= "}\n";
258}
259
260if($errors) {
261 exit 1;
262}
263
264print <<EOF;
265// $cmdline
266// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
267
268// +build $ENV{'GOARCH'},$ENV{'GOOS'}
269
270package $package
271
272import (
273 "syscall"
274 "unsafe"
275)
276EOF
277
278print "import \"golang.org/x/sys/unix\"\n" if $package ne "unix";
279
280my $vardecls = "\t" . join(",\n\t", @vars);
281$vardecls .= " syscallFunc";
282
283chomp($_=<<EOF);
284
285$dynimports
286$linknames
287var (
288$vardecls
289)
290
291$text
292EOF
293print $_;
294exit 0;
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysctl_openbsd.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysctl_openbsd.pl
deleted file mode 100755
index be67afa..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysctl_openbsd.pl
+++ /dev/null
@@ -1,264 +0,0 @@
1#!/usr/bin/env perl
2
3# Copyright 2011 The Go Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style
5# license that can be found in the LICENSE file.
6
7#
8# Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
9#
10# Build a MIB with each entry being an array containing the level, type and
11# a hash that will contain additional entries if the current entry is a node.
12# We then walk this MIB and create a flattened sysctl name to OID hash.
13#
14
15use strict;
16
17if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
18 print STDERR "GOARCH or GOOS not defined in environment\n";
19 exit 1;
20}
21
22my $debug = 0;
23my %ctls = ();
24
25my @headers = qw (
26 sys/sysctl.h
27 sys/socket.h
28 sys/tty.h
29 sys/malloc.h
30 sys/mount.h
31 sys/namei.h
32 sys/sem.h
33 sys/shm.h
34 sys/vmmeter.h
35 uvm/uvm_param.h
36 uvm/uvm_swap_encrypt.h
37 ddb/db_var.h
38 net/if.h
39 net/if_pfsync.h
40 net/pipex.h
41 netinet/in.h
42 netinet/icmp_var.h
43 netinet/igmp_var.h
44 netinet/ip_ah.h
45 netinet/ip_carp.h
46 netinet/ip_divert.h
47 netinet/ip_esp.h
48 netinet/ip_ether.h
49 netinet/ip_gre.h
50 netinet/ip_ipcomp.h
51 netinet/ip_ipip.h
52 netinet/pim_var.h
53 netinet/tcp_var.h
54 netinet/udp_var.h
55 netinet6/in6.h
56 netinet6/ip6_divert.h
57 netinet6/pim6_var.h
58 netinet/icmp6.h
59 netmpls/mpls.h
60);
61
62my @ctls = qw (
63 kern
64 vm
65 fs
66 net
67 #debug # Special handling required
68 hw
69 #machdep # Arch specific
70 user
71 ddb
72 #vfs # Special handling required
73 fs.posix
74 kern.forkstat
75 kern.intrcnt
76 kern.malloc
77 kern.nchstats
78 kern.seminfo
79 kern.shminfo
80 kern.timecounter
81 kern.tty
82 kern.watchdog
83 net.bpf
84 net.ifq
85 net.inet
86 net.inet.ah
87 net.inet.carp
88 net.inet.divert
89 net.inet.esp
90 net.inet.etherip
91 net.inet.gre
92 net.inet.icmp
93 net.inet.igmp
94 net.inet.ip
95 net.inet.ip.ifq
96 net.inet.ipcomp
97 net.inet.ipip
98 net.inet.mobileip
99 net.inet.pfsync
100 net.inet.pim
101 net.inet.tcp
102 net.inet.udp
103 net.inet6
104 net.inet6.divert
105 net.inet6.ip6
106 net.inet6.icmp6
107 net.inet6.pim6
108 net.inet6.tcp6
109 net.inet6.udp6
110 net.mpls
111 net.mpls.ifq
112 net.key
113 net.pflow
114 net.pfsync
115 net.pipex
116 net.rt
117 vm.swapencrypt
118 #vfsgenctl # Special handling required
119);
120
121# Node name "fixups"
122my %ctl_map = (
123 "ipproto" => "net.inet",
124 "net.inet.ipproto" => "net.inet",
125 "net.inet6.ipv6proto" => "net.inet6",
126 "net.inet6.ipv6" => "net.inet6.ip6",
127 "net.inet.icmpv6" => "net.inet6.icmp6",
128 "net.inet6.divert6" => "net.inet6.divert",
129 "net.inet6.tcp6" => "net.inet.tcp",
130 "net.inet6.udp6" => "net.inet.udp",
131 "mpls" => "net.mpls",
132 "swpenc" => "vm.swapencrypt"
133);
134
135# Node mappings
136my %node_map = (
137 "net.inet.ip.ifq" => "net.ifq",
138 "net.inet.pfsync" => "net.pfsync",
139 "net.mpls.ifq" => "net.ifq"
140);
141
142my $ctlname;
143my %mib = ();
144my %sysctl = ();
145my $node;
146
147sub debug() {
148 print STDERR "$_[0]\n" if $debug;
149}
150
151# Walk the MIB and build a sysctl name to OID mapping.
152sub build_sysctl() {
153 my ($node, $name, $oid) = @_;
154 my %node = %{$node};
155 my @oid = @{$oid};
156
157 foreach my $key (sort keys %node) {
158 my @node = @{$node{$key}};
159 my $nodename = $name.($name ne '' ? '.' : '').$key;
160 my @nodeoid = (@oid, $node[0]);
161 if ($node[1] eq 'CTLTYPE_NODE') {
162 if (exists $node_map{$nodename}) {
163 $node = \%mib;
164 $ctlname = $node_map{$nodename};
165 foreach my $part (split /\./, $ctlname) {
166 $node = \%{@{$$node{$part}}[2]};
167 }
168 } else {
169 $node = $node[2];
170 }
171 &build_sysctl($node, $nodename, \@nodeoid);
172 } elsif ($node[1] ne '') {
173 $sysctl{$nodename} = \@nodeoid;
174 }
175 }
176}
177
178foreach my $ctl (@ctls) {
179 $ctls{$ctl} = $ctl;
180}
181
182# Build MIB
183foreach my $header (@headers) {
184 &debug("Processing $header...");
185 open HEADER, "/usr/include/$header" ||
186 print STDERR "Failed to open $header\n";
187 while (<HEADER>) {
188 if ($_ =~ /^#define\s+(CTL_NAMES)\s+{/ ||
189 $_ =~ /^#define\s+(CTL_(.*)_NAMES)\s+{/ ||
190 $_ =~ /^#define\s+((.*)CTL_NAMES)\s+{/) {
191 if ($1 eq 'CTL_NAMES') {
192 # Top level.
193 $node = \%mib;
194 } else {
195 # Node.
196 my $nodename = lc($2);
197 if ($header =~ /^netinet\//) {
198 $ctlname = "net.inet.$nodename";
199 } elsif ($header =~ /^netinet6\//) {
200 $ctlname = "net.inet6.$nodename";
201 } elsif ($header =~ /^net\//) {
202 $ctlname = "net.$nodename";
203 } else {
204 $ctlname = "$nodename";
205 $ctlname =~ s/^(fs|net|kern)_/$1\./;
206 }
207 if (exists $ctl_map{$ctlname}) {
208 $ctlname = $ctl_map{$ctlname};
209 }
210 if (not exists $ctls{$ctlname}) {
211 &debug("Ignoring $ctlname...");
212 next;
213 }
214
215 # Walk down from the top of the MIB.
216 $node = \%mib;
217 foreach my $part (split /\./, $ctlname) {
218 if (not exists $$node{$part}) {
219 &debug("Missing node $part");
220 $$node{$part} = [ 0, '', {} ];
221 }
222 $node = \%{@{$$node{$part}}[2]};
223 }
224 }
225
226 # Populate current node with entries.
227 my $i = -1;
228 while (defined($_) && $_ !~ /^}/) {
229 $_ = <HEADER>;
230 $i++ if $_ =~ /{.*}/;
231 next if $_ !~ /{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}/;
232 $$node{$1} = [ $i, $2, {} ];
233 }
234 }
235 }
236 close HEADER;
237}
238
239&build_sysctl(\%mib, "", []);
240
241print <<EOF;
242// mksysctl_openbsd.pl
243// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
244
245// +build $ENV{'GOARCH'},$ENV{'GOOS'}
246
247package unix;
248
249type mibentry struct {
250 ctlname string
251 ctloid []_C_int
252}
253
254var sysctlMib = []mibentry {
255EOF
256
257foreach my $name (sort keys %sysctl) {
258 my @oid = @{$sysctl{$name}};
259 print "\t{ \"$name\", []_C_int{ ", join(', ', @oid), " } }, \n";
260}
261
262print <<EOF;
263}
264EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_darwin.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_darwin.pl
deleted file mode 100755
index d3e5147..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_darwin.pl
+++ /dev/null
@@ -1,39 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5#
6# Generate system call table for Darwin from sys/syscall.h
7
8use strict;
9
10if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
11 print STDERR "GOARCH or GOOS not defined in environment\n";
12 exit 1;
13}
14
15my $command = "mksysnum_darwin.pl " . join(' ', @ARGV);
16
17print <<EOF;
18// $command
19// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
20
21// +build $ENV{'GOARCH'},$ENV{'GOOS'}
22
23package unix
24
25const (
26EOF
27
28while(<>){
29 if(/^#define\s+SYS_(\w+)\s+([0-9]+)/){
30 my $name = $1;
31 my $num = $2;
32 $name =~ y/a-z/A-Z/;
33 print " SYS_$name = $num;"
34 }
35}
36
37print <<EOF;
38)
39EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_dragonfly.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_dragonfly.pl
deleted file mode 100755
index 266a248..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_dragonfly.pl
+++ /dev/null
@@ -1,50 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5#
6# Generate system call table for DragonFly from master list
7# (for example, /usr/src/sys/kern/syscalls.master).
8
9use strict;
10
11if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
12 print STDERR "GOARCH or GOOS not defined in environment\n";
13 exit 1;
14}
15
16my $command = "mksysnum_dragonfly.pl " . join(' ', @ARGV);
17
18print <<EOF;
19// $command
20// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
21
22// +build $ENV{'GOARCH'},$ENV{'GOOS'}
23
24package unix
25
26const (
27EOF
28
29while(<>){
30 if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
31 my $num = $1;
32 my $proto = $2;
33 my $name = "SYS_$3";
34 $name =~ y/a-z/A-Z/;
35
36 # There are multiple entries for enosys and nosys, so comment them out.
37 if($name =~ /^SYS_E?NOSYS$/){
38 $name = "// $name";
39 }
40 if($name eq 'SYS_SYS_EXIT'){
41 $name = 'SYS_EXIT';
42 }
43
44 print " $name = $num; // $proto\n";
45 }
46}
47
48print <<EOF;
49)
50EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_freebsd.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_freebsd.pl
deleted file mode 100755
index b767e12..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_freebsd.pl
+++ /dev/null
@@ -1,63 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5#
6# Generate system call table for FreeBSD from master list
7# (for example, /usr/src/sys/kern/syscalls.master).
8
9use strict;
10
11if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
12 print STDERR "GOARCH or GOOS not defined in environment\n";
13 exit 1;
14}
15
16my $command = "mksysnum_freebsd.pl " . join(' ', @ARGV);
17
18print <<EOF;
19// $command
20// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
21
22// +build $ENV{'GOARCH'},$ENV{'GOOS'}
23
24package unix
25
26const (
27EOF
28
29while(<>){
30 if(/^([0-9]+)\s+\S+\s+STD\s+({ \S+\s+(\w+).*)$/){
31 my $num = $1;
32 my $proto = $2;
33 my $name = "SYS_$3";
34 $name =~ y/a-z/A-Z/;
35
36 # There are multiple entries for enosys and nosys, so comment them out.
37 if($name =~ /^SYS_E?NOSYS$/){
38 $name = "// $name";
39 }
40 if($name eq 'SYS_SYS_EXIT'){
41 $name = 'SYS_EXIT';
42 }
43 if($name =~ /^SYS_CAP_+/ || $name =~ /^SYS___CAP_+/){
44 next
45 }
46
47 print " $name = $num; // $proto\n";
48
49 # We keep Capsicum syscall numbers for FreeBSD
50 # 9-STABLE here because we are not sure whether they
51 # are mature and stable.
52 if($num == 513){
53 print " SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }\n";
54 print " SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \\\n";
55 print " SYS_CAP_ENTER = 516 // { int cap_enter(void); }\n";
56 print " SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }\n";
57 }
58 }
59}
60
61print <<EOF;
62)
63EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_linux.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_linux.pl
deleted file mode 100755
index 4d4017d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_linux.pl
+++ /dev/null
@@ -1,58 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5
6use strict;
7
8if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
9 print STDERR "GOARCH or GOOS not defined in environment\n";
10 exit 1;
11}
12
13my $command = "mksysnum_linux.pl ". join(' ', @ARGV);
14
15print <<EOF;
16// $command
17// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
18
19// +build $ENV{'GOARCH'},$ENV{'GOOS'}
20
21package unix
22
23const(
24EOF
25
26sub fmt {
27 my ($name, $num) = @_;
28 if($num > 999){
29 # ignore deprecated syscalls that are no longer implemented
30 # https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/unistd.h?id=refs/heads/master#n716
31 return;
32 }
33 $name =~ y/a-z/A-Z/;
34 print " SYS_$name = $num;\n";
35}
36
37my $prev;
38open(GCC, "gcc -E -dD $ARGV[0] |") || die "can't run gcc";
39while(<GCC>){
40 if(/^#define __NR_syscalls\s+/) {
41 # ignore redefinitions of __NR_syscalls
42 }
43 elsif(/^#define __NR_(\w+)\s+([0-9]+)/){
44 $prev = $2;
45 fmt($1, $2);
46 }
47 elsif(/^#define __NR3264_(\w+)\s+([0-9]+)/){
48 $prev = $2;
49 fmt($1, $2);
50 }
51 elsif(/^#define __NR_(\w+)\s+\(\w+\+\s*([0-9]+)\)/){
52 fmt($1, $prev+$2)
53 }
54}
55
56print <<EOF;
57)
58EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_netbsd.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_netbsd.pl
deleted file mode 100755
index e74616a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_netbsd.pl
+++ /dev/null
@@ -1,58 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5#
6# Generate system call table for OpenBSD from master list
7# (for example, /usr/src/sys/kern/syscalls.master).
8
9use strict;
10
11if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
12 print STDERR "GOARCH or GOOS not defined in environment\n";
13 exit 1;
14}
15
16my $command = "mksysnum_netbsd.pl " . join(' ', @ARGV);
17
18print <<EOF;
19// $command
20// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
21
22// +build $ENV{'GOARCH'},$ENV{'GOOS'}
23
24package unix
25
26const (
27EOF
28
29my $line = '';
30while(<>){
31 if($line =~ /^(.*)\\$/) {
32 # Handle continuation
33 $line = $1;
34 $_ =~ s/^\s+//;
35 $line .= $_;
36 } else {
37 # New line
38 $line = $_;
39 }
40 next if $line =~ /\\$/;
41 if($line =~ /^([0-9]+)\s+((STD)|(NOERR))\s+(RUMP\s+)?({\s+\S+\s*\*?\s*\|(\S+)\|(\S*)\|(\w+).*\s+})(\s+(\S+))?$/) {
42 my $num = $1;
43 my $proto = $6;
44 my $compat = $8;
45 my $name = "$7_$9";
46
47 $name = "$7_$11" if $11 ne '';
48 $name =~ y/a-z/A-Z/;
49
50 if($compat eq '' || $compat eq '30' || $compat eq '50') {
51 print " $name = $num; // $proto\n";
52 }
53 }
54}
55
56print <<EOF;
57)
58EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_openbsd.pl b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_openbsd.pl
deleted file mode 100755
index ae5aad5..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_openbsd.pl
+++ /dev/null
@@ -1,50 +0,0 @@
1#!/usr/bin/env perl
2# Copyright 2009 The Go Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style
4# license that can be found in the LICENSE file.
5#
6# Generate system call table for OpenBSD from master list
7# (for example, /usr/src/sys/kern/syscalls.master).
8
9use strict;
10
11if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
12 print STDERR "GOARCH or GOOS not defined in environment\n";
13 exit 1;
14}
15
16my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
17
18print <<EOF;
19// $command
20// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
21
22// +build $ENV{'GOARCH'},$ENV{'GOOS'}
23
24package unix
25
26const (
27EOF
28
29while(<>){
30 if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$/){
31 my $num = $1;
32 my $proto = $3;
33 my $name = $4;
34 $name =~ y/a-z/A-Z/;
35
36 # There are multiple entries for enosys and nosys, so comment them out.
37 if($name =~ /^SYS_E?NOSYS$/){
38 $name = "// $name";
39 }
40 if($name eq 'SYS_SYS_EXIT'){
41 $name = 'SYS_EXIT';
42 }
43
44 print " $name = $num; // $proto\n";
45 }
46}
47
48print <<EOF;
49)
50EOF
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race.go
deleted file mode 100644
index 3c7627e..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race.go
+++ /dev/null
@@ -1,30 +0,0 @@
1// Copyright 2012 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin,race linux,race freebsd,race
6
7package unix
8
9import (
10 "runtime"
11 "unsafe"
12)
13
14const raceenabled = true
15
16func raceAcquire(addr unsafe.Pointer) {
17 runtime.RaceAcquire(addr)
18}
19
20func raceReleaseMerge(addr unsafe.Pointer) {
21 runtime.RaceReleaseMerge(addr)
22}
23
24func raceReadRange(addr unsafe.Pointer, len int) {
25 runtime.RaceReadRange(addr, len)
26}
27
28func raceWriteRange(addr unsafe.Pointer, len int) {
29 runtime.RaceWriteRange(addr, len)
30}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race0.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race0.go
deleted file mode 100644
index f8678e0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/race0.go
+++ /dev/null
@@ -1,25 +0,0 @@
1// Copyright 2012 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
6
7package unix
8
9import (
10 "unsafe"
11)
12
13const raceenabled = false
14
15func raceAcquire(addr unsafe.Pointer) {
16}
17
18func raceReleaseMerge(addr unsafe.Pointer) {
19}
20
21func raceReadRange(addr unsafe.Pointer, len int) {
22}
23
24func raceWriteRange(addr unsafe.Pointer, len int) {
25}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_linux.go
deleted file mode 100644
index d9ff473..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_linux.go
+++ /dev/null
@@ -1,36 +0,0 @@
1// Copyright 2011 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Socket control messages
6
7package unix
8
9import "unsafe"
10
11// UnixCredentials encodes credentials into a socket control message
12// for sending to another process. This can be used for
13// authentication.
14func UnixCredentials(ucred *Ucred) []byte {
15 b := make([]byte, CmsgSpace(SizeofUcred))
16 h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
17 h.Level = SOL_SOCKET
18 h.Type = SCM_CREDENTIALS
19 h.SetLen(CmsgLen(SizeofUcred))
20 *((*Ucred)(cmsgData(h))) = *ucred
21 return b
22}
23
24// ParseUnixCredentials decodes a socket control message that contains
25// credentials in a Ucred structure. To receive such a message, the
26// SO_PASSCRED option must be enabled on the socket.
27func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error) {
28 if m.Header.Level != SOL_SOCKET {
29 return nil, EINVAL
30 }
31 if m.Header.Type != SCM_CREDENTIALS {
32 return nil, EINVAL
33 }
34 ucred := *(*Ucred)(unsafe.Pointer(&m.Data[0]))
35 return &ucred, nil
36}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_unix.go
deleted file mode 100644
index 70af5a7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/sockcmsg_unix.go
+++ /dev/null
@@ -1,103 +0,0 @@
1// Copyright 2011 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7// Socket control messages
8
9package unix
10
11import "unsafe"
12
13// Round the length of a raw sockaddr up to align it properly.
14func cmsgAlignOf(salen int) int {
15 salign := sizeofPtr
16 // NOTE: It seems like 64-bit Darwin and DragonFly BSD kernels
17 // still require 32-bit aligned access to network subsystem.
18 if darwin64Bit || dragonfly64Bit {
19 salign = 4
20 }
21 return (salen + salign - 1) & ^(salign - 1)
22}
23
24// CmsgLen returns the value to store in the Len field of the Cmsghdr
25// structure, taking into account any necessary alignment.
26func CmsgLen(datalen int) int {
27 return cmsgAlignOf(SizeofCmsghdr) + datalen
28}
29
30// CmsgSpace returns the number of bytes an ancillary element with
31// payload of the passed data length occupies.
32func CmsgSpace(datalen int) int {
33 return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
34}
35
36func cmsgData(h *Cmsghdr) unsafe.Pointer {
37 return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)))
38}
39
40// SocketControlMessage represents a socket control message.
41type SocketControlMessage struct {
42 Header Cmsghdr
43 Data []byte
44}
45
46// ParseSocketControlMessage parses b as an array of socket control
47// messages.
48func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
49 var msgs []SocketControlMessage
50 i := 0
51 for i+CmsgLen(0) <= len(b) {
52 h, dbuf, err := socketControlMessageHeaderAndData(b[i:])
53 if err != nil {
54 return nil, err
55 }
56 m := SocketControlMessage{Header: *h, Data: dbuf}
57 msgs = append(msgs, m)
58 i += cmsgAlignOf(int(h.Len))
59 }
60 return msgs, nil
61}
62
63func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error) {
64 h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
65 if h.Len < SizeofCmsghdr || int(h.Len) > len(b) {
66 return nil, nil, EINVAL
67 }
68 return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
69}
70
71// UnixRights encodes a set of open file descriptors into a socket
72// control message for sending to another process.
73func UnixRights(fds ...int) []byte {
74 datalen := len(fds) * 4
75 b := make([]byte, CmsgSpace(datalen))
76 h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
77 h.Level = SOL_SOCKET
78 h.Type = SCM_RIGHTS
79 h.SetLen(CmsgLen(datalen))
80 data := cmsgData(h)
81 for _, fd := range fds {
82 *(*int32)(data) = int32(fd)
83 data = unsafe.Pointer(uintptr(data) + 4)
84 }
85 return b
86}
87
88// ParseUnixRights decodes a socket control message that contains an
89// integer array of open file descriptors from another process.
90func ParseUnixRights(m *SocketControlMessage) ([]int, error) {
91 if m.Header.Level != SOL_SOCKET {
92 return nil, EINVAL
93 }
94 if m.Header.Type != SCM_RIGHTS {
95 return nil, EINVAL
96 }
97 fds := make([]int, len(m.Data)>>2)
98 for i, j := 0, 0; i < len(m.Data); i += 4 {
99 fds[j] = int(*(*int32)(unsafe.Pointer(&m.Data[i])))
100 j++
101 }
102 return fds, nil
103}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/str.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/str.go
deleted file mode 100644
index 35ed664..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/str.go
+++ /dev/null
@@ -1,26 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7package unix
8
9func itoa(val int) string { // do it here rather than with fmt to avoid dependency
10 if val < 0 {
11 return "-" + uitoa(uint(-val))
12 }
13 return uitoa(uint(val))
14}
15
16func uitoa(val uint) string {
17 var buf [32]byte // big enough for int64
18 i := len(buf) - 1
19 for val >= 10 {
20 buf[i] = byte(val%10 + '0')
21 i--
22 val /= 10
23 }
24 buf[i] = byte(val + '0')
25 return string(buf[i:])
26}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall.go
deleted file mode 100644
index 012f2d6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall.go
+++ /dev/null
@@ -1,74 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7// Package unix contains an interface to the low-level operating system
8// primitives. OS details vary depending on the underlying system, and
9// by default, godoc will display OS-specific documentation for the current
10// system. If you want godoc to display OS documentation for another
11// system, set $GOOS and $GOARCH to the desired system. For example, if
12// you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
13// to freebsd and $GOARCH to arm.
14// The primary use of this package is inside other packages that provide a more
15// portable interface to the system, such as "os", "time" and "net". Use
16// those packages rather than this one if you can.
17// For details of the functions and data types in this package consult
18// the manuals for the appropriate operating system.
19// These calls return err == nil to indicate success; otherwise
20// err represents an operating system error describing the failure and
21// holds a value of type syscall.Errno.
22package unix // import "github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix"
23
24import "unsafe"
25
26// ByteSliceFromString returns a NUL-terminated slice of bytes
27// containing the text of s. If s contains a NUL byte at any
28// location, it returns (nil, EINVAL).
29func ByteSliceFromString(s string) ([]byte, error) {
30 for i := 0; i < len(s); i++ {
31 if s[i] == 0 {
32 return nil, EINVAL
33 }
34 }
35 a := make([]byte, len(s)+1)
36 copy(a, s)
37 return a, nil
38}
39
40// BytePtrFromString returns a pointer to a NUL-terminated array of
41// bytes containing the text of s. If s contains a NUL byte at any
42// location, it returns (nil, EINVAL).
43func BytePtrFromString(s string) (*byte, error) {
44 a, err := ByteSliceFromString(s)
45 if err != nil {
46 return nil, err
47 }
48 return &a[0], nil
49}
50
51// Single-word zero for use when we need a valid pointer to 0 bytes.
52// See mkunix.pl.
53var _zero uintptr
54
55func (ts *Timespec) Unix() (sec int64, nsec int64) {
56 return int64(ts.Sec), int64(ts.Nsec)
57}
58
59func (tv *Timeval) Unix() (sec int64, nsec int64) {
60 return int64(tv.Sec), int64(tv.Usec) * 1000
61}
62
63func (ts *Timespec) Nano() int64 {
64 return int64(ts.Sec)*1e9 + int64(ts.Nsec)
65}
66
67func (tv *Timeval) Nano() int64 {
68 return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
69}
70
71// use is a no-op, but the compiler cannot see that it is.
72// Calling use(p) ensures that p is kept live until that point.
73//go:noescape
74func use(p unsafe.Pointer)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_bsd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_bsd.go
deleted file mode 100644
index e967176..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_bsd.go
+++ /dev/null
@@ -1,628 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd netbsd openbsd
6
7// BSD system call wrappers shared by *BSD based systems
8// including OS X (Darwin) and FreeBSD. Like the other
9// syscall_*.go files it is compiled as Go code but also
10// used as input to mksyscall which parses the //sys
11// lines and generates system call stubs.
12
13package unix
14
15import (
16 "runtime"
17 "syscall"
18 "unsafe"
19)
20
21/*
22 * Wrapped
23 */
24
25//sysnb getgroups(ngid int, gid *_Gid_t) (n int, err error)
26//sysnb setgroups(ngid int, gid *_Gid_t) (err error)
27
28func Getgroups() (gids []int, err error) {
29 n, err := getgroups(0, nil)
30 if err != nil {
31 return nil, err
32 }
33 if n == 0 {
34 return nil, nil
35 }
36
37 // Sanity check group count. Max is 16 on BSD.
38 if n < 0 || n > 1000 {
39 return nil, EINVAL
40 }
41
42 a := make([]_Gid_t, n)
43 n, err = getgroups(n, &a[0])
44 if err != nil {
45 return nil, err
46 }
47 gids = make([]int, n)
48 for i, v := range a[0:n] {
49 gids[i] = int(v)
50 }
51 return
52}
53
54func Setgroups(gids []int) (err error) {
55 if len(gids) == 0 {
56 return setgroups(0, nil)
57 }
58
59 a := make([]_Gid_t, len(gids))
60 for i, v := range gids {
61 a[i] = _Gid_t(v)
62 }
63 return setgroups(len(a), &a[0])
64}
65
66func ReadDirent(fd int, buf []byte) (n int, err error) {
67 // Final argument is (basep *uintptr) and the syscall doesn't take nil.
68 // 64 bits should be enough. (32 bits isn't even on 386). Since the
69 // actual system call is getdirentries64, 64 is a good guess.
70 // TODO(rsc): Can we use a single global basep for all calls?
71 var base = (*uintptr)(unsafe.Pointer(new(uint64)))
72 return Getdirentries(fd, buf, base)
73}
74
75// Wait status is 7 bits at bottom, either 0 (exited),
76// 0x7F (stopped), or a signal number that caused an exit.
77// The 0x80 bit is whether there was a core dump.
78// An extra number (exit code, signal causing a stop)
79// is in the high bits.
80
81type WaitStatus uint32
82
83const (
84 mask = 0x7F
85 core = 0x80
86 shift = 8
87
88 exited = 0
89 stopped = 0x7F
90)
91
92func (w WaitStatus) Exited() bool { return w&mask == exited }
93
94func (w WaitStatus) ExitStatus() int {
95 if w&mask != exited {
96 return -1
97 }
98 return int(w >> shift)
99}
100
101func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
102
103func (w WaitStatus) Signal() syscall.Signal {
104 sig := syscall.Signal(w & mask)
105 if sig == stopped || sig == 0 {
106 return -1
107 }
108 return sig
109}
110
111func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
112
113func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
114
115func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
116
117func (w WaitStatus) StopSignal() syscall.Signal {
118 if !w.Stopped() {
119 return -1
120 }
121 return syscall.Signal(w>>shift) & 0xFF
122}
123
124func (w WaitStatus) TrapCause() int { return -1 }
125
126//sys wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
127
128func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
129 var status _C_int
130 wpid, err = wait4(pid, &status, options, rusage)
131 if wstatus != nil {
132 *wstatus = WaitStatus(status)
133 }
134 return
135}
136
137//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
138//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
139//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
140//sysnb socket(domain int, typ int, proto int) (fd int, err error)
141//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
142//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
143//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
144//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
145//sys Shutdown(s int, how int) (err error)
146
147func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
148 if sa.Port < 0 || sa.Port > 0xFFFF {
149 return nil, 0, EINVAL
150 }
151 sa.raw.Len = SizeofSockaddrInet4
152 sa.raw.Family = AF_INET
153 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
154 p[0] = byte(sa.Port >> 8)
155 p[1] = byte(sa.Port)
156 for i := 0; i < len(sa.Addr); i++ {
157 sa.raw.Addr[i] = sa.Addr[i]
158 }
159 return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
160}
161
162func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
163 if sa.Port < 0 || sa.Port > 0xFFFF {
164 return nil, 0, EINVAL
165 }
166 sa.raw.Len = SizeofSockaddrInet6
167 sa.raw.Family = AF_INET6
168 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
169 p[0] = byte(sa.Port >> 8)
170 p[1] = byte(sa.Port)
171 sa.raw.Scope_id = sa.ZoneId
172 for i := 0; i < len(sa.Addr); i++ {
173 sa.raw.Addr[i] = sa.Addr[i]
174 }
175 return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
176}
177
178func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
179 name := sa.Name
180 n := len(name)
181 if n >= len(sa.raw.Path) || n == 0 {
182 return nil, 0, EINVAL
183 }
184 sa.raw.Len = byte(3 + n) // 2 for Family, Len; 1 for NUL
185 sa.raw.Family = AF_UNIX
186 for i := 0; i < n; i++ {
187 sa.raw.Path[i] = int8(name[i])
188 }
189 return unsafe.Pointer(&sa.raw), _Socklen(sa.raw.Len), nil
190}
191
192func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) {
193 if sa.Index == 0 {
194 return nil, 0, EINVAL
195 }
196 sa.raw.Len = sa.Len
197 sa.raw.Family = AF_LINK
198 sa.raw.Index = sa.Index
199 sa.raw.Type = sa.Type
200 sa.raw.Nlen = sa.Nlen
201 sa.raw.Alen = sa.Alen
202 sa.raw.Slen = sa.Slen
203 for i := 0; i < len(sa.raw.Data); i++ {
204 sa.raw.Data[i] = sa.Data[i]
205 }
206 return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil
207}
208
209func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
210 switch rsa.Addr.Family {
211 case AF_LINK:
212 pp := (*RawSockaddrDatalink)(unsafe.Pointer(rsa))
213 sa := new(SockaddrDatalink)
214 sa.Len = pp.Len
215 sa.Family = pp.Family
216 sa.Index = pp.Index
217 sa.Type = pp.Type
218 sa.Nlen = pp.Nlen
219 sa.Alen = pp.Alen
220 sa.Slen = pp.Slen
221 for i := 0; i < len(sa.Data); i++ {
222 sa.Data[i] = pp.Data[i]
223 }
224 return sa, nil
225
226 case AF_UNIX:
227 pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
228 if pp.Len < 2 || pp.Len > SizeofSockaddrUnix {
229 return nil, EINVAL
230 }
231 sa := new(SockaddrUnix)
232
233 // Some BSDs include the trailing NUL in the length, whereas
234 // others do not. Work around this by subtracting the leading
235 // family and len. The path is then scanned to see if a NUL
236 // terminator still exists within the length.
237 n := int(pp.Len) - 2 // subtract leading Family, Len
238 for i := 0; i < n; i++ {
239 if pp.Path[i] == 0 {
240 // found early NUL; assume Len included the NUL
241 // or was overestimating.
242 n = i
243 break
244 }
245 }
246 bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
247 sa.Name = string(bytes)
248 return sa, nil
249
250 case AF_INET:
251 pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
252 sa := new(SockaddrInet4)
253 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
254 sa.Port = int(p[0])<<8 + int(p[1])
255 for i := 0; i < len(sa.Addr); i++ {
256 sa.Addr[i] = pp.Addr[i]
257 }
258 return sa, nil
259
260 case AF_INET6:
261 pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
262 sa := new(SockaddrInet6)
263 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
264 sa.Port = int(p[0])<<8 + int(p[1])
265 sa.ZoneId = pp.Scope_id
266 for i := 0; i < len(sa.Addr); i++ {
267 sa.Addr[i] = pp.Addr[i]
268 }
269 return sa, nil
270 }
271 return nil, EAFNOSUPPORT
272}
273
274func Accept(fd int) (nfd int, sa Sockaddr, err error) {
275 var rsa RawSockaddrAny
276 var len _Socklen = SizeofSockaddrAny
277 nfd, err = accept(fd, &rsa, &len)
278 if err != nil {
279 return
280 }
281 if runtime.GOOS == "darwin" && len == 0 {
282 // Accepted socket has no address.
283 // This is likely due to a bug in xnu kernels,
284 // where instead of ECONNABORTED error socket
285 // is accepted, but has no address.
286 Close(nfd)
287 return 0, nil, ECONNABORTED
288 }
289 sa, err = anyToSockaddr(&rsa)
290 if err != nil {
291 Close(nfd)
292 nfd = 0
293 }
294 return
295}
296
297func Getsockname(fd int) (sa Sockaddr, err error) {
298 var rsa RawSockaddrAny
299 var len _Socklen = SizeofSockaddrAny
300 if err = getsockname(fd, &rsa, &len); err != nil {
301 return
302 }
303 // TODO(jsing): DragonFly has a "bug" (see issue 3349), which should be
304 // reported upstream.
305 if runtime.GOOS == "dragonfly" && rsa.Addr.Family == AF_UNSPEC && rsa.Addr.Len == 0 {
306 rsa.Addr.Family = AF_UNIX
307 rsa.Addr.Len = SizeofSockaddrUnix
308 }
309 return anyToSockaddr(&rsa)
310}
311
312//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
313
314func GetsockoptByte(fd, level, opt int) (value byte, err error) {
315 var n byte
316 vallen := _Socklen(1)
317 err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
318 return n, err
319}
320
321func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
322 vallen := _Socklen(4)
323 err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
324 return value, err
325}
326
327func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
328 var value IPMreq
329 vallen := _Socklen(SizeofIPMreq)
330 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
331 return &value, err
332}
333
334func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
335 var value IPv6Mreq
336 vallen := _Socklen(SizeofIPv6Mreq)
337 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
338 return &value, err
339}
340
341func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
342 var value IPv6MTUInfo
343 vallen := _Socklen(SizeofIPv6MTUInfo)
344 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
345 return &value, err
346}
347
348func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
349 var value ICMPv6Filter
350 vallen := _Socklen(SizeofICMPv6Filter)
351 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
352 return &value, err
353}
354
355//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
356//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
357//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
358
359func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
360 var msg Msghdr
361 var rsa RawSockaddrAny
362 msg.Name = (*byte)(unsafe.Pointer(&rsa))
363 msg.Namelen = uint32(SizeofSockaddrAny)
364 var iov Iovec
365 if len(p) > 0 {
366 iov.Base = (*byte)(unsafe.Pointer(&p[0]))
367 iov.SetLen(len(p))
368 }
369 var dummy byte
370 if len(oob) > 0 {
371 // receive at least one normal byte
372 if len(p) == 0 {
373 iov.Base = &dummy
374 iov.SetLen(1)
375 }
376 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
377 msg.SetControllen(len(oob))
378 }
379 msg.Iov = &iov
380 msg.Iovlen = 1
381 if n, err = recvmsg(fd, &msg, flags); err != nil {
382 return
383 }
384 oobn = int(msg.Controllen)
385 recvflags = int(msg.Flags)
386 // source address is only specified if the socket is unconnected
387 if rsa.Addr.Family != AF_UNSPEC {
388 from, err = anyToSockaddr(&rsa)
389 }
390 return
391}
392
393//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
394
395func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
396 _, err = SendmsgN(fd, p, oob, to, flags)
397 return
398}
399
400func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
401 var ptr unsafe.Pointer
402 var salen _Socklen
403 if to != nil {
404 ptr, salen, err = to.sockaddr()
405 if err != nil {
406 return 0, err
407 }
408 }
409 var msg Msghdr
410 msg.Name = (*byte)(unsafe.Pointer(ptr))
411 msg.Namelen = uint32(salen)
412 var iov Iovec
413 if len(p) > 0 {
414 iov.Base = (*byte)(unsafe.Pointer(&p[0]))
415 iov.SetLen(len(p))
416 }
417 var dummy byte
418 if len(oob) > 0 {
419 // send at least one normal byte
420 if len(p) == 0 {
421 iov.Base = &dummy
422 iov.SetLen(1)
423 }
424 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
425 msg.SetControllen(len(oob))
426 }
427 msg.Iov = &iov
428 msg.Iovlen = 1
429 if n, err = sendmsg(fd, &msg, flags); err != nil {
430 return 0, err
431 }
432 if len(oob) > 0 && len(p) == 0 {
433 n = 0
434 }
435 return n, nil
436}
437
438//sys kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error)
439
440func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
441 var change, event unsafe.Pointer
442 if len(changes) > 0 {
443 change = unsafe.Pointer(&changes[0])
444 }
445 if len(events) > 0 {
446 event = unsafe.Pointer(&events[0])
447 }
448 return kevent(kq, change, len(changes), event, len(events), timeout)
449}
450
451//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
452
453// sysctlmib translates name to mib number and appends any additional args.
454func sysctlmib(name string, args ...int) ([]_C_int, error) {
455 // Translate name to mib number.
456 mib, err := nametomib(name)
457 if err != nil {
458 return nil, err
459 }
460
461 for _, a := range args {
462 mib = append(mib, _C_int(a))
463 }
464
465 return mib, nil
466}
467
468func Sysctl(name string) (string, error) {
469 return SysctlArgs(name)
470}
471
472func SysctlArgs(name string, args ...int) (string, error) {
473 mib, err := sysctlmib(name, args...)
474 if err != nil {
475 return "", err
476 }
477
478 // Find size.
479 n := uintptr(0)
480 if err := sysctl(mib, nil, &n, nil, 0); err != nil {
481 return "", err
482 }
483 if n == 0 {
484 return "", nil
485 }
486
487 // Read into buffer of that size.
488 buf := make([]byte, n)
489 if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
490 return "", err
491 }
492
493 // Throw away terminating NUL.
494 if n > 0 && buf[n-1] == '\x00' {
495 n--
496 }
497 return string(buf[0:n]), nil
498}
499
500func SysctlUint32(name string) (uint32, error) {
501 return SysctlUint32Args(name)
502}
503
504func SysctlUint32Args(name string, args ...int) (uint32, error) {
505 mib, err := sysctlmib(name, args...)
506 if err != nil {
507 return 0, err
508 }
509
510 n := uintptr(4)
511 buf := make([]byte, 4)
512 if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
513 return 0, err
514 }
515 if n != 4 {
516 return 0, EIO
517 }
518 return *(*uint32)(unsafe.Pointer(&buf[0])), nil
519}
520
521func SysctlUint64(name string, args ...int) (uint64, error) {
522 mib, err := sysctlmib(name, args...)
523 if err != nil {
524 return 0, err
525 }
526
527 n := uintptr(8)
528 buf := make([]byte, 8)
529 if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
530 return 0, err
531 }
532 if n != 8 {
533 return 0, EIO
534 }
535 return *(*uint64)(unsafe.Pointer(&buf[0])), nil
536}
537
538func SysctlRaw(name string, args ...int) ([]byte, error) {
539 mib, err := sysctlmib(name, args...)
540 if err != nil {
541 return nil, err
542 }
543
544 // Find size.
545 n := uintptr(0)
546 if err := sysctl(mib, nil, &n, nil, 0); err != nil {
547 return nil, err
548 }
549 if n == 0 {
550 return nil, nil
551 }
552
553 // Read into buffer of that size.
554 buf := make([]byte, n)
555 if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil {
556 return nil, err
557 }
558
559 // The actual call may return less than the original reported required
560 // size so ensure we deal with that.
561 return buf[:n], nil
562}
563
564//sys utimes(path string, timeval *[2]Timeval) (err error)
565
566func Utimes(path string, tv []Timeval) error {
567 if tv == nil {
568 return utimes(path, nil)
569 }
570 if len(tv) != 2 {
571 return EINVAL
572 }
573 return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
574}
575
576func UtimesNano(path string, ts []Timespec) error {
577 if ts == nil {
578 return utimes(path, nil)
579 }
580 // TODO: The BSDs can do utimensat with SYS_UTIMENSAT but it
581 // isn't supported by darwin so this uses utimes instead
582 if len(ts) != 2 {
583 return EINVAL
584 }
585 // Not as efficient as it could be because Timespec and
586 // Timeval have different types in the different OSes
587 tv := [2]Timeval{
588 NsecToTimeval(TimespecToNsec(ts[0])),
589 NsecToTimeval(TimespecToNsec(ts[1])),
590 }
591 return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
592}
593
594//sys futimes(fd int, timeval *[2]Timeval) (err error)
595
596func Futimes(fd int, tv []Timeval) error {
597 if tv == nil {
598 return futimes(fd, nil)
599 }
600 if len(tv) != 2 {
601 return EINVAL
602 }
603 return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
604}
605
606//sys fcntl(fd int, cmd int, arg int) (val int, err error)
607
608// TODO: wrap
609// Acct(name nil-string) (err error)
610// Gethostuuid(uuid *byte, timeout *Timespec) (err error)
611// Madvise(addr *byte, len int, behav int) (err error)
612// Mprotect(addr *byte, len int, prot int) (err error)
613// Msync(addr *byte, len int, flags int) (err error)
614// Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
615
616var mapper = &mmapper{
617 active: make(map[*byte][]byte),
618 mmap: mmap,
619 munmap: munmap,
620}
621
622func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
623 return mapper.Mmap(fd, offset, length, prot, flags)
624}
625
626func Munmap(b []byte) (err error) {
627 return mapper.Munmap(b)
628}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin.go
deleted file mode 100644
index 0d1771c..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin.go
+++ /dev/null
@@ -1,509 +0,0 @@
1// Copyright 2009,2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Darwin system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_bsd.go or syscall_unix.go.
12
13package unix
14
15import (
16 errorspkg "errors"
17 "syscall"
18 "unsafe"
19)
20
21const ImplementsGetwd = true
22
23func Getwd() (string, error) {
24 buf := make([]byte, 2048)
25 attrs, err := getAttrList(".", attrList{CommonAttr: attrCmnFullpath}, buf, 0)
26 if err == nil && len(attrs) == 1 && len(attrs[0]) >= 2 {
27 wd := string(attrs[0])
28 // Sanity check that it's an absolute path and ends
29 // in a null byte, which we then strip.
30 if wd[0] == '/' && wd[len(wd)-1] == 0 {
31 return wd[:len(wd)-1], nil
32 }
33 }
34 // If pkg/os/getwd.go gets ENOTSUP, it will fall back to the
35 // slow algorithm.
36 return "", ENOTSUP
37}
38
39type SockaddrDatalink struct {
40 Len uint8
41 Family uint8
42 Index uint16
43 Type uint8
44 Nlen uint8
45 Alen uint8
46 Slen uint8
47 Data [12]int8
48 raw RawSockaddrDatalink
49}
50
51// Translate "kern.hostname" to []_C_int{0,1,2,3}.
52func nametomib(name string) (mib []_C_int, err error) {
53 const siz = unsafe.Sizeof(mib[0])
54
55 // NOTE(rsc): It seems strange to set the buffer to have
56 // size CTL_MAXNAME+2 but use only CTL_MAXNAME
57 // as the size. I don't know why the +2 is here, but the
58 // kernel uses +2 for its own implementation of this function.
59 // I am scared that if we don't include the +2 here, the kernel
60 // will silently write 2 words farther than we specify
61 // and we'll get memory corruption.
62 var buf [CTL_MAXNAME + 2]_C_int
63 n := uintptr(CTL_MAXNAME) * siz
64
65 p := (*byte)(unsafe.Pointer(&buf[0]))
66 bytes, err := ByteSliceFromString(name)
67 if err != nil {
68 return nil, err
69 }
70
71 // Magic sysctl: "setting" 0.3 to a string name
72 // lets you read back the array of integers form.
73 if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
74 return nil, err
75 }
76 return buf[0 : n/siz], nil
77}
78
79// ParseDirent parses up to max directory entries in buf,
80// appending the names to names. It returns the number
81// bytes consumed from buf, the number of entries added
82// to names, and the new names slice.
83func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
84 origlen := len(buf)
85 for max != 0 && len(buf) > 0 {
86 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
87 if dirent.Reclen == 0 {
88 buf = nil
89 break
90 }
91 buf = buf[dirent.Reclen:]
92 if dirent.Ino == 0 { // File absent in directory.
93 continue
94 }
95 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
96 var name = string(bytes[0:dirent.Namlen])
97 if name == "." || name == ".." { // Useless names
98 continue
99 }
100 max--
101 count++
102 names = append(names, name)
103 }
104 return origlen - len(buf), count, names
105}
106
107//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
108func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
109func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
110
111const (
112 attrBitMapCount = 5
113 attrCmnFullpath = 0x08000000
114)
115
116type attrList struct {
117 bitmapCount uint16
118 _ uint16
119 CommonAttr uint32
120 VolAttr uint32
121 DirAttr uint32
122 FileAttr uint32
123 Forkattr uint32
124}
125
126func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
127 if len(attrBuf) < 4 {
128 return nil, errorspkg.New("attrBuf too small")
129 }
130 attrList.bitmapCount = attrBitMapCount
131
132 var _p0 *byte
133 _p0, err = BytePtrFromString(path)
134 if err != nil {
135 return nil, err
136 }
137
138 _, _, e1 := Syscall6(
139 SYS_GETATTRLIST,
140 uintptr(unsafe.Pointer(_p0)),
141 uintptr(unsafe.Pointer(&attrList)),
142 uintptr(unsafe.Pointer(&attrBuf[0])),
143 uintptr(len(attrBuf)),
144 uintptr(options),
145 0,
146 )
147 if e1 != 0 {
148 return nil, e1
149 }
150 size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
151
152 // dat is the section of attrBuf that contains valid data,
153 // without the 4 byte length header. All attribute offsets
154 // are relative to dat.
155 dat := attrBuf
156 if int(size) < len(attrBuf) {
157 dat = dat[:size]
158 }
159 dat = dat[4:] // remove length prefix
160
161 for i := uint32(0); int(i) < len(dat); {
162 header := dat[i:]
163 if len(header) < 8 {
164 return attrs, errorspkg.New("truncated attribute header")
165 }
166 datOff := *(*int32)(unsafe.Pointer(&header[0]))
167 attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
168 if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
169 return attrs, errorspkg.New("truncated results; attrBuf too small")
170 }
171 end := uint32(datOff) + attrLen
172 attrs = append(attrs, dat[datOff:end])
173 i = end
174 if r := i % 4; r != 0 {
175 i += (4 - r)
176 }
177 }
178 return
179}
180
181//sysnb pipe() (r int, w int, err error)
182
183func Pipe(p []int) (err error) {
184 if len(p) != 2 {
185 return EINVAL
186 }
187 p[0], p[1], err = pipe()
188 return
189}
190
191func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
192 var _p0 unsafe.Pointer
193 var bufsize uintptr
194 if len(buf) > 0 {
195 _p0 = unsafe.Pointer(&buf[0])
196 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
197 }
198 r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
199 n = int(r0)
200 if e1 != 0 {
201 err = e1
202 }
203 return
204}
205
206/*
207 * Wrapped
208 */
209
210//sys kill(pid int, signum int, posix int) (err error)
211
212func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
213
214/*
215 * Exposed directly
216 */
217//sys Access(path string, mode uint32) (err error)
218//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
219//sys Chdir(path string) (err error)
220//sys Chflags(path string, flags int) (err error)
221//sys Chmod(path string, mode uint32) (err error)
222//sys Chown(path string, uid int, gid int) (err error)
223//sys Chroot(path string) (err error)
224//sys Close(fd int) (err error)
225//sys Dup(fd int) (nfd int, err error)
226//sys Dup2(from int, to int) (err error)
227//sys Exchangedata(path1 string, path2 string, options int) (err error)
228//sys Exit(code int)
229//sys Fchdir(fd int) (err error)
230//sys Fchflags(fd int, flags int) (err error)
231//sys Fchmod(fd int, mode uint32) (err error)
232//sys Fchown(fd int, uid int, gid int) (err error)
233//sys Flock(fd int, how int) (err error)
234//sys Fpathconf(fd int, name int) (val int, err error)
235//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
236//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
237//sys Fsync(fd int) (err error)
238//sys Ftruncate(fd int, length int64) (err error)
239//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
240//sys Getdtablesize() (size int)
241//sysnb Getegid() (egid int)
242//sysnb Geteuid() (uid int)
243//sysnb Getgid() (gid int)
244//sysnb Getpgid(pid int) (pgid int, err error)
245//sysnb Getpgrp() (pgrp int)
246//sysnb Getpid() (pid int)
247//sysnb Getppid() (ppid int)
248//sys Getpriority(which int, who int) (prio int, err error)
249//sysnb Getrlimit(which int, lim *Rlimit) (err error)
250//sysnb Getrusage(who int, rusage *Rusage) (err error)
251//sysnb Getsid(pid int) (sid int, err error)
252//sysnb Getuid() (uid int)
253//sysnb Issetugid() (tainted bool)
254//sys Kqueue() (fd int, err error)
255//sys Lchown(path string, uid int, gid int) (err error)
256//sys Link(path string, link string) (err error)
257//sys Listen(s int, backlog int) (err error)
258//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
259//sys Mkdir(path string, mode uint32) (err error)
260//sys Mkfifo(path string, mode uint32) (err error)
261//sys Mknod(path string, mode uint32, dev int) (err error)
262//sys Mlock(b []byte) (err error)
263//sys Mlockall(flags int) (err error)
264//sys Mprotect(b []byte, prot int) (err error)
265//sys Munlock(b []byte) (err error)
266//sys Munlockall() (err error)
267//sys Open(path string, mode int, perm uint32) (fd int, err error)
268//sys Pathconf(path string, name int) (val int, err error)
269//sys Pread(fd int, p []byte, offset int64) (n int, err error)
270//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
271//sys read(fd int, p []byte) (n int, err error)
272//sys Readlink(path string, buf []byte) (n int, err error)
273//sys Rename(from string, to string) (err error)
274//sys Revoke(path string) (err error)
275//sys Rmdir(path string) (err error)
276//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
277//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
278//sys Setegid(egid int) (err error)
279//sysnb Seteuid(euid int) (err error)
280//sysnb Setgid(gid int) (err error)
281//sys Setlogin(name string) (err error)
282//sysnb Setpgid(pid int, pgid int) (err error)
283//sys Setpriority(which int, who int, prio int) (err error)
284//sys Setprivexec(flag int) (err error)
285//sysnb Setregid(rgid int, egid int) (err error)
286//sysnb Setreuid(ruid int, euid int) (err error)
287//sysnb Setrlimit(which int, lim *Rlimit) (err error)
288//sysnb Setsid() (pid int, err error)
289//sysnb Settimeofday(tp *Timeval) (err error)
290//sysnb Setuid(uid int) (err error)
291//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
292//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
293//sys Symlink(path string, link string) (err error)
294//sys Sync() (err error)
295//sys Truncate(path string, length int64) (err error)
296//sys Umask(newmask int) (oldmask int)
297//sys Undelete(path string) (err error)
298//sys Unlink(path string) (err error)
299//sys Unmount(path string, flags int) (err error)
300//sys write(fd int, p []byte) (n int, err error)
301//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
302//sys munmap(addr uintptr, length uintptr) (err error)
303//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
304//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
305
306/*
307 * Unimplemented
308 */
309// Profil
310// Sigaction
311// Sigprocmask
312// Getlogin
313// Sigpending
314// Sigaltstack
315// Ioctl
316// Reboot
317// Execve
318// Vfork
319// Sbrk
320// Sstk
321// Ovadvise
322// Mincore
323// Setitimer
324// Swapon
325// Select
326// Sigsuspend
327// Readv
328// Writev
329// Nfssvc
330// Getfh
331// Quotactl
332// Mount
333// Csops
334// Waitid
335// Add_profil
336// Kdebug_trace
337// Sigreturn
338// Mmap
339// Mlock
340// Munlock
341// Atsocket
342// Kqueue_from_portset_np
343// Kqueue_portset
344// Getattrlist
345// Setattrlist
346// Getdirentriesattr
347// Searchfs
348// Delete
349// Copyfile
350// Poll
351// Watchevent
352// Waitevent
353// Modwatch
354// Getxattr
355// Fgetxattr
356// Setxattr
357// Fsetxattr
358// Removexattr
359// Fremovexattr
360// Listxattr
361// Flistxattr
362// Fsctl
363// Initgroups
364// Posix_spawn
365// Nfsclnt
366// Fhopen
367// Minherit
368// Semsys
369// Msgsys
370// Shmsys
371// Semctl
372// Semget
373// Semop
374// Msgctl
375// Msgget
376// Msgsnd
377// Msgrcv
378// Shmat
379// Shmctl
380// Shmdt
381// Shmget
382// Shm_open
383// Shm_unlink
384// Sem_open
385// Sem_close
386// Sem_unlink
387// Sem_wait
388// Sem_trywait
389// Sem_post
390// Sem_getvalue
391// Sem_init
392// Sem_destroy
393// Open_extended
394// Umask_extended
395// Stat_extended
396// Lstat_extended
397// Fstat_extended
398// Chmod_extended
399// Fchmod_extended
400// Access_extended
401// Settid
402// Gettid
403// Setsgroups
404// Getsgroups
405// Setwgroups
406// Getwgroups
407// Mkfifo_extended
408// Mkdir_extended
409// Identitysvc
410// Shared_region_check_np
411// Shared_region_map_np
412// __pthread_mutex_destroy
413// __pthread_mutex_init
414// __pthread_mutex_lock
415// __pthread_mutex_trylock
416// __pthread_mutex_unlock
417// __pthread_cond_init
418// __pthread_cond_destroy
419// __pthread_cond_broadcast
420// __pthread_cond_signal
421// Setsid_with_pid
422// __pthread_cond_timedwait
423// Aio_fsync
424// Aio_return
425// Aio_suspend
426// Aio_cancel
427// Aio_error
428// Aio_read
429// Aio_write
430// Lio_listio
431// __pthread_cond_wait
432// Iopolicysys
433// Mlockall
434// Munlockall
435// __pthread_kill
436// __pthread_sigmask
437// __sigwait
438// __disable_threadsignal
439// __pthread_markcancel
440// __pthread_canceled
441// __semwait_signal
442// Proc_info
443// sendfile
444// Stat64_extended
445// Lstat64_extended
446// Fstat64_extended
447// __pthread_chdir
448// __pthread_fchdir
449// Audit
450// Auditon
451// Getauid
452// Setauid
453// Getaudit
454// Setaudit
455// Getaudit_addr
456// Setaudit_addr
457// Auditctl
458// Bsdthread_create
459// Bsdthread_terminate
460// Stack_snapshot
461// Bsdthread_register
462// Workq_open
463// Workq_ops
464// __mac_execve
465// __mac_syscall
466// __mac_get_file
467// __mac_set_file
468// __mac_get_link
469// __mac_set_link
470// __mac_get_proc
471// __mac_set_proc
472// __mac_get_fd
473// __mac_set_fd
474// __mac_get_pid
475// __mac_get_lcid
476// __mac_get_lctx
477// __mac_set_lctx
478// Setlcid
479// Read_nocancel
480// Write_nocancel
481// Open_nocancel
482// Close_nocancel
483// Wait4_nocancel
484// Recvmsg_nocancel
485// Sendmsg_nocancel
486// Recvfrom_nocancel
487// Accept_nocancel
488// Msync_nocancel
489// Fcntl_nocancel
490// Select_nocancel
491// Fsync_nocancel
492// Connect_nocancel
493// Sigsuspend_nocancel
494// Readv_nocancel
495// Writev_nocancel
496// Sendto_nocancel
497// Pread_nocancel
498// Pwrite_nocancel
499// Waitid_nocancel
500// Poll_nocancel
501// Msgsnd_nocancel
502// Msgrcv_nocancel
503// Sem_wait_nocancel
504// Aio_suspend_nocancel
505// __sigwait_nocancel
506// __semwait_signal_nocancel
507// __mac_mount
508// __mac_get_mount
509// __mac_getfsstat
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_386.go
deleted file mode 100644
index 3195c8b..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_386.go
+++ /dev/null
@@ -1,79 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build 386,darwin
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = int32(nsec / 1e9)
20 ts.Nsec = int32(nsec % 1e9)
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = int32(nsec % 1e9 / 1e3)
29 tv.Sec = int32(nsec / 1e9)
30 return
31}
32
33//sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
34func Gettimeofday(tv *Timeval) (err error) {
35 // The tv passed to gettimeofday must be non-nil
36 // but is otherwise unused. The answers come back
37 // in the two registers.
38 sec, usec, err := gettimeofday(tv)
39 tv.Sec = int32(sec)
40 tv.Usec = int32(usec)
41 return err
42}
43
44func SetKevent(k *Kevent_t, fd, mode, flags int) {
45 k.Ident = uint32(fd)
46 k.Filter = int16(mode)
47 k.Flags = uint16(flags)
48}
49
50func (iov *Iovec) SetLen(length int) {
51 iov.Len = uint32(length)
52}
53
54func (msghdr *Msghdr) SetControllen(length int) {
55 msghdr.Controllen = uint32(length)
56}
57
58func (cmsg *Cmsghdr) SetLen(length int) {
59 cmsg.Len = uint32(length)
60}
61
62func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
63 var length = uint64(count)
64
65 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
66
67 written = int(length)
68
69 if e1 != 0 {
70 err = e1
71 }
72 return
73}
74
75func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
76
77// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
78// of darwin/386 the syscall is called sysctl instead of __sysctl.
79const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_amd64.go
deleted file mode 100644
index 7adb98d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_amd64.go
+++ /dev/null
@@ -1,81 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,darwin
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
15
16func Getpagesize() int { return 4096 }
17
18func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19
20func NsecToTimespec(nsec int64) (ts Timespec) {
21 ts.Sec = nsec / 1e9
22 ts.Nsec = nsec % 1e9
23 return
24}
25
26func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
27
28func NsecToTimeval(nsec int64) (tv Timeval) {
29 nsec += 999 // round up to microsecond
30 tv.Usec = int32(nsec % 1e9 / 1e3)
31 tv.Sec = int64(nsec / 1e9)
32 return
33}
34
35//sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
36func Gettimeofday(tv *Timeval) (err error) {
37 // The tv passed to gettimeofday must be non-nil
38 // but is otherwise unused. The answers come back
39 // in the two registers.
40 sec, usec, err := gettimeofday(tv)
41 tv.Sec = sec
42 tv.Usec = usec
43 return err
44}
45
46func SetKevent(k *Kevent_t, fd, mode, flags int) {
47 k.Ident = uint64(fd)
48 k.Filter = int16(mode)
49 k.Flags = uint16(flags)
50}
51
52func (iov *Iovec) SetLen(length int) {
53 iov.Len = uint64(length)
54}
55
56func (msghdr *Msghdr) SetControllen(length int) {
57 msghdr.Controllen = uint32(length)
58}
59
60func (cmsg *Cmsghdr) SetLen(length int) {
61 cmsg.Len = uint32(length)
62}
63
64func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
65 var length = uint64(count)
66
67 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
68
69 written = int(length)
70
71 if e1 != 0 {
72 err = e1
73 }
74 return
75}
76
77func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
78
79// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
80// of darwin/amd64 the syscall is called sysctl instead of __sysctl.
81const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm.go
deleted file mode 100644
index e47ffd7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm.go
+++ /dev/null
@@ -1,73 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package unix
6
7import (
8 "syscall"
9 "unsafe"
10)
11
12func Getpagesize() int { return 4096 }
13
14func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
15
16func NsecToTimespec(nsec int64) (ts Timespec) {
17 ts.Sec = int32(nsec / 1e9)
18 ts.Nsec = int32(nsec % 1e9)
19 return
20}
21
22func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
23
24func NsecToTimeval(nsec int64) (tv Timeval) {
25 nsec += 999 // round up to microsecond
26 tv.Usec = int32(nsec % 1e9 / 1e3)
27 tv.Sec = int32(nsec / 1e9)
28 return
29}
30
31//sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
32func Gettimeofday(tv *Timeval) (err error) {
33 // The tv passed to gettimeofday must be non-nil
34 // but is otherwise unused. The answers come back
35 // in the two registers.
36 sec, usec, err := gettimeofday(tv)
37 tv.Sec = int32(sec)
38 tv.Usec = int32(usec)
39 return err
40}
41
42func SetKevent(k *Kevent_t, fd, mode, flags int) {
43 k.Ident = uint32(fd)
44 k.Filter = int16(mode)
45 k.Flags = uint16(flags)
46}
47
48func (iov *Iovec) SetLen(length int) {
49 iov.Len = uint32(length)
50}
51
52func (msghdr *Msghdr) SetControllen(length int) {
53 msghdr.Controllen = uint32(length)
54}
55
56func (cmsg *Cmsghdr) SetLen(length int) {
57 cmsg.Len = uint32(length)
58}
59
60func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
61 var length = uint64(count)
62
63 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
64
65 written = int(length)
66
67 if e1 != 0 {
68 err = e1
69 }
70 return
71}
72
73func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm64.go
deleted file mode 100644
index 2560a95..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_darwin_arm64.go
+++ /dev/null
@@ -1,79 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build arm64,darwin
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 16384 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = nsec / 1e9
20 ts.Nsec = nsec % 1e9
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = int32(nsec % 1e9 / 1e3)
29 tv.Sec = int64(nsec / 1e9)
30 return
31}
32
33//sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
34func Gettimeofday(tv *Timeval) (err error) {
35 // The tv passed to gettimeofday must be non-nil
36 // but is otherwise unused. The answers come back
37 // in the two registers.
38 sec, usec, err := gettimeofday(tv)
39 tv.Sec = sec
40 tv.Usec = usec
41 return err
42}
43
44func SetKevent(k *Kevent_t, fd, mode, flags int) {
45 k.Ident = uint64(fd)
46 k.Filter = int16(mode)
47 k.Flags = uint16(flags)
48}
49
50func (iov *Iovec) SetLen(length int) {
51 iov.Len = uint64(length)
52}
53
54func (msghdr *Msghdr) SetControllen(length int) {
55 msghdr.Controllen = uint32(length)
56}
57
58func (cmsg *Cmsghdr) SetLen(length int) {
59 cmsg.Len = uint32(length)
60}
61
62func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
63 var length = uint64(count)
64
65 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
66
67 written = int(length)
68
69 if e1 != 0 {
70 err = e1
71 }
72 return
73}
74
75func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
76
77// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
78// of darwin/arm64 the syscall is called sysctl instead of __sysctl.
79const SYS___SYSCTL = SYS_SYSCTL
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly.go
deleted file mode 100644
index fbbe0dc..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly.go
+++ /dev/null
@@ -1,411 +0,0 @@
1// Copyright 2009,2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// FreeBSD system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_bsd.go or syscall_unix.go.
12
13package unix
14
15import "unsafe"
16
17type SockaddrDatalink struct {
18 Len uint8
19 Family uint8
20 Index uint16
21 Type uint8
22 Nlen uint8
23 Alen uint8
24 Slen uint8
25 Data [12]int8
26 Rcf uint16
27 Route [16]uint16
28 raw RawSockaddrDatalink
29}
30
31// Translate "kern.hostname" to []_C_int{0,1,2,3}.
32func nametomib(name string) (mib []_C_int, err error) {
33 const siz = unsafe.Sizeof(mib[0])
34
35 // NOTE(rsc): It seems strange to set the buffer to have
36 // size CTL_MAXNAME+2 but use only CTL_MAXNAME
37 // as the size. I don't know why the +2 is here, but the
38 // kernel uses +2 for its own implementation of this function.
39 // I am scared that if we don't include the +2 here, the kernel
40 // will silently write 2 words farther than we specify
41 // and we'll get memory corruption.
42 var buf [CTL_MAXNAME + 2]_C_int
43 n := uintptr(CTL_MAXNAME) * siz
44
45 p := (*byte)(unsafe.Pointer(&buf[0]))
46 bytes, err := ByteSliceFromString(name)
47 if err != nil {
48 return nil, err
49 }
50
51 // Magic sysctl: "setting" 0.3 to a string name
52 // lets you read back the array of integers form.
53 if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
54 return nil, err
55 }
56 return buf[0 : n/siz], nil
57}
58
59// ParseDirent parses up to max directory entries in buf,
60// appending the names to names. It returns the number
61// bytes consumed from buf, the number of entries added
62// to names, and the new names slice.
63func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
64 origlen := len(buf)
65 for max != 0 && len(buf) > 0 {
66 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
67 reclen := int(16+dirent.Namlen+1+7) & ^7
68 buf = buf[reclen:]
69 if dirent.Fileno == 0 { // File absent in directory.
70 continue
71 }
72 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
73 var name = string(bytes[0:dirent.Namlen])
74 if name == "." || name == ".." { // Useless names
75 continue
76 }
77 max--
78 count++
79 names = append(names, name)
80 }
81 return origlen - len(buf), count, names
82}
83
84//sysnb pipe() (r int, w int, err error)
85
86func Pipe(p []int) (err error) {
87 if len(p) != 2 {
88 return EINVAL
89 }
90 p[0], p[1], err = pipe()
91 return
92}
93
94//sys extpread(fd int, p []byte, flags int, offset int64) (n int, err error)
95func Pread(fd int, p []byte, offset int64) (n int, err error) {
96 return extpread(fd, p, 0, offset)
97}
98
99//sys extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error)
100func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
101 return extpwrite(fd, p, 0, offset)
102}
103
104func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
105 var _p0 unsafe.Pointer
106 var bufsize uintptr
107 if len(buf) > 0 {
108 _p0 = unsafe.Pointer(&buf[0])
109 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
110 }
111 r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
112 n = int(r0)
113 if e1 != 0 {
114 err = e1
115 }
116 return
117}
118
119/*
120 * Exposed directly
121 */
122//sys Access(path string, mode uint32) (err error)
123//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
124//sys Chdir(path string) (err error)
125//sys Chflags(path string, flags int) (err error)
126//sys Chmod(path string, mode uint32) (err error)
127//sys Chown(path string, uid int, gid int) (err error)
128//sys Chroot(path string) (err error)
129//sys Close(fd int) (err error)
130//sys Dup(fd int) (nfd int, err error)
131//sys Dup2(from int, to int) (err error)
132//sys Exit(code int)
133//sys Fchdir(fd int) (err error)
134//sys Fchflags(fd int, flags int) (err error)
135//sys Fchmod(fd int, mode uint32) (err error)
136//sys Fchown(fd int, uid int, gid int) (err error)
137//sys Flock(fd int, how int) (err error)
138//sys Fpathconf(fd int, name int) (val int, err error)
139//sys Fstat(fd int, stat *Stat_t) (err error)
140//sys Fstatfs(fd int, stat *Statfs_t) (err error)
141//sys Fsync(fd int) (err error)
142//sys Ftruncate(fd int, length int64) (err error)
143//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
144//sys Getdtablesize() (size int)
145//sysnb Getegid() (egid int)
146//sysnb Geteuid() (uid int)
147//sysnb Getgid() (gid int)
148//sysnb Getpgid(pid int) (pgid int, err error)
149//sysnb Getpgrp() (pgrp int)
150//sysnb Getpid() (pid int)
151//sysnb Getppid() (ppid int)
152//sys Getpriority(which int, who int) (prio int, err error)
153//sysnb Getrlimit(which int, lim *Rlimit) (err error)
154//sysnb Getrusage(who int, rusage *Rusage) (err error)
155//sysnb Getsid(pid int) (sid int, err error)
156//sysnb Gettimeofday(tv *Timeval) (err error)
157//sysnb Getuid() (uid int)
158//sys Issetugid() (tainted bool)
159//sys Kill(pid int, signum syscall.Signal) (err error)
160//sys Kqueue() (fd int, err error)
161//sys Lchown(path string, uid int, gid int) (err error)
162//sys Link(path string, link string) (err error)
163//sys Listen(s int, backlog int) (err error)
164//sys Lstat(path string, stat *Stat_t) (err error)
165//sys Mkdir(path string, mode uint32) (err error)
166//sys Mkfifo(path string, mode uint32) (err error)
167//sys Mknod(path string, mode uint32, dev int) (err error)
168//sys Mlock(b []byte) (err error)
169//sys Mlockall(flags int) (err error)
170//sys Mprotect(b []byte, prot int) (err error)
171//sys Munlock(b []byte) (err error)
172//sys Munlockall() (err error)
173//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
174//sys Open(path string, mode int, perm uint32) (fd int, err error)
175//sys Pathconf(path string, name int) (val int, err error)
176//sys read(fd int, p []byte) (n int, err error)
177//sys Readlink(path string, buf []byte) (n int, err error)
178//sys Rename(from string, to string) (err error)
179//sys Revoke(path string) (err error)
180//sys Rmdir(path string) (err error)
181//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
182//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
183//sysnb Setegid(egid int) (err error)
184//sysnb Seteuid(euid int) (err error)
185//sysnb Setgid(gid int) (err error)
186//sys Setlogin(name string) (err error)
187//sysnb Setpgid(pid int, pgid int) (err error)
188//sys Setpriority(which int, who int, prio int) (err error)
189//sysnb Setregid(rgid int, egid int) (err error)
190//sysnb Setreuid(ruid int, euid int) (err error)
191//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
192//sysnb Setresuid(ruid int, euid int, suid int) (err error)
193//sysnb Setrlimit(which int, lim *Rlimit) (err error)
194//sysnb Setsid() (pid int, err error)
195//sysnb Settimeofday(tp *Timeval) (err error)
196//sysnb Setuid(uid int) (err error)
197//sys Stat(path string, stat *Stat_t) (err error)
198//sys Statfs(path string, stat *Statfs_t) (err error)
199//sys Symlink(path string, link string) (err error)
200//sys Sync() (err error)
201//sys Truncate(path string, length int64) (err error)
202//sys Umask(newmask int) (oldmask int)
203//sys Undelete(path string) (err error)
204//sys Unlink(path string) (err error)
205//sys Unmount(path string, flags int) (err error)
206//sys write(fd int, p []byte) (n int, err error)
207//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
208//sys munmap(addr uintptr, length uintptr) (err error)
209//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
210//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
211
212/*
213 * Unimplemented
214 * TODO(jsing): Update this list for DragonFly.
215 */
216// Profil
217// Sigaction
218// Sigprocmask
219// Getlogin
220// Sigpending
221// Sigaltstack
222// Ioctl
223// Reboot
224// Execve
225// Vfork
226// Sbrk
227// Sstk
228// Ovadvise
229// Mincore
230// Setitimer
231// Swapon
232// Select
233// Sigsuspend
234// Readv
235// Writev
236// Nfssvc
237// Getfh
238// Quotactl
239// Mount
240// Csops
241// Waitid
242// Add_profil
243// Kdebug_trace
244// Sigreturn
245// Mmap
246// Atsocket
247// Kqueue_from_portset_np
248// Kqueue_portset
249// Getattrlist
250// Setattrlist
251// Getdirentriesattr
252// Searchfs
253// Delete
254// Copyfile
255// Poll
256// Watchevent
257// Waitevent
258// Modwatch
259// Getxattr
260// Fgetxattr
261// Setxattr
262// Fsetxattr
263// Removexattr
264// Fremovexattr
265// Listxattr
266// Flistxattr
267// Fsctl
268// Initgroups
269// Posix_spawn
270// Nfsclnt
271// Fhopen
272// Minherit
273// Semsys
274// Msgsys
275// Shmsys
276// Semctl
277// Semget
278// Semop
279// Msgctl
280// Msgget
281// Msgsnd
282// Msgrcv
283// Shmat
284// Shmctl
285// Shmdt
286// Shmget
287// Shm_open
288// Shm_unlink
289// Sem_open
290// Sem_close
291// Sem_unlink
292// Sem_wait
293// Sem_trywait
294// Sem_post
295// Sem_getvalue
296// Sem_init
297// Sem_destroy
298// Open_extended
299// Umask_extended
300// Stat_extended
301// Lstat_extended
302// Fstat_extended
303// Chmod_extended
304// Fchmod_extended
305// Access_extended
306// Settid
307// Gettid
308// Setsgroups
309// Getsgroups
310// Setwgroups
311// Getwgroups
312// Mkfifo_extended
313// Mkdir_extended
314// Identitysvc
315// Shared_region_check_np
316// Shared_region_map_np
317// __pthread_mutex_destroy
318// __pthread_mutex_init
319// __pthread_mutex_lock
320// __pthread_mutex_trylock
321// __pthread_mutex_unlock
322// __pthread_cond_init
323// __pthread_cond_destroy
324// __pthread_cond_broadcast
325// __pthread_cond_signal
326// Setsid_with_pid
327// __pthread_cond_timedwait
328// Aio_fsync
329// Aio_return
330// Aio_suspend
331// Aio_cancel
332// Aio_error
333// Aio_read
334// Aio_write
335// Lio_listio
336// __pthread_cond_wait
337// Iopolicysys
338// __pthread_kill
339// __pthread_sigmask
340// __sigwait
341// __disable_threadsignal
342// __pthread_markcancel
343// __pthread_canceled
344// __semwait_signal
345// Proc_info
346// Stat64_extended
347// Lstat64_extended
348// Fstat64_extended
349// __pthread_chdir
350// __pthread_fchdir
351// Audit
352// Auditon
353// Getauid
354// Setauid
355// Getaudit
356// Setaudit
357// Getaudit_addr
358// Setaudit_addr
359// Auditctl
360// Bsdthread_create
361// Bsdthread_terminate
362// Stack_snapshot
363// Bsdthread_register
364// Workq_open
365// Workq_ops
366// __mac_execve
367// __mac_syscall
368// __mac_get_file
369// __mac_set_file
370// __mac_get_link
371// __mac_set_link
372// __mac_get_proc
373// __mac_set_proc
374// __mac_get_fd
375// __mac_set_fd
376// __mac_get_pid
377// __mac_get_lcid
378// __mac_get_lctx
379// __mac_set_lctx
380// Setlcid
381// Read_nocancel
382// Write_nocancel
383// Open_nocancel
384// Close_nocancel
385// Wait4_nocancel
386// Recvmsg_nocancel
387// Sendmsg_nocancel
388// Recvfrom_nocancel
389// Accept_nocancel
390// Msync_nocancel
391// Fcntl_nocancel
392// Select_nocancel
393// Fsync_nocancel
394// Connect_nocancel
395// Sigsuspend_nocancel
396// Readv_nocancel
397// Writev_nocancel
398// Sendto_nocancel
399// Pread_nocancel
400// Pwrite_nocancel
401// Waitid_nocancel
402// Poll_nocancel
403// Msgsnd_nocancel
404// Msgrcv_nocancel
405// Sem_wait_nocancel
406// Aio_suspend_nocancel
407// __sigwait_nocancel
408// __semwait_signal_nocancel
409// __mac_mount
410// __mac_get_mount
411// __mac_getfsstat
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_386.go
deleted file mode 100644
index 41c2e69..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_386.go
+++ /dev/null
@@ -1,63 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build 386,dragonfly
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = int32(nsec / 1e9)
20 ts.Nsec = int32(nsec % 1e9)
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = int32(nsec % 1e9 / 1e3)
29 tv.Sec = int32(nsec / 1e9)
30 return
31}
32
33func SetKevent(k *Kevent_t, fd, mode, flags int) {
34 k.Ident = uint32(fd)
35 k.Filter = int16(mode)
36 k.Flags = uint16(flags)
37}
38
39func (iov *Iovec) SetLen(length int) {
40 iov.Len = uint32(length)
41}
42
43func (msghdr *Msghdr) SetControllen(length int) {
44 msghdr.Controllen = uint32(length)
45}
46
47func (cmsg *Cmsghdr) SetLen(length int) {
48 cmsg.Len = uint32(length)
49}
50
51func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
52 var writtenOut uint64 = 0
53 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
54
55 written = int(writtenOut)
56
57 if e1 != 0 {
58 err = e1
59 }
60 return
61}
62
63func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
deleted file mode 100644
index 2ed9259..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
+++ /dev/null
@@ -1,63 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,dragonfly
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = nsec / 1e9
20 ts.Nsec = nsec % 1e9
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = nsec % 1e9 / 1e3
29 tv.Sec = int64(nsec / 1e9)
30 return
31}
32
33func SetKevent(k *Kevent_t, fd, mode, flags int) {
34 k.Ident = uint64(fd)
35 k.Filter = int16(mode)
36 k.Flags = uint16(flags)
37}
38
39func (iov *Iovec) SetLen(length int) {
40 iov.Len = uint64(length)
41}
42
43func (msghdr *Msghdr) SetControllen(length int) {
44 msghdr.Controllen = uint32(length)
45}
46
47func (cmsg *Cmsghdr) SetLen(length int) {
48 cmsg.Len = uint32(length)
49}
50
51func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
52 var writtenOut uint64 = 0
53 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
54
55 written = int(writtenOut)
56
57 if e1 != 0 {
58 err = e1
59 }
60 return
61}
62
63func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd.go
deleted file mode 100644
index ec56ed6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd.go
+++ /dev/null
@@ -1,682 +0,0 @@
1// Copyright 2009,2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// FreeBSD system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_bsd.go or syscall_unix.go.
12
13package unix
14
15import "unsafe"
16
17type SockaddrDatalink struct {
18 Len uint8
19 Family uint8
20 Index uint16
21 Type uint8
22 Nlen uint8
23 Alen uint8
24 Slen uint8
25 Data [46]int8
26 raw RawSockaddrDatalink
27}
28
29// Translate "kern.hostname" to []_C_int{0,1,2,3}.
30func nametomib(name string) (mib []_C_int, err error) {
31 const siz = unsafe.Sizeof(mib[0])
32
33 // NOTE(rsc): It seems strange to set the buffer to have
34 // size CTL_MAXNAME+2 but use only CTL_MAXNAME
35 // as the size. I don't know why the +2 is here, but the
36 // kernel uses +2 for its own implementation of this function.
37 // I am scared that if we don't include the +2 here, the kernel
38 // will silently write 2 words farther than we specify
39 // and we'll get memory corruption.
40 var buf [CTL_MAXNAME + 2]_C_int
41 n := uintptr(CTL_MAXNAME) * siz
42
43 p := (*byte)(unsafe.Pointer(&buf[0]))
44 bytes, err := ByteSliceFromString(name)
45 if err != nil {
46 return nil, err
47 }
48
49 // Magic sysctl: "setting" 0.3 to a string name
50 // lets you read back the array of integers form.
51 if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
52 return nil, err
53 }
54 return buf[0 : n/siz], nil
55}
56
57// ParseDirent parses up to max directory entries in buf,
58// appending the names to names. It returns the number
59// bytes consumed from buf, the number of entries added
60// to names, and the new names slice.
61func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
62 origlen := len(buf)
63 for max != 0 && len(buf) > 0 {
64 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
65 if dirent.Reclen == 0 {
66 buf = nil
67 break
68 }
69 buf = buf[dirent.Reclen:]
70 if dirent.Fileno == 0 { // File absent in directory.
71 continue
72 }
73 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
74 var name = string(bytes[0:dirent.Namlen])
75 if name == "." || name == ".." { // Useless names
76 continue
77 }
78 max--
79 count++
80 names = append(names, name)
81 }
82 return origlen - len(buf), count, names
83}
84
85//sysnb pipe() (r int, w int, err error)
86
87func Pipe(p []int) (err error) {
88 if len(p) != 2 {
89 return EINVAL
90 }
91 p[0], p[1], err = pipe()
92 return
93}
94
95func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
96 var value IPMreqn
97 vallen := _Socklen(SizeofIPMreqn)
98 errno := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
99 return &value, errno
100}
101
102func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
103 return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
104}
105
106func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
107 var rsa RawSockaddrAny
108 var len _Socklen = SizeofSockaddrAny
109 nfd, err = accept4(fd, &rsa, &len, flags)
110 if err != nil {
111 return
112 }
113 if len > SizeofSockaddrAny {
114 panic("RawSockaddrAny too small")
115 }
116 sa, err = anyToSockaddr(&rsa)
117 if err != nil {
118 Close(nfd)
119 nfd = 0
120 }
121 return
122}
123
124func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
125 var _p0 unsafe.Pointer
126 var bufsize uintptr
127 if len(buf) > 0 {
128 _p0 = unsafe.Pointer(&buf[0])
129 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
130 }
131 r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
132 n = int(r0)
133 if e1 != 0 {
134 err = e1
135 }
136 return
137}
138
139// Derive extattr namespace and attribute name
140
141func xattrnamespace(fullattr string) (ns int, attr string, err error) {
142 s := -1
143 for idx, val := range fullattr {
144 if val == '.' {
145 s = idx
146 break
147 }
148 }
149
150 if s == -1 {
151 return -1, "", ENOATTR
152 }
153
154 namespace := fullattr[0:s]
155 attr = fullattr[s+1:]
156
157 switch namespace {
158 case "user":
159 return EXTATTR_NAMESPACE_USER, attr, nil
160 case "system":
161 return EXTATTR_NAMESPACE_SYSTEM, attr, nil
162 default:
163 return -1, "", ENOATTR
164 }
165}
166
167func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
168 if len(dest) > idx {
169 return unsafe.Pointer(&dest[idx])
170 } else {
171 return unsafe.Pointer(_zero)
172 }
173}
174
175// FreeBSD implements its own syscalls to handle extended attributes
176
177func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
178 d := initxattrdest(dest, 0)
179 destsize := len(dest)
180
181 nsid, a, err := xattrnamespace(attr)
182 if err != nil {
183 return -1, err
184 }
185
186 return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
187}
188
189func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
190 d := initxattrdest(dest, 0)
191 destsize := len(dest)
192
193 nsid, a, err := xattrnamespace(attr)
194 if err != nil {
195 return -1, err
196 }
197
198 return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
199}
200
201func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
202 d := initxattrdest(dest, 0)
203 destsize := len(dest)
204
205 nsid, a, err := xattrnamespace(attr)
206 if err != nil {
207 return -1, err
208 }
209
210 return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
211}
212
213// flags are unused on FreeBSD
214
215func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
216 d := unsafe.Pointer(&data[0])
217 datasiz := len(data)
218
219 nsid, a, err := xattrnamespace(attr)
220 if err != nil {
221 return
222 }
223
224 _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
225 return
226}
227
228func Setxattr(file string, attr string, data []byte, flags int) (err error) {
229 d := unsafe.Pointer(&data[0])
230 datasiz := len(data)
231
232 nsid, a, err := xattrnamespace(attr)
233 if err != nil {
234 return
235 }
236
237 _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
238 return
239}
240
241func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
242 d := unsafe.Pointer(&data[0])
243 datasiz := len(data)
244
245 nsid, a, err := xattrnamespace(attr)
246 if err != nil {
247 return
248 }
249
250 _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
251 return
252}
253
254func Removexattr(file string, attr string) (err error) {
255 nsid, a, err := xattrnamespace(attr)
256 if err != nil {
257 return
258 }
259
260 err = ExtattrDeleteFile(file, nsid, a)
261 return
262}
263
264func Fremovexattr(fd int, attr string) (err error) {
265 nsid, a, err := xattrnamespace(attr)
266 if err != nil {
267 return
268 }
269
270 err = ExtattrDeleteFd(fd, nsid, a)
271 return
272}
273
274func Lremovexattr(link string, attr string) (err error) {
275 nsid, a, err := xattrnamespace(attr)
276 if err != nil {
277 return
278 }
279
280 err = ExtattrDeleteLink(link, nsid, a)
281 return
282}
283
284func Listxattr(file string, dest []byte) (sz int, err error) {
285 d := initxattrdest(dest, 0)
286 destsiz := len(dest)
287
288 // FreeBSD won't allow you to list xattrs from multiple namespaces
289 s := 0
290 var e error
291 for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
292 stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
293
294 /* Errors accessing system attrs are ignored so that
295 * we can implement the Linux-like behavior of omitting errors that
296 * we don't have read permissions on
297 *
298 * Linux will still error if we ask for user attributes on a file that
299 * we don't have read permissions on, so don't ignore those errors
300 */
301 if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
302 e = nil
303 continue
304 } else if e != nil {
305 return s, e
306 }
307
308 s += stmp
309 destsiz -= s
310 if destsiz < 0 {
311 destsiz = 0
312 }
313 d = initxattrdest(dest, s)
314 }
315
316 return s, e
317}
318
319func Flistxattr(fd int, dest []byte) (sz int, err error) {
320 d := initxattrdest(dest, 0)
321 destsiz := len(dest)
322
323 s := 0
324 var e error
325 for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
326 stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
327 if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
328 e = nil
329 continue
330 } else if e != nil {
331 return s, e
332 }
333
334 s += stmp
335 destsiz -= s
336 if destsiz < 0 {
337 destsiz = 0
338 }
339 d = initxattrdest(dest, s)
340 }
341
342 return s, e
343}
344
345func Llistxattr(link string, dest []byte) (sz int, err error) {
346 d := initxattrdest(dest, 0)
347 destsiz := len(dest)
348
349 s := 0
350 var e error
351 for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
352 stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
353 if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
354 e = nil
355 continue
356 } else if e != nil {
357 return s, e
358 }
359
360 s += stmp
361 destsiz -= s
362 if destsiz < 0 {
363 destsiz = 0
364 }
365 d = initxattrdest(dest, s)
366 }
367
368 return s, e
369}
370
371/*
372 * Exposed directly
373 */
374//sys Access(path string, mode uint32) (err error)
375//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
376//sys Chdir(path string) (err error)
377//sys Chflags(path string, flags int) (err error)
378//sys Chmod(path string, mode uint32) (err error)
379//sys Chown(path string, uid int, gid int) (err error)
380//sys Chroot(path string) (err error)
381//sys Close(fd int) (err error)
382//sys Dup(fd int) (nfd int, err error)
383//sys Dup2(from int, to int) (err error)
384//sys Exit(code int)
385//sys ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
386//sys ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
387//sys ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error)
388//sys ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
389//sys ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
390//sys ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
391//sys ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error)
392//sys ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
393//sys ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
394//sys ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
395//sys ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error)
396//sys ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
397//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
398//sys Fchdir(fd int) (err error)
399//sys Fchflags(fd int, flags int) (err error)
400//sys Fchmod(fd int, mode uint32) (err error)
401//sys Fchown(fd int, uid int, gid int) (err error)
402//sys Flock(fd int, how int) (err error)
403//sys Fpathconf(fd int, name int) (val int, err error)
404//sys Fstat(fd int, stat *Stat_t) (err error)
405//sys Fstatfs(fd int, stat *Statfs_t) (err error)
406//sys Fsync(fd int) (err error)
407//sys Ftruncate(fd int, length int64) (err error)
408//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
409//sys Getdtablesize() (size int)
410//sysnb Getegid() (egid int)
411//sysnb Geteuid() (uid int)
412//sysnb Getgid() (gid int)
413//sysnb Getpgid(pid int) (pgid int, err error)
414//sysnb Getpgrp() (pgrp int)
415//sysnb Getpid() (pid int)
416//sysnb Getppid() (ppid int)
417//sys Getpriority(which int, who int) (prio int, err error)
418//sysnb Getrlimit(which int, lim *Rlimit) (err error)
419//sysnb Getrusage(who int, rusage *Rusage) (err error)
420//sysnb Getsid(pid int) (sid int, err error)
421//sysnb Gettimeofday(tv *Timeval) (err error)
422//sysnb Getuid() (uid int)
423//sys Issetugid() (tainted bool)
424//sys Kill(pid int, signum syscall.Signal) (err error)
425//sys Kqueue() (fd int, err error)
426//sys Lchown(path string, uid int, gid int) (err error)
427//sys Link(path string, link string) (err error)
428//sys Listen(s int, backlog int) (err error)
429//sys Lstat(path string, stat *Stat_t) (err error)
430//sys Mkdir(path string, mode uint32) (err error)
431//sys Mkfifo(path string, mode uint32) (err error)
432//sys Mknod(path string, mode uint32, dev int) (err error)
433//sys Mlock(b []byte) (err error)
434//sys Mlockall(flags int) (err error)
435//sys Mprotect(b []byte, prot int) (err error)
436//sys Munlock(b []byte) (err error)
437//sys Munlockall() (err error)
438//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
439//sys Open(path string, mode int, perm uint32) (fd int, err error)
440//sys Pathconf(path string, name int) (val int, err error)
441//sys Pread(fd int, p []byte, offset int64) (n int, err error)
442//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
443//sys read(fd int, p []byte) (n int, err error)
444//sys Readlink(path string, buf []byte) (n int, err error)
445//sys Rename(from string, to string) (err error)
446//sys Revoke(path string) (err error)
447//sys Rmdir(path string) (err error)
448//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
449//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
450//sysnb Setegid(egid int) (err error)
451//sysnb Seteuid(euid int) (err error)
452//sysnb Setgid(gid int) (err error)
453//sys Setlogin(name string) (err error)
454//sysnb Setpgid(pid int, pgid int) (err error)
455//sys Setpriority(which int, who int, prio int) (err error)
456//sysnb Setregid(rgid int, egid int) (err error)
457//sysnb Setreuid(ruid int, euid int) (err error)
458//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
459//sysnb Setresuid(ruid int, euid int, suid int) (err error)
460//sysnb Setrlimit(which int, lim *Rlimit) (err error)
461//sysnb Setsid() (pid int, err error)
462//sysnb Settimeofday(tp *Timeval) (err error)
463//sysnb Setuid(uid int) (err error)
464//sys Stat(path string, stat *Stat_t) (err error)
465//sys Statfs(path string, stat *Statfs_t) (err error)
466//sys Symlink(path string, link string) (err error)
467//sys Sync() (err error)
468//sys Truncate(path string, length int64) (err error)
469//sys Umask(newmask int) (oldmask int)
470//sys Undelete(path string) (err error)
471//sys Unlink(path string) (err error)
472//sys Unmount(path string, flags int) (err error)
473//sys write(fd int, p []byte) (n int, err error)
474//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
475//sys munmap(addr uintptr, length uintptr) (err error)
476//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
477//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
478//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
479
480/*
481 * Unimplemented
482 */
483// Profil
484// Sigaction
485// Sigprocmask
486// Getlogin
487// Sigpending
488// Sigaltstack
489// Ioctl
490// Reboot
491// Execve
492// Vfork
493// Sbrk
494// Sstk
495// Ovadvise
496// Mincore
497// Setitimer
498// Swapon
499// Select
500// Sigsuspend
501// Readv
502// Writev
503// Nfssvc
504// Getfh
505// Quotactl
506// Mount
507// Csops
508// Waitid
509// Add_profil
510// Kdebug_trace
511// Sigreturn
512// Mmap
513// Mlock
514// Munlock
515// Atsocket
516// Kqueue_from_portset_np
517// Kqueue_portset
518// Getattrlist
519// Setattrlist
520// Getdirentriesattr
521// Searchfs
522// Delete
523// Copyfile
524// Poll
525// Watchevent
526// Waitevent
527// Modwatch
528// Getxattr
529// Fgetxattr
530// Setxattr
531// Fsetxattr
532// Removexattr
533// Fremovexattr
534// Listxattr
535// Flistxattr
536// Fsctl
537// Initgroups
538// Posix_spawn
539// Nfsclnt
540// Fhopen
541// Minherit
542// Semsys
543// Msgsys
544// Shmsys
545// Semctl
546// Semget
547// Semop
548// Msgctl
549// Msgget
550// Msgsnd
551// Msgrcv
552// Shmat
553// Shmctl
554// Shmdt
555// Shmget
556// Shm_open
557// Shm_unlink
558// Sem_open
559// Sem_close
560// Sem_unlink
561// Sem_wait
562// Sem_trywait
563// Sem_post
564// Sem_getvalue
565// Sem_init
566// Sem_destroy
567// Open_extended
568// Umask_extended
569// Stat_extended
570// Lstat_extended
571// Fstat_extended
572// Chmod_extended
573// Fchmod_extended
574// Access_extended
575// Settid
576// Gettid
577// Setsgroups
578// Getsgroups
579// Setwgroups
580// Getwgroups
581// Mkfifo_extended
582// Mkdir_extended
583// Identitysvc
584// Shared_region_check_np
585// Shared_region_map_np
586// __pthread_mutex_destroy
587// __pthread_mutex_init
588// __pthread_mutex_lock
589// __pthread_mutex_trylock
590// __pthread_mutex_unlock
591// __pthread_cond_init
592// __pthread_cond_destroy
593// __pthread_cond_broadcast
594// __pthread_cond_signal
595// Setsid_with_pid
596// __pthread_cond_timedwait
597// Aio_fsync
598// Aio_return
599// Aio_suspend
600// Aio_cancel
601// Aio_error
602// Aio_read
603// Aio_write
604// Lio_listio
605// __pthread_cond_wait
606// Iopolicysys
607// Mlockall
608// Munlockall
609// __pthread_kill
610// __pthread_sigmask
611// __sigwait
612// __disable_threadsignal
613// __pthread_markcancel
614// __pthread_canceled
615// __semwait_signal
616// Proc_info
617// Stat64_extended
618// Lstat64_extended
619// Fstat64_extended
620// __pthread_chdir
621// __pthread_fchdir
622// Audit
623// Auditon
624// Getauid
625// Setauid
626// Getaudit
627// Setaudit
628// Getaudit_addr
629// Setaudit_addr
630// Auditctl
631// Bsdthread_create
632// Bsdthread_terminate
633// Stack_snapshot
634// Bsdthread_register
635// Workq_open
636// Workq_ops
637// __mac_execve
638// __mac_syscall
639// __mac_get_file
640// __mac_set_file
641// __mac_get_link
642// __mac_set_link
643// __mac_get_proc
644// __mac_set_proc
645// __mac_get_fd
646// __mac_set_fd
647// __mac_get_pid
648// __mac_get_lcid
649// __mac_get_lctx
650// __mac_set_lctx
651// Setlcid
652// Read_nocancel
653// Write_nocancel
654// Open_nocancel
655// Close_nocancel
656// Wait4_nocancel
657// Recvmsg_nocancel
658// Sendmsg_nocancel
659// Recvfrom_nocancel
660// Accept_nocancel
661// Msync_nocancel
662// Fcntl_nocancel
663// Select_nocancel
664// Fsync_nocancel
665// Connect_nocancel
666// Sigsuspend_nocancel
667// Readv_nocancel
668// Writev_nocancel
669// Sendto_nocancel
670// Pread_nocancel
671// Pwrite_nocancel
672// Waitid_nocancel
673// Poll_nocancel
674// Msgsnd_nocancel
675// Msgrcv_nocancel
676// Sem_wait_nocancel
677// Aio_suspend_nocancel
678// __sigwait_nocancel
679// __semwait_signal_nocancel
680// __mac_mount
681// __mac_get_mount
682// __mac_getfsstat
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_386.go
deleted file mode 100644
index 6255d40..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_386.go
+++ /dev/null
@@ -1,63 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build 386,freebsd
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = int32(nsec / 1e9)
20 ts.Nsec = int32(nsec % 1e9)
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = int32(nsec % 1e9 / 1e3)
29 tv.Sec = int32(nsec / 1e9)
30 return
31}
32
33func SetKevent(k *Kevent_t, fd, mode, flags int) {
34 k.Ident = uint32(fd)
35 k.Filter = int16(mode)
36 k.Flags = uint16(flags)
37}
38
39func (iov *Iovec) SetLen(length int) {
40 iov.Len = uint32(length)
41}
42
43func (msghdr *Msghdr) SetControllen(length int) {
44 msghdr.Controllen = uint32(length)
45}
46
47func (cmsg *Cmsghdr) SetLen(length int) {
48 cmsg.Len = uint32(length)
49}
50
51func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
52 var writtenOut uint64 = 0
53 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
54
55 written = int(writtenOut)
56
57 if e1 != 0 {
58 err = e1
59 }
60 return
61}
62
63func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_amd64.go
deleted file mode 100644
index 8b395d5..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_amd64.go
+++ /dev/null
@@ -1,63 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,freebsd
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = nsec / 1e9
20 ts.Nsec = nsec % 1e9
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = nsec % 1e9 / 1e3
29 tv.Sec = int64(nsec / 1e9)
30 return
31}
32
33func SetKevent(k *Kevent_t, fd, mode, flags int) {
34 k.Ident = uint64(fd)
35 k.Filter = int16(mode)
36 k.Flags = uint16(flags)
37}
38
39func (iov *Iovec) SetLen(length int) {
40 iov.Len = uint64(length)
41}
42
43func (msghdr *Msghdr) SetControllen(length int) {
44 msghdr.Controllen = uint32(length)
45}
46
47func (cmsg *Cmsghdr) SetLen(length int) {
48 cmsg.Len = uint32(length)
49}
50
51func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
52 var writtenOut uint64 = 0
53 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
54
55 written = int(writtenOut)
56
57 if e1 != 0 {
58 err = e1
59 }
60 return
61}
62
63func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_arm.go
deleted file mode 100644
index 4e72d46..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_freebsd_arm.go
+++ /dev/null
@@ -1,63 +0,0 @@
1// Copyright 2012 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build arm,freebsd
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = nsec / 1e9
20 ts.Nsec = int32(nsec % 1e9)
21 return
22}
23
24func TimevalToNsec(tv Timeval) int64 { return tv.Sec*1e9 + int64(tv.Usec)*1e3 }
25
26func NsecToTimeval(nsec int64) (tv Timeval) {
27 nsec += 999 // round up to microsecond
28 tv.Usec = int32(nsec % 1e9 / 1e3)
29 tv.Sec = nsec / 1e9
30 return
31}
32
33func SetKevent(k *Kevent_t, fd, mode, flags int) {
34 k.Ident = uint32(fd)
35 k.Filter = int16(mode)
36 k.Flags = uint16(flags)
37}
38
39func (iov *Iovec) SetLen(length int) {
40 iov.Len = uint32(length)
41}
42
43func (msghdr *Msghdr) SetControllen(length int) {
44 msghdr.Controllen = uint32(length)
45}
46
47func (cmsg *Cmsghdr) SetLen(length int) {
48 cmsg.Len = uint32(length)
49}
50
51func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
52 var writtenOut uint64 = 0
53 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
54
55 written = int(writtenOut)
56
57 if e1 != 0 {
58 err = e1
59 }
60 return
61}
62
63func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux.go
deleted file mode 100644
index d3ee5d2..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux.go
+++ /dev/null
@@ -1,1086 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Linux system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and
10// wrap it in our own nicer implementation.
11
12package unix
13
14import (
15 "syscall"
16 "unsafe"
17)
18
19/*
20 * Wrapped
21 */
22
23func Access(path string, mode uint32) (err error) {
24 return Faccessat(AT_FDCWD, path, mode, 0)
25}
26
27func Chmod(path string, mode uint32) (err error) {
28 return Fchmodat(AT_FDCWD, path, mode, 0)
29}
30
31func Chown(path string, uid int, gid int) (err error) {
32 return Fchownat(AT_FDCWD, path, uid, gid, 0)
33}
34
35func Creat(path string, mode uint32) (fd int, err error) {
36 return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
37}
38
39//sys linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error)
40
41func Link(oldpath string, newpath string) (err error) {
42 return linkat(AT_FDCWD, oldpath, AT_FDCWD, newpath, 0)
43}
44
45func Mkdir(path string, mode uint32) (err error) {
46 return Mkdirat(AT_FDCWD, path, mode)
47}
48
49func Mknod(path string, mode uint32, dev int) (err error) {
50 return Mknodat(AT_FDCWD, path, mode, dev)
51}
52
53func Open(path string, mode int, perm uint32) (fd int, err error) {
54 return openat(AT_FDCWD, path, mode|O_LARGEFILE, perm)
55}
56
57//sys openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
58
59func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
60 return openat(dirfd, path, flags|O_LARGEFILE, mode)
61}
62
63//sys readlinkat(dirfd int, path string, buf []byte) (n int, err error)
64
65func Readlink(path string, buf []byte) (n int, err error) {
66 return readlinkat(AT_FDCWD, path, buf)
67}
68
69func Rename(oldpath string, newpath string) (err error) {
70 return Renameat(AT_FDCWD, oldpath, AT_FDCWD, newpath)
71}
72
73func Rmdir(path string) error {
74 return unlinkat(AT_FDCWD, path, AT_REMOVEDIR)
75}
76
77//sys symlinkat(oldpath string, newdirfd int, newpath string) (err error)
78
79func Symlink(oldpath string, newpath string) (err error) {
80 return symlinkat(oldpath, AT_FDCWD, newpath)
81}
82
83func Unlink(path string) error {
84 return unlinkat(AT_FDCWD, path, 0)
85}
86
87//sys unlinkat(dirfd int, path string, flags int) (err error)
88
89func Unlinkat(dirfd int, path string) error {
90 return unlinkat(dirfd, path, 0)
91}
92
93//sys utimes(path string, times *[2]Timeval) (err error)
94
95func Utimes(path string, tv []Timeval) (err error) {
96 if tv == nil {
97 return utimes(path, nil)
98 }
99 if len(tv) != 2 {
100 return EINVAL
101 }
102 return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
103}
104
105//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
106
107func UtimesNano(path string, ts []Timespec) error {
108 if ts == nil {
109 err := utimensat(AT_FDCWD, path, nil, 0)
110 if err != ENOSYS {
111 return err
112 }
113 return utimes(path, nil)
114 }
115 if len(ts) != 2 {
116 return EINVAL
117 }
118 err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
119 if err != ENOSYS {
120 return err
121 }
122 // If the utimensat syscall isn't available (utimensat was added to Linux
123 // in 2.6.22, Released, 8 July 2007) then fall back to utimes
124 var tv [2]Timeval
125 for i := 0; i < 2; i++ {
126 tv[i].Sec = ts[i].Sec
127 tv[i].Usec = ts[i].Nsec / 1000
128 }
129 return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
130}
131
132func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
133 if ts == nil {
134 return utimensat(dirfd, path, nil, flags)
135 }
136 if len(ts) != 2 {
137 return EINVAL
138 }
139 return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
140}
141
142//sys futimesat(dirfd int, path *byte, times *[2]Timeval) (err error)
143
144func Futimesat(dirfd int, path string, tv []Timeval) error {
145 pathp, err := BytePtrFromString(path)
146 if err != nil {
147 return err
148 }
149 if tv == nil {
150 return futimesat(dirfd, pathp, nil)
151 }
152 if len(tv) != 2 {
153 return EINVAL
154 }
155 return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
156}
157
158func Futimes(fd int, tv []Timeval) (err error) {
159 // Believe it or not, this is the best we can do on Linux
160 // (and is what glibc does).
161 return Utimes("/proc/self/fd/"+itoa(fd), tv)
162}
163
164const ImplementsGetwd = true
165
166//sys Getcwd(buf []byte) (n int, err error)
167
168func Getwd() (wd string, err error) {
169 var buf [PathMax]byte
170 n, err := Getcwd(buf[0:])
171 if err != nil {
172 return "", err
173 }
174 // Getcwd returns the number of bytes written to buf, including the NUL.
175 if n < 1 || n > len(buf) || buf[n-1] != 0 {
176 return "", EINVAL
177 }
178 return string(buf[0 : n-1]), nil
179}
180
181func Getgroups() (gids []int, err error) {
182 n, err := getgroups(0, nil)
183 if err != nil {
184 return nil, err
185 }
186 if n == 0 {
187 return nil, nil
188 }
189
190 // Sanity check group count. Max is 1<<16 on Linux.
191 if n < 0 || n > 1<<20 {
192 return nil, EINVAL
193 }
194
195 a := make([]_Gid_t, n)
196 n, err = getgroups(n, &a[0])
197 if err != nil {
198 return nil, err
199 }
200 gids = make([]int, n)
201 for i, v := range a[0:n] {
202 gids[i] = int(v)
203 }
204 return
205}
206
207func Setgroups(gids []int) (err error) {
208 if len(gids) == 0 {
209 return setgroups(0, nil)
210 }
211
212 a := make([]_Gid_t, len(gids))
213 for i, v := range gids {
214 a[i] = _Gid_t(v)
215 }
216 return setgroups(len(a), &a[0])
217}
218
219type WaitStatus uint32
220
221// Wait status is 7 bits at bottom, either 0 (exited),
222// 0x7F (stopped), or a signal number that caused an exit.
223// The 0x80 bit is whether there was a core dump.
224// An extra number (exit code, signal causing a stop)
225// is in the high bits. At least that's the idea.
226// There are various irregularities. For example, the
227// "continued" status is 0xFFFF, distinguishing itself
228// from stopped via the core dump bit.
229
230const (
231 mask = 0x7F
232 core = 0x80
233 exited = 0x00
234 stopped = 0x7F
235 shift = 8
236)
237
238func (w WaitStatus) Exited() bool { return w&mask == exited }
239
240func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
241
242func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
243
244func (w WaitStatus) Continued() bool { return w == 0xFFFF }
245
246func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
247
248func (w WaitStatus) ExitStatus() int {
249 if !w.Exited() {
250 return -1
251 }
252 return int(w>>shift) & 0xFF
253}
254
255func (w WaitStatus) Signal() syscall.Signal {
256 if !w.Signaled() {
257 return -1
258 }
259 return syscall.Signal(w & mask)
260}
261
262func (w WaitStatus) StopSignal() syscall.Signal {
263 if !w.Stopped() {
264 return -1
265 }
266 return syscall.Signal(w>>shift) & 0xFF
267}
268
269func (w WaitStatus) TrapCause() int {
270 if w.StopSignal() != SIGTRAP {
271 return -1
272 }
273 return int(w>>shift) >> 8
274}
275
276//sys wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
277
278func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
279 var status _C_int
280 wpid, err = wait4(pid, &status, options, rusage)
281 if wstatus != nil {
282 *wstatus = WaitStatus(status)
283 }
284 return
285}
286
287func Mkfifo(path string, mode uint32) (err error) {
288 return Mknod(path, mode|S_IFIFO, 0)
289}
290
291func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
292 if sa.Port < 0 || sa.Port > 0xFFFF {
293 return nil, 0, EINVAL
294 }
295 sa.raw.Family = AF_INET
296 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
297 p[0] = byte(sa.Port >> 8)
298 p[1] = byte(sa.Port)
299 for i := 0; i < len(sa.Addr); i++ {
300 sa.raw.Addr[i] = sa.Addr[i]
301 }
302 return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
303}
304
305func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
306 if sa.Port < 0 || sa.Port > 0xFFFF {
307 return nil, 0, EINVAL
308 }
309 sa.raw.Family = AF_INET6
310 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
311 p[0] = byte(sa.Port >> 8)
312 p[1] = byte(sa.Port)
313 sa.raw.Scope_id = sa.ZoneId
314 for i := 0; i < len(sa.Addr); i++ {
315 sa.raw.Addr[i] = sa.Addr[i]
316 }
317 return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
318}
319
320func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
321 name := sa.Name
322 n := len(name)
323 if n >= len(sa.raw.Path) {
324 return nil, 0, EINVAL
325 }
326 sa.raw.Family = AF_UNIX
327 for i := 0; i < n; i++ {
328 sa.raw.Path[i] = int8(name[i])
329 }
330 // length is family (uint16), name, NUL.
331 sl := _Socklen(2)
332 if n > 0 {
333 sl += _Socklen(n) + 1
334 }
335 if sa.raw.Path[0] == '@' {
336 sa.raw.Path[0] = 0
337 // Don't count trailing NUL for abstract address.
338 sl--
339 }
340
341 return unsafe.Pointer(&sa.raw), sl, nil
342}
343
344type SockaddrLinklayer struct {
345 Protocol uint16
346 Ifindex int
347 Hatype uint16
348 Pkttype uint8
349 Halen uint8
350 Addr [8]byte
351 raw RawSockaddrLinklayer
352}
353
354func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
355 if sa.Ifindex < 0 || sa.Ifindex > 0x7fffffff {
356 return nil, 0, EINVAL
357 }
358 sa.raw.Family = AF_PACKET
359 sa.raw.Protocol = sa.Protocol
360 sa.raw.Ifindex = int32(sa.Ifindex)
361 sa.raw.Hatype = sa.Hatype
362 sa.raw.Pkttype = sa.Pkttype
363 sa.raw.Halen = sa.Halen
364 for i := 0; i < len(sa.Addr); i++ {
365 sa.raw.Addr[i] = sa.Addr[i]
366 }
367 return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil
368}
369
370type SockaddrNetlink struct {
371 Family uint16
372 Pad uint16
373 Pid uint32
374 Groups uint32
375 raw RawSockaddrNetlink
376}
377
378func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) {
379 sa.raw.Family = AF_NETLINK
380 sa.raw.Pad = sa.Pad
381 sa.raw.Pid = sa.Pid
382 sa.raw.Groups = sa.Groups
383 return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil
384}
385
386func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
387 switch rsa.Addr.Family {
388 case AF_NETLINK:
389 pp := (*RawSockaddrNetlink)(unsafe.Pointer(rsa))
390 sa := new(SockaddrNetlink)
391 sa.Family = pp.Family
392 sa.Pad = pp.Pad
393 sa.Pid = pp.Pid
394 sa.Groups = pp.Groups
395 return sa, nil
396
397 case AF_PACKET:
398 pp := (*RawSockaddrLinklayer)(unsafe.Pointer(rsa))
399 sa := new(SockaddrLinklayer)
400 sa.Protocol = pp.Protocol
401 sa.Ifindex = int(pp.Ifindex)
402 sa.Hatype = pp.Hatype
403 sa.Pkttype = pp.Pkttype
404 sa.Halen = pp.Halen
405 for i := 0; i < len(sa.Addr); i++ {
406 sa.Addr[i] = pp.Addr[i]
407 }
408 return sa, nil
409
410 case AF_UNIX:
411 pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
412 sa := new(SockaddrUnix)
413 if pp.Path[0] == 0 {
414 // "Abstract" Unix domain socket.
415 // Rewrite leading NUL as @ for textual display.
416 // (This is the standard convention.)
417 // Not friendly to overwrite in place,
418 // but the callers below don't care.
419 pp.Path[0] = '@'
420 }
421
422 // Assume path ends at NUL.
423 // This is not technically the Linux semantics for
424 // abstract Unix domain sockets--they are supposed
425 // to be uninterpreted fixed-size binary blobs--but
426 // everyone uses this convention.
427 n := 0
428 for n < len(pp.Path) && pp.Path[n] != 0 {
429 n++
430 }
431 bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
432 sa.Name = string(bytes)
433 return sa, nil
434
435 case AF_INET:
436 pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
437 sa := new(SockaddrInet4)
438 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
439 sa.Port = int(p[0])<<8 + int(p[1])
440 for i := 0; i < len(sa.Addr); i++ {
441 sa.Addr[i] = pp.Addr[i]
442 }
443 return sa, nil
444
445 case AF_INET6:
446 pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
447 sa := new(SockaddrInet6)
448 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
449 sa.Port = int(p[0])<<8 + int(p[1])
450 sa.ZoneId = pp.Scope_id
451 for i := 0; i < len(sa.Addr); i++ {
452 sa.Addr[i] = pp.Addr[i]
453 }
454 return sa, nil
455 }
456 return nil, EAFNOSUPPORT
457}
458
459func Accept(fd int) (nfd int, sa Sockaddr, err error) {
460 var rsa RawSockaddrAny
461 var len _Socklen = SizeofSockaddrAny
462 nfd, err = accept(fd, &rsa, &len)
463 if err != nil {
464 return
465 }
466 sa, err = anyToSockaddr(&rsa)
467 if err != nil {
468 Close(nfd)
469 nfd = 0
470 }
471 return
472}
473
474func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
475 var rsa RawSockaddrAny
476 var len _Socklen = SizeofSockaddrAny
477 nfd, err = accept4(fd, &rsa, &len, flags)
478 if err != nil {
479 return
480 }
481 if len > SizeofSockaddrAny {
482 panic("RawSockaddrAny too small")
483 }
484 sa, err = anyToSockaddr(&rsa)
485 if err != nil {
486 Close(nfd)
487 nfd = 0
488 }
489 return
490}
491
492func Getsockname(fd int) (sa Sockaddr, err error) {
493 var rsa RawSockaddrAny
494 var len _Socklen = SizeofSockaddrAny
495 if err = getsockname(fd, &rsa, &len); err != nil {
496 return
497 }
498 return anyToSockaddr(&rsa)
499}
500
501func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
502 vallen := _Socklen(4)
503 err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
504 return value, err
505}
506
507func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
508 var value IPMreq
509 vallen := _Socklen(SizeofIPMreq)
510 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
511 return &value, err
512}
513
514func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
515 var value IPMreqn
516 vallen := _Socklen(SizeofIPMreqn)
517 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
518 return &value, err
519}
520
521func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
522 var value IPv6Mreq
523 vallen := _Socklen(SizeofIPv6Mreq)
524 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
525 return &value, err
526}
527
528func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
529 var value IPv6MTUInfo
530 vallen := _Socklen(SizeofIPv6MTUInfo)
531 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
532 return &value, err
533}
534
535func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
536 var value ICMPv6Filter
537 vallen := _Socklen(SizeofICMPv6Filter)
538 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
539 return &value, err
540}
541
542func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
543 var value Ucred
544 vallen := _Socklen(SizeofUcred)
545 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
546 return &value, err
547}
548
549func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
550 return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
551}
552
553func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
554 var msg Msghdr
555 var rsa RawSockaddrAny
556 msg.Name = (*byte)(unsafe.Pointer(&rsa))
557 msg.Namelen = uint32(SizeofSockaddrAny)
558 var iov Iovec
559 if len(p) > 0 {
560 iov.Base = (*byte)(unsafe.Pointer(&p[0]))
561 iov.SetLen(len(p))
562 }
563 var dummy byte
564 if len(oob) > 0 {
565 // receive at least one normal byte
566 if len(p) == 0 {
567 iov.Base = &dummy
568 iov.SetLen(1)
569 }
570 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
571 msg.SetControllen(len(oob))
572 }
573 msg.Iov = &iov
574 msg.Iovlen = 1
575 if n, err = recvmsg(fd, &msg, flags); err != nil {
576 return
577 }
578 oobn = int(msg.Controllen)
579 recvflags = int(msg.Flags)
580 // source address is only specified if the socket is unconnected
581 if rsa.Addr.Family != AF_UNSPEC {
582 from, err = anyToSockaddr(&rsa)
583 }
584 return
585}
586
587func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
588 _, err = SendmsgN(fd, p, oob, to, flags)
589 return
590}
591
592func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
593 var ptr unsafe.Pointer
594 var salen _Socklen
595 if to != nil {
596 var err error
597 ptr, salen, err = to.sockaddr()
598 if err != nil {
599 return 0, err
600 }
601 }
602 var msg Msghdr
603 msg.Name = (*byte)(unsafe.Pointer(ptr))
604 msg.Namelen = uint32(salen)
605 var iov Iovec
606 if len(p) > 0 {
607 iov.Base = (*byte)(unsafe.Pointer(&p[0]))
608 iov.SetLen(len(p))
609 }
610 var dummy byte
611 if len(oob) > 0 {
612 // send at least one normal byte
613 if len(p) == 0 {
614 iov.Base = &dummy
615 iov.SetLen(1)
616 }
617 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
618 msg.SetControllen(len(oob))
619 }
620 msg.Iov = &iov
621 msg.Iovlen = 1
622 if n, err = sendmsg(fd, &msg, flags); err != nil {
623 return 0, err
624 }
625 if len(oob) > 0 && len(p) == 0 {
626 n = 0
627 }
628 return n, nil
629}
630
631// BindToDevice binds the socket associated with fd to device.
632func BindToDevice(fd int, device string) (err error) {
633 return SetsockoptString(fd, SOL_SOCKET, SO_BINDTODEVICE, device)
634}
635
636//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
637
638func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err error) {
639 // The peek requests are machine-size oriented, so we wrap it
640 // to retrieve arbitrary-length data.
641
642 // The ptrace syscall differs from glibc's ptrace.
643 // Peeks returns the word in *data, not as the return value.
644
645 var buf [sizeofPtr]byte
646
647 // Leading edge. PEEKTEXT/PEEKDATA don't require aligned
648 // access (PEEKUSER warns that it might), but if we don't
649 // align our reads, we might straddle an unmapped page
650 // boundary and not get the bytes leading up to the page
651 // boundary.
652 n := 0
653 if addr%sizeofPtr != 0 {
654 err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
655 if err != nil {
656 return 0, err
657 }
658 n += copy(out, buf[addr%sizeofPtr:])
659 out = out[n:]
660 }
661
662 // Remainder.
663 for len(out) > 0 {
664 // We use an internal buffer to guarantee alignment.
665 // It's not documented if this is necessary, but we're paranoid.
666 err = ptrace(req, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
667 if err != nil {
668 return n, err
669 }
670 copied := copy(out, buf[0:])
671 n += copied
672 out = out[copied:]
673 }
674
675 return n, nil
676}
677
678func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
679 return ptracePeek(PTRACE_PEEKTEXT, pid, addr, out)
680}
681
682func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
683 return ptracePeek(PTRACE_PEEKDATA, pid, addr, out)
684}
685
686func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (count int, err error) {
687 // As for ptracePeek, we need to align our accesses to deal
688 // with the possibility of straddling an invalid page.
689
690 // Leading edge.
691 n := 0
692 if addr%sizeofPtr != 0 {
693 var buf [sizeofPtr]byte
694 err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
695 if err != nil {
696 return 0, err
697 }
698 n += copy(buf[addr%sizeofPtr:], data)
699 word := *((*uintptr)(unsafe.Pointer(&buf[0])))
700 err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
701 if err != nil {
702 return 0, err
703 }
704 data = data[n:]
705 }
706
707 // Interior.
708 for len(data) > sizeofPtr {
709 word := *((*uintptr)(unsafe.Pointer(&data[0])))
710 err = ptrace(pokeReq, pid, addr+uintptr(n), word)
711 if err != nil {
712 return n, err
713 }
714 n += sizeofPtr
715 data = data[sizeofPtr:]
716 }
717
718 // Trailing edge.
719 if len(data) > 0 {
720 var buf [sizeofPtr]byte
721 err = ptrace(peekReq, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
722 if err != nil {
723 return n, err
724 }
725 copy(buf[0:], data)
726 word := *((*uintptr)(unsafe.Pointer(&buf[0])))
727 err = ptrace(pokeReq, pid, addr+uintptr(n), word)
728 if err != nil {
729 return n, err
730 }
731 n += len(data)
732 }
733
734 return n, nil
735}
736
737func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
738 return ptracePoke(PTRACE_POKETEXT, PTRACE_PEEKTEXT, pid, addr, data)
739}
740
741func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
742 return ptracePoke(PTRACE_POKEDATA, PTRACE_PEEKDATA, pid, addr, data)
743}
744
745func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
746 return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
747}
748
749func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
750 return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
751}
752
753func PtraceSetOptions(pid int, options int) (err error) {
754 return ptrace(PTRACE_SETOPTIONS, pid, 0, uintptr(options))
755}
756
757func PtraceGetEventMsg(pid int) (msg uint, err error) {
758 var data _C_long
759 err = ptrace(PTRACE_GETEVENTMSG, pid, 0, uintptr(unsafe.Pointer(&data)))
760 msg = uint(data)
761 return
762}
763
764func PtraceCont(pid int, signal int) (err error) {
765 return ptrace(PTRACE_CONT, pid, 0, uintptr(signal))
766}
767
768func PtraceSyscall(pid int, signal int) (err error) {
769 return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
770}
771
772func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
773
774func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
775
776func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
777
778//sys reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
779
780func Reboot(cmd int) (err error) {
781 return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
782}
783
784func clen(n []byte) int {
785 for i := 0; i < len(n); i++ {
786 if n[i] == 0 {
787 return i
788 }
789 }
790 return len(n)
791}
792
793func ReadDirent(fd int, buf []byte) (n int, err error) {
794 return Getdents(fd, buf)
795}
796
797func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
798 origlen := len(buf)
799 count = 0
800 for max != 0 && len(buf) > 0 {
801 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
802 buf = buf[dirent.Reclen:]
803 if dirent.Ino == 0 { // File absent in directory.
804 continue
805 }
806 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
807 var name = string(bytes[0:clen(bytes[:])])
808 if name == "." || name == ".." { // Useless names
809 continue
810 }
811 max--
812 count++
813 names = append(names, name)
814 }
815 return origlen - len(buf), count, names
816}
817
818//sys mount(source string, target string, fstype string, flags uintptr, data *byte) (err error)
819
820func Mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
821 // Certain file systems get rather angry and EINVAL if you give
822 // them an empty string of data, rather than NULL.
823 if data == "" {
824 return mount(source, target, fstype, flags, nil)
825 }
826 datap, err := BytePtrFromString(data)
827 if err != nil {
828 return err
829 }
830 return mount(source, target, fstype, flags, datap)
831}
832
833// Sendto
834// Recvfrom
835// Socketpair
836
837/*
838 * Direct access
839 */
840//sys Acct(path string) (err error)
841//sys Adjtimex(buf *Timex) (state int, err error)
842//sys Chdir(path string) (err error)
843//sys Chroot(path string) (err error)
844//sys ClockGettime(clockid int32, time *Timespec) (err error)
845//sys Close(fd int) (err error)
846//sys Dup(oldfd int) (fd int, err error)
847//sys Dup3(oldfd int, newfd int, flags int) (err error)
848//sysnb EpollCreate(size int) (fd int, err error)
849//sysnb EpollCreate1(flag int) (fd int, err error)
850//sysnb EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
851//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
852//sys Exit(code int) = SYS_EXIT_GROUP
853//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
854//sys Fallocate(fd int, mode uint32, off int64, len int64) (err error)
855//sys Fchdir(fd int) (err error)
856//sys Fchmod(fd int, mode uint32) (err error)
857//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
858//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
859//sys fcntl(fd int, cmd int, arg int) (val int, err error)
860//sys Fdatasync(fd int) (err error)
861//sys Flock(fd int, how int) (err error)
862//sys Fsync(fd int) (err error)
863//sys Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
864//sysnb Getpgid(pid int) (pgid int, err error)
865
866func Getpgrp() (pid int) {
867 pid, _ = Getpgid(0)
868 return
869}
870
871//sysnb Getpid() (pid int)
872//sysnb Getppid() (ppid int)
873//sys Getpriority(which int, who int) (prio int, err error)
874//sysnb Getrusage(who int, rusage *Rusage) (err error)
875//sysnb Gettid() (tid int)
876//sys Getxattr(path string, attr string, dest []byte) (sz int, err error)
877//sys InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
878//sysnb InotifyInit1(flags int) (fd int, err error)
879//sysnb InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
880//sysnb Kill(pid int, sig syscall.Signal) (err error)
881//sys Klogctl(typ int, buf []byte) (n int, err error) = SYS_SYSLOG
882//sys Listxattr(path string, dest []byte) (sz int, err error)
883//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
884//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
885//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
886//sys Pause() (err error)
887//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
888//sysnb prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) = SYS_PRLIMIT64
889//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
890//sys read(fd int, p []byte) (n int, err error)
891//sys Removexattr(path string, attr string) (err error)
892//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
893//sys Setdomainname(p []byte) (err error)
894//sys Sethostname(p []byte) (err error)
895//sysnb Setpgid(pid int, pgid int) (err error)
896//sysnb Setsid() (pid int, err error)
897//sysnb Settimeofday(tv *Timeval) (err error)
898
899// issue 1435.
900// On linux Setuid and Setgid only affects the current thread, not the process.
901// This does not match what most callers expect so we must return an error
902// here rather than letting the caller think that the call succeeded.
903
904func Setuid(uid int) (err error) {
905 return EOPNOTSUPP
906}
907
908func Setgid(uid int) (err error) {
909 return EOPNOTSUPP
910}
911
912//sys Setpriority(which int, who int, prio int) (err error)
913//sys Setxattr(path string, attr string, data []byte, flags int) (err error)
914//sys Sync()
915//sysnb Sysinfo(info *Sysinfo_t) (err error)
916//sys Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
917//sysnb Tgkill(tgid int, tid int, sig syscall.Signal) (err error)
918//sysnb Times(tms *Tms) (ticks uintptr, err error)
919//sysnb Umask(mask int) (oldmask int)
920//sysnb Uname(buf *Utsname) (err error)
921//sys Unmount(target string, flags int) (err error) = SYS_UMOUNT2
922//sys Unshare(flags int) (err error)
923//sys Ustat(dev int, ubuf *Ustat_t) (err error)
924//sys Utime(path string, buf *Utimbuf) (err error)
925//sys write(fd int, p []byte) (n int, err error)
926//sys exitThread(code int) (err error) = SYS_EXIT
927//sys readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
928//sys writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
929
930// mmap varies by architecture; see syscall_linux_*.go.
931//sys munmap(addr uintptr, length uintptr) (err error)
932
933var mapper = &mmapper{
934 active: make(map[*byte][]byte),
935 mmap: mmap,
936 munmap: munmap,
937}
938
939func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
940 return mapper.Mmap(fd, offset, length, prot, flags)
941}
942
943func Munmap(b []byte) (err error) {
944 return mapper.Munmap(b)
945}
946
947//sys Madvise(b []byte, advice int) (err error)
948//sys Mprotect(b []byte, prot int) (err error)
949//sys Mlock(b []byte) (err error)
950//sys Munlock(b []byte) (err error)
951//sys Mlockall(flags int) (err error)
952//sys Munlockall() (err error)
953
954/*
955 * Unimplemented
956 */
957// AddKey
958// AfsSyscall
959// Alarm
960// ArchPrctl
961// Brk
962// Capget
963// Capset
964// ClockGetres
965// ClockNanosleep
966// ClockSettime
967// Clone
968// CreateModule
969// DeleteModule
970// EpollCtlOld
971// EpollPwait
972// EpollWaitOld
973// Eventfd
974// Execve
975// Fgetxattr
976// Flistxattr
977// Fork
978// Fremovexattr
979// Fsetxattr
980// Futex
981// GetKernelSyms
982// GetMempolicy
983// GetRobustList
984// GetThreadArea
985// Getitimer
986// Getpmsg
987// IoCancel
988// IoDestroy
989// IoGetevents
990// IoSetup
991// IoSubmit
992// Ioctl
993// IoprioGet
994// IoprioSet
995// KexecLoad
996// Keyctl
997// Lgetxattr
998// Llistxattr
999// LookupDcookie
1000// Lremovexattr
1001// Lsetxattr
1002// Mbind
1003// MigratePages
1004// Mincore
1005// ModifyLdt
1006// Mount
1007// MovePages
1008// Mprotect
1009// MqGetsetattr
1010// MqNotify
1011// MqOpen
1012// MqTimedreceive
1013// MqTimedsend
1014// MqUnlink
1015// Mremap
1016// Msgctl
1017// Msgget
1018// Msgrcv
1019// Msgsnd
1020// Msync
1021// Newfstatat
1022// Nfsservctl
1023// Personality
1024// Poll
1025// Ppoll
1026// Pselect6
1027// Ptrace
1028// Putpmsg
1029// QueryModule
1030// Quotactl
1031// Readahead
1032// Readv
1033// RemapFilePages
1034// RequestKey
1035// RestartSyscall
1036// RtSigaction
1037// RtSigpending
1038// RtSigprocmask
1039// RtSigqueueinfo
1040// RtSigreturn
1041// RtSigsuspend
1042// RtSigtimedwait
1043// SchedGetPriorityMax
1044// SchedGetPriorityMin
1045// SchedGetaffinity
1046// SchedGetparam
1047// SchedGetscheduler
1048// SchedRrGetInterval
1049// SchedSetaffinity
1050// SchedSetparam
1051// SchedYield
1052// Security
1053// Semctl
1054// Semget
1055// Semop
1056// Semtimedop
1057// SetMempolicy
1058// SetRobustList
1059// SetThreadArea
1060// SetTidAddress
1061// Shmat
1062// Shmctl
1063// Shmdt
1064// Shmget
1065// Sigaltstack
1066// Signalfd
1067// Swapoff
1068// Swapon
1069// Sysfs
1070// TimerCreate
1071// TimerDelete
1072// TimerGetoverrun
1073// TimerGettime
1074// TimerSettime
1075// Timerfd
1076// Tkill (obsolete)
1077// Tuxcall
1078// Umount2
1079// Uselib
1080// Utimensat
1081// Vfork
1082// Vhangup
1083// Vmsplice
1084// Vserver
1085// Waitid
1086// _Sysctl
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_386.go
deleted file mode 100644
index 7171219..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_386.go
+++ /dev/null
@@ -1,388 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
6// so that go vet can check that they are correct.
7
8// +build 386,linux
9
10package unix
11
12import (
13 "syscall"
14 "unsafe"
15)
16
17func Getpagesize() int { return 4096 }
18
19func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
20
21func NsecToTimespec(nsec int64) (ts Timespec) {
22 ts.Sec = int32(nsec / 1e9)
23 ts.Nsec = int32(nsec % 1e9)
24 return
25}
26
27func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
28
29func NsecToTimeval(nsec int64) (tv Timeval) {
30 nsec += 999 // round up to microsecond
31 tv.Sec = int32(nsec / 1e9)
32 tv.Usec = int32(nsec % 1e9 / 1e3)
33 return
34}
35
36//sysnb pipe(p *[2]_C_int) (err error)
37
38func Pipe(p []int) (err error) {
39 if len(p) != 2 {
40 return EINVAL
41 }
42 var pp [2]_C_int
43 err = pipe(&pp)
44 p[0] = int(pp[0])
45 p[1] = int(pp[1])
46 return
47}
48
49//sysnb pipe2(p *[2]_C_int, flags int) (err error)
50
51func Pipe2(p []int, flags int) (err error) {
52 if len(p) != 2 {
53 return EINVAL
54 }
55 var pp [2]_C_int
56 err = pipe2(&pp, flags)
57 p[0] = int(pp[0])
58 p[1] = int(pp[1])
59 return
60}
61
62// 64-bit file system and 32-bit uid calls
63// (386 default is 32-bit file system and 16-bit uid).
64//sys Dup2(oldfd int, newfd int) (err error)
65//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64_64
66//sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
67//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
68//sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
69//sysnb Getegid() (egid int) = SYS_GETEGID32
70//sysnb Geteuid() (euid int) = SYS_GETEUID32
71//sysnb Getgid() (gid int) = SYS_GETGID32
72//sysnb Getuid() (uid int) = SYS_GETUID32
73//sysnb InotifyInit() (fd int, err error)
74//sys Ioperm(from int, num int, on int) (err error)
75//sys Iopl(level int) (err error)
76//sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
77//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
78//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
79//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
80//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
81//sys Setfsgid(gid int) (err error) = SYS_SETFSGID32
82//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
83//sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
84//sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
85//sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
86//sysnb Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
87//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
88//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
89//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
90//sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
91//sysnb getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
92//sysnb setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
93//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
94
95//sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
96
97func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
98 page := uintptr(offset / 4096)
99 if offset != int64(page)*4096 {
100 return 0, EINVAL
101 }
102 return mmap2(addr, length, prot, flags, fd, page)
103}
104
105type rlimit32 struct {
106 Cur uint32
107 Max uint32
108}
109
110//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
111
112const rlimInf32 = ^uint32(0)
113const rlimInf64 = ^uint64(0)
114
115func Getrlimit(resource int, rlim *Rlimit) (err error) {
116 err = prlimit(0, resource, nil, rlim)
117 if err != ENOSYS {
118 return err
119 }
120
121 rl := rlimit32{}
122 err = getrlimit(resource, &rl)
123 if err != nil {
124 return
125 }
126
127 if rl.Cur == rlimInf32 {
128 rlim.Cur = rlimInf64
129 } else {
130 rlim.Cur = uint64(rl.Cur)
131 }
132
133 if rl.Max == rlimInf32 {
134 rlim.Max = rlimInf64
135 } else {
136 rlim.Max = uint64(rl.Max)
137 }
138 return
139}
140
141//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
142
143func Setrlimit(resource int, rlim *Rlimit) (err error) {
144 err = prlimit(0, resource, rlim, nil)
145 if err != ENOSYS {
146 return err
147 }
148
149 rl := rlimit32{}
150 if rlim.Cur == rlimInf64 {
151 rl.Cur = rlimInf32
152 } else if rlim.Cur < uint64(rlimInf32) {
153 rl.Cur = uint32(rlim.Cur)
154 } else {
155 return EINVAL
156 }
157 if rlim.Max == rlimInf64 {
158 rl.Max = rlimInf32
159 } else if rlim.Max < uint64(rlimInf32) {
160 rl.Max = uint32(rlim.Max)
161 } else {
162 return EINVAL
163 }
164
165 return setrlimit(resource, &rl)
166}
167
168// Underlying system call writes to newoffset via pointer.
169// Implemented in assembly to avoid allocation.
170func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
171
172func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
173 newoffset, errno := seek(fd, offset, whence)
174 if errno != 0 {
175 return 0, errno
176 }
177 return newoffset, nil
178}
179
180// Vsyscalls on amd64.
181//sysnb Gettimeofday(tv *Timeval) (err error)
182//sysnb Time(t *Time_t) (tt Time_t, err error)
183
184// On x86 Linux, all the socket calls go through an extra indirection,
185// I think because the 5-register system call interface can't handle
186// the 6-argument calls like sendto and recvfrom. Instead the
187// arguments to the underlying system call are the number below
188// and a pointer to an array of uintptr. We hide the pointer in the
189// socketcall assembly to avoid allocation on every system call.
190
191const (
192 // see linux/net.h
193 _SOCKET = 1
194 _BIND = 2
195 _CONNECT = 3
196 _LISTEN = 4
197 _ACCEPT = 5
198 _GETSOCKNAME = 6
199 _GETPEERNAME = 7
200 _SOCKETPAIR = 8
201 _SEND = 9
202 _RECV = 10
203 _SENDTO = 11
204 _RECVFROM = 12
205 _SHUTDOWN = 13
206 _SETSOCKOPT = 14
207 _GETSOCKOPT = 15
208 _SENDMSG = 16
209 _RECVMSG = 17
210 _ACCEPT4 = 18
211 _RECVMMSG = 19
212 _SENDMMSG = 20
213)
214
215func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
216func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
217
218func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
219 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
220 if e != 0 {
221 err = e
222 }
223 return
224}
225
226func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
227 fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
228 if e != 0 {
229 err = e
230 }
231 return
232}
233
234func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
235 _, e := rawsocketcall(_GETSOCKNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
236 if e != 0 {
237 err = e
238 }
239 return
240}
241
242func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
243 _, e := rawsocketcall(_GETPEERNAME, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
244 if e != 0 {
245 err = e
246 }
247 return
248}
249
250func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
251 _, e := rawsocketcall(_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
252 if e != 0 {
253 err = e
254 }
255 return
256}
257
258func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
259 _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
260 if e != 0 {
261 err = e
262 }
263 return
264}
265
266func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
267 _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
268 if e != 0 {
269 err = e
270 }
271 return
272}
273
274func socket(domain int, typ int, proto int) (fd int, err error) {
275 fd, e := rawsocketcall(_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
276 if e != 0 {
277 err = e
278 }
279 return
280}
281
282func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
283 _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
284 if e != 0 {
285 err = e
286 }
287 return
288}
289
290func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
291 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0)
292 if e != 0 {
293 err = e
294 }
295 return
296}
297
298func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
299 var base uintptr
300 if len(p) > 0 {
301 base = uintptr(unsafe.Pointer(&p[0]))
302 }
303 n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
304 if e != 0 {
305 err = e
306 }
307 return
308}
309
310func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
311 var base uintptr
312 if len(p) > 0 {
313 base = uintptr(unsafe.Pointer(&p[0]))
314 }
315 _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen))
316 if e != 0 {
317 err = e
318 }
319 return
320}
321
322func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
323 n, e := socketcall(_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
324 if e != 0 {
325 err = e
326 }
327 return
328}
329
330func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
331 n, e := socketcall(_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
332 if e != 0 {
333 err = e
334 }
335 return
336}
337
338func Listen(s int, n int) (err error) {
339 _, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
340 if e != 0 {
341 err = e
342 }
343 return
344}
345
346func Shutdown(s, how int) (err error) {
347 _, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
348 if e != 0 {
349 err = e
350 }
351 return
352}
353
354func Fstatfs(fd int, buf *Statfs_t) (err error) {
355 _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
356 if e != 0 {
357 err = e
358 }
359 return
360}
361
362func Statfs(path string, buf *Statfs_t) (err error) {
363 pathp, err := BytePtrFromString(path)
364 if err != nil {
365 return err
366 }
367 _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
368 if e != 0 {
369 err = e
370 }
371 return
372}
373
374func (r *PtraceRegs) PC() uint64 { return uint64(uint32(r.Eip)) }
375
376func (r *PtraceRegs) SetPC(pc uint64) { r.Eip = int32(pc) }
377
378func (iov *Iovec) SetLen(length int) {
379 iov.Len = uint32(length)
380}
381
382func (msghdr *Msghdr) SetControllen(length int) {
383 msghdr.Controllen = uint32(length)
384}
385
386func (cmsg *Cmsghdr) SetLen(length int) {
387 cmsg.Len = uint32(length)
388}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_amd64.go
deleted file mode 100644
index ae70c2a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_amd64.go
+++ /dev/null
@@ -1,146 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,linux
6
7package unix
8
9import "syscall"
10
11//sys Dup2(oldfd int, newfd int) (err error)
12//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
13//sys Fchown(fd int, uid int, gid int) (err error)
14//sys Fstat(fd int, stat *Stat_t) (err error)
15//sys Fstatfs(fd int, buf *Statfs_t) (err error)
16//sys Ftruncate(fd int, length int64) (err error)
17//sysnb Getegid() (egid int)
18//sysnb Geteuid() (euid int)
19//sysnb Getgid() (gid int)
20//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
21//sysnb Getuid() (uid int)
22//sysnb InotifyInit() (fd int, err error)
23//sys Ioperm(from int, num int, on int) (err error)
24//sys Iopl(level int) (err error)
25//sys Lchown(path string, uid int, gid int) (err error)
26//sys Listen(s int, n int) (err error)
27//sys Lstat(path string, stat *Stat_t) (err error)
28//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
29//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
30//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
31//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
32//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
33//sys Setfsgid(gid int) (err error)
34//sys Setfsuid(uid int) (err error)
35//sysnb Setregid(rgid int, egid int) (err error)
36//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
37//sysnb Setresuid(ruid int, euid int, suid int) (err error)
38//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
39//sysnb Setreuid(ruid int, euid int) (err error)
40//sys Shutdown(fd int, how int) (err error)
41//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
42//sys Stat(path string, stat *Stat_t) (err error)
43//sys Statfs(path string, buf *Statfs_t) (err error)
44//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
45//sys Truncate(path string, length int64) (err error)
46//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
47//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
48//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
49//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
50//sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
51//sysnb setgroups(n int, list *_Gid_t) (err error)
52//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
53//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
54//sysnb socket(domain int, typ int, proto int) (fd int, err error)
55//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
56//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
57//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
58//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
59//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
60//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
61//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
62//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
63
64//go:noescape
65func gettimeofday(tv *Timeval) (err syscall.Errno)
66
67func Gettimeofday(tv *Timeval) (err error) {
68 errno := gettimeofday(tv)
69 if errno != 0 {
70 return errno
71 }
72 return nil
73}
74
75func Getpagesize() int { return 4096 }
76
77func Time(t *Time_t) (tt Time_t, err error) {
78 var tv Timeval
79 errno := gettimeofday(&tv)
80 if errno != 0 {
81 return 0, errno
82 }
83 if t != nil {
84 *t = Time_t(tv.Sec)
85 }
86 return Time_t(tv.Sec), nil
87}
88
89func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
90
91func NsecToTimespec(nsec int64) (ts Timespec) {
92 ts.Sec = nsec / 1e9
93 ts.Nsec = nsec % 1e9
94 return
95}
96
97func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
98
99func NsecToTimeval(nsec int64) (tv Timeval) {
100 nsec += 999 // round up to microsecond
101 tv.Sec = nsec / 1e9
102 tv.Usec = nsec % 1e9 / 1e3
103 return
104}
105
106//sysnb pipe(p *[2]_C_int) (err error)
107
108func Pipe(p []int) (err error) {
109 if len(p) != 2 {
110 return EINVAL
111 }
112 var pp [2]_C_int
113 err = pipe(&pp)
114 p[0] = int(pp[0])
115 p[1] = int(pp[1])
116 return
117}
118
119//sysnb pipe2(p *[2]_C_int, flags int) (err error)
120
121func Pipe2(p []int, flags int) (err error) {
122 if len(p) != 2 {
123 return EINVAL
124 }
125 var pp [2]_C_int
126 err = pipe2(&pp, flags)
127 p[0] = int(pp[0])
128 p[1] = int(pp[1])
129 return
130}
131
132func (r *PtraceRegs) PC() uint64 { return r.Rip }
133
134func (r *PtraceRegs) SetPC(pc uint64) { r.Rip = pc }
135
136func (iov *Iovec) SetLen(length int) {
137 iov.Len = uint64(length)
138}
139
140func (msghdr *Msghdr) SetControllen(length int) {
141 msghdr.Controllen = uint64(length)
142}
143
144func (cmsg *Cmsghdr) SetLen(length int) {
145 cmsg.Len = uint64(length)
146}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm.go
deleted file mode 100644
index abc41c3..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm.go
+++ /dev/null
@@ -1,233 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build arm,linux
6
7package unix
8
9import (
10 "syscall"
11 "unsafe"
12)
13
14func Getpagesize() int { return 4096 }
15
16func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
17
18func NsecToTimespec(nsec int64) (ts Timespec) {
19 ts.Sec = int32(nsec / 1e9)
20 ts.Nsec = int32(nsec % 1e9)
21 return
22}
23
24func NsecToTimeval(nsec int64) (tv Timeval) {
25 nsec += 999 // round up to microsecond
26 tv.Sec = int32(nsec / 1e9)
27 tv.Usec = int32(nsec % 1e9 / 1e3)
28 return
29}
30
31func Pipe(p []int) (err error) {
32 if len(p) != 2 {
33 return EINVAL
34 }
35 var pp [2]_C_int
36 err = pipe2(&pp, 0)
37 p[0] = int(pp[0])
38 p[1] = int(pp[1])
39 return
40}
41
42//sysnb pipe2(p *[2]_C_int, flags int) (err error)
43
44func Pipe2(p []int, flags int) (err error) {
45 if len(p) != 2 {
46 return EINVAL
47 }
48 var pp [2]_C_int
49 err = pipe2(&pp, flags)
50 p[0] = int(pp[0])
51 p[1] = int(pp[1])
52 return
53}
54
55// Underlying system call writes to newoffset via pointer.
56// Implemented in assembly to avoid allocation.
57func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
58
59func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
60 newoffset, errno := seek(fd, offset, whence)
61 if errno != 0 {
62 return 0, errno
63 }
64 return newoffset, nil
65}
66
67//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
68//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
69//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
70//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
71//sysnb getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
72//sysnb setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
73//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
74//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
75//sysnb socket(domain int, typ int, proto int) (fd int, err error)
76//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
77//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
78//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
79//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
80//sysnb socketpair(domain int, typ int, flags int, fd *[2]int32) (err error)
81//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
82//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
83
84// 64-bit file system and 32-bit uid calls
85// (16-bit uid calls are not always supported in newer kernels)
86//sys Dup2(oldfd int, newfd int) (err error)
87//sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
88//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
89//sysnb Getegid() (egid int) = SYS_GETEGID32
90//sysnb Geteuid() (euid int) = SYS_GETEUID32
91//sysnb Getgid() (gid int) = SYS_GETGID32
92//sysnb Getuid() (uid int) = SYS_GETUID32
93//sysnb InotifyInit() (fd int, err error)
94//sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
95//sys Listen(s int, n int) (err error)
96//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
97//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
98//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
99//sys Setfsgid(gid int) (err error) = SYS_SETFSGID32
100//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
101//sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
102//sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
103//sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
104//sysnb Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
105//sys Shutdown(fd int, how int) (err error)
106//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
107//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
108
109// Vsyscalls on amd64.
110//sysnb Gettimeofday(tv *Timeval) (err error)
111//sysnb Time(t *Time_t) (tt Time_t, err error)
112
113//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
114//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
115//sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
116//sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
117
118func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
119 _, _, e1 := Syscall6(SYS_ARM_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32))
120 if e1 != 0 {
121 err = errnoErr(e1)
122 }
123 return
124}
125
126//sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
127
128func Fstatfs(fd int, buf *Statfs_t) (err error) {
129 _, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
130 if e != 0 {
131 err = e
132 }
133 return
134}
135
136func Statfs(path string, buf *Statfs_t) (err error) {
137 pathp, err := BytePtrFromString(path)
138 if err != nil {
139 return err
140 }
141 _, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(pathp)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
142 if e != 0 {
143 err = e
144 }
145 return
146}
147
148func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
149 page := uintptr(offset / 4096)
150 if offset != int64(page)*4096 {
151 return 0, EINVAL
152 }
153 return mmap2(addr, length, prot, flags, fd, page)
154}
155
156type rlimit32 struct {
157 Cur uint32
158 Max uint32
159}
160
161//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
162
163const rlimInf32 = ^uint32(0)
164const rlimInf64 = ^uint64(0)
165
166func Getrlimit(resource int, rlim *Rlimit) (err error) {
167 err = prlimit(0, resource, nil, rlim)
168 if err != ENOSYS {
169 return err
170 }
171
172 rl := rlimit32{}
173 err = getrlimit(resource, &rl)
174 if err != nil {
175 return
176 }
177
178 if rl.Cur == rlimInf32 {
179 rlim.Cur = rlimInf64
180 } else {
181 rlim.Cur = uint64(rl.Cur)
182 }
183
184 if rl.Max == rlimInf32 {
185 rlim.Max = rlimInf64
186 } else {
187 rlim.Max = uint64(rl.Max)
188 }
189 return
190}
191
192//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
193
194func Setrlimit(resource int, rlim *Rlimit) (err error) {
195 err = prlimit(0, resource, rlim, nil)
196 if err != ENOSYS {
197 return err
198 }
199
200 rl := rlimit32{}
201 if rlim.Cur == rlimInf64 {
202 rl.Cur = rlimInf32
203 } else if rlim.Cur < uint64(rlimInf32) {
204 rl.Cur = uint32(rlim.Cur)
205 } else {
206 return EINVAL
207 }
208 if rlim.Max == rlimInf64 {
209 rl.Max = rlimInf32
210 } else if rlim.Max < uint64(rlimInf32) {
211 rl.Max = uint32(rlim.Max)
212 } else {
213 return EINVAL
214 }
215
216 return setrlimit(resource, &rl)
217}
218
219func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) }
220
221func (r *PtraceRegs) SetPC(pc uint64) { r.Uregs[15] = uint32(pc) }
222
223func (iov *Iovec) SetLen(length int) {
224 iov.Len = uint32(length)
225}
226
227func (msghdr *Msghdr) SetControllen(length int) {
228 msghdr.Controllen = uint32(length)
229}
230
231func (cmsg *Cmsghdr) SetLen(length int) {
232 cmsg.Len = uint32(length)
233}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm64.go
deleted file mode 100644
index f3d72df..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_arm64.go
+++ /dev/null
@@ -1,150 +0,0 @@
1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build arm64,linux
6
7package unix
8
9const _SYS_dup = SYS_DUP3
10
11//sys Fchown(fd int, uid int, gid int) (err error)
12//sys Fstat(fd int, stat *Stat_t) (err error)
13//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
14//sys Fstatfs(fd int, buf *Statfs_t) (err error)
15//sys Ftruncate(fd int, length int64) (err error)
16//sysnb Getegid() (egid int)
17//sysnb Geteuid() (euid int)
18//sysnb Getgid() (gid int)
19//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
20//sysnb Getuid() (uid int)
21//sys Listen(s int, n int) (err error)
22//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
23//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
24//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
25//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
26//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
27//sys Setfsgid(gid int) (err error)
28//sys Setfsuid(uid int) (err error)
29//sysnb Setregid(rgid int, egid int) (err error)
30//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
31//sysnb Setresuid(ruid int, euid int, suid int) (err error)
32//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
33//sysnb Setreuid(ruid int, euid int) (err error)
34//sys Shutdown(fd int, how int) (err error)
35//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
36
37func Stat(path string, stat *Stat_t) (err error) {
38 return Fstatat(AT_FDCWD, path, stat, 0)
39}
40
41func Lchown(path string, uid int, gid int) (err error) {
42 return Fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW)
43}
44
45func Lstat(path string, stat *Stat_t) (err error) {
46 return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
47}
48
49//sys Statfs(path string, buf *Statfs_t) (err error)
50//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
51//sys Truncate(path string, length int64) (err error)
52//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
53//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
54//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
55//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
56//sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
57//sysnb setgroups(n int, list *_Gid_t) (err error)
58//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
59//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
60//sysnb socket(domain int, typ int, proto int) (fd int, err error)
61//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
62//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
63//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
64//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
65//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
66//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
67//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
68//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
69
70func Getpagesize() int { return 65536 }
71
72//sysnb Gettimeofday(tv *Timeval) (err error)
73//sysnb Time(t *Time_t) (tt Time_t, err error)
74
75func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
76
77func NsecToTimespec(nsec int64) (ts Timespec) {
78 ts.Sec = nsec / 1e9
79 ts.Nsec = nsec % 1e9
80 return
81}
82
83func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
84
85func NsecToTimeval(nsec int64) (tv Timeval) {
86 nsec += 999 // round up to microsecond
87 tv.Sec = nsec / 1e9
88 tv.Usec = nsec % 1e9 / 1e3
89 return
90}
91
92func Pipe(p []int) (err error) {
93 if len(p) != 2 {
94 return EINVAL
95 }
96 var pp [2]_C_int
97 err = pipe2(&pp, 0)
98 p[0] = int(pp[0])
99 p[1] = int(pp[1])
100 return
101}
102
103//sysnb pipe2(p *[2]_C_int, flags int) (err error)
104
105func Pipe2(p []int, flags int) (err error) {
106 if len(p) != 2 {
107 return EINVAL
108 }
109 var pp [2]_C_int
110 err = pipe2(&pp, flags)
111 p[0] = int(pp[0])
112 p[1] = int(pp[1])
113 return
114}
115
116func (r *PtraceRegs) PC() uint64 { return r.Pc }
117
118func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
119
120func (iov *Iovec) SetLen(length int) {
121 iov.Len = uint64(length)
122}
123
124func (msghdr *Msghdr) SetControllen(length int) {
125 msghdr.Controllen = uint64(length)
126}
127
128func (cmsg *Cmsghdr) SetLen(length int) {
129 cmsg.Len = uint64(length)
130}
131
132func InotifyInit() (fd int, err error) {
133 return InotifyInit1(0)
134}
135
136// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
137// these when the deprecated syscalls that the syscall package relies on
138// are removed.
139const (
140 SYS_GETPGRP = 1060
141 SYS_UTIMES = 1037
142 SYS_FUTIMESAT = 1066
143 SYS_PAUSE = 1061
144 SYS_USTAT = 1070
145 SYS_UTIME = 1063
146 SYS_LCHOWN = 1032
147 SYS_TIME = 1062
148 SYS_EPOLL_CREATE = 1042
149 SYS_EPOLL_WAIT = 1069
150)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_ppc64x.go
deleted file mode 100644
index 67eed63..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_linux_ppc64x.go
+++ /dev/null
@@ -1,96 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build linux
6// +build ppc64 ppc64le
7
8package unix
9
10//sys Fchown(fd int, uid int, gid int) (err error)
11//sys Fstat(fd int, stat *Stat_t) (err error)
12//sys Fstatfs(fd int, buf *Statfs_t) (err error)
13//sys Ftruncate(fd int, length int64) (err error)
14//sysnb Getegid() (egid int)
15//sysnb Geteuid() (euid int)
16//sysnb Getgid() (gid int)
17//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_UGETRLIMIT
18//sysnb Getuid() (uid int)
19//sys Ioperm(from int, num int, on int) (err error)
20//sys Iopl(level int) (err error)
21//sys Lchown(path string, uid int, gid int) (err error)
22//sys Listen(s int, n int) (err error)
23//sys Lstat(path string, stat *Stat_t) (err error)
24//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
25//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
26//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
27//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
28//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
29//sys Setfsgid(gid int) (err error)
30//sys Setfsuid(uid int) (err error)
31//sysnb Setregid(rgid int, egid int) (err error)
32//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
33//sysnb Setresuid(ruid int, euid int, suid int) (err error)
34//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
35//sysnb Setreuid(ruid int, euid int) (err error)
36//sys Shutdown(fd int, how int) (err error)
37//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
38//sys Stat(path string, stat *Stat_t) (err error)
39//sys Statfs(path string, buf *Statfs_t) (err error)
40//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) = SYS_SYNC_FILE_RANGE2
41//sys Truncate(path string, length int64) (err error)
42//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
43//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
44//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
45//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
46//sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
47//sysnb setgroups(n int, list *_Gid_t) (err error)
48//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
49//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
50//sysnb socket(domain int, typ int, proto int) (fd int, err error)
51//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
52//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
53//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
54//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
55//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
56//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
57//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
58//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
59
60func Getpagesize() int { return 65536 }
61
62//sysnb Gettimeofday(tv *Timeval) (err error)
63//sysnb Time(t *Time_t) (tt Time_t, err error)
64
65func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
66
67func NsecToTimespec(nsec int64) (ts Timespec) {
68 ts.Sec = nsec / 1e9
69 ts.Nsec = nsec % 1e9
70 return
71}
72
73func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
74
75func NsecToTimeval(nsec int64) (tv Timeval) {
76 nsec += 999 // round up to microsecond
77 tv.Sec = nsec / 1e9
78 tv.Usec = nsec % 1e9 / 1e3
79 return
80}
81
82func (r *PtraceRegs) PC() uint64 { return r.Nip }
83
84func (r *PtraceRegs) SetPC(pc uint64) { r.Nip = pc }
85
86func (iov *Iovec) SetLen(length int) {
87 iov.Len = uint64(length)
88}
89
90func (msghdr *Msghdr) SetControllen(length int) {
91 msghdr.Controllen = uint64(length)
92}
93
94func (cmsg *Cmsghdr) SetLen(length int) {
95 cmsg.Len = uint64(length)
96}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd.go
deleted file mode 100644
index c4e945c..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd.go
+++ /dev/null
@@ -1,492 +0,0 @@
1// Copyright 2009,2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// NetBSD system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_bsd.go or syscall_unix.go.
12
13package unix
14
15import (
16 "syscall"
17 "unsafe"
18)
19
20type SockaddrDatalink struct {
21 Len uint8
22 Family uint8
23 Index uint16
24 Type uint8
25 Nlen uint8
26 Alen uint8
27 Slen uint8
28 Data [12]int8
29 raw RawSockaddrDatalink
30}
31
32func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
33
34func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
35 var olen uintptr
36
37 // Get a list of all sysctl nodes below the given MIB by performing
38 // a sysctl for the given MIB with CTL_QUERY appended.
39 mib = append(mib, CTL_QUERY)
40 qnode := Sysctlnode{Flags: SYSCTL_VERS_1}
41 qp := (*byte)(unsafe.Pointer(&qnode))
42 sz := unsafe.Sizeof(qnode)
43 if err = sysctl(mib, nil, &olen, qp, sz); err != nil {
44 return nil, err
45 }
46
47 // Now that we know the size, get the actual nodes.
48 nodes = make([]Sysctlnode, olen/sz)
49 np := (*byte)(unsafe.Pointer(&nodes[0]))
50 if err = sysctl(mib, np, &olen, qp, sz); err != nil {
51 return nil, err
52 }
53
54 return nodes, nil
55}
56
57func nametomib(name string) (mib []_C_int, err error) {
58
59 // Split name into components.
60 var parts []string
61 last := 0
62 for i := 0; i < len(name); i++ {
63 if name[i] == '.' {
64 parts = append(parts, name[last:i])
65 last = i + 1
66 }
67 }
68 parts = append(parts, name[last:])
69
70 // Discover the nodes and construct the MIB OID.
71 for partno, part := range parts {
72 nodes, err := sysctlNodes(mib)
73 if err != nil {
74 return nil, err
75 }
76 for _, node := range nodes {
77 n := make([]byte, 0)
78 for i := range node.Name {
79 if node.Name[i] != 0 {
80 n = append(n, byte(node.Name[i]))
81 }
82 }
83 if string(n) == part {
84 mib = append(mib, _C_int(node.Num))
85 break
86 }
87 }
88 if len(mib) != partno+1 {
89 return nil, EINVAL
90 }
91 }
92
93 return mib, nil
94}
95
96// ParseDirent parses up to max directory entries in buf,
97// appending the names to names. It returns the number
98// bytes consumed from buf, the number of entries added
99// to names, and the new names slice.
100func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
101 origlen := len(buf)
102 for max != 0 && len(buf) > 0 {
103 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
104 if dirent.Reclen == 0 {
105 buf = nil
106 break
107 }
108 buf = buf[dirent.Reclen:]
109 if dirent.Fileno == 0 { // File absent in directory.
110 continue
111 }
112 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
113 var name = string(bytes[0:dirent.Namlen])
114 if name == "." || name == ".." { // Useless names
115 continue
116 }
117 max--
118 count++
119 names = append(names, name)
120 }
121 return origlen - len(buf), count, names
122}
123
124//sysnb pipe() (fd1 int, fd2 int, err error)
125func Pipe(p []int) (err error) {
126 if len(p) != 2 {
127 return EINVAL
128 }
129 p[0], p[1], err = pipe()
130 return
131}
132
133//sys getdents(fd int, buf []byte) (n int, err error)
134func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
135 return getdents(fd, buf)
136}
137
138// TODO
139func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
140 return -1, ENOSYS
141}
142
143/*
144 * Exposed directly
145 */
146//sys Access(path string, mode uint32) (err error)
147//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
148//sys Chdir(path string) (err error)
149//sys Chflags(path string, flags int) (err error)
150//sys Chmod(path string, mode uint32) (err error)
151//sys Chown(path string, uid int, gid int) (err error)
152//sys Chroot(path string) (err error)
153//sys Close(fd int) (err error)
154//sys Dup(fd int) (nfd int, err error)
155//sys Dup2(from int, to int) (err error)
156//sys Exit(code int)
157//sys Fchdir(fd int) (err error)
158//sys Fchflags(fd int, flags int) (err error)
159//sys Fchmod(fd int, mode uint32) (err error)
160//sys Fchown(fd int, uid int, gid int) (err error)
161//sys Flock(fd int, how int) (err error)
162//sys Fpathconf(fd int, name int) (val int, err error)
163//sys Fstat(fd int, stat *Stat_t) (err error)
164//sys Fsync(fd int) (err error)
165//sys Ftruncate(fd int, length int64) (err error)
166//sysnb Getegid() (egid int)
167//sysnb Geteuid() (uid int)
168//sysnb Getgid() (gid int)
169//sysnb Getpgid(pid int) (pgid int, err error)
170//sysnb Getpgrp() (pgrp int)
171//sysnb Getpid() (pid int)
172//sysnb Getppid() (ppid int)
173//sys Getpriority(which int, who int) (prio int, err error)
174//sysnb Getrlimit(which int, lim *Rlimit) (err error)
175//sysnb Getrusage(who int, rusage *Rusage) (err error)
176//sysnb Getsid(pid int) (sid int, err error)
177//sysnb Gettimeofday(tv *Timeval) (err error)
178//sysnb Getuid() (uid int)
179//sys Issetugid() (tainted bool)
180//sys Kill(pid int, signum syscall.Signal) (err error)
181//sys Kqueue() (fd int, err error)
182//sys Lchown(path string, uid int, gid int) (err error)
183//sys Link(path string, link string) (err error)
184//sys Listen(s int, backlog int) (err error)
185//sys Lstat(path string, stat *Stat_t) (err error)
186//sys Mkdir(path string, mode uint32) (err error)
187//sys Mkfifo(path string, mode uint32) (err error)
188//sys Mknod(path string, mode uint32, dev int) (err error)
189//sys Mlock(b []byte) (err error)
190//sys Mlockall(flags int) (err error)
191//sys Mprotect(b []byte, prot int) (err error)
192//sys Munlock(b []byte) (err error)
193//sys Munlockall() (err error)
194//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
195//sys Open(path string, mode int, perm uint32) (fd int, err error)
196//sys Pathconf(path string, name int) (val int, err error)
197//sys Pread(fd int, p []byte, offset int64) (n int, err error)
198//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
199//sys read(fd int, p []byte) (n int, err error)
200//sys Readlink(path string, buf []byte) (n int, err error)
201//sys Rename(from string, to string) (err error)
202//sys Revoke(path string) (err error)
203//sys Rmdir(path string) (err error)
204//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
205//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
206//sysnb Setegid(egid int) (err error)
207//sysnb Seteuid(euid int) (err error)
208//sysnb Setgid(gid int) (err error)
209//sysnb Setpgid(pid int, pgid int) (err error)
210//sys Setpriority(which int, who int, prio int) (err error)
211//sysnb Setregid(rgid int, egid int) (err error)
212//sysnb Setreuid(ruid int, euid int) (err error)
213//sysnb Setrlimit(which int, lim *Rlimit) (err error)
214//sysnb Setsid() (pid int, err error)
215//sysnb Settimeofday(tp *Timeval) (err error)
216//sysnb Setuid(uid int) (err error)
217//sys Stat(path string, stat *Stat_t) (err error)
218//sys Symlink(path string, link string) (err error)
219//sys Sync() (err error)
220//sys Truncate(path string, length int64) (err error)
221//sys Umask(newmask int) (oldmask int)
222//sys Unlink(path string) (err error)
223//sys Unmount(path string, flags int) (err error)
224//sys write(fd int, p []byte) (n int, err error)
225//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
226//sys munmap(addr uintptr, length uintptr) (err error)
227//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
228//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
229
230/*
231 * Unimplemented
232 */
233// ____semctl13
234// __clone
235// __fhopen40
236// __fhstat40
237// __fhstatvfs140
238// __fstat30
239// __getcwd
240// __getfh30
241// __getlogin
242// __lstat30
243// __mount50
244// __msgctl13
245// __msync13
246// __ntp_gettime30
247// __posix_chown
248// __posix_fadvise50
249// __posix_fchown
250// __posix_lchown
251// __posix_rename
252// __setlogin
253// __shmctl13
254// __sigaction_sigtramp
255// __sigaltstack14
256// __sigpending14
257// __sigprocmask14
258// __sigsuspend14
259// __sigtimedwait
260// __stat30
261// __syscall
262// __vfork14
263// _ksem_close
264// _ksem_destroy
265// _ksem_getvalue
266// _ksem_init
267// _ksem_open
268// _ksem_post
269// _ksem_trywait
270// _ksem_unlink
271// _ksem_wait
272// _lwp_continue
273// _lwp_create
274// _lwp_ctl
275// _lwp_detach
276// _lwp_exit
277// _lwp_getname
278// _lwp_getprivate
279// _lwp_kill
280// _lwp_park
281// _lwp_self
282// _lwp_setname
283// _lwp_setprivate
284// _lwp_suspend
285// _lwp_unpark
286// _lwp_unpark_all
287// _lwp_wait
288// _lwp_wakeup
289// _pset_bind
290// _sched_getaffinity
291// _sched_getparam
292// _sched_setaffinity
293// _sched_setparam
294// acct
295// aio_cancel
296// aio_error
297// aio_fsync
298// aio_read
299// aio_return
300// aio_suspend
301// aio_write
302// break
303// clock_getres
304// clock_gettime
305// clock_settime
306// compat_09_ogetdomainname
307// compat_09_osetdomainname
308// compat_09_ouname
309// compat_10_omsgsys
310// compat_10_osemsys
311// compat_10_oshmsys
312// compat_12_fstat12
313// compat_12_getdirentries
314// compat_12_lstat12
315// compat_12_msync
316// compat_12_oreboot
317// compat_12_oswapon
318// compat_12_stat12
319// compat_13_sigaction13
320// compat_13_sigaltstack13
321// compat_13_sigpending13
322// compat_13_sigprocmask13
323// compat_13_sigreturn13
324// compat_13_sigsuspend13
325// compat_14___semctl
326// compat_14_msgctl
327// compat_14_shmctl
328// compat_16___sigaction14
329// compat_16___sigreturn14
330// compat_20_fhstatfs
331// compat_20_fstatfs
332// compat_20_getfsstat
333// compat_20_statfs
334// compat_30___fhstat30
335// compat_30___fstat13
336// compat_30___lstat13
337// compat_30___stat13
338// compat_30_fhopen
339// compat_30_fhstat
340// compat_30_fhstatvfs1
341// compat_30_getdents
342// compat_30_getfh
343// compat_30_ntp_gettime
344// compat_30_socket
345// compat_40_mount
346// compat_43_fstat43
347// compat_43_lstat43
348// compat_43_oaccept
349// compat_43_ocreat
350// compat_43_oftruncate
351// compat_43_ogetdirentries
352// compat_43_ogetdtablesize
353// compat_43_ogethostid
354// compat_43_ogethostname
355// compat_43_ogetkerninfo
356// compat_43_ogetpagesize
357// compat_43_ogetpeername
358// compat_43_ogetrlimit
359// compat_43_ogetsockname
360// compat_43_okillpg
361// compat_43_olseek
362// compat_43_ommap
363// compat_43_oquota
364// compat_43_orecv
365// compat_43_orecvfrom
366// compat_43_orecvmsg
367// compat_43_osend
368// compat_43_osendmsg
369// compat_43_osethostid
370// compat_43_osethostname
371// compat_43_osetrlimit
372// compat_43_osigblock
373// compat_43_osigsetmask
374// compat_43_osigstack
375// compat_43_osigvec
376// compat_43_otruncate
377// compat_43_owait
378// compat_43_stat43
379// execve
380// extattr_delete_fd
381// extattr_delete_file
382// extattr_delete_link
383// extattr_get_fd
384// extattr_get_file
385// extattr_get_link
386// extattr_list_fd
387// extattr_list_file
388// extattr_list_link
389// extattr_set_fd
390// extattr_set_file
391// extattr_set_link
392// extattrctl
393// fchroot
394// fdatasync
395// fgetxattr
396// fktrace
397// flistxattr
398// fork
399// fremovexattr
400// fsetxattr
401// fstatvfs1
402// fsync_range
403// getcontext
404// getitimer
405// getvfsstat
406// getxattr
407// ioctl
408// ktrace
409// lchflags
410// lchmod
411// lfs_bmapv
412// lfs_markv
413// lfs_segclean
414// lfs_segwait
415// lgetxattr
416// lio_listio
417// listxattr
418// llistxattr
419// lremovexattr
420// lseek
421// lsetxattr
422// lutimes
423// madvise
424// mincore
425// minherit
426// modctl
427// mq_close
428// mq_getattr
429// mq_notify
430// mq_open
431// mq_receive
432// mq_send
433// mq_setattr
434// mq_timedreceive
435// mq_timedsend
436// mq_unlink
437// mremap
438// msgget
439// msgrcv
440// msgsnd
441// nfssvc
442// ntp_adjtime
443// pmc_control
444// pmc_get_info
445// poll
446// pollts
447// preadv
448// profil
449// pselect
450// pset_assign
451// pset_create
452// pset_destroy
453// ptrace
454// pwritev
455// quotactl
456// rasctl
457// readv
458// reboot
459// removexattr
460// sa_enable
461// sa_preempt
462// sa_register
463// sa_setconcurrency
464// sa_stacks
465// sa_yield
466// sbrk
467// sched_yield
468// semconfig
469// semget
470// semop
471// setcontext
472// setitimer
473// setxattr
474// shmat
475// shmdt
476// shmget
477// sstk
478// statvfs1
479// swapctl
480// sysarch
481// syscall
482// timer_create
483// timer_delete
484// timer_getoverrun
485// timer_gettime
486// timer_settime
487// undelete
488// utrace
489// uuidgen
490// vadvise
491// vfork
492// writev
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_386.go
deleted file mode 100644
index 1b0e1af..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_386.go
+++ /dev/null
@@ -1,44 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build 386,netbsd
6
7package unix
8
9func Getpagesize() int { return 4096 }
10
11func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12
13func NsecToTimespec(nsec int64) (ts Timespec) {
14 ts.Sec = int64(nsec / 1e9)
15 ts.Nsec = int32(nsec % 1e9)
16 return
17}
18
19func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
20
21func NsecToTimeval(nsec int64) (tv Timeval) {
22 nsec += 999 // round up to microsecond
23 tv.Usec = int32(nsec % 1e9 / 1e3)
24 tv.Sec = int64(nsec / 1e9)
25 return
26}
27
28func SetKevent(k *Kevent_t, fd, mode, flags int) {
29 k.Ident = uint32(fd)
30 k.Filter = uint32(mode)
31 k.Flags = uint32(flags)
32}
33
34func (iov *Iovec) SetLen(length int) {
35 iov.Len = uint32(length)
36}
37
38func (msghdr *Msghdr) SetControllen(length int) {
39 msghdr.Controllen = uint32(length)
40}
41
42func (cmsg *Cmsghdr) SetLen(length int) {
43 cmsg.Len = uint32(length)
44}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_amd64.go
deleted file mode 100644
index 1b6dcbe..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_amd64.go
+++ /dev/null
@@ -1,44 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,netbsd
6
7package unix
8
9func Getpagesize() int { return 4096 }
10
11func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12
13func NsecToTimespec(nsec int64) (ts Timespec) {
14 ts.Sec = int64(nsec / 1e9)
15 ts.Nsec = int64(nsec % 1e9)
16 return
17}
18
19func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
20
21func NsecToTimeval(nsec int64) (tv Timeval) {
22 nsec += 999 // round up to microsecond
23 tv.Usec = int32(nsec % 1e9 / 1e3)
24 tv.Sec = int64(nsec / 1e9)
25 return
26}
27
28func SetKevent(k *Kevent_t, fd, mode, flags int) {
29 k.Ident = uint64(fd)
30 k.Filter = uint32(mode)
31 k.Flags = uint32(flags)
32}
33
34func (iov *Iovec) SetLen(length int) {
35 iov.Len = uint64(length)
36}
37
38func (msghdr *Msghdr) SetControllen(length int) {
39 msghdr.Controllen = uint32(length)
40}
41
42func (cmsg *Cmsghdr) SetLen(length int) {
43 cmsg.Len = uint32(length)
44}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_arm.go
deleted file mode 100644
index 87d1d6f..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_netbsd_arm.go
+++ /dev/null
@@ -1,44 +0,0 @@
1// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build arm,netbsd
6
7package unix
8
9func Getpagesize() int { return 4096 }
10
11func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12
13func NsecToTimespec(nsec int64) (ts Timespec) {
14 ts.Sec = int64(nsec / 1e9)
15 ts.Nsec = int32(nsec % 1e9)
16 return
17}
18
19func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
20
21func NsecToTimeval(nsec int64) (tv Timeval) {
22 nsec += 999 // round up to microsecond
23 tv.Usec = int32(nsec % 1e9 / 1e3)
24 tv.Sec = int64(nsec / 1e9)
25 return
26}
27
28func SetKevent(k *Kevent_t, fd, mode, flags int) {
29 k.Ident = uint32(fd)
30 k.Filter = uint32(mode)
31 k.Flags = uint32(flags)
32}
33
34func (iov *Iovec) SetLen(length int) {
35 iov.Len = uint32(length)
36}
37
38func (msghdr *Msghdr) SetControllen(length int) {
39 msghdr.Controllen = uint32(length)
40}
41
42func (cmsg *Cmsghdr) SetLen(length int) {
43 cmsg.Len = uint32(length)
44}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_no_getwd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_no_getwd.go
deleted file mode 100644
index 530792e..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_no_getwd.go
+++ /dev/null
@@ -1,11 +0,0 @@
1// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build dragonfly freebsd netbsd openbsd
6
7package unix
8
9const ImplementsGetwd = false
10
11func Getwd() (string, error) { return "", ENOTSUP }
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd.go
deleted file mode 100644
index 246131d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd.go
+++ /dev/null
@@ -1,303 +0,0 @@
1// Copyright 2009,2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// OpenBSD system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_bsd.go or syscall_unix.go.
12
13package unix
14
15import (
16 "syscall"
17 "unsafe"
18)
19
20type SockaddrDatalink struct {
21 Len uint8
22 Family uint8
23 Index uint16
24 Type uint8
25 Nlen uint8
26 Alen uint8
27 Slen uint8
28 Data [24]int8
29 raw RawSockaddrDatalink
30}
31
32func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
33
34func nametomib(name string) (mib []_C_int, err error) {
35
36 // Perform lookup via a binary search
37 left := 0
38 right := len(sysctlMib) - 1
39 for {
40 idx := left + (right-left)/2
41 switch {
42 case name == sysctlMib[idx].ctlname:
43 return sysctlMib[idx].ctloid, nil
44 case name > sysctlMib[idx].ctlname:
45 left = idx + 1
46 default:
47 right = idx - 1
48 }
49 if left > right {
50 break
51 }
52 }
53 return nil, EINVAL
54}
55
56// ParseDirent parses up to max directory entries in buf,
57// appending the names to names. It returns the number
58// bytes consumed from buf, the number of entries added
59// to names, and the new names slice.
60func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
61 origlen := len(buf)
62 for max != 0 && len(buf) > 0 {
63 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
64 if dirent.Reclen == 0 {
65 buf = nil
66 break
67 }
68 buf = buf[dirent.Reclen:]
69 if dirent.Fileno == 0 { // File absent in directory.
70 continue
71 }
72 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
73 var name = string(bytes[0:dirent.Namlen])
74 if name == "." || name == ".." { // Useless names
75 continue
76 }
77 max--
78 count++
79 names = append(names, name)
80 }
81 return origlen - len(buf), count, names
82}
83
84//sysnb pipe(p *[2]_C_int) (err error)
85func Pipe(p []int) (err error) {
86 if len(p) != 2 {
87 return EINVAL
88 }
89 var pp [2]_C_int
90 err = pipe(&pp)
91 p[0] = int(pp[0])
92 p[1] = int(pp[1])
93 return
94}
95
96//sys getdents(fd int, buf []byte) (n int, err error)
97func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
98 return getdents(fd, buf)
99}
100
101// TODO
102func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
103 return -1, ENOSYS
104}
105
106func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
107 var _p0 unsafe.Pointer
108 var bufsize uintptr
109 if len(buf) > 0 {
110 _p0 = unsafe.Pointer(&buf[0])
111 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
112 }
113 r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
114 n = int(r0)
115 if e1 != 0 {
116 err = e1
117 }
118 return
119}
120
121/*
122 * Exposed directly
123 */
124//sys Access(path string, mode uint32) (err error)
125//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
126//sys Chdir(path string) (err error)
127//sys Chflags(path string, flags int) (err error)
128//sys Chmod(path string, mode uint32) (err error)
129//sys Chown(path string, uid int, gid int) (err error)
130//sys Chroot(path string) (err error)
131//sys Close(fd int) (err error)
132//sys Dup(fd int) (nfd int, err error)
133//sys Dup2(from int, to int) (err error)
134//sys Exit(code int)
135//sys Fchdir(fd int) (err error)
136//sys Fchflags(fd int, flags int) (err error)
137//sys Fchmod(fd int, mode uint32) (err error)
138//sys Fchown(fd int, uid int, gid int) (err error)
139//sys Flock(fd int, how int) (err error)
140//sys Fpathconf(fd int, name int) (val int, err error)
141//sys Fstat(fd int, stat *Stat_t) (err error)
142//sys Fstatfs(fd int, stat *Statfs_t) (err error)
143//sys Fsync(fd int) (err error)
144//sys Ftruncate(fd int, length int64) (err error)
145//sysnb Getegid() (egid int)
146//sysnb Geteuid() (uid int)
147//sysnb Getgid() (gid int)
148//sysnb Getpgid(pid int) (pgid int, err error)
149//sysnb Getpgrp() (pgrp int)
150//sysnb Getpid() (pid int)
151//sysnb Getppid() (ppid int)
152//sys Getpriority(which int, who int) (prio int, err error)
153//sysnb Getrlimit(which int, lim *Rlimit) (err error)
154//sysnb Getrusage(who int, rusage *Rusage) (err error)
155//sysnb Getsid(pid int) (sid int, err error)
156//sysnb Gettimeofday(tv *Timeval) (err error)
157//sysnb Getuid() (uid int)
158//sys Issetugid() (tainted bool)
159//sys Kill(pid int, signum syscall.Signal) (err error)
160//sys Kqueue() (fd int, err error)
161//sys Lchown(path string, uid int, gid int) (err error)
162//sys Link(path string, link string) (err error)
163//sys Listen(s int, backlog int) (err error)
164//sys Lstat(path string, stat *Stat_t) (err error)
165//sys Mkdir(path string, mode uint32) (err error)
166//sys Mkfifo(path string, mode uint32) (err error)
167//sys Mknod(path string, mode uint32, dev int) (err error)
168//sys Mlock(b []byte) (err error)
169//sys Mlockall(flags int) (err error)
170//sys Mprotect(b []byte, prot int) (err error)
171//sys Munlock(b []byte) (err error)
172//sys Munlockall() (err error)
173//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
174//sys Open(path string, mode int, perm uint32) (fd int, err error)
175//sys Pathconf(path string, name int) (val int, err error)
176//sys Pread(fd int, p []byte, offset int64) (n int, err error)
177//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
178//sys read(fd int, p []byte) (n int, err error)
179//sys Readlink(path string, buf []byte) (n int, err error)
180//sys Rename(from string, to string) (err error)
181//sys Revoke(path string) (err error)
182//sys Rmdir(path string) (err error)
183//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
184//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
185//sysnb Setegid(egid int) (err error)
186//sysnb Seteuid(euid int) (err error)
187//sysnb Setgid(gid int) (err error)
188//sys Setlogin(name string) (err error)
189//sysnb Setpgid(pid int, pgid int) (err error)
190//sys Setpriority(which int, who int, prio int) (err error)
191//sysnb Setregid(rgid int, egid int) (err error)
192//sysnb Setreuid(ruid int, euid int) (err error)
193//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
194//sysnb Setresuid(ruid int, euid int, suid int) (err error)
195//sysnb Setrlimit(which int, lim *Rlimit) (err error)
196//sysnb Setsid() (pid int, err error)
197//sysnb Settimeofday(tp *Timeval) (err error)
198//sysnb Setuid(uid int) (err error)
199//sys Stat(path string, stat *Stat_t) (err error)
200//sys Statfs(path string, stat *Statfs_t) (err error)
201//sys Symlink(path string, link string) (err error)
202//sys Sync() (err error)
203//sys Truncate(path string, length int64) (err error)
204//sys Umask(newmask int) (oldmask int)
205//sys Unlink(path string) (err error)
206//sys Unmount(path string, flags int) (err error)
207//sys write(fd int, p []byte) (n int, err error)
208//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
209//sys munmap(addr uintptr, length uintptr) (err error)
210//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
211//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
212
213/*
214 * Unimplemented
215 */
216// __getcwd
217// __semctl
218// __syscall
219// __sysctl
220// adjfreq
221// break
222// clock_getres
223// clock_gettime
224// clock_settime
225// closefrom
226// execve
227// faccessat
228// fchmodat
229// fchownat
230// fcntl
231// fhopen
232// fhstat
233// fhstatfs
234// fork
235// fstatat
236// futimens
237// getfh
238// getgid
239// getitimer
240// getlogin
241// getresgid
242// getresuid
243// getrtable
244// getthrid
245// ioctl
246// ktrace
247// lfs_bmapv
248// lfs_markv
249// lfs_segclean
250// lfs_segwait
251// linkat
252// mincore
253// minherit
254// mkdirat
255// mkfifoat
256// mknodat
257// mount
258// mquery
259// msgctl
260// msgget
261// msgrcv
262// msgsnd
263// nfssvc
264// nnpfspioctl
265// openat
266// poll
267// preadv
268// profil
269// pwritev
270// quotactl
271// readlinkat
272// readv
273// reboot
274// renameat
275// rfork
276// sched_yield
277// semget
278// semop
279// setgroups
280// setitimer
281// setrtable
282// setsockopt
283// shmat
284// shmctl
285// shmdt
286// shmget
287// sigaction
288// sigaltstack
289// sigpending
290// sigprocmask
291// sigreturn
292// sigsuspend
293// symlinkat
294// sysarch
295// syscall
296// threxit
297// thrsigdivert
298// thrsleep
299// thrwakeup
300// unlinkat
301// utimensat
302// vfork
303// writev
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_386.go
deleted file mode 100644
index 9529b20..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_386.go
+++ /dev/null
@@ -1,44 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build 386,openbsd
6
7package unix
8
9func Getpagesize() int { return 4096 }
10
11func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12
13func NsecToTimespec(nsec int64) (ts Timespec) {
14 ts.Sec = int64(nsec / 1e9)
15 ts.Nsec = int32(nsec % 1e9)
16 return
17}
18
19func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
20
21func NsecToTimeval(nsec int64) (tv Timeval) {
22 nsec += 999 // round up to microsecond
23 tv.Usec = int32(nsec % 1e9 / 1e3)
24 tv.Sec = int64(nsec / 1e9)
25 return
26}
27
28func SetKevent(k *Kevent_t, fd, mode, flags int) {
29 k.Ident = uint32(fd)
30 k.Filter = int16(mode)
31 k.Flags = uint16(flags)
32}
33
34func (iov *Iovec) SetLen(length int) {
35 iov.Len = uint32(length)
36}
37
38func (msghdr *Msghdr) SetControllen(length int) {
39 msghdr.Controllen = uint32(length)
40}
41
42func (cmsg *Cmsghdr) SetLen(length int) {
43 cmsg.Len = uint32(length)
44}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_amd64.go
deleted file mode 100644
index fc64029..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_openbsd_amd64.go
+++ /dev/null
@@ -1,44 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,openbsd
6
7package unix
8
9func Getpagesize() int { return 4096 }
10
11func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12
13func NsecToTimespec(nsec int64) (ts Timespec) {
14 ts.Sec = nsec / 1e9
15 ts.Nsec = nsec % 1e9
16 return
17}
18
19func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
20
21func NsecToTimeval(nsec int64) (tv Timeval) {
22 nsec += 999 // round up to microsecond
23 tv.Usec = nsec % 1e9 / 1e3
24 tv.Sec = nsec / 1e9
25 return
26}
27
28func SetKevent(k *Kevent_t, fd, mode, flags int) {
29 k.Ident = uint64(fd)
30 k.Filter = int16(mode)
31 k.Flags = uint16(flags)
32}
33
34func (iov *Iovec) SetLen(length int) {
35 iov.Len = uint64(length)
36}
37
38func (msghdr *Msghdr) SetControllen(length int) {
39 msghdr.Controllen = uint32(length)
40}
41
42func (cmsg *Cmsghdr) SetLen(length int) {
43 cmsg.Len = uint32(length)
44}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris.go
deleted file mode 100644
index 0083732..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris.go
+++ /dev/null
@@ -1,713 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Solaris system calls.
6// This file is compiled as ordinary Go code,
7// but it is also input to mksyscall,
8// which parses the //sys lines and generates system call stubs.
9// Note that sometimes we use a lowercase //sys name and wrap
10// it in our own nicer implementation, either here or in
11// syscall_solaris.go or syscall_unix.go.
12
13package unix
14
15import (
16 "sync/atomic"
17 "syscall"
18 "unsafe"
19)
20
21// Implemented in runtime/syscall_solaris.go.
22type syscallFunc uintptr
23
24func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
25func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
26
27type SockaddrDatalink struct {
28 Family uint16
29 Index uint16
30 Type uint8
31 Nlen uint8
32 Alen uint8
33 Slen uint8
34 Data [244]int8
35 raw RawSockaddrDatalink
36}
37
38func clen(n []byte) int {
39 for i := 0; i < len(n); i++ {
40 if n[i] == 0 {
41 return i
42 }
43 }
44 return len(n)
45}
46
47// ParseDirent parses up to max directory entries in buf,
48// appending the names to names. It returns the number
49// bytes consumed from buf, the number of entries added
50// to names, and the new names slice.
51func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
52 origlen := len(buf)
53 for max != 0 && len(buf) > 0 {
54 dirent := (*Dirent)(unsafe.Pointer(&buf[0]))
55 if dirent.Reclen == 0 {
56 buf = nil
57 break
58 }
59 buf = buf[dirent.Reclen:]
60 if dirent.Ino == 0 { // File absent in directory.
61 continue
62 }
63 bytes := (*[10000]byte)(unsafe.Pointer(&dirent.Name[0]))
64 var name = string(bytes[0:clen(bytes[:])])
65 if name == "." || name == ".." { // Useless names
66 continue
67 }
68 max--
69 count++
70 names = append(names, name)
71 }
72 return origlen - len(buf), count, names
73}
74
75func pipe() (r uintptr, w uintptr, err uintptr)
76
77func Pipe(p []int) (err error) {
78 if len(p) != 2 {
79 return EINVAL
80 }
81 r0, w0, e1 := pipe()
82 if e1 != 0 {
83 err = syscall.Errno(e1)
84 }
85 p[0], p[1] = int(r0), int(w0)
86 return
87}
88
89func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
90 if sa.Port < 0 || sa.Port > 0xFFFF {
91 return nil, 0, EINVAL
92 }
93 sa.raw.Family = AF_INET
94 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
95 p[0] = byte(sa.Port >> 8)
96 p[1] = byte(sa.Port)
97 for i := 0; i < len(sa.Addr); i++ {
98 sa.raw.Addr[i] = sa.Addr[i]
99 }
100 return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
101}
102
103func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
104 if sa.Port < 0 || sa.Port > 0xFFFF {
105 return nil, 0, EINVAL
106 }
107 sa.raw.Family = AF_INET6
108 p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
109 p[0] = byte(sa.Port >> 8)
110 p[1] = byte(sa.Port)
111 sa.raw.Scope_id = sa.ZoneId
112 for i := 0; i < len(sa.Addr); i++ {
113 sa.raw.Addr[i] = sa.Addr[i]
114 }
115 return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
116}
117
118func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
119 name := sa.Name
120 n := len(name)
121 if n >= len(sa.raw.Path) {
122 return nil, 0, EINVAL
123 }
124 sa.raw.Family = AF_UNIX
125 for i := 0; i < n; i++ {
126 sa.raw.Path[i] = int8(name[i])
127 }
128 // length is family (uint16), name, NUL.
129 sl := _Socklen(2)
130 if n > 0 {
131 sl += _Socklen(n) + 1
132 }
133 if sa.raw.Path[0] == '@' {
134 sa.raw.Path[0] = 0
135 // Don't count trailing NUL for abstract address.
136 sl--
137 }
138
139 return unsafe.Pointer(&sa.raw), sl, nil
140}
141
142//sys getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getsockname
143
144func Getsockname(fd int) (sa Sockaddr, err error) {
145 var rsa RawSockaddrAny
146 var len _Socklen = SizeofSockaddrAny
147 if err = getsockname(fd, &rsa, &len); err != nil {
148 return
149 }
150 return anyToSockaddr(&rsa)
151}
152
153const ImplementsGetwd = true
154
155//sys Getcwd(buf []byte) (n int, err error)
156
157func Getwd() (wd string, err error) {
158 var buf [PathMax]byte
159 // Getcwd will return an error if it failed for any reason.
160 _, err = Getcwd(buf[0:])
161 if err != nil {
162 return "", err
163 }
164 n := clen(buf[:])
165 if n < 1 {
166 return "", EINVAL
167 }
168 return string(buf[:n]), nil
169}
170
171/*
172 * Wrapped
173 */
174
175//sysnb getgroups(ngid int, gid *_Gid_t) (n int, err error)
176//sysnb setgroups(ngid int, gid *_Gid_t) (err error)
177
178func Getgroups() (gids []int, err error) {
179 n, err := getgroups(0, nil)
180 // Check for error and sanity check group count. Newer versions of
181 // Solaris allow up to 1024 (NGROUPS_MAX).
182 if n < 0 || n > 1024 {
183 if err != nil {
184 return nil, err
185 }
186 return nil, EINVAL
187 } else if n == 0 {
188 return nil, nil
189 }
190
191 a := make([]_Gid_t, n)
192 n, err = getgroups(n, &a[0])
193 if n == -1 {
194 return nil, err
195 }
196 gids = make([]int, n)
197 for i, v := range a[0:n] {
198 gids[i] = int(v)
199 }
200 return
201}
202
203func Setgroups(gids []int) (err error) {
204 if len(gids) == 0 {
205 return setgroups(0, nil)
206 }
207
208 a := make([]_Gid_t, len(gids))
209 for i, v := range gids {
210 a[i] = _Gid_t(v)
211 }
212 return setgroups(len(a), &a[0])
213}
214
215func ReadDirent(fd int, buf []byte) (n int, err error) {
216 // Final argument is (basep *uintptr) and the syscall doesn't take nil.
217 // TODO(rsc): Can we use a single global basep for all calls?
218 return Getdents(fd, buf, new(uintptr))
219}
220
221// Wait status is 7 bits at bottom, either 0 (exited),
222// 0x7F (stopped), or a signal number that caused an exit.
223// The 0x80 bit is whether there was a core dump.
224// An extra number (exit code, signal causing a stop)
225// is in the high bits.
226
227type WaitStatus uint32
228
229const (
230 mask = 0x7F
231 core = 0x80
232 shift = 8
233
234 exited = 0
235 stopped = 0x7F
236)
237
238func (w WaitStatus) Exited() bool { return w&mask == exited }
239
240func (w WaitStatus) ExitStatus() int {
241 if w&mask != exited {
242 return -1
243 }
244 return int(w >> shift)
245}
246
247func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
248
249func (w WaitStatus) Signal() syscall.Signal {
250 sig := syscall.Signal(w & mask)
251 if sig == stopped || sig == 0 {
252 return -1
253 }
254 return sig
255}
256
257func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
258
259func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
260
261func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
262
263func (w WaitStatus) StopSignal() syscall.Signal {
264 if !w.Stopped() {
265 return -1
266 }
267 return syscall.Signal(w>>shift) & 0xFF
268}
269
270func (w WaitStatus) TrapCause() int { return -1 }
271
272func wait4(pid uintptr, wstatus *WaitStatus, options uintptr, rusage *Rusage) (wpid uintptr, err uintptr)
273
274func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
275 r0, e1 := wait4(uintptr(pid), wstatus, uintptr(options), rusage)
276 if e1 != 0 {
277 err = syscall.Errno(e1)
278 }
279 return int(r0), err
280}
281
282func gethostname() (name string, err uintptr)
283
284func Gethostname() (name string, err error) {
285 name, e1 := gethostname()
286 if e1 != 0 {
287 err = syscall.Errno(e1)
288 }
289 return name, err
290}
291
292//sys utimes(path string, times *[2]Timeval) (err error)
293
294func Utimes(path string, tv []Timeval) (err error) {
295 if tv == nil {
296 return utimes(path, nil)
297 }
298 if len(tv) != 2 {
299 return EINVAL
300 }
301 return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
302}
303
304//sys utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
305
306func UtimesNano(path string, ts []Timespec) error {
307 if ts == nil {
308 return utimensat(AT_FDCWD, path, nil, 0)
309 }
310 if len(ts) != 2 {
311 return EINVAL
312 }
313 return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
314}
315
316func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
317 if ts == nil {
318 return utimensat(dirfd, path, nil, flags)
319 }
320 if len(ts) != 2 {
321 return EINVAL
322 }
323 return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
324}
325
326//sys fcntl(fd int, cmd int, arg int) (val int, err error)
327
328// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
329func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
330 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
331 if e1 != 0 {
332 return e1
333 }
334 return nil
335}
336
337//sys futimesat(fildes int, path *byte, times *[2]Timeval) (err error)
338
339func Futimesat(dirfd int, path string, tv []Timeval) error {
340 pathp, err := BytePtrFromString(path)
341 if err != nil {
342 return err
343 }
344 if tv == nil {
345 return futimesat(dirfd, pathp, nil)
346 }
347 if len(tv) != 2 {
348 return EINVAL
349 }
350 return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
351}
352
353// Solaris doesn't have an futimes function because it allows NULL to be
354// specified as the path for futimesat. However, Go doesn't like
355// NULL-style string interfaces, so this simple wrapper is provided.
356func Futimes(fd int, tv []Timeval) error {
357 if tv == nil {
358 return futimesat(fd, nil, nil)
359 }
360 if len(tv) != 2 {
361 return EINVAL
362 }
363 return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
364}
365
366func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
367 switch rsa.Addr.Family {
368 case AF_UNIX:
369 pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
370 sa := new(SockaddrUnix)
371 // Assume path ends at NUL.
372 // This is not technically the Solaris semantics for
373 // abstract Unix domain sockets -- they are supposed
374 // to be uninterpreted fixed-size binary blobs -- but
375 // everyone uses this convention.
376 n := 0
377 for n < len(pp.Path) && pp.Path[n] != 0 {
378 n++
379 }
380 bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
381 sa.Name = string(bytes)
382 return sa, nil
383
384 case AF_INET:
385 pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
386 sa := new(SockaddrInet4)
387 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
388 sa.Port = int(p[0])<<8 + int(p[1])
389 for i := 0; i < len(sa.Addr); i++ {
390 sa.Addr[i] = pp.Addr[i]
391 }
392 return sa, nil
393
394 case AF_INET6:
395 pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
396 sa := new(SockaddrInet6)
397 p := (*[2]byte)(unsafe.Pointer(&pp.Port))
398 sa.Port = int(p[0])<<8 + int(p[1])
399 sa.ZoneId = pp.Scope_id
400 for i := 0; i < len(sa.Addr); i++ {
401 sa.Addr[i] = pp.Addr[i]
402 }
403 return sa, nil
404 }
405 return nil, EAFNOSUPPORT
406}
407
408//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = libsocket.accept
409
410func Accept(fd int) (nfd int, sa Sockaddr, err error) {
411 var rsa RawSockaddrAny
412 var len _Socklen = SizeofSockaddrAny
413 nfd, err = accept(fd, &rsa, &len)
414 if nfd == -1 {
415 return
416 }
417 sa, err = anyToSockaddr(&rsa)
418 if err != nil {
419 Close(nfd)
420 nfd = 0
421 }
422 return
423}
424
425//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.recvmsg
426
427func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
428 var msg Msghdr
429 var rsa RawSockaddrAny
430 msg.Name = (*byte)(unsafe.Pointer(&rsa))
431 msg.Namelen = uint32(SizeofSockaddrAny)
432 var iov Iovec
433 if len(p) > 0 {
434 iov.Base = (*int8)(unsafe.Pointer(&p[0]))
435 iov.SetLen(len(p))
436 }
437 var dummy int8
438 if len(oob) > 0 {
439 // receive at least one normal byte
440 if len(p) == 0 {
441 iov.Base = &dummy
442 iov.SetLen(1)
443 }
444 msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
445 }
446 msg.Iov = &iov
447 msg.Iovlen = 1
448 if n, err = recvmsg(fd, &msg, flags); n == -1 {
449 return
450 }
451 oobn = int(msg.Accrightslen)
452 // source address is only specified if the socket is unconnected
453 if rsa.Addr.Family != AF_UNSPEC {
454 from, err = anyToSockaddr(&rsa)
455 }
456 return
457}
458
459func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
460 _, err = SendmsgN(fd, p, oob, to, flags)
461 return
462}
463
464//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.sendmsg
465
466func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
467 var ptr unsafe.Pointer
468 var salen _Socklen
469 if to != nil {
470 ptr, salen, err = to.sockaddr()
471 if err != nil {
472 return 0, err
473 }
474 }
475 var msg Msghdr
476 msg.Name = (*byte)(unsafe.Pointer(ptr))
477 msg.Namelen = uint32(salen)
478 var iov Iovec
479 if len(p) > 0 {
480 iov.Base = (*int8)(unsafe.Pointer(&p[0]))
481 iov.SetLen(len(p))
482 }
483 var dummy int8
484 if len(oob) > 0 {
485 // send at least one normal byte
486 if len(p) == 0 {
487 iov.Base = &dummy
488 iov.SetLen(1)
489 }
490 msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
491 }
492 msg.Iov = &iov
493 msg.Iovlen = 1
494 if n, err = sendmsg(fd, &msg, flags); err != nil {
495 return 0, err
496 }
497 if len(oob) > 0 && len(p) == 0 {
498 n = 0
499 }
500 return n, nil
501}
502
503//sys acct(path *byte) (err error)
504
505func Acct(path string) (err error) {
506 if len(path) == 0 {
507 // Assume caller wants to disable accounting.
508 return acct(nil)
509 }
510
511 pathp, err := BytePtrFromString(path)
512 if err != nil {
513 return err
514 }
515 return acct(pathp)
516}
517
518/*
519 * Expose the ioctl function
520 */
521
522//sys ioctl(fd int, req int, arg uintptr) (err error)
523
524func IoctlSetInt(fd int, req int, value int) (err error) {
525 return ioctl(fd, req, uintptr(value))
526}
527
528func IoctlSetWinsize(fd int, req int, value *Winsize) (err error) {
529 return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
530}
531
532func IoctlSetTermios(fd int, req int, value *Termios) (err error) {
533 return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
534}
535
536func IoctlSetTermio(fd int, req int, value *Termio) (err error) {
537 return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
538}
539
540func IoctlGetInt(fd int, req int) (int, error) {
541 var value int
542 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
543 return value, err
544}
545
546func IoctlGetWinsize(fd int, req int) (*Winsize, error) {
547 var value Winsize
548 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
549 return &value, err
550}
551
552func IoctlGetTermios(fd int, req int) (*Termios, error) {
553 var value Termios
554 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
555 return &value, err
556}
557
558func IoctlGetTermio(fd int, req int) (*Termio, error) {
559 var value Termio
560 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
561 return &value, err
562}
563
564/*
565 * Exposed directly
566 */
567//sys Access(path string, mode uint32) (err error)
568//sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
569//sys Chdir(path string) (err error)
570//sys Chmod(path string, mode uint32) (err error)
571//sys Chown(path string, uid int, gid int) (err error)
572//sys Chroot(path string) (err error)
573//sys Close(fd int) (err error)
574//sys Creat(path string, mode uint32) (fd int, err error)
575//sys Dup(fd int) (nfd int, err error)
576//sys Dup2(oldfd int, newfd int) (err error)
577//sys Exit(code int)
578//sys Fchdir(fd int) (err error)
579//sys Fchmod(fd int, mode uint32) (err error)
580//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
581//sys Fchown(fd int, uid int, gid int) (err error)
582//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
583//sys Fdatasync(fd int) (err error)
584//sys Fpathconf(fd int, name int) (val int, err error)
585//sys Fstat(fd int, stat *Stat_t) (err error)
586//sys Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
587//sysnb Getgid() (gid int)
588//sysnb Getpid() (pid int)
589//sysnb Getpgid(pid int) (pgid int, err error)
590//sysnb Getpgrp() (pgid int, err error)
591//sys Geteuid() (euid int)
592//sys Getegid() (egid int)
593//sys Getppid() (ppid int)
594//sys Getpriority(which int, who int) (n int, err error)
595//sysnb Getrlimit(which int, lim *Rlimit) (err error)
596//sysnb Getrusage(who int, rusage *Rusage) (err error)
597//sysnb Gettimeofday(tv *Timeval) (err error)
598//sysnb Getuid() (uid int)
599//sys Kill(pid int, signum syscall.Signal) (err error)
600//sys Lchown(path string, uid int, gid int) (err error)
601//sys Link(path string, link string) (err error)
602//sys Listen(s int, backlog int) (err error) = libsocket.listen
603//sys Lstat(path string, stat *Stat_t) (err error)
604//sys Madvise(b []byte, advice int) (err error)
605//sys Mkdir(path string, mode uint32) (err error)
606//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
607//sys Mkfifo(path string, mode uint32) (err error)
608//sys Mkfifoat(dirfd int, path string, mode uint32) (err error)
609//sys Mknod(path string, mode uint32, dev int) (err error)
610//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
611//sys Mlock(b []byte) (err error)
612//sys Mlockall(flags int) (err error)
613//sys Mprotect(b []byte, prot int) (err error)
614//sys Munlock(b []byte) (err error)
615//sys Munlockall() (err error)
616//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
617//sys Open(path string, mode int, perm uint32) (fd int, err error)
618//sys Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
619//sys Pathconf(path string, name int) (val int, err error)
620//sys Pause() (err error)
621//sys Pread(fd int, p []byte, offset int64) (n int, err error)
622//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
623//sys read(fd int, p []byte) (n int, err error)
624//sys Readlink(path string, buf []byte) (n int, err error)
625//sys Rename(from string, to string) (err error)
626//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
627//sys Rmdir(path string) (err error)
628//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
629//sysnb Setegid(egid int) (err error)
630//sysnb Seteuid(euid int) (err error)
631//sysnb Setgid(gid int) (err error)
632//sys Sethostname(p []byte) (err error)
633//sysnb Setpgid(pid int, pgid int) (err error)
634//sys Setpriority(which int, who int, prio int) (err error)
635//sysnb Setregid(rgid int, egid int) (err error)
636//sysnb Setreuid(ruid int, euid int) (err error)
637//sysnb Setrlimit(which int, lim *Rlimit) (err error)
638//sysnb Setsid() (pid int, err error)
639//sysnb Setuid(uid int) (err error)
640//sys Shutdown(s int, how int) (err error) = libsocket.shutdown
641//sys Stat(path string, stat *Stat_t) (err error)
642//sys Symlink(path string, link string) (err error)
643//sys Sync() (err error)
644//sysnb Times(tms *Tms) (ticks uintptr, err error)
645//sys Truncate(path string, length int64) (err error)
646//sys Fsync(fd int) (err error)
647//sys Ftruncate(fd int, length int64) (err error)
648//sys Umask(mask int) (oldmask int)
649//sysnb Uname(buf *Utsname) (err error)
650//sys Unmount(target string, flags int) (err error) = libc.umount
651//sys Unlink(path string) (err error)
652//sys Unlinkat(dirfd int, path string) (err error)
653//sys Ustat(dev int, ubuf *Ustat_t) (err error)
654//sys Utime(path string, buf *Utimbuf) (err error)
655//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.bind
656//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.connect
657//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
658//sys munmap(addr uintptr, length uintptr) (err error)
659//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.sendto
660//sys socket(domain int, typ int, proto int) (fd int, err error) = libsocket.socket
661//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.socketpair
662//sys write(fd int, p []byte) (n int, err error)
663//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) = libsocket.getsockopt
664//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getpeername
665//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt
666//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom
667
668func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
669 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
670 n = int(r0)
671 if e1 != 0 {
672 err = e1
673 }
674 return
675}
676
677func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
678 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
679 n = int(r0)
680 if e1 != 0 {
681 err = e1
682 }
683 return
684}
685
686var mapper = &mmapper{
687 active: make(map[*byte][]byte),
688 mmap: mmap,
689 munmap: munmap,
690}
691
692func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
693 return mapper.Mmap(fd, offset, length, prot, flags)
694}
695
696func Munmap(b []byte) (err error) {
697 return mapper.Munmap(b)
698}
699
700//sys sysconf(name int) (n int64, err error)
701
702// pageSize caches the value of Getpagesize, since it can't change
703// once the system is booted.
704var pageSize int64 // accessed atomically
705
706func Getpagesize() int {
707 n := atomic.LoadInt64(&pageSize)
708 if n == 0 {
709 n, _ = sysconf(_SC_PAGESIZE)
710 atomic.StoreInt64(&pageSize, n)
711 }
712 return int(n)
713}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris_amd64.go
deleted file mode 100644
index 2e44630..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_solaris_amd64.go
+++ /dev/null
@@ -1,37 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,solaris
6
7package unix
8
9func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
10
11func NsecToTimespec(nsec int64) (ts Timespec) {
12 ts.Sec = nsec / 1e9
13 ts.Nsec = nsec % 1e9
14 return
15}
16
17func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
18
19func NsecToTimeval(nsec int64) (tv Timeval) {
20 nsec += 999 // round up to microsecond
21 tv.Usec = nsec % 1e9 / 1e3
22 tv.Sec = int64(nsec / 1e9)
23 return
24}
25
26func (iov *Iovec) SetLen(length int) {
27 iov.Len = uint64(length)
28}
29
30func (cmsg *Cmsghdr) SetLen(length int) {
31 cmsg.Len = uint32(length)
32}
33
34func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
35 // TODO(aram): implement this, see issue 5847.
36 panic("unimplemented")
37}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_unix.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_unix.go
deleted file mode 100644
index b46b250..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/syscall_unix.go
+++ /dev/null
@@ -1,297 +0,0 @@
1// Copyright 2009 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build darwin dragonfly freebsd linux netbsd openbsd solaris
6
7package unix
8
9import (
10 "runtime"
11 "sync"
12 "syscall"
13 "unsafe"
14)
15
16var (
17 Stdin = 0
18 Stdout = 1
19 Stderr = 2
20)
21
22const (
23 darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8
24 dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
25 netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4
26)
27
28// Do the interface allocations only once for common
29// Errno values.
30var (
31 errEAGAIN error = syscall.EAGAIN
32 errEINVAL error = syscall.EINVAL
33 errENOENT error = syscall.ENOENT
34)
35
36// errnoErr returns common boxed Errno values, to prevent
37// allocations at runtime.
38func errnoErr(e syscall.Errno) error {
39 switch e {
40 case 0:
41 return nil
42 case EAGAIN:
43 return errEAGAIN
44 case EINVAL:
45 return errEINVAL
46 case ENOENT:
47 return errENOENT
48 }
49 return e
50}
51
52func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
53func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
54func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
55func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
56
57// Mmap manager, for use by operating system-specific implementations.
58
59type mmapper struct {
60 sync.Mutex
61 active map[*byte][]byte // active mappings; key is last byte in mapping
62 mmap func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error)
63 munmap func(addr uintptr, length uintptr) error
64}
65
66func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
67 if length <= 0 {
68 return nil, EINVAL
69 }
70
71 // Map the requested memory.
72 addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
73 if errno != nil {
74 return nil, errno
75 }
76
77 // Slice memory layout
78 var sl = struct {
79 addr uintptr
80 len int
81 cap int
82 }{addr, length, length}
83
84 // Use unsafe to turn sl into a []byte.
85 b := *(*[]byte)(unsafe.Pointer(&sl))
86
87 // Register mapping in m and return it.
88 p := &b[cap(b)-1]
89 m.Lock()
90 defer m.Unlock()
91 m.active[p] = b
92 return b, nil
93}
94
95func (m *mmapper) Munmap(data []byte) (err error) {
96 if len(data) == 0 || len(data) != cap(data) {
97 return EINVAL
98 }
99
100 // Find the base of the mapping.
101 p := &data[cap(data)-1]
102 m.Lock()
103 defer m.Unlock()
104 b := m.active[p]
105 if b == nil || &b[0] != &data[0] {
106 return EINVAL
107 }
108
109 // Unmap the memory and update m.
110 if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
111 return errno
112 }
113 delete(m.active, p)
114 return nil
115}
116
117func Read(fd int, p []byte) (n int, err error) {
118 n, err = read(fd, p)
119 if raceenabled {
120 if n > 0 {
121 raceWriteRange(unsafe.Pointer(&p[0]), n)
122 }
123 if err == nil {
124 raceAcquire(unsafe.Pointer(&ioSync))
125 }
126 }
127 return
128}
129
130func Write(fd int, p []byte) (n int, err error) {
131 if raceenabled {
132 raceReleaseMerge(unsafe.Pointer(&ioSync))
133 }
134 n, err = write(fd, p)
135 if raceenabled && n > 0 {
136 raceReadRange(unsafe.Pointer(&p[0]), n)
137 }
138 return
139}
140
141// For testing: clients can set this flag to force
142// creation of IPv6 sockets to return EAFNOSUPPORT.
143var SocketDisableIPv6 bool
144
145type Sockaddr interface {
146 sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
147}
148
149type SockaddrInet4 struct {
150 Port int
151 Addr [4]byte
152 raw RawSockaddrInet4
153}
154
155type SockaddrInet6 struct {
156 Port int
157 ZoneId uint32
158 Addr [16]byte
159 raw RawSockaddrInet6
160}
161
162type SockaddrUnix struct {
163 Name string
164 raw RawSockaddrUnix
165}
166
167func Bind(fd int, sa Sockaddr) (err error) {
168 ptr, n, err := sa.sockaddr()
169 if err != nil {
170 return err
171 }
172 return bind(fd, ptr, n)
173}
174
175func Connect(fd int, sa Sockaddr) (err error) {
176 ptr, n, err := sa.sockaddr()
177 if err != nil {
178 return err
179 }
180 return connect(fd, ptr, n)
181}
182
183func Getpeername(fd int) (sa Sockaddr, err error) {
184 var rsa RawSockaddrAny
185 var len _Socklen = SizeofSockaddrAny
186 if err = getpeername(fd, &rsa, &len); err != nil {
187 return
188 }
189 return anyToSockaddr(&rsa)
190}
191
192func GetsockoptInt(fd, level, opt int) (value int, err error) {
193 var n int32
194 vallen := _Socklen(4)
195 err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
196 return int(n), err
197}
198
199func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
200 var rsa RawSockaddrAny
201 var len _Socklen = SizeofSockaddrAny
202 if n, err = recvfrom(fd, p, flags, &rsa, &len); err != nil {
203 return
204 }
205 if rsa.Addr.Family != AF_UNSPEC {
206 from, err = anyToSockaddr(&rsa)
207 }
208 return
209}
210
211func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
212 ptr, n, err := to.sockaddr()
213 if err != nil {
214 return err
215 }
216 return sendto(fd, p, flags, ptr, n)
217}
218
219func SetsockoptByte(fd, level, opt int, value byte) (err error) {
220 return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
221}
222
223func SetsockoptInt(fd, level, opt int, value int) (err error) {
224 var n = int32(value)
225 return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
226}
227
228func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) {
229 return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
230}
231
232func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) {
233 return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
234}
235
236func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) {
237 return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
238}
239
240func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error {
241 return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
242}
243
244func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
245 return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
246}
247
248func SetsockoptString(fd, level, opt int, s string) (err error) {
249 return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s)))
250}
251
252func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
253 return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
254}
255
256func Socket(domain, typ, proto int) (fd int, err error) {
257 if domain == AF_INET6 && SocketDisableIPv6 {
258 return -1, EAFNOSUPPORT
259 }
260 fd, err = socket(domain, typ, proto)
261 return
262}
263
264func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
265 var fdx [2]int32
266 err = socketpair(domain, typ, proto, &fdx)
267 if err == nil {
268 fd[0] = int(fdx[0])
269 fd[1] = int(fdx[1])
270 }
271 return
272}
273
274func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
275 if raceenabled {
276 raceReleaseMerge(unsafe.Pointer(&ioSync))
277 }
278 return sendfile(outfd, infd, offset, count)
279}
280
281var ioSync int64
282
283func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
284
285func SetNonblock(fd int, nonblocking bool) (err error) {
286 flag, err := fcntl(fd, F_GETFL, 0)
287 if err != nil {
288 return err
289 }
290 if nonblocking {
291 flag |= O_NONBLOCK
292 } else {
293 flag &= ^O_NONBLOCK
294 }
295 _, err = fcntl(fd, F_SETFL, flag)
296 return err
297}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_386.go
deleted file mode 100644
index 8e63888..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_386.go
+++ /dev/null
@@ -1,1576 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,darwin
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_CCITT = 0xa
16 AF_CHAOS = 0x5
17 AF_CNT = 0x15
18 AF_COIP = 0x14
19 AF_DATAKIT = 0x9
20 AF_DECnet = 0xc
21 AF_DLI = 0xd
22 AF_E164 = 0x1c
23 AF_ECMA = 0x8
24 AF_HYLINK = 0xf
25 AF_IEEE80211 = 0x25
26 AF_IMPLINK = 0x3
27 AF_INET = 0x2
28 AF_INET6 = 0x1e
29 AF_IPX = 0x17
30 AF_ISDN = 0x1c
31 AF_ISO = 0x7
32 AF_LAT = 0xe
33 AF_LINK = 0x12
34 AF_LOCAL = 0x1
35 AF_MAX = 0x28
36 AF_NATM = 0x1f
37 AF_NDRV = 0x1b
38 AF_NETBIOS = 0x21
39 AF_NS = 0x6
40 AF_OSI = 0x7
41 AF_PPP = 0x22
42 AF_PUP = 0x4
43 AF_RESERVED_36 = 0x24
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_SYSTEM = 0x20
48 AF_UNIX = 0x1
49 AF_UNSPEC = 0x0
50 AF_UTUN = 0x26
51 B0 = 0x0
52 B110 = 0x6e
53 B115200 = 0x1c200
54 B1200 = 0x4b0
55 B134 = 0x86
56 B14400 = 0x3840
57 B150 = 0x96
58 B1800 = 0x708
59 B19200 = 0x4b00
60 B200 = 0xc8
61 B230400 = 0x38400
62 B2400 = 0x960
63 B28800 = 0x7080
64 B300 = 0x12c
65 B38400 = 0x9600
66 B4800 = 0x12c0
67 B50 = 0x32
68 B57600 = 0xe100
69 B600 = 0x258
70 B7200 = 0x1c20
71 B75 = 0x4b
72 B76800 = 0x12c00
73 B9600 = 0x2580
74 BIOCFLUSH = 0x20004268
75 BIOCGBLEN = 0x40044266
76 BIOCGDLT = 0x4004426a
77 BIOCGDLTLIST = 0xc00c4279
78 BIOCGETIF = 0x4020426b
79 BIOCGHDRCMPLT = 0x40044274
80 BIOCGRSIG = 0x40044272
81 BIOCGRTIMEOUT = 0x4008426e
82 BIOCGSEESENT = 0x40044276
83 BIOCGSTATS = 0x4008426f
84 BIOCIMMEDIATE = 0x80044270
85 BIOCPROMISC = 0x20004269
86 BIOCSBLEN = 0xc0044266
87 BIOCSDLT = 0x80044278
88 BIOCSETF = 0x80084267
89 BIOCSETFNR = 0x8008427e
90 BIOCSETIF = 0x8020426c
91 BIOCSHDRCMPLT = 0x80044275
92 BIOCSRSIG = 0x80044273
93 BIOCSRTIMEOUT = 0x8008426d
94 BIOCSSEESENT = 0x80044277
95 BIOCVERSION = 0x40044271
96 BPF_A = 0x10
97 BPF_ABS = 0x20
98 BPF_ADD = 0x0
99 BPF_ALIGNMENT = 0x4
100 BPF_ALU = 0x4
101 BPF_AND = 0x50
102 BPF_B = 0x10
103 BPF_DIV = 0x30
104 BPF_H = 0x8
105 BPF_IMM = 0x0
106 BPF_IND = 0x40
107 BPF_JA = 0x0
108 BPF_JEQ = 0x10
109 BPF_JGE = 0x30
110 BPF_JGT = 0x20
111 BPF_JMP = 0x5
112 BPF_JSET = 0x40
113 BPF_K = 0x0
114 BPF_LD = 0x0
115 BPF_LDX = 0x1
116 BPF_LEN = 0x80
117 BPF_LSH = 0x60
118 BPF_MAJOR_VERSION = 0x1
119 BPF_MAXBUFSIZE = 0x80000
120 BPF_MAXINSNS = 0x200
121 BPF_MEM = 0x60
122 BPF_MEMWORDS = 0x10
123 BPF_MINBUFSIZE = 0x20
124 BPF_MINOR_VERSION = 0x1
125 BPF_MISC = 0x7
126 BPF_MSH = 0xa0
127 BPF_MUL = 0x20
128 BPF_NEG = 0x80
129 BPF_OR = 0x40
130 BPF_RELEASE = 0x30bb6
131 BPF_RET = 0x6
132 BPF_RSH = 0x70
133 BPF_ST = 0x2
134 BPF_STX = 0x3
135 BPF_SUB = 0x10
136 BPF_TAX = 0x0
137 BPF_TXA = 0x80
138 BPF_W = 0x0
139 BPF_X = 0x8
140 BRKINT = 0x2
141 CFLUSH = 0xf
142 CLOCAL = 0x8000
143 CREAD = 0x800
144 CS5 = 0x0
145 CS6 = 0x100
146 CS7 = 0x200
147 CS8 = 0x300
148 CSIZE = 0x300
149 CSTART = 0x11
150 CSTATUS = 0x14
151 CSTOP = 0x13
152 CSTOPB = 0x400
153 CSUSP = 0x1a
154 CTL_MAXNAME = 0xc
155 CTL_NET = 0x4
156 DLT_A429 = 0xb8
157 DLT_A653_ICM = 0xb9
158 DLT_AIRONET_HEADER = 0x78
159 DLT_AOS = 0xde
160 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
161 DLT_ARCNET = 0x7
162 DLT_ARCNET_LINUX = 0x81
163 DLT_ATM_CLIP = 0x13
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AURORA = 0x7e
166 DLT_AX25 = 0x3
167 DLT_AX25_KISS = 0xca
168 DLT_BACNET_MS_TP = 0xa5
169 DLT_BLUETOOTH_HCI_H4 = 0xbb
170 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
171 DLT_CAN20B = 0xbe
172 DLT_CAN_SOCKETCAN = 0xe3
173 DLT_CHAOS = 0x5
174 DLT_CHDLC = 0x68
175 DLT_CISCO_IOS = 0x76
176 DLT_C_HDLC = 0x68
177 DLT_C_HDLC_WITH_DIR = 0xcd
178 DLT_DBUS = 0xe7
179 DLT_DECT = 0xdd
180 DLT_DOCSIS = 0x8f
181 DLT_DVB_CI = 0xeb
182 DLT_ECONET = 0x73
183 DLT_EN10MB = 0x1
184 DLT_EN3MB = 0x2
185 DLT_ENC = 0x6d
186 DLT_ERF = 0xc5
187 DLT_ERF_ETH = 0xaf
188 DLT_ERF_POS = 0xb0
189 DLT_FC_2 = 0xe0
190 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
191 DLT_FDDI = 0xa
192 DLT_FLEXRAY = 0xd2
193 DLT_FRELAY = 0x6b
194 DLT_FRELAY_WITH_DIR = 0xce
195 DLT_GCOM_SERIAL = 0xad
196 DLT_GCOM_T1E1 = 0xac
197 DLT_GPF_F = 0xab
198 DLT_GPF_T = 0xaa
199 DLT_GPRS_LLC = 0xa9
200 DLT_GSMTAP_ABIS = 0xda
201 DLT_GSMTAP_UM = 0xd9
202 DLT_HHDLC = 0x79
203 DLT_IBM_SN = 0x92
204 DLT_IBM_SP = 0x91
205 DLT_IEEE802 = 0x6
206 DLT_IEEE802_11 = 0x69
207 DLT_IEEE802_11_RADIO = 0x7f
208 DLT_IEEE802_11_RADIO_AVS = 0xa3
209 DLT_IEEE802_15_4 = 0xc3
210 DLT_IEEE802_15_4_LINUX = 0xbf
211 DLT_IEEE802_15_4_NOFCS = 0xe6
212 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
213 DLT_IEEE802_16_MAC_CPS = 0xbc
214 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
215 DLT_IPFILTER = 0x74
216 DLT_IPMB = 0xc7
217 DLT_IPMB_LINUX = 0xd1
218 DLT_IPNET = 0xe2
219 DLT_IPOIB = 0xf2
220 DLT_IPV4 = 0xe4
221 DLT_IPV6 = 0xe5
222 DLT_IP_OVER_FC = 0x7a
223 DLT_JUNIPER_ATM1 = 0x89
224 DLT_JUNIPER_ATM2 = 0x87
225 DLT_JUNIPER_ATM_CEMIC = 0xee
226 DLT_JUNIPER_CHDLC = 0xb5
227 DLT_JUNIPER_ES = 0x84
228 DLT_JUNIPER_ETHER = 0xb2
229 DLT_JUNIPER_FIBRECHANNEL = 0xea
230 DLT_JUNIPER_FRELAY = 0xb4
231 DLT_JUNIPER_GGSN = 0x85
232 DLT_JUNIPER_ISM = 0xc2
233 DLT_JUNIPER_MFR = 0x86
234 DLT_JUNIPER_MLFR = 0x83
235 DLT_JUNIPER_MLPPP = 0x82
236 DLT_JUNIPER_MONITOR = 0xa4
237 DLT_JUNIPER_PIC_PEER = 0xae
238 DLT_JUNIPER_PPP = 0xb3
239 DLT_JUNIPER_PPPOE = 0xa7
240 DLT_JUNIPER_PPPOE_ATM = 0xa8
241 DLT_JUNIPER_SERVICES = 0x88
242 DLT_JUNIPER_SRX_E2E = 0xe9
243 DLT_JUNIPER_ST = 0xc8
244 DLT_JUNIPER_VP = 0xb7
245 DLT_JUNIPER_VS = 0xe8
246 DLT_LAPB_WITH_DIR = 0xcf
247 DLT_LAPD = 0xcb
248 DLT_LIN = 0xd4
249 DLT_LINUX_EVDEV = 0xd8
250 DLT_LINUX_IRDA = 0x90
251 DLT_LINUX_LAPD = 0xb1
252 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
253 DLT_LINUX_SLL = 0x71
254 DLT_LOOP = 0x6c
255 DLT_LTALK = 0x72
256 DLT_MATCHING_MAX = 0xf5
257 DLT_MATCHING_MIN = 0x68
258 DLT_MFR = 0xb6
259 DLT_MOST = 0xd3
260 DLT_MPEG_2_TS = 0xf3
261 DLT_MPLS = 0xdb
262 DLT_MTP2 = 0x8c
263 DLT_MTP2_WITH_PHDR = 0x8b
264 DLT_MTP3 = 0x8d
265 DLT_MUX27010 = 0xec
266 DLT_NETANALYZER = 0xf0
267 DLT_NETANALYZER_TRANSPARENT = 0xf1
268 DLT_NFC_LLCP = 0xf5
269 DLT_NFLOG = 0xef
270 DLT_NG40 = 0xf4
271 DLT_NULL = 0x0
272 DLT_PCI_EXP = 0x7d
273 DLT_PFLOG = 0x75
274 DLT_PFSYNC = 0x12
275 DLT_PPI = 0xc0
276 DLT_PPP = 0x9
277 DLT_PPP_BSDOS = 0x10
278 DLT_PPP_ETHER = 0x33
279 DLT_PPP_PPPD = 0xa6
280 DLT_PPP_SERIAL = 0x32
281 DLT_PPP_WITH_DIR = 0xcc
282 DLT_PPP_WITH_DIRECTION = 0xa6
283 DLT_PRISM_HEADER = 0x77
284 DLT_PRONET = 0x4
285 DLT_RAIF1 = 0xc6
286 DLT_RAW = 0xc
287 DLT_RIO = 0x7c
288 DLT_SCCP = 0x8e
289 DLT_SITA = 0xc4
290 DLT_SLIP = 0x8
291 DLT_SLIP_BSDOS = 0xf
292 DLT_STANAG_5066_D_PDU = 0xed
293 DLT_SUNATM = 0x7b
294 DLT_SYMANTEC_FIREWALL = 0x63
295 DLT_TZSP = 0x80
296 DLT_USB = 0xba
297 DLT_USB_LINUX = 0xbd
298 DLT_USB_LINUX_MMAPPED = 0xdc
299 DLT_USER0 = 0x93
300 DLT_USER1 = 0x94
301 DLT_USER10 = 0x9d
302 DLT_USER11 = 0x9e
303 DLT_USER12 = 0x9f
304 DLT_USER13 = 0xa0
305 DLT_USER14 = 0xa1
306 DLT_USER15 = 0xa2
307 DLT_USER2 = 0x95
308 DLT_USER3 = 0x96
309 DLT_USER4 = 0x97
310 DLT_USER5 = 0x98
311 DLT_USER6 = 0x99
312 DLT_USER7 = 0x9a
313 DLT_USER8 = 0x9b
314 DLT_USER9 = 0x9c
315 DLT_WIHART = 0xdf
316 DLT_X2E_SERIAL = 0xd5
317 DLT_X2E_XORAYA = 0xd6
318 DT_BLK = 0x6
319 DT_CHR = 0x2
320 DT_DIR = 0x4
321 DT_FIFO = 0x1
322 DT_LNK = 0xa
323 DT_REG = 0x8
324 DT_SOCK = 0xc
325 DT_UNKNOWN = 0x0
326 DT_WHT = 0xe
327 ECHO = 0x8
328 ECHOCTL = 0x40
329 ECHOE = 0x2
330 ECHOK = 0x4
331 ECHOKE = 0x1
332 ECHONL = 0x10
333 ECHOPRT = 0x20
334 EVFILT_AIO = -0x3
335 EVFILT_FS = -0x9
336 EVFILT_MACHPORT = -0x8
337 EVFILT_PROC = -0x5
338 EVFILT_READ = -0x1
339 EVFILT_SIGNAL = -0x6
340 EVFILT_SYSCOUNT = 0xe
341 EVFILT_THREADMARKER = 0xe
342 EVFILT_TIMER = -0x7
343 EVFILT_USER = -0xa
344 EVFILT_VM = -0xc
345 EVFILT_VNODE = -0x4
346 EVFILT_WRITE = -0x2
347 EV_ADD = 0x1
348 EV_CLEAR = 0x20
349 EV_DELETE = 0x2
350 EV_DISABLE = 0x8
351 EV_DISPATCH = 0x80
352 EV_ENABLE = 0x4
353 EV_EOF = 0x8000
354 EV_ERROR = 0x4000
355 EV_FLAG0 = 0x1000
356 EV_FLAG1 = 0x2000
357 EV_ONESHOT = 0x10
358 EV_OOBAND = 0x2000
359 EV_POLL = 0x1000
360 EV_RECEIPT = 0x40
361 EV_SYSFLAGS = 0xf000
362 EXTA = 0x4b00
363 EXTB = 0x9600
364 EXTPROC = 0x800
365 FD_CLOEXEC = 0x1
366 FD_SETSIZE = 0x400
367 FLUSHO = 0x800000
368 F_ADDFILESIGS = 0x3d
369 F_ADDSIGS = 0x3b
370 F_ALLOCATEALL = 0x4
371 F_ALLOCATECONTIG = 0x2
372 F_CHKCLEAN = 0x29
373 F_DUPFD = 0x0
374 F_DUPFD_CLOEXEC = 0x43
375 F_FINDSIGS = 0x4e
376 F_FLUSH_DATA = 0x28
377 F_FREEZE_FS = 0x35
378 F_FULLFSYNC = 0x33
379 F_GETCODEDIR = 0x48
380 F_GETFD = 0x1
381 F_GETFL = 0x3
382 F_GETLK = 0x7
383 F_GETLKPID = 0x42
384 F_GETNOSIGPIPE = 0x4a
385 F_GETOWN = 0x5
386 F_GETPATH = 0x32
387 F_GETPATH_MTMINFO = 0x47
388 F_GETPROTECTIONCLASS = 0x3f
389 F_GETPROTECTIONLEVEL = 0x4d
390 F_GLOBAL_NOCACHE = 0x37
391 F_LOG2PHYS = 0x31
392 F_LOG2PHYS_EXT = 0x41
393 F_NOCACHE = 0x30
394 F_NODIRECT = 0x3e
395 F_OK = 0x0
396 F_PATHPKG_CHECK = 0x34
397 F_PEOFPOSMODE = 0x3
398 F_PREALLOCATE = 0x2a
399 F_RDADVISE = 0x2c
400 F_RDAHEAD = 0x2d
401 F_RDLCK = 0x1
402 F_SETBACKINGSTORE = 0x46
403 F_SETFD = 0x2
404 F_SETFL = 0x4
405 F_SETLK = 0x8
406 F_SETLKW = 0x9
407 F_SETLKWTIMEOUT = 0xa
408 F_SETNOSIGPIPE = 0x49
409 F_SETOWN = 0x6
410 F_SETPROTECTIONCLASS = 0x40
411 F_SETSIZE = 0x2b
412 F_SINGLE_WRITER = 0x4c
413 F_THAW_FS = 0x36
414 F_TRANSCODEKEY = 0x4b
415 F_UNLCK = 0x2
416 F_VOLPOSMODE = 0x4
417 F_WRLCK = 0x3
418 HUPCL = 0x4000
419 ICANON = 0x100
420 ICMP6_FILTER = 0x12
421 ICRNL = 0x100
422 IEXTEN = 0x400
423 IFF_ALLMULTI = 0x200
424 IFF_ALTPHYS = 0x4000
425 IFF_BROADCAST = 0x2
426 IFF_DEBUG = 0x4
427 IFF_LINK0 = 0x1000
428 IFF_LINK1 = 0x2000
429 IFF_LINK2 = 0x4000
430 IFF_LOOPBACK = 0x8
431 IFF_MULTICAST = 0x8000
432 IFF_NOARP = 0x80
433 IFF_NOTRAILERS = 0x20
434 IFF_OACTIVE = 0x400
435 IFF_POINTOPOINT = 0x10
436 IFF_PROMISC = 0x100
437 IFF_RUNNING = 0x40
438 IFF_SIMPLEX = 0x800
439 IFF_UP = 0x1
440 IFNAMSIZ = 0x10
441 IFT_1822 = 0x2
442 IFT_AAL5 = 0x31
443 IFT_ARCNET = 0x23
444 IFT_ARCNETPLUS = 0x24
445 IFT_ATM = 0x25
446 IFT_BRIDGE = 0xd1
447 IFT_CARP = 0xf8
448 IFT_CELLULAR = 0xff
449 IFT_CEPT = 0x13
450 IFT_DS3 = 0x1e
451 IFT_ENC = 0xf4
452 IFT_EON = 0x19
453 IFT_ETHER = 0x6
454 IFT_FAITH = 0x38
455 IFT_FDDI = 0xf
456 IFT_FRELAY = 0x20
457 IFT_FRELAYDCE = 0x2c
458 IFT_GIF = 0x37
459 IFT_HDH1822 = 0x3
460 IFT_HIPPI = 0x2f
461 IFT_HSSI = 0x2e
462 IFT_HY = 0xe
463 IFT_IEEE1394 = 0x90
464 IFT_IEEE8023ADLAG = 0x88
465 IFT_ISDNBASIC = 0x14
466 IFT_ISDNPRIMARY = 0x15
467 IFT_ISO88022LLC = 0x29
468 IFT_ISO88023 = 0x7
469 IFT_ISO88024 = 0x8
470 IFT_ISO88025 = 0x9
471 IFT_ISO88026 = 0xa
472 IFT_L2VLAN = 0x87
473 IFT_LAPB = 0x10
474 IFT_LOCALTALK = 0x2a
475 IFT_LOOP = 0x18
476 IFT_MIOX25 = 0x26
477 IFT_MODEM = 0x30
478 IFT_NSIP = 0x1b
479 IFT_OTHER = 0x1
480 IFT_P10 = 0xc
481 IFT_P80 = 0xd
482 IFT_PARA = 0x22
483 IFT_PDP = 0xff
484 IFT_PFLOG = 0xf5
485 IFT_PFSYNC = 0xf6
486 IFT_PKTAP = 0xfe
487 IFT_PPP = 0x17
488 IFT_PROPMUX = 0x36
489 IFT_PROPVIRTUAL = 0x35
490 IFT_PTPSERIAL = 0x16
491 IFT_RS232 = 0x21
492 IFT_SDLC = 0x11
493 IFT_SIP = 0x1f
494 IFT_SLIP = 0x1c
495 IFT_SMDSDXI = 0x2b
496 IFT_SMDSICIP = 0x34
497 IFT_SONET = 0x27
498 IFT_SONETPATH = 0x32
499 IFT_SONETVT = 0x33
500 IFT_STARLAN = 0xb
501 IFT_STF = 0x39
502 IFT_T1 = 0x12
503 IFT_ULTRA = 0x1d
504 IFT_V35 = 0x2d
505 IFT_X25 = 0x5
506 IFT_X25DDN = 0x4
507 IFT_X25PLE = 0x28
508 IFT_XETHER = 0x1a
509 IGNBRK = 0x1
510 IGNCR = 0x80
511 IGNPAR = 0x4
512 IMAXBEL = 0x2000
513 INLCR = 0x40
514 INPCK = 0x10
515 IN_CLASSA_HOST = 0xffffff
516 IN_CLASSA_MAX = 0x80
517 IN_CLASSA_NET = 0xff000000
518 IN_CLASSA_NSHIFT = 0x18
519 IN_CLASSB_HOST = 0xffff
520 IN_CLASSB_MAX = 0x10000
521 IN_CLASSB_NET = 0xffff0000
522 IN_CLASSB_NSHIFT = 0x10
523 IN_CLASSC_HOST = 0xff
524 IN_CLASSC_NET = 0xffffff00
525 IN_CLASSC_NSHIFT = 0x8
526 IN_CLASSD_HOST = 0xfffffff
527 IN_CLASSD_NET = 0xf0000000
528 IN_CLASSD_NSHIFT = 0x1c
529 IN_LINKLOCALNETNUM = 0xa9fe0000
530 IN_LOOPBACKNET = 0x7f
531 IPPROTO_3PC = 0x22
532 IPPROTO_ADFS = 0x44
533 IPPROTO_AH = 0x33
534 IPPROTO_AHIP = 0x3d
535 IPPROTO_APES = 0x63
536 IPPROTO_ARGUS = 0xd
537 IPPROTO_AX25 = 0x5d
538 IPPROTO_BHA = 0x31
539 IPPROTO_BLT = 0x1e
540 IPPROTO_BRSATMON = 0x4c
541 IPPROTO_CFTP = 0x3e
542 IPPROTO_CHAOS = 0x10
543 IPPROTO_CMTP = 0x26
544 IPPROTO_CPHB = 0x49
545 IPPROTO_CPNX = 0x48
546 IPPROTO_DDP = 0x25
547 IPPROTO_DGP = 0x56
548 IPPROTO_DIVERT = 0xfe
549 IPPROTO_DONE = 0x101
550 IPPROTO_DSTOPTS = 0x3c
551 IPPROTO_EGP = 0x8
552 IPPROTO_EMCON = 0xe
553 IPPROTO_ENCAP = 0x62
554 IPPROTO_EON = 0x50
555 IPPROTO_ESP = 0x32
556 IPPROTO_ETHERIP = 0x61
557 IPPROTO_FRAGMENT = 0x2c
558 IPPROTO_GGP = 0x3
559 IPPROTO_GMTP = 0x64
560 IPPROTO_GRE = 0x2f
561 IPPROTO_HELLO = 0x3f
562 IPPROTO_HMP = 0x14
563 IPPROTO_HOPOPTS = 0x0
564 IPPROTO_ICMP = 0x1
565 IPPROTO_ICMPV6 = 0x3a
566 IPPROTO_IDP = 0x16
567 IPPROTO_IDPR = 0x23
568 IPPROTO_IDRP = 0x2d
569 IPPROTO_IGMP = 0x2
570 IPPROTO_IGP = 0x55
571 IPPROTO_IGRP = 0x58
572 IPPROTO_IL = 0x28
573 IPPROTO_INLSP = 0x34
574 IPPROTO_INP = 0x20
575 IPPROTO_IP = 0x0
576 IPPROTO_IPCOMP = 0x6c
577 IPPROTO_IPCV = 0x47
578 IPPROTO_IPEIP = 0x5e
579 IPPROTO_IPIP = 0x4
580 IPPROTO_IPPC = 0x43
581 IPPROTO_IPV4 = 0x4
582 IPPROTO_IPV6 = 0x29
583 IPPROTO_IRTP = 0x1c
584 IPPROTO_KRYPTOLAN = 0x41
585 IPPROTO_LARP = 0x5b
586 IPPROTO_LEAF1 = 0x19
587 IPPROTO_LEAF2 = 0x1a
588 IPPROTO_MAX = 0x100
589 IPPROTO_MAXID = 0x34
590 IPPROTO_MEAS = 0x13
591 IPPROTO_MHRP = 0x30
592 IPPROTO_MICP = 0x5f
593 IPPROTO_MTP = 0x5c
594 IPPROTO_MUX = 0x12
595 IPPROTO_ND = 0x4d
596 IPPROTO_NHRP = 0x36
597 IPPROTO_NONE = 0x3b
598 IPPROTO_NSP = 0x1f
599 IPPROTO_NVPII = 0xb
600 IPPROTO_OSPFIGP = 0x59
601 IPPROTO_PGM = 0x71
602 IPPROTO_PIGP = 0x9
603 IPPROTO_PIM = 0x67
604 IPPROTO_PRM = 0x15
605 IPPROTO_PUP = 0xc
606 IPPROTO_PVP = 0x4b
607 IPPROTO_RAW = 0xff
608 IPPROTO_RCCMON = 0xa
609 IPPROTO_RDP = 0x1b
610 IPPROTO_ROUTING = 0x2b
611 IPPROTO_RSVP = 0x2e
612 IPPROTO_RVD = 0x42
613 IPPROTO_SATEXPAK = 0x40
614 IPPROTO_SATMON = 0x45
615 IPPROTO_SCCSP = 0x60
616 IPPROTO_SCTP = 0x84
617 IPPROTO_SDRP = 0x2a
618 IPPROTO_SEP = 0x21
619 IPPROTO_SRPC = 0x5a
620 IPPROTO_ST = 0x7
621 IPPROTO_SVMTP = 0x52
622 IPPROTO_SWIPE = 0x35
623 IPPROTO_TCF = 0x57
624 IPPROTO_TCP = 0x6
625 IPPROTO_TP = 0x1d
626 IPPROTO_TPXX = 0x27
627 IPPROTO_TRUNK1 = 0x17
628 IPPROTO_TRUNK2 = 0x18
629 IPPROTO_TTP = 0x54
630 IPPROTO_UDP = 0x11
631 IPPROTO_VINES = 0x53
632 IPPROTO_VISA = 0x46
633 IPPROTO_VMTP = 0x51
634 IPPROTO_WBEXPAK = 0x4f
635 IPPROTO_WBMON = 0x4e
636 IPPROTO_WSN = 0x4a
637 IPPROTO_XNET = 0xf
638 IPPROTO_XTP = 0x24
639 IPV6_2292DSTOPTS = 0x17
640 IPV6_2292HOPLIMIT = 0x14
641 IPV6_2292HOPOPTS = 0x16
642 IPV6_2292NEXTHOP = 0x15
643 IPV6_2292PKTINFO = 0x13
644 IPV6_2292PKTOPTIONS = 0x19
645 IPV6_2292RTHDR = 0x18
646 IPV6_BINDV6ONLY = 0x1b
647 IPV6_BOUND_IF = 0x7d
648 IPV6_CHECKSUM = 0x1a
649 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
650 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
651 IPV6_DEFHLIM = 0x40
652 IPV6_FAITH = 0x1d
653 IPV6_FLOWINFO_MASK = 0xffffff0f
654 IPV6_FLOWLABEL_MASK = 0xffff0f00
655 IPV6_FRAGTTL = 0x3c
656 IPV6_FW_ADD = 0x1e
657 IPV6_FW_DEL = 0x1f
658 IPV6_FW_FLUSH = 0x20
659 IPV6_FW_GET = 0x22
660 IPV6_FW_ZERO = 0x21
661 IPV6_HLIMDEC = 0x1
662 IPV6_IPSEC_POLICY = 0x1c
663 IPV6_JOIN_GROUP = 0xc
664 IPV6_LEAVE_GROUP = 0xd
665 IPV6_MAXHLIM = 0xff
666 IPV6_MAXOPTHDR = 0x800
667 IPV6_MAXPACKET = 0xffff
668 IPV6_MAX_GROUP_SRC_FILTER = 0x200
669 IPV6_MAX_MEMBERSHIPS = 0xfff
670 IPV6_MAX_SOCK_SRC_FILTER = 0x80
671 IPV6_MIN_MEMBERSHIPS = 0x1f
672 IPV6_MMTU = 0x500
673 IPV6_MULTICAST_HOPS = 0xa
674 IPV6_MULTICAST_IF = 0x9
675 IPV6_MULTICAST_LOOP = 0xb
676 IPV6_PORTRANGE = 0xe
677 IPV6_PORTRANGE_DEFAULT = 0x0
678 IPV6_PORTRANGE_HIGH = 0x1
679 IPV6_PORTRANGE_LOW = 0x2
680 IPV6_RECVTCLASS = 0x23
681 IPV6_RTHDR_LOOSE = 0x0
682 IPV6_RTHDR_STRICT = 0x1
683 IPV6_RTHDR_TYPE_0 = 0x0
684 IPV6_SOCKOPT_RESERVED1 = 0x3
685 IPV6_TCLASS = 0x24
686 IPV6_UNICAST_HOPS = 0x4
687 IPV6_V6ONLY = 0x1b
688 IPV6_VERSION = 0x60
689 IPV6_VERSION_MASK = 0xf0
690 IP_ADD_MEMBERSHIP = 0xc
691 IP_ADD_SOURCE_MEMBERSHIP = 0x46
692 IP_BLOCK_SOURCE = 0x48
693 IP_BOUND_IF = 0x19
694 IP_DEFAULT_MULTICAST_LOOP = 0x1
695 IP_DEFAULT_MULTICAST_TTL = 0x1
696 IP_DF = 0x4000
697 IP_DROP_MEMBERSHIP = 0xd
698 IP_DROP_SOURCE_MEMBERSHIP = 0x47
699 IP_DUMMYNET_CONFIGURE = 0x3c
700 IP_DUMMYNET_DEL = 0x3d
701 IP_DUMMYNET_FLUSH = 0x3e
702 IP_DUMMYNET_GET = 0x40
703 IP_FAITH = 0x16
704 IP_FW_ADD = 0x28
705 IP_FW_DEL = 0x29
706 IP_FW_FLUSH = 0x2a
707 IP_FW_GET = 0x2c
708 IP_FW_RESETLOG = 0x2d
709 IP_FW_ZERO = 0x2b
710 IP_HDRINCL = 0x2
711 IP_IPSEC_POLICY = 0x15
712 IP_MAXPACKET = 0xffff
713 IP_MAX_GROUP_SRC_FILTER = 0x200
714 IP_MAX_MEMBERSHIPS = 0xfff
715 IP_MAX_SOCK_MUTE_FILTER = 0x80
716 IP_MAX_SOCK_SRC_FILTER = 0x80
717 IP_MF = 0x2000
718 IP_MIN_MEMBERSHIPS = 0x1f
719 IP_MSFILTER = 0x4a
720 IP_MSS = 0x240
721 IP_MULTICAST_IF = 0x9
722 IP_MULTICAST_IFINDEX = 0x42
723 IP_MULTICAST_LOOP = 0xb
724 IP_MULTICAST_TTL = 0xa
725 IP_MULTICAST_VIF = 0xe
726 IP_NAT__XXX = 0x37
727 IP_OFFMASK = 0x1fff
728 IP_OLD_FW_ADD = 0x32
729 IP_OLD_FW_DEL = 0x33
730 IP_OLD_FW_FLUSH = 0x34
731 IP_OLD_FW_GET = 0x36
732 IP_OLD_FW_RESETLOG = 0x38
733 IP_OLD_FW_ZERO = 0x35
734 IP_OPTIONS = 0x1
735 IP_PKTINFO = 0x1a
736 IP_PORTRANGE = 0x13
737 IP_PORTRANGE_DEFAULT = 0x0
738 IP_PORTRANGE_HIGH = 0x1
739 IP_PORTRANGE_LOW = 0x2
740 IP_RECVDSTADDR = 0x7
741 IP_RECVIF = 0x14
742 IP_RECVOPTS = 0x5
743 IP_RECVPKTINFO = 0x1a
744 IP_RECVRETOPTS = 0x6
745 IP_RECVTTL = 0x18
746 IP_RETOPTS = 0x8
747 IP_RF = 0x8000
748 IP_RSVP_OFF = 0x10
749 IP_RSVP_ON = 0xf
750 IP_RSVP_VIF_OFF = 0x12
751 IP_RSVP_VIF_ON = 0x11
752 IP_STRIPHDR = 0x17
753 IP_TOS = 0x3
754 IP_TRAFFIC_MGT_BACKGROUND = 0x41
755 IP_TTL = 0x4
756 IP_UNBLOCK_SOURCE = 0x49
757 ISIG = 0x80
758 ISTRIP = 0x20
759 IUTF8 = 0x4000
760 IXANY = 0x800
761 IXOFF = 0x400
762 IXON = 0x200
763 LOCK_EX = 0x2
764 LOCK_NB = 0x4
765 LOCK_SH = 0x1
766 LOCK_UN = 0x8
767 MADV_CAN_REUSE = 0x9
768 MADV_DONTNEED = 0x4
769 MADV_FREE = 0x5
770 MADV_FREE_REUSABLE = 0x7
771 MADV_FREE_REUSE = 0x8
772 MADV_NORMAL = 0x0
773 MADV_RANDOM = 0x1
774 MADV_SEQUENTIAL = 0x2
775 MADV_WILLNEED = 0x3
776 MADV_ZERO_WIRED_PAGES = 0x6
777 MAP_ANON = 0x1000
778 MAP_COPY = 0x2
779 MAP_FILE = 0x0
780 MAP_FIXED = 0x10
781 MAP_HASSEMAPHORE = 0x200
782 MAP_JIT = 0x800
783 MAP_NOCACHE = 0x400
784 MAP_NOEXTEND = 0x100
785 MAP_NORESERVE = 0x40
786 MAP_PRIVATE = 0x2
787 MAP_RENAME = 0x20
788 MAP_RESERVED0080 = 0x80
789 MAP_SHARED = 0x1
790 MCL_CURRENT = 0x1
791 MCL_FUTURE = 0x2
792 MSG_CTRUNC = 0x20
793 MSG_DONTROUTE = 0x4
794 MSG_DONTWAIT = 0x80
795 MSG_EOF = 0x100
796 MSG_EOR = 0x8
797 MSG_FLUSH = 0x400
798 MSG_HAVEMORE = 0x2000
799 MSG_HOLD = 0x800
800 MSG_NEEDSA = 0x10000
801 MSG_OOB = 0x1
802 MSG_PEEK = 0x2
803 MSG_RCVMORE = 0x4000
804 MSG_SEND = 0x1000
805 MSG_TRUNC = 0x10
806 MSG_WAITALL = 0x40
807 MSG_WAITSTREAM = 0x200
808 MS_ASYNC = 0x1
809 MS_DEACTIVATE = 0x8
810 MS_INVALIDATE = 0x2
811 MS_KILLPAGES = 0x4
812 MS_SYNC = 0x10
813 NAME_MAX = 0xff
814 NET_RT_DUMP = 0x1
815 NET_RT_DUMP2 = 0x7
816 NET_RT_FLAGS = 0x2
817 NET_RT_IFLIST = 0x3
818 NET_RT_IFLIST2 = 0x6
819 NET_RT_MAXID = 0xa
820 NET_RT_STAT = 0x4
821 NET_RT_TRASH = 0x5
822 NOFLSH = 0x80000000
823 NOTE_ABSOLUTE = 0x8
824 NOTE_ATTRIB = 0x8
825 NOTE_BACKGROUND = 0x40
826 NOTE_CHILD = 0x4
827 NOTE_CRITICAL = 0x20
828 NOTE_DELETE = 0x1
829 NOTE_EXEC = 0x20000000
830 NOTE_EXIT = 0x80000000
831 NOTE_EXITSTATUS = 0x4000000
832 NOTE_EXIT_CSERROR = 0x40000
833 NOTE_EXIT_DECRYPTFAIL = 0x10000
834 NOTE_EXIT_DETAIL = 0x2000000
835 NOTE_EXIT_DETAIL_MASK = 0x70000
836 NOTE_EXIT_MEMORY = 0x20000
837 NOTE_EXIT_REPARENTED = 0x80000
838 NOTE_EXTEND = 0x4
839 NOTE_FFAND = 0x40000000
840 NOTE_FFCOPY = 0xc0000000
841 NOTE_FFCTRLMASK = 0xc0000000
842 NOTE_FFLAGSMASK = 0xffffff
843 NOTE_FFNOP = 0x0
844 NOTE_FFOR = 0x80000000
845 NOTE_FORK = 0x40000000
846 NOTE_LEEWAY = 0x10
847 NOTE_LINK = 0x10
848 NOTE_LOWAT = 0x1
849 NOTE_NONE = 0x80
850 NOTE_NSECONDS = 0x4
851 NOTE_PCTRLMASK = -0x100000
852 NOTE_PDATAMASK = 0xfffff
853 NOTE_REAP = 0x10000000
854 NOTE_RENAME = 0x20
855 NOTE_REVOKE = 0x40
856 NOTE_SECONDS = 0x1
857 NOTE_SIGNAL = 0x8000000
858 NOTE_TRACK = 0x1
859 NOTE_TRACKERR = 0x2
860 NOTE_TRIGGER = 0x1000000
861 NOTE_USECONDS = 0x2
862 NOTE_VM_ERROR = 0x10000000
863 NOTE_VM_PRESSURE = 0x80000000
864 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
865 NOTE_VM_PRESSURE_TERMINATE = 0x40000000
866 NOTE_WRITE = 0x2
867 OCRNL = 0x10
868 OFDEL = 0x20000
869 OFILL = 0x80
870 ONLCR = 0x2
871 ONLRET = 0x40
872 ONOCR = 0x20
873 ONOEOT = 0x8
874 OPOST = 0x1
875 O_ACCMODE = 0x3
876 O_ALERT = 0x20000000
877 O_APPEND = 0x8
878 O_ASYNC = 0x40
879 O_CLOEXEC = 0x1000000
880 O_CREAT = 0x200
881 O_DIRECTORY = 0x100000
882 O_DP_GETRAWENCRYPTED = 0x1
883 O_DSYNC = 0x400000
884 O_EVTONLY = 0x8000
885 O_EXCL = 0x800
886 O_EXLOCK = 0x20
887 O_FSYNC = 0x80
888 O_NDELAY = 0x4
889 O_NOCTTY = 0x20000
890 O_NOFOLLOW = 0x100
891 O_NONBLOCK = 0x4
892 O_POPUP = 0x80000000
893 O_RDONLY = 0x0
894 O_RDWR = 0x2
895 O_SHLOCK = 0x10
896 O_SYMLINK = 0x200000
897 O_SYNC = 0x80
898 O_TRUNC = 0x400
899 O_WRONLY = 0x1
900 PARENB = 0x1000
901 PARMRK = 0x8
902 PARODD = 0x2000
903 PENDIN = 0x20000000
904 PRIO_PGRP = 0x1
905 PRIO_PROCESS = 0x0
906 PRIO_USER = 0x2
907 PROT_EXEC = 0x4
908 PROT_NONE = 0x0
909 PROT_READ = 0x1
910 PROT_WRITE = 0x2
911 PT_ATTACH = 0xa
912 PT_ATTACHEXC = 0xe
913 PT_CONTINUE = 0x7
914 PT_DENY_ATTACH = 0x1f
915 PT_DETACH = 0xb
916 PT_FIRSTMACH = 0x20
917 PT_FORCEQUOTA = 0x1e
918 PT_KILL = 0x8
919 PT_READ_D = 0x2
920 PT_READ_I = 0x1
921 PT_READ_U = 0x3
922 PT_SIGEXC = 0xc
923 PT_STEP = 0x9
924 PT_THUPDATE = 0xd
925 PT_TRACE_ME = 0x0
926 PT_WRITE_D = 0x5
927 PT_WRITE_I = 0x4
928 PT_WRITE_U = 0x6
929 RLIMIT_AS = 0x5
930 RLIMIT_CORE = 0x4
931 RLIMIT_CPU = 0x0
932 RLIMIT_CPU_USAGE_MONITOR = 0x2
933 RLIMIT_DATA = 0x2
934 RLIMIT_FSIZE = 0x1
935 RLIMIT_NOFILE = 0x8
936 RLIMIT_STACK = 0x3
937 RLIM_INFINITY = 0x7fffffffffffffff
938 RTAX_AUTHOR = 0x6
939 RTAX_BRD = 0x7
940 RTAX_DST = 0x0
941 RTAX_GATEWAY = 0x1
942 RTAX_GENMASK = 0x3
943 RTAX_IFA = 0x5
944 RTAX_IFP = 0x4
945 RTAX_MAX = 0x8
946 RTAX_NETMASK = 0x2
947 RTA_AUTHOR = 0x40
948 RTA_BRD = 0x80
949 RTA_DST = 0x1
950 RTA_GATEWAY = 0x2
951 RTA_GENMASK = 0x8
952 RTA_IFA = 0x20
953 RTA_IFP = 0x10
954 RTA_NETMASK = 0x4
955 RTF_BLACKHOLE = 0x1000
956 RTF_BROADCAST = 0x400000
957 RTF_CLONING = 0x100
958 RTF_CONDEMNED = 0x2000000
959 RTF_DELCLONE = 0x80
960 RTF_DONE = 0x40
961 RTF_DYNAMIC = 0x10
962 RTF_GATEWAY = 0x2
963 RTF_HOST = 0x4
964 RTF_IFREF = 0x4000000
965 RTF_IFSCOPE = 0x1000000
966 RTF_LLINFO = 0x400
967 RTF_LOCAL = 0x200000
968 RTF_MODIFIED = 0x20
969 RTF_MULTICAST = 0x800000
970 RTF_NOIFREF = 0x2000
971 RTF_PINNED = 0x100000
972 RTF_PRCLONING = 0x10000
973 RTF_PROTO1 = 0x8000
974 RTF_PROTO2 = 0x4000
975 RTF_PROTO3 = 0x40000
976 RTF_PROXY = 0x8000000
977 RTF_REJECT = 0x8
978 RTF_ROUTER = 0x10000000
979 RTF_STATIC = 0x800
980 RTF_UP = 0x1
981 RTF_WASCLONED = 0x20000
982 RTF_XRESOLVE = 0x200
983 RTM_ADD = 0x1
984 RTM_CHANGE = 0x3
985 RTM_DELADDR = 0xd
986 RTM_DELETE = 0x2
987 RTM_DELMADDR = 0x10
988 RTM_GET = 0x4
989 RTM_GET2 = 0x14
990 RTM_IFINFO = 0xe
991 RTM_IFINFO2 = 0x12
992 RTM_LOCK = 0x8
993 RTM_LOSING = 0x5
994 RTM_MISS = 0x7
995 RTM_NEWADDR = 0xc
996 RTM_NEWMADDR = 0xf
997 RTM_NEWMADDR2 = 0x13
998 RTM_OLDADD = 0x9
999 RTM_OLDDEL = 0xa
1000 RTM_REDIRECT = 0x6
1001 RTM_RESOLVE = 0xb
1002 RTM_RTTUNIT = 0xf4240
1003 RTM_VERSION = 0x5
1004 RTV_EXPIRE = 0x4
1005 RTV_HOPCOUNT = 0x2
1006 RTV_MTU = 0x1
1007 RTV_RPIPE = 0x8
1008 RTV_RTT = 0x40
1009 RTV_RTTVAR = 0x80
1010 RTV_SPIPE = 0x10
1011 RTV_SSTHRESH = 0x20
1012 RUSAGE_CHILDREN = -0x1
1013 RUSAGE_SELF = 0x0
1014 SCM_CREDS = 0x3
1015 SCM_RIGHTS = 0x1
1016 SCM_TIMESTAMP = 0x2
1017 SCM_TIMESTAMP_MONOTONIC = 0x4
1018 SHUT_RD = 0x0
1019 SHUT_RDWR = 0x2
1020 SHUT_WR = 0x1
1021 SIOCADDMULTI = 0x80206931
1022 SIOCAIFADDR = 0x8040691a
1023 SIOCARPIPLL = 0xc0206928
1024 SIOCATMARK = 0x40047307
1025 SIOCAUTOADDR = 0xc0206926
1026 SIOCAUTONETMASK = 0x80206927
1027 SIOCDELMULTI = 0x80206932
1028 SIOCDIFADDR = 0x80206919
1029 SIOCDIFPHYADDR = 0x80206941
1030 SIOCGDRVSPEC = 0xc01c697b
1031 SIOCGETVLAN = 0xc020697f
1032 SIOCGHIWAT = 0x40047301
1033 SIOCGIFADDR = 0xc0206921
1034 SIOCGIFALTMTU = 0xc0206948
1035 SIOCGIFASYNCMAP = 0xc020697c
1036 SIOCGIFBOND = 0xc0206947
1037 SIOCGIFBRDADDR = 0xc0206923
1038 SIOCGIFCAP = 0xc020695b
1039 SIOCGIFCONF = 0xc0086924
1040 SIOCGIFDEVMTU = 0xc0206944
1041 SIOCGIFDSTADDR = 0xc0206922
1042 SIOCGIFFLAGS = 0xc0206911
1043 SIOCGIFGENERIC = 0xc020693a
1044 SIOCGIFKPI = 0xc0206987
1045 SIOCGIFMAC = 0xc0206982
1046 SIOCGIFMEDIA = 0xc0286938
1047 SIOCGIFMETRIC = 0xc0206917
1048 SIOCGIFMTU = 0xc0206933
1049 SIOCGIFNETMASK = 0xc0206925
1050 SIOCGIFPDSTADDR = 0xc0206940
1051 SIOCGIFPHYS = 0xc0206935
1052 SIOCGIFPSRCADDR = 0xc020693f
1053 SIOCGIFSTATUS = 0xc331693d
1054 SIOCGIFVLAN = 0xc020697f
1055 SIOCGIFWAKEFLAGS = 0xc0206988
1056 SIOCGLOWAT = 0x40047303
1057 SIOCGPGRP = 0x40047309
1058 SIOCIFCREATE = 0xc0206978
1059 SIOCIFCREATE2 = 0xc020697a
1060 SIOCIFDESTROY = 0x80206979
1061 SIOCIFGCLONERS = 0xc00c6981
1062 SIOCRSLVMULTI = 0xc008693b
1063 SIOCSDRVSPEC = 0x801c697b
1064 SIOCSETVLAN = 0x8020697e
1065 SIOCSHIWAT = 0x80047300
1066 SIOCSIFADDR = 0x8020690c
1067 SIOCSIFALTMTU = 0x80206945
1068 SIOCSIFASYNCMAP = 0x8020697d
1069 SIOCSIFBOND = 0x80206946
1070 SIOCSIFBRDADDR = 0x80206913
1071 SIOCSIFCAP = 0x8020695a
1072 SIOCSIFDSTADDR = 0x8020690e
1073 SIOCSIFFLAGS = 0x80206910
1074 SIOCSIFGENERIC = 0x80206939
1075 SIOCSIFKPI = 0x80206986
1076 SIOCSIFLLADDR = 0x8020693c
1077 SIOCSIFMAC = 0x80206983
1078 SIOCSIFMEDIA = 0xc0206937
1079 SIOCSIFMETRIC = 0x80206918
1080 SIOCSIFMTU = 0x80206934
1081 SIOCSIFNETMASK = 0x80206916
1082 SIOCSIFPHYADDR = 0x8040693e
1083 SIOCSIFPHYS = 0x80206936
1084 SIOCSIFVLAN = 0x8020697e
1085 SIOCSLOWAT = 0x80047302
1086 SIOCSPGRP = 0x80047308
1087 SOCK_DGRAM = 0x2
1088 SOCK_MAXADDRLEN = 0xff
1089 SOCK_RAW = 0x3
1090 SOCK_RDM = 0x4
1091 SOCK_SEQPACKET = 0x5
1092 SOCK_STREAM = 0x1
1093 SOL_SOCKET = 0xffff
1094 SOMAXCONN = 0x80
1095 SO_ACCEPTCONN = 0x2
1096 SO_BROADCAST = 0x20
1097 SO_DEBUG = 0x1
1098 SO_DONTROUTE = 0x10
1099 SO_DONTTRUNC = 0x2000
1100 SO_ERROR = 0x1007
1101 SO_KEEPALIVE = 0x8
1102 SO_LABEL = 0x1010
1103 SO_LINGER = 0x80
1104 SO_LINGER_SEC = 0x1080
1105 SO_NKE = 0x1021
1106 SO_NOADDRERR = 0x1023
1107 SO_NOSIGPIPE = 0x1022
1108 SO_NOTIFYCONFLICT = 0x1026
1109 SO_NP_EXTENSIONS = 0x1083
1110 SO_NREAD = 0x1020
1111 SO_NUMRCVPKT = 0x1112
1112 SO_NWRITE = 0x1024
1113 SO_OOBINLINE = 0x100
1114 SO_PEERLABEL = 0x1011
1115 SO_RANDOMPORT = 0x1082
1116 SO_RCVBUF = 0x1002
1117 SO_RCVLOWAT = 0x1004
1118 SO_RCVTIMEO = 0x1006
1119 SO_REUSEADDR = 0x4
1120 SO_REUSEPORT = 0x200
1121 SO_REUSESHAREUID = 0x1025
1122 SO_SNDBUF = 0x1001
1123 SO_SNDLOWAT = 0x1003
1124 SO_SNDTIMEO = 0x1005
1125 SO_TIMESTAMP = 0x400
1126 SO_TIMESTAMP_MONOTONIC = 0x800
1127 SO_TYPE = 0x1008
1128 SO_UPCALLCLOSEWAIT = 0x1027
1129 SO_USELOOPBACK = 0x40
1130 SO_WANTMORE = 0x4000
1131 SO_WANTOOBFLAG = 0x8000
1132 S_IEXEC = 0x40
1133 S_IFBLK = 0x6000
1134 S_IFCHR = 0x2000
1135 S_IFDIR = 0x4000
1136 S_IFIFO = 0x1000
1137 S_IFLNK = 0xa000
1138 S_IFMT = 0xf000
1139 S_IFREG = 0x8000
1140 S_IFSOCK = 0xc000
1141 S_IFWHT = 0xe000
1142 S_IREAD = 0x100
1143 S_IRGRP = 0x20
1144 S_IROTH = 0x4
1145 S_IRUSR = 0x100
1146 S_IRWXG = 0x38
1147 S_IRWXO = 0x7
1148 S_IRWXU = 0x1c0
1149 S_ISGID = 0x400
1150 S_ISTXT = 0x200
1151 S_ISUID = 0x800
1152 S_ISVTX = 0x200
1153 S_IWGRP = 0x10
1154 S_IWOTH = 0x2
1155 S_IWRITE = 0x80
1156 S_IWUSR = 0x80
1157 S_IXGRP = 0x8
1158 S_IXOTH = 0x1
1159 S_IXUSR = 0x40
1160 TCIFLUSH = 0x1
1161 TCIOFLUSH = 0x3
1162 TCOFLUSH = 0x2
1163 TCP_CONNECTIONTIMEOUT = 0x20
1164 TCP_ENABLE_ECN = 0x104
1165 TCP_KEEPALIVE = 0x10
1166 TCP_KEEPCNT = 0x102
1167 TCP_KEEPINTVL = 0x101
1168 TCP_MAXHLEN = 0x3c
1169 TCP_MAXOLEN = 0x28
1170 TCP_MAXSEG = 0x2
1171 TCP_MAXWIN = 0xffff
1172 TCP_MAX_SACK = 0x4
1173 TCP_MAX_WINSHIFT = 0xe
1174 TCP_MINMSS = 0xd8
1175 TCP_MSS = 0x200
1176 TCP_NODELAY = 0x1
1177 TCP_NOOPT = 0x8
1178 TCP_NOPUSH = 0x4
1179 TCP_NOTSENT_LOWAT = 0x201
1180 TCP_RXT_CONNDROPTIME = 0x80
1181 TCP_RXT_FINDROP = 0x100
1182 TCP_SENDMOREACKS = 0x103
1183 TCSAFLUSH = 0x2
1184 TIOCCBRK = 0x2000747a
1185 TIOCCDTR = 0x20007478
1186 TIOCCONS = 0x80047462
1187 TIOCDCDTIMESTAMP = 0x40087458
1188 TIOCDRAIN = 0x2000745e
1189 TIOCDSIMICROCODE = 0x20007455
1190 TIOCEXCL = 0x2000740d
1191 TIOCEXT = 0x80047460
1192 TIOCFLUSH = 0x80047410
1193 TIOCGDRAINWAIT = 0x40047456
1194 TIOCGETA = 0x402c7413
1195 TIOCGETD = 0x4004741a
1196 TIOCGPGRP = 0x40047477
1197 TIOCGWINSZ = 0x40087468
1198 TIOCIXOFF = 0x20007480
1199 TIOCIXON = 0x20007481
1200 TIOCMBIC = 0x8004746b
1201 TIOCMBIS = 0x8004746c
1202 TIOCMGDTRWAIT = 0x4004745a
1203 TIOCMGET = 0x4004746a
1204 TIOCMODG = 0x40047403
1205 TIOCMODS = 0x80047404
1206 TIOCMSDTRWAIT = 0x8004745b
1207 TIOCMSET = 0x8004746d
1208 TIOCM_CAR = 0x40
1209 TIOCM_CD = 0x40
1210 TIOCM_CTS = 0x20
1211 TIOCM_DSR = 0x100
1212 TIOCM_DTR = 0x2
1213 TIOCM_LE = 0x1
1214 TIOCM_RI = 0x80
1215 TIOCM_RNG = 0x80
1216 TIOCM_RTS = 0x4
1217 TIOCM_SR = 0x10
1218 TIOCM_ST = 0x8
1219 TIOCNOTTY = 0x20007471
1220 TIOCNXCL = 0x2000740e
1221 TIOCOUTQ = 0x40047473
1222 TIOCPKT = 0x80047470
1223 TIOCPKT_DATA = 0x0
1224 TIOCPKT_DOSTOP = 0x20
1225 TIOCPKT_FLUSHREAD = 0x1
1226 TIOCPKT_FLUSHWRITE = 0x2
1227 TIOCPKT_IOCTL = 0x40
1228 TIOCPKT_NOSTOP = 0x10
1229 TIOCPKT_START = 0x8
1230 TIOCPKT_STOP = 0x4
1231 TIOCPTYGNAME = 0x40807453
1232 TIOCPTYGRANT = 0x20007454
1233 TIOCPTYUNLK = 0x20007452
1234 TIOCREMOTE = 0x80047469
1235 TIOCSBRK = 0x2000747b
1236 TIOCSCONS = 0x20007463
1237 TIOCSCTTY = 0x20007461
1238 TIOCSDRAINWAIT = 0x80047457
1239 TIOCSDTR = 0x20007479
1240 TIOCSETA = 0x802c7414
1241 TIOCSETAF = 0x802c7416
1242 TIOCSETAW = 0x802c7415
1243 TIOCSETD = 0x8004741b
1244 TIOCSIG = 0x2000745f
1245 TIOCSPGRP = 0x80047476
1246 TIOCSTART = 0x2000746e
1247 TIOCSTAT = 0x20007465
1248 TIOCSTI = 0x80017472
1249 TIOCSTOP = 0x2000746f
1250 TIOCSWINSZ = 0x80087467
1251 TIOCTIMESTAMP = 0x40087459
1252 TIOCUCNTL = 0x80047466
1253 TOSTOP = 0x400000
1254 VDISCARD = 0xf
1255 VDSUSP = 0xb
1256 VEOF = 0x0
1257 VEOL = 0x1
1258 VEOL2 = 0x2
1259 VERASE = 0x3
1260 VINTR = 0x8
1261 VKILL = 0x5
1262 VLNEXT = 0xe
1263 VMIN = 0x10
1264 VQUIT = 0x9
1265 VREPRINT = 0x6
1266 VSTART = 0xc
1267 VSTATUS = 0x12
1268 VSTOP = 0xd
1269 VSUSP = 0xa
1270 VT0 = 0x0
1271 VT1 = 0x10000
1272 VTDLY = 0x10000
1273 VTIME = 0x11
1274 VWERASE = 0x4
1275 WCONTINUED = 0x10
1276 WCOREFLAG = 0x80
1277 WEXITED = 0x4
1278 WNOHANG = 0x1
1279 WNOWAIT = 0x20
1280 WORDSIZE = 0x20
1281 WSTOPPED = 0x8
1282 WUNTRACED = 0x2
1283)
1284
1285// Errors
1286const (
1287 E2BIG = syscall.Errno(0x7)
1288 EACCES = syscall.Errno(0xd)
1289 EADDRINUSE = syscall.Errno(0x30)
1290 EADDRNOTAVAIL = syscall.Errno(0x31)
1291 EAFNOSUPPORT = syscall.Errno(0x2f)
1292 EAGAIN = syscall.Errno(0x23)
1293 EALREADY = syscall.Errno(0x25)
1294 EAUTH = syscall.Errno(0x50)
1295 EBADARCH = syscall.Errno(0x56)
1296 EBADEXEC = syscall.Errno(0x55)
1297 EBADF = syscall.Errno(0x9)
1298 EBADMACHO = syscall.Errno(0x58)
1299 EBADMSG = syscall.Errno(0x5e)
1300 EBADRPC = syscall.Errno(0x48)
1301 EBUSY = syscall.Errno(0x10)
1302 ECANCELED = syscall.Errno(0x59)
1303 ECHILD = syscall.Errno(0xa)
1304 ECONNABORTED = syscall.Errno(0x35)
1305 ECONNREFUSED = syscall.Errno(0x3d)
1306 ECONNRESET = syscall.Errno(0x36)
1307 EDEADLK = syscall.Errno(0xb)
1308 EDESTADDRREQ = syscall.Errno(0x27)
1309 EDEVERR = syscall.Errno(0x53)
1310 EDOM = syscall.Errno(0x21)
1311 EDQUOT = syscall.Errno(0x45)
1312 EEXIST = syscall.Errno(0x11)
1313 EFAULT = syscall.Errno(0xe)
1314 EFBIG = syscall.Errno(0x1b)
1315 EFTYPE = syscall.Errno(0x4f)
1316 EHOSTDOWN = syscall.Errno(0x40)
1317 EHOSTUNREACH = syscall.Errno(0x41)
1318 EIDRM = syscall.Errno(0x5a)
1319 EILSEQ = syscall.Errno(0x5c)
1320 EINPROGRESS = syscall.Errno(0x24)
1321 EINTR = syscall.Errno(0x4)
1322 EINVAL = syscall.Errno(0x16)
1323 EIO = syscall.Errno(0x5)
1324 EISCONN = syscall.Errno(0x38)
1325 EISDIR = syscall.Errno(0x15)
1326 ELAST = syscall.Errno(0x6a)
1327 ELOOP = syscall.Errno(0x3e)
1328 EMFILE = syscall.Errno(0x18)
1329 EMLINK = syscall.Errno(0x1f)
1330 EMSGSIZE = syscall.Errno(0x28)
1331 EMULTIHOP = syscall.Errno(0x5f)
1332 ENAMETOOLONG = syscall.Errno(0x3f)
1333 ENEEDAUTH = syscall.Errno(0x51)
1334 ENETDOWN = syscall.Errno(0x32)
1335 ENETRESET = syscall.Errno(0x34)
1336 ENETUNREACH = syscall.Errno(0x33)
1337 ENFILE = syscall.Errno(0x17)
1338 ENOATTR = syscall.Errno(0x5d)
1339 ENOBUFS = syscall.Errno(0x37)
1340 ENODATA = syscall.Errno(0x60)
1341 ENODEV = syscall.Errno(0x13)
1342 ENOENT = syscall.Errno(0x2)
1343 ENOEXEC = syscall.Errno(0x8)
1344 ENOLCK = syscall.Errno(0x4d)
1345 ENOLINK = syscall.Errno(0x61)
1346 ENOMEM = syscall.Errno(0xc)
1347 ENOMSG = syscall.Errno(0x5b)
1348 ENOPOLICY = syscall.Errno(0x67)
1349 ENOPROTOOPT = syscall.Errno(0x2a)
1350 ENOSPC = syscall.Errno(0x1c)
1351 ENOSR = syscall.Errno(0x62)
1352 ENOSTR = syscall.Errno(0x63)
1353 ENOSYS = syscall.Errno(0x4e)
1354 ENOTBLK = syscall.Errno(0xf)
1355 ENOTCONN = syscall.Errno(0x39)
1356 ENOTDIR = syscall.Errno(0x14)
1357 ENOTEMPTY = syscall.Errno(0x42)
1358 ENOTRECOVERABLE = syscall.Errno(0x68)
1359 ENOTSOCK = syscall.Errno(0x26)
1360 ENOTSUP = syscall.Errno(0x2d)
1361 ENOTTY = syscall.Errno(0x19)
1362 ENXIO = syscall.Errno(0x6)
1363 EOPNOTSUPP = syscall.Errno(0x66)
1364 EOVERFLOW = syscall.Errno(0x54)
1365 EOWNERDEAD = syscall.Errno(0x69)
1366 EPERM = syscall.Errno(0x1)
1367 EPFNOSUPPORT = syscall.Errno(0x2e)
1368 EPIPE = syscall.Errno(0x20)
1369 EPROCLIM = syscall.Errno(0x43)
1370 EPROCUNAVAIL = syscall.Errno(0x4c)
1371 EPROGMISMATCH = syscall.Errno(0x4b)
1372 EPROGUNAVAIL = syscall.Errno(0x4a)
1373 EPROTO = syscall.Errno(0x64)
1374 EPROTONOSUPPORT = syscall.Errno(0x2b)
1375 EPROTOTYPE = syscall.Errno(0x29)
1376 EPWROFF = syscall.Errno(0x52)
1377 EQFULL = syscall.Errno(0x6a)
1378 ERANGE = syscall.Errno(0x22)
1379 EREMOTE = syscall.Errno(0x47)
1380 EROFS = syscall.Errno(0x1e)
1381 ERPCMISMATCH = syscall.Errno(0x49)
1382 ESHLIBVERS = syscall.Errno(0x57)
1383 ESHUTDOWN = syscall.Errno(0x3a)
1384 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1385 ESPIPE = syscall.Errno(0x1d)
1386 ESRCH = syscall.Errno(0x3)
1387 ESTALE = syscall.Errno(0x46)
1388 ETIME = syscall.Errno(0x65)
1389 ETIMEDOUT = syscall.Errno(0x3c)
1390 ETOOMANYREFS = syscall.Errno(0x3b)
1391 ETXTBSY = syscall.Errno(0x1a)
1392 EUSERS = syscall.Errno(0x44)
1393 EWOULDBLOCK = syscall.Errno(0x23)
1394 EXDEV = syscall.Errno(0x12)
1395)
1396
1397// Signals
1398const (
1399 SIGABRT = syscall.Signal(0x6)
1400 SIGALRM = syscall.Signal(0xe)
1401 SIGBUS = syscall.Signal(0xa)
1402 SIGCHLD = syscall.Signal(0x14)
1403 SIGCONT = syscall.Signal(0x13)
1404 SIGEMT = syscall.Signal(0x7)
1405 SIGFPE = syscall.Signal(0x8)
1406 SIGHUP = syscall.Signal(0x1)
1407 SIGILL = syscall.Signal(0x4)
1408 SIGINFO = syscall.Signal(0x1d)
1409 SIGINT = syscall.Signal(0x2)
1410 SIGIO = syscall.Signal(0x17)
1411 SIGIOT = syscall.Signal(0x6)
1412 SIGKILL = syscall.Signal(0x9)
1413 SIGPIPE = syscall.Signal(0xd)
1414 SIGPROF = syscall.Signal(0x1b)
1415 SIGQUIT = syscall.Signal(0x3)
1416 SIGSEGV = syscall.Signal(0xb)
1417 SIGSTOP = syscall.Signal(0x11)
1418 SIGSYS = syscall.Signal(0xc)
1419 SIGTERM = syscall.Signal(0xf)
1420 SIGTRAP = syscall.Signal(0x5)
1421 SIGTSTP = syscall.Signal(0x12)
1422 SIGTTIN = syscall.Signal(0x15)
1423 SIGTTOU = syscall.Signal(0x16)
1424 SIGURG = syscall.Signal(0x10)
1425 SIGUSR1 = syscall.Signal(0x1e)
1426 SIGUSR2 = syscall.Signal(0x1f)
1427 SIGVTALRM = syscall.Signal(0x1a)
1428 SIGWINCH = syscall.Signal(0x1c)
1429 SIGXCPU = syscall.Signal(0x18)
1430 SIGXFSZ = syscall.Signal(0x19)
1431)
1432
1433// Error table
1434var errors = [...]string{
1435 1: "operation not permitted",
1436 2: "no such file or directory",
1437 3: "no such process",
1438 4: "interrupted system call",
1439 5: "input/output error",
1440 6: "device not configured",
1441 7: "argument list too long",
1442 8: "exec format error",
1443 9: "bad file descriptor",
1444 10: "no child processes",
1445 11: "resource deadlock avoided",
1446 12: "cannot allocate memory",
1447 13: "permission denied",
1448 14: "bad address",
1449 15: "block device required",
1450 16: "resource busy",
1451 17: "file exists",
1452 18: "cross-device link",
1453 19: "operation not supported by device",
1454 20: "not a directory",
1455 21: "is a directory",
1456 22: "invalid argument",
1457 23: "too many open files in system",
1458 24: "too many open files",
1459 25: "inappropriate ioctl for device",
1460 26: "text file busy",
1461 27: "file too large",
1462 28: "no space left on device",
1463 29: "illegal seek",
1464 30: "read-only file system",
1465 31: "too many links",
1466 32: "broken pipe",
1467 33: "numerical argument out of domain",
1468 34: "result too large",
1469 35: "resource temporarily unavailable",
1470 36: "operation now in progress",
1471 37: "operation already in progress",
1472 38: "socket operation on non-socket",
1473 39: "destination address required",
1474 40: "message too long",
1475 41: "protocol wrong type for socket",
1476 42: "protocol not available",
1477 43: "protocol not supported",
1478 44: "socket type not supported",
1479 45: "operation not supported",
1480 46: "protocol family not supported",
1481 47: "address family not supported by protocol family",
1482 48: "address already in use",
1483 49: "can't assign requested address",
1484 50: "network is down",
1485 51: "network is unreachable",
1486 52: "network dropped connection on reset",
1487 53: "software caused connection abort",
1488 54: "connection reset by peer",
1489 55: "no buffer space available",
1490 56: "socket is already connected",
1491 57: "socket is not connected",
1492 58: "can't send after socket shutdown",
1493 59: "too many references: can't splice",
1494 60: "operation timed out",
1495 61: "connection refused",
1496 62: "too many levels of symbolic links",
1497 63: "file name too long",
1498 64: "host is down",
1499 65: "no route to host",
1500 66: "directory not empty",
1501 67: "too many processes",
1502 68: "too many users",
1503 69: "disc quota exceeded",
1504 70: "stale NFS file handle",
1505 71: "too many levels of remote in path",
1506 72: "RPC struct is bad",
1507 73: "RPC version wrong",
1508 74: "RPC prog. not avail",
1509 75: "program version wrong",
1510 76: "bad procedure for program",
1511 77: "no locks available",
1512 78: "function not implemented",
1513 79: "inappropriate file type or format",
1514 80: "authentication error",
1515 81: "need authenticator",
1516 82: "device power is off",
1517 83: "device error",
1518 84: "value too large to be stored in data type",
1519 85: "bad executable (or shared library)",
1520 86: "bad CPU type in executable",
1521 87: "shared library version mismatch",
1522 88: "malformed Mach-o file",
1523 89: "operation canceled",
1524 90: "identifier removed",
1525 91: "no message of desired type",
1526 92: "illegal byte sequence",
1527 93: "attribute not found",
1528 94: "bad message",
1529 95: "EMULTIHOP (Reserved)",
1530 96: "no message available on STREAM",
1531 97: "ENOLINK (Reserved)",
1532 98: "no STREAM resources",
1533 99: "not a STREAM",
1534 100: "protocol error",
1535 101: "STREAM ioctl timeout",
1536 102: "operation not supported on socket",
1537 103: "policy not found",
1538 104: "state not recoverable",
1539 105: "previous owner died",
1540 106: "interface output queue is full",
1541}
1542
1543// Signal table
1544var signals = [...]string{
1545 1: "hangup",
1546 2: "interrupt",
1547 3: "quit",
1548 4: "illegal instruction",
1549 5: "trace/BPT trap",
1550 6: "abort trap",
1551 7: "EMT trap",
1552 8: "floating point exception",
1553 9: "killed",
1554 10: "bus error",
1555 11: "segmentation fault",
1556 12: "bad system call",
1557 13: "broken pipe",
1558 14: "alarm clock",
1559 15: "terminated",
1560 16: "urgent I/O condition",
1561 17: "suspended (signal)",
1562 18: "suspended",
1563 19: "continued",
1564 20: "child exited",
1565 21: "stopped (tty input)",
1566 22: "stopped (tty output)",
1567 23: "I/O possible",
1568 24: "cputime limit exceeded",
1569 25: "filesize limit exceeded",
1570 26: "virtual timer expired",
1571 27: "profiling timer expired",
1572 28: "window size changes",
1573 29: "information request",
1574 30: "user defined signal 1",
1575 31: "user defined signal 2",
1576}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_amd64.go
deleted file mode 100644
index 9594f93..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_amd64.go
+++ /dev/null
@@ -1,1576 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,darwin
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_CCITT = 0xa
16 AF_CHAOS = 0x5
17 AF_CNT = 0x15
18 AF_COIP = 0x14
19 AF_DATAKIT = 0x9
20 AF_DECnet = 0xc
21 AF_DLI = 0xd
22 AF_E164 = 0x1c
23 AF_ECMA = 0x8
24 AF_HYLINK = 0xf
25 AF_IEEE80211 = 0x25
26 AF_IMPLINK = 0x3
27 AF_INET = 0x2
28 AF_INET6 = 0x1e
29 AF_IPX = 0x17
30 AF_ISDN = 0x1c
31 AF_ISO = 0x7
32 AF_LAT = 0xe
33 AF_LINK = 0x12
34 AF_LOCAL = 0x1
35 AF_MAX = 0x28
36 AF_NATM = 0x1f
37 AF_NDRV = 0x1b
38 AF_NETBIOS = 0x21
39 AF_NS = 0x6
40 AF_OSI = 0x7
41 AF_PPP = 0x22
42 AF_PUP = 0x4
43 AF_RESERVED_36 = 0x24
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_SYSTEM = 0x20
48 AF_UNIX = 0x1
49 AF_UNSPEC = 0x0
50 AF_UTUN = 0x26
51 B0 = 0x0
52 B110 = 0x6e
53 B115200 = 0x1c200
54 B1200 = 0x4b0
55 B134 = 0x86
56 B14400 = 0x3840
57 B150 = 0x96
58 B1800 = 0x708
59 B19200 = 0x4b00
60 B200 = 0xc8
61 B230400 = 0x38400
62 B2400 = 0x960
63 B28800 = 0x7080
64 B300 = 0x12c
65 B38400 = 0x9600
66 B4800 = 0x12c0
67 B50 = 0x32
68 B57600 = 0xe100
69 B600 = 0x258
70 B7200 = 0x1c20
71 B75 = 0x4b
72 B76800 = 0x12c00
73 B9600 = 0x2580
74 BIOCFLUSH = 0x20004268
75 BIOCGBLEN = 0x40044266
76 BIOCGDLT = 0x4004426a
77 BIOCGDLTLIST = 0xc00c4279
78 BIOCGETIF = 0x4020426b
79 BIOCGHDRCMPLT = 0x40044274
80 BIOCGRSIG = 0x40044272
81 BIOCGRTIMEOUT = 0x4010426e
82 BIOCGSEESENT = 0x40044276
83 BIOCGSTATS = 0x4008426f
84 BIOCIMMEDIATE = 0x80044270
85 BIOCPROMISC = 0x20004269
86 BIOCSBLEN = 0xc0044266
87 BIOCSDLT = 0x80044278
88 BIOCSETF = 0x80104267
89 BIOCSETFNR = 0x8010427e
90 BIOCSETIF = 0x8020426c
91 BIOCSHDRCMPLT = 0x80044275
92 BIOCSRSIG = 0x80044273
93 BIOCSRTIMEOUT = 0x8010426d
94 BIOCSSEESENT = 0x80044277
95 BIOCVERSION = 0x40044271
96 BPF_A = 0x10
97 BPF_ABS = 0x20
98 BPF_ADD = 0x0
99 BPF_ALIGNMENT = 0x4
100 BPF_ALU = 0x4
101 BPF_AND = 0x50
102 BPF_B = 0x10
103 BPF_DIV = 0x30
104 BPF_H = 0x8
105 BPF_IMM = 0x0
106 BPF_IND = 0x40
107 BPF_JA = 0x0
108 BPF_JEQ = 0x10
109 BPF_JGE = 0x30
110 BPF_JGT = 0x20
111 BPF_JMP = 0x5
112 BPF_JSET = 0x40
113 BPF_K = 0x0
114 BPF_LD = 0x0
115 BPF_LDX = 0x1
116 BPF_LEN = 0x80
117 BPF_LSH = 0x60
118 BPF_MAJOR_VERSION = 0x1
119 BPF_MAXBUFSIZE = 0x80000
120 BPF_MAXINSNS = 0x200
121 BPF_MEM = 0x60
122 BPF_MEMWORDS = 0x10
123 BPF_MINBUFSIZE = 0x20
124 BPF_MINOR_VERSION = 0x1
125 BPF_MISC = 0x7
126 BPF_MSH = 0xa0
127 BPF_MUL = 0x20
128 BPF_NEG = 0x80
129 BPF_OR = 0x40
130 BPF_RELEASE = 0x30bb6
131 BPF_RET = 0x6
132 BPF_RSH = 0x70
133 BPF_ST = 0x2
134 BPF_STX = 0x3
135 BPF_SUB = 0x10
136 BPF_TAX = 0x0
137 BPF_TXA = 0x80
138 BPF_W = 0x0
139 BPF_X = 0x8
140 BRKINT = 0x2
141 CFLUSH = 0xf
142 CLOCAL = 0x8000
143 CREAD = 0x800
144 CS5 = 0x0
145 CS6 = 0x100
146 CS7 = 0x200
147 CS8 = 0x300
148 CSIZE = 0x300
149 CSTART = 0x11
150 CSTATUS = 0x14
151 CSTOP = 0x13
152 CSTOPB = 0x400
153 CSUSP = 0x1a
154 CTL_MAXNAME = 0xc
155 CTL_NET = 0x4
156 DLT_A429 = 0xb8
157 DLT_A653_ICM = 0xb9
158 DLT_AIRONET_HEADER = 0x78
159 DLT_AOS = 0xde
160 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
161 DLT_ARCNET = 0x7
162 DLT_ARCNET_LINUX = 0x81
163 DLT_ATM_CLIP = 0x13
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AURORA = 0x7e
166 DLT_AX25 = 0x3
167 DLT_AX25_KISS = 0xca
168 DLT_BACNET_MS_TP = 0xa5
169 DLT_BLUETOOTH_HCI_H4 = 0xbb
170 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
171 DLT_CAN20B = 0xbe
172 DLT_CAN_SOCKETCAN = 0xe3
173 DLT_CHAOS = 0x5
174 DLT_CHDLC = 0x68
175 DLT_CISCO_IOS = 0x76
176 DLT_C_HDLC = 0x68
177 DLT_C_HDLC_WITH_DIR = 0xcd
178 DLT_DBUS = 0xe7
179 DLT_DECT = 0xdd
180 DLT_DOCSIS = 0x8f
181 DLT_DVB_CI = 0xeb
182 DLT_ECONET = 0x73
183 DLT_EN10MB = 0x1
184 DLT_EN3MB = 0x2
185 DLT_ENC = 0x6d
186 DLT_ERF = 0xc5
187 DLT_ERF_ETH = 0xaf
188 DLT_ERF_POS = 0xb0
189 DLT_FC_2 = 0xe0
190 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
191 DLT_FDDI = 0xa
192 DLT_FLEXRAY = 0xd2
193 DLT_FRELAY = 0x6b
194 DLT_FRELAY_WITH_DIR = 0xce
195 DLT_GCOM_SERIAL = 0xad
196 DLT_GCOM_T1E1 = 0xac
197 DLT_GPF_F = 0xab
198 DLT_GPF_T = 0xaa
199 DLT_GPRS_LLC = 0xa9
200 DLT_GSMTAP_ABIS = 0xda
201 DLT_GSMTAP_UM = 0xd9
202 DLT_HHDLC = 0x79
203 DLT_IBM_SN = 0x92
204 DLT_IBM_SP = 0x91
205 DLT_IEEE802 = 0x6
206 DLT_IEEE802_11 = 0x69
207 DLT_IEEE802_11_RADIO = 0x7f
208 DLT_IEEE802_11_RADIO_AVS = 0xa3
209 DLT_IEEE802_15_4 = 0xc3
210 DLT_IEEE802_15_4_LINUX = 0xbf
211 DLT_IEEE802_15_4_NOFCS = 0xe6
212 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
213 DLT_IEEE802_16_MAC_CPS = 0xbc
214 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
215 DLT_IPFILTER = 0x74
216 DLT_IPMB = 0xc7
217 DLT_IPMB_LINUX = 0xd1
218 DLT_IPNET = 0xe2
219 DLT_IPOIB = 0xf2
220 DLT_IPV4 = 0xe4
221 DLT_IPV6 = 0xe5
222 DLT_IP_OVER_FC = 0x7a
223 DLT_JUNIPER_ATM1 = 0x89
224 DLT_JUNIPER_ATM2 = 0x87
225 DLT_JUNIPER_ATM_CEMIC = 0xee
226 DLT_JUNIPER_CHDLC = 0xb5
227 DLT_JUNIPER_ES = 0x84
228 DLT_JUNIPER_ETHER = 0xb2
229 DLT_JUNIPER_FIBRECHANNEL = 0xea
230 DLT_JUNIPER_FRELAY = 0xb4
231 DLT_JUNIPER_GGSN = 0x85
232 DLT_JUNIPER_ISM = 0xc2
233 DLT_JUNIPER_MFR = 0x86
234 DLT_JUNIPER_MLFR = 0x83
235 DLT_JUNIPER_MLPPP = 0x82
236 DLT_JUNIPER_MONITOR = 0xa4
237 DLT_JUNIPER_PIC_PEER = 0xae
238 DLT_JUNIPER_PPP = 0xb3
239 DLT_JUNIPER_PPPOE = 0xa7
240 DLT_JUNIPER_PPPOE_ATM = 0xa8
241 DLT_JUNIPER_SERVICES = 0x88
242 DLT_JUNIPER_SRX_E2E = 0xe9
243 DLT_JUNIPER_ST = 0xc8
244 DLT_JUNIPER_VP = 0xb7
245 DLT_JUNIPER_VS = 0xe8
246 DLT_LAPB_WITH_DIR = 0xcf
247 DLT_LAPD = 0xcb
248 DLT_LIN = 0xd4
249 DLT_LINUX_EVDEV = 0xd8
250 DLT_LINUX_IRDA = 0x90
251 DLT_LINUX_LAPD = 0xb1
252 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
253 DLT_LINUX_SLL = 0x71
254 DLT_LOOP = 0x6c
255 DLT_LTALK = 0x72
256 DLT_MATCHING_MAX = 0xf5
257 DLT_MATCHING_MIN = 0x68
258 DLT_MFR = 0xb6
259 DLT_MOST = 0xd3
260 DLT_MPEG_2_TS = 0xf3
261 DLT_MPLS = 0xdb
262 DLT_MTP2 = 0x8c
263 DLT_MTP2_WITH_PHDR = 0x8b
264 DLT_MTP3 = 0x8d
265 DLT_MUX27010 = 0xec
266 DLT_NETANALYZER = 0xf0
267 DLT_NETANALYZER_TRANSPARENT = 0xf1
268 DLT_NFC_LLCP = 0xf5
269 DLT_NFLOG = 0xef
270 DLT_NG40 = 0xf4
271 DLT_NULL = 0x0
272 DLT_PCI_EXP = 0x7d
273 DLT_PFLOG = 0x75
274 DLT_PFSYNC = 0x12
275 DLT_PPI = 0xc0
276 DLT_PPP = 0x9
277 DLT_PPP_BSDOS = 0x10
278 DLT_PPP_ETHER = 0x33
279 DLT_PPP_PPPD = 0xa6
280 DLT_PPP_SERIAL = 0x32
281 DLT_PPP_WITH_DIR = 0xcc
282 DLT_PPP_WITH_DIRECTION = 0xa6
283 DLT_PRISM_HEADER = 0x77
284 DLT_PRONET = 0x4
285 DLT_RAIF1 = 0xc6
286 DLT_RAW = 0xc
287 DLT_RIO = 0x7c
288 DLT_SCCP = 0x8e
289 DLT_SITA = 0xc4
290 DLT_SLIP = 0x8
291 DLT_SLIP_BSDOS = 0xf
292 DLT_STANAG_5066_D_PDU = 0xed
293 DLT_SUNATM = 0x7b
294 DLT_SYMANTEC_FIREWALL = 0x63
295 DLT_TZSP = 0x80
296 DLT_USB = 0xba
297 DLT_USB_LINUX = 0xbd
298 DLT_USB_LINUX_MMAPPED = 0xdc
299 DLT_USER0 = 0x93
300 DLT_USER1 = 0x94
301 DLT_USER10 = 0x9d
302 DLT_USER11 = 0x9e
303 DLT_USER12 = 0x9f
304 DLT_USER13 = 0xa0
305 DLT_USER14 = 0xa1
306 DLT_USER15 = 0xa2
307 DLT_USER2 = 0x95
308 DLT_USER3 = 0x96
309 DLT_USER4 = 0x97
310 DLT_USER5 = 0x98
311 DLT_USER6 = 0x99
312 DLT_USER7 = 0x9a
313 DLT_USER8 = 0x9b
314 DLT_USER9 = 0x9c
315 DLT_WIHART = 0xdf
316 DLT_X2E_SERIAL = 0xd5
317 DLT_X2E_XORAYA = 0xd6
318 DT_BLK = 0x6
319 DT_CHR = 0x2
320 DT_DIR = 0x4
321 DT_FIFO = 0x1
322 DT_LNK = 0xa
323 DT_REG = 0x8
324 DT_SOCK = 0xc
325 DT_UNKNOWN = 0x0
326 DT_WHT = 0xe
327 ECHO = 0x8
328 ECHOCTL = 0x40
329 ECHOE = 0x2
330 ECHOK = 0x4
331 ECHOKE = 0x1
332 ECHONL = 0x10
333 ECHOPRT = 0x20
334 EVFILT_AIO = -0x3
335 EVFILT_FS = -0x9
336 EVFILT_MACHPORT = -0x8
337 EVFILT_PROC = -0x5
338 EVFILT_READ = -0x1
339 EVFILT_SIGNAL = -0x6
340 EVFILT_SYSCOUNT = 0xe
341 EVFILT_THREADMARKER = 0xe
342 EVFILT_TIMER = -0x7
343 EVFILT_USER = -0xa
344 EVFILT_VM = -0xc
345 EVFILT_VNODE = -0x4
346 EVFILT_WRITE = -0x2
347 EV_ADD = 0x1
348 EV_CLEAR = 0x20
349 EV_DELETE = 0x2
350 EV_DISABLE = 0x8
351 EV_DISPATCH = 0x80
352 EV_ENABLE = 0x4
353 EV_EOF = 0x8000
354 EV_ERROR = 0x4000
355 EV_FLAG0 = 0x1000
356 EV_FLAG1 = 0x2000
357 EV_ONESHOT = 0x10
358 EV_OOBAND = 0x2000
359 EV_POLL = 0x1000
360 EV_RECEIPT = 0x40
361 EV_SYSFLAGS = 0xf000
362 EXTA = 0x4b00
363 EXTB = 0x9600
364 EXTPROC = 0x800
365 FD_CLOEXEC = 0x1
366 FD_SETSIZE = 0x400
367 FLUSHO = 0x800000
368 F_ADDFILESIGS = 0x3d
369 F_ADDSIGS = 0x3b
370 F_ALLOCATEALL = 0x4
371 F_ALLOCATECONTIG = 0x2
372 F_CHKCLEAN = 0x29
373 F_DUPFD = 0x0
374 F_DUPFD_CLOEXEC = 0x43
375 F_FINDSIGS = 0x4e
376 F_FLUSH_DATA = 0x28
377 F_FREEZE_FS = 0x35
378 F_FULLFSYNC = 0x33
379 F_GETCODEDIR = 0x48
380 F_GETFD = 0x1
381 F_GETFL = 0x3
382 F_GETLK = 0x7
383 F_GETLKPID = 0x42
384 F_GETNOSIGPIPE = 0x4a
385 F_GETOWN = 0x5
386 F_GETPATH = 0x32
387 F_GETPATH_MTMINFO = 0x47
388 F_GETPROTECTIONCLASS = 0x3f
389 F_GETPROTECTIONLEVEL = 0x4d
390 F_GLOBAL_NOCACHE = 0x37
391 F_LOG2PHYS = 0x31
392 F_LOG2PHYS_EXT = 0x41
393 F_NOCACHE = 0x30
394 F_NODIRECT = 0x3e
395 F_OK = 0x0
396 F_PATHPKG_CHECK = 0x34
397 F_PEOFPOSMODE = 0x3
398 F_PREALLOCATE = 0x2a
399 F_RDADVISE = 0x2c
400 F_RDAHEAD = 0x2d
401 F_RDLCK = 0x1
402 F_SETBACKINGSTORE = 0x46
403 F_SETFD = 0x2
404 F_SETFL = 0x4
405 F_SETLK = 0x8
406 F_SETLKW = 0x9
407 F_SETLKWTIMEOUT = 0xa
408 F_SETNOSIGPIPE = 0x49
409 F_SETOWN = 0x6
410 F_SETPROTECTIONCLASS = 0x40
411 F_SETSIZE = 0x2b
412 F_SINGLE_WRITER = 0x4c
413 F_THAW_FS = 0x36
414 F_TRANSCODEKEY = 0x4b
415 F_UNLCK = 0x2
416 F_VOLPOSMODE = 0x4
417 F_WRLCK = 0x3
418 HUPCL = 0x4000
419 ICANON = 0x100
420 ICMP6_FILTER = 0x12
421 ICRNL = 0x100
422 IEXTEN = 0x400
423 IFF_ALLMULTI = 0x200
424 IFF_ALTPHYS = 0x4000
425 IFF_BROADCAST = 0x2
426 IFF_DEBUG = 0x4
427 IFF_LINK0 = 0x1000
428 IFF_LINK1 = 0x2000
429 IFF_LINK2 = 0x4000
430 IFF_LOOPBACK = 0x8
431 IFF_MULTICAST = 0x8000
432 IFF_NOARP = 0x80
433 IFF_NOTRAILERS = 0x20
434 IFF_OACTIVE = 0x400
435 IFF_POINTOPOINT = 0x10
436 IFF_PROMISC = 0x100
437 IFF_RUNNING = 0x40
438 IFF_SIMPLEX = 0x800
439 IFF_UP = 0x1
440 IFNAMSIZ = 0x10
441 IFT_1822 = 0x2
442 IFT_AAL5 = 0x31
443 IFT_ARCNET = 0x23
444 IFT_ARCNETPLUS = 0x24
445 IFT_ATM = 0x25
446 IFT_BRIDGE = 0xd1
447 IFT_CARP = 0xf8
448 IFT_CELLULAR = 0xff
449 IFT_CEPT = 0x13
450 IFT_DS3 = 0x1e
451 IFT_ENC = 0xf4
452 IFT_EON = 0x19
453 IFT_ETHER = 0x6
454 IFT_FAITH = 0x38
455 IFT_FDDI = 0xf
456 IFT_FRELAY = 0x20
457 IFT_FRELAYDCE = 0x2c
458 IFT_GIF = 0x37
459 IFT_HDH1822 = 0x3
460 IFT_HIPPI = 0x2f
461 IFT_HSSI = 0x2e
462 IFT_HY = 0xe
463 IFT_IEEE1394 = 0x90
464 IFT_IEEE8023ADLAG = 0x88
465 IFT_ISDNBASIC = 0x14
466 IFT_ISDNPRIMARY = 0x15
467 IFT_ISO88022LLC = 0x29
468 IFT_ISO88023 = 0x7
469 IFT_ISO88024 = 0x8
470 IFT_ISO88025 = 0x9
471 IFT_ISO88026 = 0xa
472 IFT_L2VLAN = 0x87
473 IFT_LAPB = 0x10
474 IFT_LOCALTALK = 0x2a
475 IFT_LOOP = 0x18
476 IFT_MIOX25 = 0x26
477 IFT_MODEM = 0x30
478 IFT_NSIP = 0x1b
479 IFT_OTHER = 0x1
480 IFT_P10 = 0xc
481 IFT_P80 = 0xd
482 IFT_PARA = 0x22
483 IFT_PDP = 0xff
484 IFT_PFLOG = 0xf5
485 IFT_PFSYNC = 0xf6
486 IFT_PKTAP = 0xfe
487 IFT_PPP = 0x17
488 IFT_PROPMUX = 0x36
489 IFT_PROPVIRTUAL = 0x35
490 IFT_PTPSERIAL = 0x16
491 IFT_RS232 = 0x21
492 IFT_SDLC = 0x11
493 IFT_SIP = 0x1f
494 IFT_SLIP = 0x1c
495 IFT_SMDSDXI = 0x2b
496 IFT_SMDSICIP = 0x34
497 IFT_SONET = 0x27
498 IFT_SONETPATH = 0x32
499 IFT_SONETVT = 0x33
500 IFT_STARLAN = 0xb
501 IFT_STF = 0x39
502 IFT_T1 = 0x12
503 IFT_ULTRA = 0x1d
504 IFT_V35 = 0x2d
505 IFT_X25 = 0x5
506 IFT_X25DDN = 0x4
507 IFT_X25PLE = 0x28
508 IFT_XETHER = 0x1a
509 IGNBRK = 0x1
510 IGNCR = 0x80
511 IGNPAR = 0x4
512 IMAXBEL = 0x2000
513 INLCR = 0x40
514 INPCK = 0x10
515 IN_CLASSA_HOST = 0xffffff
516 IN_CLASSA_MAX = 0x80
517 IN_CLASSA_NET = 0xff000000
518 IN_CLASSA_NSHIFT = 0x18
519 IN_CLASSB_HOST = 0xffff
520 IN_CLASSB_MAX = 0x10000
521 IN_CLASSB_NET = 0xffff0000
522 IN_CLASSB_NSHIFT = 0x10
523 IN_CLASSC_HOST = 0xff
524 IN_CLASSC_NET = 0xffffff00
525 IN_CLASSC_NSHIFT = 0x8
526 IN_CLASSD_HOST = 0xfffffff
527 IN_CLASSD_NET = 0xf0000000
528 IN_CLASSD_NSHIFT = 0x1c
529 IN_LINKLOCALNETNUM = 0xa9fe0000
530 IN_LOOPBACKNET = 0x7f
531 IPPROTO_3PC = 0x22
532 IPPROTO_ADFS = 0x44
533 IPPROTO_AH = 0x33
534 IPPROTO_AHIP = 0x3d
535 IPPROTO_APES = 0x63
536 IPPROTO_ARGUS = 0xd
537 IPPROTO_AX25 = 0x5d
538 IPPROTO_BHA = 0x31
539 IPPROTO_BLT = 0x1e
540 IPPROTO_BRSATMON = 0x4c
541 IPPROTO_CFTP = 0x3e
542 IPPROTO_CHAOS = 0x10
543 IPPROTO_CMTP = 0x26
544 IPPROTO_CPHB = 0x49
545 IPPROTO_CPNX = 0x48
546 IPPROTO_DDP = 0x25
547 IPPROTO_DGP = 0x56
548 IPPROTO_DIVERT = 0xfe
549 IPPROTO_DONE = 0x101
550 IPPROTO_DSTOPTS = 0x3c
551 IPPROTO_EGP = 0x8
552 IPPROTO_EMCON = 0xe
553 IPPROTO_ENCAP = 0x62
554 IPPROTO_EON = 0x50
555 IPPROTO_ESP = 0x32
556 IPPROTO_ETHERIP = 0x61
557 IPPROTO_FRAGMENT = 0x2c
558 IPPROTO_GGP = 0x3
559 IPPROTO_GMTP = 0x64
560 IPPROTO_GRE = 0x2f
561 IPPROTO_HELLO = 0x3f
562 IPPROTO_HMP = 0x14
563 IPPROTO_HOPOPTS = 0x0
564 IPPROTO_ICMP = 0x1
565 IPPROTO_ICMPV6 = 0x3a
566 IPPROTO_IDP = 0x16
567 IPPROTO_IDPR = 0x23
568 IPPROTO_IDRP = 0x2d
569 IPPROTO_IGMP = 0x2
570 IPPROTO_IGP = 0x55
571 IPPROTO_IGRP = 0x58
572 IPPROTO_IL = 0x28
573 IPPROTO_INLSP = 0x34
574 IPPROTO_INP = 0x20
575 IPPROTO_IP = 0x0
576 IPPROTO_IPCOMP = 0x6c
577 IPPROTO_IPCV = 0x47
578 IPPROTO_IPEIP = 0x5e
579 IPPROTO_IPIP = 0x4
580 IPPROTO_IPPC = 0x43
581 IPPROTO_IPV4 = 0x4
582 IPPROTO_IPV6 = 0x29
583 IPPROTO_IRTP = 0x1c
584 IPPROTO_KRYPTOLAN = 0x41
585 IPPROTO_LARP = 0x5b
586 IPPROTO_LEAF1 = 0x19
587 IPPROTO_LEAF2 = 0x1a
588 IPPROTO_MAX = 0x100
589 IPPROTO_MAXID = 0x34
590 IPPROTO_MEAS = 0x13
591 IPPROTO_MHRP = 0x30
592 IPPROTO_MICP = 0x5f
593 IPPROTO_MTP = 0x5c
594 IPPROTO_MUX = 0x12
595 IPPROTO_ND = 0x4d
596 IPPROTO_NHRP = 0x36
597 IPPROTO_NONE = 0x3b
598 IPPROTO_NSP = 0x1f
599 IPPROTO_NVPII = 0xb
600 IPPROTO_OSPFIGP = 0x59
601 IPPROTO_PGM = 0x71
602 IPPROTO_PIGP = 0x9
603 IPPROTO_PIM = 0x67
604 IPPROTO_PRM = 0x15
605 IPPROTO_PUP = 0xc
606 IPPROTO_PVP = 0x4b
607 IPPROTO_RAW = 0xff
608 IPPROTO_RCCMON = 0xa
609 IPPROTO_RDP = 0x1b
610 IPPROTO_ROUTING = 0x2b
611 IPPROTO_RSVP = 0x2e
612 IPPROTO_RVD = 0x42
613 IPPROTO_SATEXPAK = 0x40
614 IPPROTO_SATMON = 0x45
615 IPPROTO_SCCSP = 0x60
616 IPPROTO_SCTP = 0x84
617 IPPROTO_SDRP = 0x2a
618 IPPROTO_SEP = 0x21
619 IPPROTO_SRPC = 0x5a
620 IPPROTO_ST = 0x7
621 IPPROTO_SVMTP = 0x52
622 IPPROTO_SWIPE = 0x35
623 IPPROTO_TCF = 0x57
624 IPPROTO_TCP = 0x6
625 IPPROTO_TP = 0x1d
626 IPPROTO_TPXX = 0x27
627 IPPROTO_TRUNK1 = 0x17
628 IPPROTO_TRUNK2 = 0x18
629 IPPROTO_TTP = 0x54
630 IPPROTO_UDP = 0x11
631 IPPROTO_VINES = 0x53
632 IPPROTO_VISA = 0x46
633 IPPROTO_VMTP = 0x51
634 IPPROTO_WBEXPAK = 0x4f
635 IPPROTO_WBMON = 0x4e
636 IPPROTO_WSN = 0x4a
637 IPPROTO_XNET = 0xf
638 IPPROTO_XTP = 0x24
639 IPV6_2292DSTOPTS = 0x17
640 IPV6_2292HOPLIMIT = 0x14
641 IPV6_2292HOPOPTS = 0x16
642 IPV6_2292NEXTHOP = 0x15
643 IPV6_2292PKTINFO = 0x13
644 IPV6_2292PKTOPTIONS = 0x19
645 IPV6_2292RTHDR = 0x18
646 IPV6_BINDV6ONLY = 0x1b
647 IPV6_BOUND_IF = 0x7d
648 IPV6_CHECKSUM = 0x1a
649 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
650 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
651 IPV6_DEFHLIM = 0x40
652 IPV6_FAITH = 0x1d
653 IPV6_FLOWINFO_MASK = 0xffffff0f
654 IPV6_FLOWLABEL_MASK = 0xffff0f00
655 IPV6_FRAGTTL = 0x3c
656 IPV6_FW_ADD = 0x1e
657 IPV6_FW_DEL = 0x1f
658 IPV6_FW_FLUSH = 0x20
659 IPV6_FW_GET = 0x22
660 IPV6_FW_ZERO = 0x21
661 IPV6_HLIMDEC = 0x1
662 IPV6_IPSEC_POLICY = 0x1c
663 IPV6_JOIN_GROUP = 0xc
664 IPV6_LEAVE_GROUP = 0xd
665 IPV6_MAXHLIM = 0xff
666 IPV6_MAXOPTHDR = 0x800
667 IPV6_MAXPACKET = 0xffff
668 IPV6_MAX_GROUP_SRC_FILTER = 0x200
669 IPV6_MAX_MEMBERSHIPS = 0xfff
670 IPV6_MAX_SOCK_SRC_FILTER = 0x80
671 IPV6_MIN_MEMBERSHIPS = 0x1f
672 IPV6_MMTU = 0x500
673 IPV6_MULTICAST_HOPS = 0xa
674 IPV6_MULTICAST_IF = 0x9
675 IPV6_MULTICAST_LOOP = 0xb
676 IPV6_PORTRANGE = 0xe
677 IPV6_PORTRANGE_DEFAULT = 0x0
678 IPV6_PORTRANGE_HIGH = 0x1
679 IPV6_PORTRANGE_LOW = 0x2
680 IPV6_RECVTCLASS = 0x23
681 IPV6_RTHDR_LOOSE = 0x0
682 IPV6_RTHDR_STRICT = 0x1
683 IPV6_RTHDR_TYPE_0 = 0x0
684 IPV6_SOCKOPT_RESERVED1 = 0x3
685 IPV6_TCLASS = 0x24
686 IPV6_UNICAST_HOPS = 0x4
687 IPV6_V6ONLY = 0x1b
688 IPV6_VERSION = 0x60
689 IPV6_VERSION_MASK = 0xf0
690 IP_ADD_MEMBERSHIP = 0xc
691 IP_ADD_SOURCE_MEMBERSHIP = 0x46
692 IP_BLOCK_SOURCE = 0x48
693 IP_BOUND_IF = 0x19
694 IP_DEFAULT_MULTICAST_LOOP = 0x1
695 IP_DEFAULT_MULTICAST_TTL = 0x1
696 IP_DF = 0x4000
697 IP_DROP_MEMBERSHIP = 0xd
698 IP_DROP_SOURCE_MEMBERSHIP = 0x47
699 IP_DUMMYNET_CONFIGURE = 0x3c
700 IP_DUMMYNET_DEL = 0x3d
701 IP_DUMMYNET_FLUSH = 0x3e
702 IP_DUMMYNET_GET = 0x40
703 IP_FAITH = 0x16
704 IP_FW_ADD = 0x28
705 IP_FW_DEL = 0x29
706 IP_FW_FLUSH = 0x2a
707 IP_FW_GET = 0x2c
708 IP_FW_RESETLOG = 0x2d
709 IP_FW_ZERO = 0x2b
710 IP_HDRINCL = 0x2
711 IP_IPSEC_POLICY = 0x15
712 IP_MAXPACKET = 0xffff
713 IP_MAX_GROUP_SRC_FILTER = 0x200
714 IP_MAX_MEMBERSHIPS = 0xfff
715 IP_MAX_SOCK_MUTE_FILTER = 0x80
716 IP_MAX_SOCK_SRC_FILTER = 0x80
717 IP_MF = 0x2000
718 IP_MIN_MEMBERSHIPS = 0x1f
719 IP_MSFILTER = 0x4a
720 IP_MSS = 0x240
721 IP_MULTICAST_IF = 0x9
722 IP_MULTICAST_IFINDEX = 0x42
723 IP_MULTICAST_LOOP = 0xb
724 IP_MULTICAST_TTL = 0xa
725 IP_MULTICAST_VIF = 0xe
726 IP_NAT__XXX = 0x37
727 IP_OFFMASK = 0x1fff
728 IP_OLD_FW_ADD = 0x32
729 IP_OLD_FW_DEL = 0x33
730 IP_OLD_FW_FLUSH = 0x34
731 IP_OLD_FW_GET = 0x36
732 IP_OLD_FW_RESETLOG = 0x38
733 IP_OLD_FW_ZERO = 0x35
734 IP_OPTIONS = 0x1
735 IP_PKTINFO = 0x1a
736 IP_PORTRANGE = 0x13
737 IP_PORTRANGE_DEFAULT = 0x0
738 IP_PORTRANGE_HIGH = 0x1
739 IP_PORTRANGE_LOW = 0x2
740 IP_RECVDSTADDR = 0x7
741 IP_RECVIF = 0x14
742 IP_RECVOPTS = 0x5
743 IP_RECVPKTINFO = 0x1a
744 IP_RECVRETOPTS = 0x6
745 IP_RECVTTL = 0x18
746 IP_RETOPTS = 0x8
747 IP_RF = 0x8000
748 IP_RSVP_OFF = 0x10
749 IP_RSVP_ON = 0xf
750 IP_RSVP_VIF_OFF = 0x12
751 IP_RSVP_VIF_ON = 0x11
752 IP_STRIPHDR = 0x17
753 IP_TOS = 0x3
754 IP_TRAFFIC_MGT_BACKGROUND = 0x41
755 IP_TTL = 0x4
756 IP_UNBLOCK_SOURCE = 0x49
757 ISIG = 0x80
758 ISTRIP = 0x20
759 IUTF8 = 0x4000
760 IXANY = 0x800
761 IXOFF = 0x400
762 IXON = 0x200
763 LOCK_EX = 0x2
764 LOCK_NB = 0x4
765 LOCK_SH = 0x1
766 LOCK_UN = 0x8
767 MADV_CAN_REUSE = 0x9
768 MADV_DONTNEED = 0x4
769 MADV_FREE = 0x5
770 MADV_FREE_REUSABLE = 0x7
771 MADV_FREE_REUSE = 0x8
772 MADV_NORMAL = 0x0
773 MADV_RANDOM = 0x1
774 MADV_SEQUENTIAL = 0x2
775 MADV_WILLNEED = 0x3
776 MADV_ZERO_WIRED_PAGES = 0x6
777 MAP_ANON = 0x1000
778 MAP_COPY = 0x2
779 MAP_FILE = 0x0
780 MAP_FIXED = 0x10
781 MAP_HASSEMAPHORE = 0x200
782 MAP_JIT = 0x800
783 MAP_NOCACHE = 0x400
784 MAP_NOEXTEND = 0x100
785 MAP_NORESERVE = 0x40
786 MAP_PRIVATE = 0x2
787 MAP_RENAME = 0x20
788 MAP_RESERVED0080 = 0x80
789 MAP_SHARED = 0x1
790 MCL_CURRENT = 0x1
791 MCL_FUTURE = 0x2
792 MSG_CTRUNC = 0x20
793 MSG_DONTROUTE = 0x4
794 MSG_DONTWAIT = 0x80
795 MSG_EOF = 0x100
796 MSG_EOR = 0x8
797 MSG_FLUSH = 0x400
798 MSG_HAVEMORE = 0x2000
799 MSG_HOLD = 0x800
800 MSG_NEEDSA = 0x10000
801 MSG_OOB = 0x1
802 MSG_PEEK = 0x2
803 MSG_RCVMORE = 0x4000
804 MSG_SEND = 0x1000
805 MSG_TRUNC = 0x10
806 MSG_WAITALL = 0x40
807 MSG_WAITSTREAM = 0x200
808 MS_ASYNC = 0x1
809 MS_DEACTIVATE = 0x8
810 MS_INVALIDATE = 0x2
811 MS_KILLPAGES = 0x4
812 MS_SYNC = 0x10
813 NAME_MAX = 0xff
814 NET_RT_DUMP = 0x1
815 NET_RT_DUMP2 = 0x7
816 NET_RT_FLAGS = 0x2
817 NET_RT_IFLIST = 0x3
818 NET_RT_IFLIST2 = 0x6
819 NET_RT_MAXID = 0xa
820 NET_RT_STAT = 0x4
821 NET_RT_TRASH = 0x5
822 NOFLSH = 0x80000000
823 NOTE_ABSOLUTE = 0x8
824 NOTE_ATTRIB = 0x8
825 NOTE_BACKGROUND = 0x40
826 NOTE_CHILD = 0x4
827 NOTE_CRITICAL = 0x20
828 NOTE_DELETE = 0x1
829 NOTE_EXEC = 0x20000000
830 NOTE_EXIT = 0x80000000
831 NOTE_EXITSTATUS = 0x4000000
832 NOTE_EXIT_CSERROR = 0x40000
833 NOTE_EXIT_DECRYPTFAIL = 0x10000
834 NOTE_EXIT_DETAIL = 0x2000000
835 NOTE_EXIT_DETAIL_MASK = 0x70000
836 NOTE_EXIT_MEMORY = 0x20000
837 NOTE_EXIT_REPARENTED = 0x80000
838 NOTE_EXTEND = 0x4
839 NOTE_FFAND = 0x40000000
840 NOTE_FFCOPY = 0xc0000000
841 NOTE_FFCTRLMASK = 0xc0000000
842 NOTE_FFLAGSMASK = 0xffffff
843 NOTE_FFNOP = 0x0
844 NOTE_FFOR = 0x80000000
845 NOTE_FORK = 0x40000000
846 NOTE_LEEWAY = 0x10
847 NOTE_LINK = 0x10
848 NOTE_LOWAT = 0x1
849 NOTE_NONE = 0x80
850 NOTE_NSECONDS = 0x4
851 NOTE_PCTRLMASK = -0x100000
852 NOTE_PDATAMASK = 0xfffff
853 NOTE_REAP = 0x10000000
854 NOTE_RENAME = 0x20
855 NOTE_REVOKE = 0x40
856 NOTE_SECONDS = 0x1
857 NOTE_SIGNAL = 0x8000000
858 NOTE_TRACK = 0x1
859 NOTE_TRACKERR = 0x2
860 NOTE_TRIGGER = 0x1000000
861 NOTE_USECONDS = 0x2
862 NOTE_VM_ERROR = 0x10000000
863 NOTE_VM_PRESSURE = 0x80000000
864 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
865 NOTE_VM_PRESSURE_TERMINATE = 0x40000000
866 NOTE_WRITE = 0x2
867 OCRNL = 0x10
868 OFDEL = 0x20000
869 OFILL = 0x80
870 ONLCR = 0x2
871 ONLRET = 0x40
872 ONOCR = 0x20
873 ONOEOT = 0x8
874 OPOST = 0x1
875 O_ACCMODE = 0x3
876 O_ALERT = 0x20000000
877 O_APPEND = 0x8
878 O_ASYNC = 0x40
879 O_CLOEXEC = 0x1000000
880 O_CREAT = 0x200
881 O_DIRECTORY = 0x100000
882 O_DP_GETRAWENCRYPTED = 0x1
883 O_DSYNC = 0x400000
884 O_EVTONLY = 0x8000
885 O_EXCL = 0x800
886 O_EXLOCK = 0x20
887 O_FSYNC = 0x80
888 O_NDELAY = 0x4
889 O_NOCTTY = 0x20000
890 O_NOFOLLOW = 0x100
891 O_NONBLOCK = 0x4
892 O_POPUP = 0x80000000
893 O_RDONLY = 0x0
894 O_RDWR = 0x2
895 O_SHLOCK = 0x10
896 O_SYMLINK = 0x200000
897 O_SYNC = 0x80
898 O_TRUNC = 0x400
899 O_WRONLY = 0x1
900 PARENB = 0x1000
901 PARMRK = 0x8
902 PARODD = 0x2000
903 PENDIN = 0x20000000
904 PRIO_PGRP = 0x1
905 PRIO_PROCESS = 0x0
906 PRIO_USER = 0x2
907 PROT_EXEC = 0x4
908 PROT_NONE = 0x0
909 PROT_READ = 0x1
910 PROT_WRITE = 0x2
911 PT_ATTACH = 0xa
912 PT_ATTACHEXC = 0xe
913 PT_CONTINUE = 0x7
914 PT_DENY_ATTACH = 0x1f
915 PT_DETACH = 0xb
916 PT_FIRSTMACH = 0x20
917 PT_FORCEQUOTA = 0x1e
918 PT_KILL = 0x8
919 PT_READ_D = 0x2
920 PT_READ_I = 0x1
921 PT_READ_U = 0x3
922 PT_SIGEXC = 0xc
923 PT_STEP = 0x9
924 PT_THUPDATE = 0xd
925 PT_TRACE_ME = 0x0
926 PT_WRITE_D = 0x5
927 PT_WRITE_I = 0x4
928 PT_WRITE_U = 0x6
929 RLIMIT_AS = 0x5
930 RLIMIT_CORE = 0x4
931 RLIMIT_CPU = 0x0
932 RLIMIT_CPU_USAGE_MONITOR = 0x2
933 RLIMIT_DATA = 0x2
934 RLIMIT_FSIZE = 0x1
935 RLIMIT_NOFILE = 0x8
936 RLIMIT_STACK = 0x3
937 RLIM_INFINITY = 0x7fffffffffffffff
938 RTAX_AUTHOR = 0x6
939 RTAX_BRD = 0x7
940 RTAX_DST = 0x0
941 RTAX_GATEWAY = 0x1
942 RTAX_GENMASK = 0x3
943 RTAX_IFA = 0x5
944 RTAX_IFP = 0x4
945 RTAX_MAX = 0x8
946 RTAX_NETMASK = 0x2
947 RTA_AUTHOR = 0x40
948 RTA_BRD = 0x80
949 RTA_DST = 0x1
950 RTA_GATEWAY = 0x2
951 RTA_GENMASK = 0x8
952 RTA_IFA = 0x20
953 RTA_IFP = 0x10
954 RTA_NETMASK = 0x4
955 RTF_BLACKHOLE = 0x1000
956 RTF_BROADCAST = 0x400000
957 RTF_CLONING = 0x100
958 RTF_CONDEMNED = 0x2000000
959 RTF_DELCLONE = 0x80
960 RTF_DONE = 0x40
961 RTF_DYNAMIC = 0x10
962 RTF_GATEWAY = 0x2
963 RTF_HOST = 0x4
964 RTF_IFREF = 0x4000000
965 RTF_IFSCOPE = 0x1000000
966 RTF_LLINFO = 0x400
967 RTF_LOCAL = 0x200000
968 RTF_MODIFIED = 0x20
969 RTF_MULTICAST = 0x800000
970 RTF_NOIFREF = 0x2000
971 RTF_PINNED = 0x100000
972 RTF_PRCLONING = 0x10000
973 RTF_PROTO1 = 0x8000
974 RTF_PROTO2 = 0x4000
975 RTF_PROTO3 = 0x40000
976 RTF_PROXY = 0x8000000
977 RTF_REJECT = 0x8
978 RTF_ROUTER = 0x10000000
979 RTF_STATIC = 0x800
980 RTF_UP = 0x1
981 RTF_WASCLONED = 0x20000
982 RTF_XRESOLVE = 0x200
983 RTM_ADD = 0x1
984 RTM_CHANGE = 0x3
985 RTM_DELADDR = 0xd
986 RTM_DELETE = 0x2
987 RTM_DELMADDR = 0x10
988 RTM_GET = 0x4
989 RTM_GET2 = 0x14
990 RTM_IFINFO = 0xe
991 RTM_IFINFO2 = 0x12
992 RTM_LOCK = 0x8
993 RTM_LOSING = 0x5
994 RTM_MISS = 0x7
995 RTM_NEWADDR = 0xc
996 RTM_NEWMADDR = 0xf
997 RTM_NEWMADDR2 = 0x13
998 RTM_OLDADD = 0x9
999 RTM_OLDDEL = 0xa
1000 RTM_REDIRECT = 0x6
1001 RTM_RESOLVE = 0xb
1002 RTM_RTTUNIT = 0xf4240
1003 RTM_VERSION = 0x5
1004 RTV_EXPIRE = 0x4
1005 RTV_HOPCOUNT = 0x2
1006 RTV_MTU = 0x1
1007 RTV_RPIPE = 0x8
1008 RTV_RTT = 0x40
1009 RTV_RTTVAR = 0x80
1010 RTV_SPIPE = 0x10
1011 RTV_SSTHRESH = 0x20
1012 RUSAGE_CHILDREN = -0x1
1013 RUSAGE_SELF = 0x0
1014 SCM_CREDS = 0x3
1015 SCM_RIGHTS = 0x1
1016 SCM_TIMESTAMP = 0x2
1017 SCM_TIMESTAMP_MONOTONIC = 0x4
1018 SHUT_RD = 0x0
1019 SHUT_RDWR = 0x2
1020 SHUT_WR = 0x1
1021 SIOCADDMULTI = 0x80206931
1022 SIOCAIFADDR = 0x8040691a
1023 SIOCARPIPLL = 0xc0206928
1024 SIOCATMARK = 0x40047307
1025 SIOCAUTOADDR = 0xc0206926
1026 SIOCAUTONETMASK = 0x80206927
1027 SIOCDELMULTI = 0x80206932
1028 SIOCDIFADDR = 0x80206919
1029 SIOCDIFPHYADDR = 0x80206941
1030 SIOCGDRVSPEC = 0xc028697b
1031 SIOCGETVLAN = 0xc020697f
1032 SIOCGHIWAT = 0x40047301
1033 SIOCGIFADDR = 0xc0206921
1034 SIOCGIFALTMTU = 0xc0206948
1035 SIOCGIFASYNCMAP = 0xc020697c
1036 SIOCGIFBOND = 0xc0206947
1037 SIOCGIFBRDADDR = 0xc0206923
1038 SIOCGIFCAP = 0xc020695b
1039 SIOCGIFCONF = 0xc00c6924
1040 SIOCGIFDEVMTU = 0xc0206944
1041 SIOCGIFDSTADDR = 0xc0206922
1042 SIOCGIFFLAGS = 0xc0206911
1043 SIOCGIFGENERIC = 0xc020693a
1044 SIOCGIFKPI = 0xc0206987
1045 SIOCGIFMAC = 0xc0206982
1046 SIOCGIFMEDIA = 0xc02c6938
1047 SIOCGIFMETRIC = 0xc0206917
1048 SIOCGIFMTU = 0xc0206933
1049 SIOCGIFNETMASK = 0xc0206925
1050 SIOCGIFPDSTADDR = 0xc0206940
1051 SIOCGIFPHYS = 0xc0206935
1052 SIOCGIFPSRCADDR = 0xc020693f
1053 SIOCGIFSTATUS = 0xc331693d
1054 SIOCGIFVLAN = 0xc020697f
1055 SIOCGIFWAKEFLAGS = 0xc0206988
1056 SIOCGLOWAT = 0x40047303
1057 SIOCGPGRP = 0x40047309
1058 SIOCIFCREATE = 0xc0206978
1059 SIOCIFCREATE2 = 0xc020697a
1060 SIOCIFDESTROY = 0x80206979
1061 SIOCIFGCLONERS = 0xc0106981
1062 SIOCRSLVMULTI = 0xc010693b
1063 SIOCSDRVSPEC = 0x8028697b
1064 SIOCSETVLAN = 0x8020697e
1065 SIOCSHIWAT = 0x80047300
1066 SIOCSIFADDR = 0x8020690c
1067 SIOCSIFALTMTU = 0x80206945
1068 SIOCSIFASYNCMAP = 0x8020697d
1069 SIOCSIFBOND = 0x80206946
1070 SIOCSIFBRDADDR = 0x80206913
1071 SIOCSIFCAP = 0x8020695a
1072 SIOCSIFDSTADDR = 0x8020690e
1073 SIOCSIFFLAGS = 0x80206910
1074 SIOCSIFGENERIC = 0x80206939
1075 SIOCSIFKPI = 0x80206986
1076 SIOCSIFLLADDR = 0x8020693c
1077 SIOCSIFMAC = 0x80206983
1078 SIOCSIFMEDIA = 0xc0206937
1079 SIOCSIFMETRIC = 0x80206918
1080 SIOCSIFMTU = 0x80206934
1081 SIOCSIFNETMASK = 0x80206916
1082 SIOCSIFPHYADDR = 0x8040693e
1083 SIOCSIFPHYS = 0x80206936
1084 SIOCSIFVLAN = 0x8020697e
1085 SIOCSLOWAT = 0x80047302
1086 SIOCSPGRP = 0x80047308
1087 SOCK_DGRAM = 0x2
1088 SOCK_MAXADDRLEN = 0xff
1089 SOCK_RAW = 0x3
1090 SOCK_RDM = 0x4
1091 SOCK_SEQPACKET = 0x5
1092 SOCK_STREAM = 0x1
1093 SOL_SOCKET = 0xffff
1094 SOMAXCONN = 0x80
1095 SO_ACCEPTCONN = 0x2
1096 SO_BROADCAST = 0x20
1097 SO_DEBUG = 0x1
1098 SO_DONTROUTE = 0x10
1099 SO_DONTTRUNC = 0x2000
1100 SO_ERROR = 0x1007
1101 SO_KEEPALIVE = 0x8
1102 SO_LABEL = 0x1010
1103 SO_LINGER = 0x80
1104 SO_LINGER_SEC = 0x1080
1105 SO_NKE = 0x1021
1106 SO_NOADDRERR = 0x1023
1107 SO_NOSIGPIPE = 0x1022
1108 SO_NOTIFYCONFLICT = 0x1026
1109 SO_NP_EXTENSIONS = 0x1083
1110 SO_NREAD = 0x1020
1111 SO_NUMRCVPKT = 0x1112
1112 SO_NWRITE = 0x1024
1113 SO_OOBINLINE = 0x100
1114 SO_PEERLABEL = 0x1011
1115 SO_RANDOMPORT = 0x1082
1116 SO_RCVBUF = 0x1002
1117 SO_RCVLOWAT = 0x1004
1118 SO_RCVTIMEO = 0x1006
1119 SO_REUSEADDR = 0x4
1120 SO_REUSEPORT = 0x200
1121 SO_REUSESHAREUID = 0x1025
1122 SO_SNDBUF = 0x1001
1123 SO_SNDLOWAT = 0x1003
1124 SO_SNDTIMEO = 0x1005
1125 SO_TIMESTAMP = 0x400
1126 SO_TIMESTAMP_MONOTONIC = 0x800
1127 SO_TYPE = 0x1008
1128 SO_UPCALLCLOSEWAIT = 0x1027
1129 SO_USELOOPBACK = 0x40
1130 SO_WANTMORE = 0x4000
1131 SO_WANTOOBFLAG = 0x8000
1132 S_IEXEC = 0x40
1133 S_IFBLK = 0x6000
1134 S_IFCHR = 0x2000
1135 S_IFDIR = 0x4000
1136 S_IFIFO = 0x1000
1137 S_IFLNK = 0xa000
1138 S_IFMT = 0xf000
1139 S_IFREG = 0x8000
1140 S_IFSOCK = 0xc000
1141 S_IFWHT = 0xe000
1142 S_IREAD = 0x100
1143 S_IRGRP = 0x20
1144 S_IROTH = 0x4
1145 S_IRUSR = 0x100
1146 S_IRWXG = 0x38
1147 S_IRWXO = 0x7
1148 S_IRWXU = 0x1c0
1149 S_ISGID = 0x400
1150 S_ISTXT = 0x200
1151 S_ISUID = 0x800
1152 S_ISVTX = 0x200
1153 S_IWGRP = 0x10
1154 S_IWOTH = 0x2
1155 S_IWRITE = 0x80
1156 S_IWUSR = 0x80
1157 S_IXGRP = 0x8
1158 S_IXOTH = 0x1
1159 S_IXUSR = 0x40
1160 TCIFLUSH = 0x1
1161 TCIOFLUSH = 0x3
1162 TCOFLUSH = 0x2
1163 TCP_CONNECTIONTIMEOUT = 0x20
1164 TCP_ENABLE_ECN = 0x104
1165 TCP_KEEPALIVE = 0x10
1166 TCP_KEEPCNT = 0x102
1167 TCP_KEEPINTVL = 0x101
1168 TCP_MAXHLEN = 0x3c
1169 TCP_MAXOLEN = 0x28
1170 TCP_MAXSEG = 0x2
1171 TCP_MAXWIN = 0xffff
1172 TCP_MAX_SACK = 0x4
1173 TCP_MAX_WINSHIFT = 0xe
1174 TCP_MINMSS = 0xd8
1175 TCP_MSS = 0x200
1176 TCP_NODELAY = 0x1
1177 TCP_NOOPT = 0x8
1178 TCP_NOPUSH = 0x4
1179 TCP_NOTSENT_LOWAT = 0x201
1180 TCP_RXT_CONNDROPTIME = 0x80
1181 TCP_RXT_FINDROP = 0x100
1182 TCP_SENDMOREACKS = 0x103
1183 TCSAFLUSH = 0x2
1184 TIOCCBRK = 0x2000747a
1185 TIOCCDTR = 0x20007478
1186 TIOCCONS = 0x80047462
1187 TIOCDCDTIMESTAMP = 0x40107458
1188 TIOCDRAIN = 0x2000745e
1189 TIOCDSIMICROCODE = 0x20007455
1190 TIOCEXCL = 0x2000740d
1191 TIOCEXT = 0x80047460
1192 TIOCFLUSH = 0x80047410
1193 TIOCGDRAINWAIT = 0x40047456
1194 TIOCGETA = 0x40487413
1195 TIOCGETD = 0x4004741a
1196 TIOCGPGRP = 0x40047477
1197 TIOCGWINSZ = 0x40087468
1198 TIOCIXOFF = 0x20007480
1199 TIOCIXON = 0x20007481
1200 TIOCMBIC = 0x8004746b
1201 TIOCMBIS = 0x8004746c
1202 TIOCMGDTRWAIT = 0x4004745a
1203 TIOCMGET = 0x4004746a
1204 TIOCMODG = 0x40047403
1205 TIOCMODS = 0x80047404
1206 TIOCMSDTRWAIT = 0x8004745b
1207 TIOCMSET = 0x8004746d
1208 TIOCM_CAR = 0x40
1209 TIOCM_CD = 0x40
1210 TIOCM_CTS = 0x20
1211 TIOCM_DSR = 0x100
1212 TIOCM_DTR = 0x2
1213 TIOCM_LE = 0x1
1214 TIOCM_RI = 0x80
1215 TIOCM_RNG = 0x80
1216 TIOCM_RTS = 0x4
1217 TIOCM_SR = 0x10
1218 TIOCM_ST = 0x8
1219 TIOCNOTTY = 0x20007471
1220 TIOCNXCL = 0x2000740e
1221 TIOCOUTQ = 0x40047473
1222 TIOCPKT = 0x80047470
1223 TIOCPKT_DATA = 0x0
1224 TIOCPKT_DOSTOP = 0x20
1225 TIOCPKT_FLUSHREAD = 0x1
1226 TIOCPKT_FLUSHWRITE = 0x2
1227 TIOCPKT_IOCTL = 0x40
1228 TIOCPKT_NOSTOP = 0x10
1229 TIOCPKT_START = 0x8
1230 TIOCPKT_STOP = 0x4
1231 TIOCPTYGNAME = 0x40807453
1232 TIOCPTYGRANT = 0x20007454
1233 TIOCPTYUNLK = 0x20007452
1234 TIOCREMOTE = 0x80047469
1235 TIOCSBRK = 0x2000747b
1236 TIOCSCONS = 0x20007463
1237 TIOCSCTTY = 0x20007461
1238 TIOCSDRAINWAIT = 0x80047457
1239 TIOCSDTR = 0x20007479
1240 TIOCSETA = 0x80487414
1241 TIOCSETAF = 0x80487416
1242 TIOCSETAW = 0x80487415
1243 TIOCSETD = 0x8004741b
1244 TIOCSIG = 0x2000745f
1245 TIOCSPGRP = 0x80047476
1246 TIOCSTART = 0x2000746e
1247 TIOCSTAT = 0x20007465
1248 TIOCSTI = 0x80017472
1249 TIOCSTOP = 0x2000746f
1250 TIOCSWINSZ = 0x80087467
1251 TIOCTIMESTAMP = 0x40107459
1252 TIOCUCNTL = 0x80047466
1253 TOSTOP = 0x400000
1254 VDISCARD = 0xf
1255 VDSUSP = 0xb
1256 VEOF = 0x0
1257 VEOL = 0x1
1258 VEOL2 = 0x2
1259 VERASE = 0x3
1260 VINTR = 0x8
1261 VKILL = 0x5
1262 VLNEXT = 0xe
1263 VMIN = 0x10
1264 VQUIT = 0x9
1265 VREPRINT = 0x6
1266 VSTART = 0xc
1267 VSTATUS = 0x12
1268 VSTOP = 0xd
1269 VSUSP = 0xa
1270 VT0 = 0x0
1271 VT1 = 0x10000
1272 VTDLY = 0x10000
1273 VTIME = 0x11
1274 VWERASE = 0x4
1275 WCONTINUED = 0x10
1276 WCOREFLAG = 0x80
1277 WEXITED = 0x4
1278 WNOHANG = 0x1
1279 WNOWAIT = 0x20
1280 WORDSIZE = 0x40
1281 WSTOPPED = 0x8
1282 WUNTRACED = 0x2
1283)
1284
1285// Errors
1286const (
1287 E2BIG = syscall.Errno(0x7)
1288 EACCES = syscall.Errno(0xd)
1289 EADDRINUSE = syscall.Errno(0x30)
1290 EADDRNOTAVAIL = syscall.Errno(0x31)
1291 EAFNOSUPPORT = syscall.Errno(0x2f)
1292 EAGAIN = syscall.Errno(0x23)
1293 EALREADY = syscall.Errno(0x25)
1294 EAUTH = syscall.Errno(0x50)
1295 EBADARCH = syscall.Errno(0x56)
1296 EBADEXEC = syscall.Errno(0x55)
1297 EBADF = syscall.Errno(0x9)
1298 EBADMACHO = syscall.Errno(0x58)
1299 EBADMSG = syscall.Errno(0x5e)
1300 EBADRPC = syscall.Errno(0x48)
1301 EBUSY = syscall.Errno(0x10)
1302 ECANCELED = syscall.Errno(0x59)
1303 ECHILD = syscall.Errno(0xa)
1304 ECONNABORTED = syscall.Errno(0x35)
1305 ECONNREFUSED = syscall.Errno(0x3d)
1306 ECONNRESET = syscall.Errno(0x36)
1307 EDEADLK = syscall.Errno(0xb)
1308 EDESTADDRREQ = syscall.Errno(0x27)
1309 EDEVERR = syscall.Errno(0x53)
1310 EDOM = syscall.Errno(0x21)
1311 EDQUOT = syscall.Errno(0x45)
1312 EEXIST = syscall.Errno(0x11)
1313 EFAULT = syscall.Errno(0xe)
1314 EFBIG = syscall.Errno(0x1b)
1315 EFTYPE = syscall.Errno(0x4f)
1316 EHOSTDOWN = syscall.Errno(0x40)
1317 EHOSTUNREACH = syscall.Errno(0x41)
1318 EIDRM = syscall.Errno(0x5a)
1319 EILSEQ = syscall.Errno(0x5c)
1320 EINPROGRESS = syscall.Errno(0x24)
1321 EINTR = syscall.Errno(0x4)
1322 EINVAL = syscall.Errno(0x16)
1323 EIO = syscall.Errno(0x5)
1324 EISCONN = syscall.Errno(0x38)
1325 EISDIR = syscall.Errno(0x15)
1326 ELAST = syscall.Errno(0x6a)
1327 ELOOP = syscall.Errno(0x3e)
1328 EMFILE = syscall.Errno(0x18)
1329 EMLINK = syscall.Errno(0x1f)
1330 EMSGSIZE = syscall.Errno(0x28)
1331 EMULTIHOP = syscall.Errno(0x5f)
1332 ENAMETOOLONG = syscall.Errno(0x3f)
1333 ENEEDAUTH = syscall.Errno(0x51)
1334 ENETDOWN = syscall.Errno(0x32)
1335 ENETRESET = syscall.Errno(0x34)
1336 ENETUNREACH = syscall.Errno(0x33)
1337 ENFILE = syscall.Errno(0x17)
1338 ENOATTR = syscall.Errno(0x5d)
1339 ENOBUFS = syscall.Errno(0x37)
1340 ENODATA = syscall.Errno(0x60)
1341 ENODEV = syscall.Errno(0x13)
1342 ENOENT = syscall.Errno(0x2)
1343 ENOEXEC = syscall.Errno(0x8)
1344 ENOLCK = syscall.Errno(0x4d)
1345 ENOLINK = syscall.Errno(0x61)
1346 ENOMEM = syscall.Errno(0xc)
1347 ENOMSG = syscall.Errno(0x5b)
1348 ENOPOLICY = syscall.Errno(0x67)
1349 ENOPROTOOPT = syscall.Errno(0x2a)
1350 ENOSPC = syscall.Errno(0x1c)
1351 ENOSR = syscall.Errno(0x62)
1352 ENOSTR = syscall.Errno(0x63)
1353 ENOSYS = syscall.Errno(0x4e)
1354 ENOTBLK = syscall.Errno(0xf)
1355 ENOTCONN = syscall.Errno(0x39)
1356 ENOTDIR = syscall.Errno(0x14)
1357 ENOTEMPTY = syscall.Errno(0x42)
1358 ENOTRECOVERABLE = syscall.Errno(0x68)
1359 ENOTSOCK = syscall.Errno(0x26)
1360 ENOTSUP = syscall.Errno(0x2d)
1361 ENOTTY = syscall.Errno(0x19)
1362 ENXIO = syscall.Errno(0x6)
1363 EOPNOTSUPP = syscall.Errno(0x66)
1364 EOVERFLOW = syscall.Errno(0x54)
1365 EOWNERDEAD = syscall.Errno(0x69)
1366 EPERM = syscall.Errno(0x1)
1367 EPFNOSUPPORT = syscall.Errno(0x2e)
1368 EPIPE = syscall.Errno(0x20)
1369 EPROCLIM = syscall.Errno(0x43)
1370 EPROCUNAVAIL = syscall.Errno(0x4c)
1371 EPROGMISMATCH = syscall.Errno(0x4b)
1372 EPROGUNAVAIL = syscall.Errno(0x4a)
1373 EPROTO = syscall.Errno(0x64)
1374 EPROTONOSUPPORT = syscall.Errno(0x2b)
1375 EPROTOTYPE = syscall.Errno(0x29)
1376 EPWROFF = syscall.Errno(0x52)
1377 EQFULL = syscall.Errno(0x6a)
1378 ERANGE = syscall.Errno(0x22)
1379 EREMOTE = syscall.Errno(0x47)
1380 EROFS = syscall.Errno(0x1e)
1381 ERPCMISMATCH = syscall.Errno(0x49)
1382 ESHLIBVERS = syscall.Errno(0x57)
1383 ESHUTDOWN = syscall.Errno(0x3a)
1384 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1385 ESPIPE = syscall.Errno(0x1d)
1386 ESRCH = syscall.Errno(0x3)
1387 ESTALE = syscall.Errno(0x46)
1388 ETIME = syscall.Errno(0x65)
1389 ETIMEDOUT = syscall.Errno(0x3c)
1390 ETOOMANYREFS = syscall.Errno(0x3b)
1391 ETXTBSY = syscall.Errno(0x1a)
1392 EUSERS = syscall.Errno(0x44)
1393 EWOULDBLOCK = syscall.Errno(0x23)
1394 EXDEV = syscall.Errno(0x12)
1395)
1396
1397// Signals
1398const (
1399 SIGABRT = syscall.Signal(0x6)
1400 SIGALRM = syscall.Signal(0xe)
1401 SIGBUS = syscall.Signal(0xa)
1402 SIGCHLD = syscall.Signal(0x14)
1403 SIGCONT = syscall.Signal(0x13)
1404 SIGEMT = syscall.Signal(0x7)
1405 SIGFPE = syscall.Signal(0x8)
1406 SIGHUP = syscall.Signal(0x1)
1407 SIGILL = syscall.Signal(0x4)
1408 SIGINFO = syscall.Signal(0x1d)
1409 SIGINT = syscall.Signal(0x2)
1410 SIGIO = syscall.Signal(0x17)
1411 SIGIOT = syscall.Signal(0x6)
1412 SIGKILL = syscall.Signal(0x9)
1413 SIGPIPE = syscall.Signal(0xd)
1414 SIGPROF = syscall.Signal(0x1b)
1415 SIGQUIT = syscall.Signal(0x3)
1416 SIGSEGV = syscall.Signal(0xb)
1417 SIGSTOP = syscall.Signal(0x11)
1418 SIGSYS = syscall.Signal(0xc)
1419 SIGTERM = syscall.Signal(0xf)
1420 SIGTRAP = syscall.Signal(0x5)
1421 SIGTSTP = syscall.Signal(0x12)
1422 SIGTTIN = syscall.Signal(0x15)
1423 SIGTTOU = syscall.Signal(0x16)
1424 SIGURG = syscall.Signal(0x10)
1425 SIGUSR1 = syscall.Signal(0x1e)
1426 SIGUSR2 = syscall.Signal(0x1f)
1427 SIGVTALRM = syscall.Signal(0x1a)
1428 SIGWINCH = syscall.Signal(0x1c)
1429 SIGXCPU = syscall.Signal(0x18)
1430 SIGXFSZ = syscall.Signal(0x19)
1431)
1432
1433// Error table
1434var errors = [...]string{
1435 1: "operation not permitted",
1436 2: "no such file or directory",
1437 3: "no such process",
1438 4: "interrupted system call",
1439 5: "input/output error",
1440 6: "device not configured",
1441 7: "argument list too long",
1442 8: "exec format error",
1443 9: "bad file descriptor",
1444 10: "no child processes",
1445 11: "resource deadlock avoided",
1446 12: "cannot allocate memory",
1447 13: "permission denied",
1448 14: "bad address",
1449 15: "block device required",
1450 16: "resource busy",
1451 17: "file exists",
1452 18: "cross-device link",
1453 19: "operation not supported by device",
1454 20: "not a directory",
1455 21: "is a directory",
1456 22: "invalid argument",
1457 23: "too many open files in system",
1458 24: "too many open files",
1459 25: "inappropriate ioctl for device",
1460 26: "text file busy",
1461 27: "file too large",
1462 28: "no space left on device",
1463 29: "illegal seek",
1464 30: "read-only file system",
1465 31: "too many links",
1466 32: "broken pipe",
1467 33: "numerical argument out of domain",
1468 34: "result too large",
1469 35: "resource temporarily unavailable",
1470 36: "operation now in progress",
1471 37: "operation already in progress",
1472 38: "socket operation on non-socket",
1473 39: "destination address required",
1474 40: "message too long",
1475 41: "protocol wrong type for socket",
1476 42: "protocol not available",
1477 43: "protocol not supported",
1478 44: "socket type not supported",
1479 45: "operation not supported",
1480 46: "protocol family not supported",
1481 47: "address family not supported by protocol family",
1482 48: "address already in use",
1483 49: "can't assign requested address",
1484 50: "network is down",
1485 51: "network is unreachable",
1486 52: "network dropped connection on reset",
1487 53: "software caused connection abort",
1488 54: "connection reset by peer",
1489 55: "no buffer space available",
1490 56: "socket is already connected",
1491 57: "socket is not connected",
1492 58: "can't send after socket shutdown",
1493 59: "too many references: can't splice",
1494 60: "operation timed out",
1495 61: "connection refused",
1496 62: "too many levels of symbolic links",
1497 63: "file name too long",
1498 64: "host is down",
1499 65: "no route to host",
1500 66: "directory not empty",
1501 67: "too many processes",
1502 68: "too many users",
1503 69: "disc quota exceeded",
1504 70: "stale NFS file handle",
1505 71: "too many levels of remote in path",
1506 72: "RPC struct is bad",
1507 73: "RPC version wrong",
1508 74: "RPC prog. not avail",
1509 75: "program version wrong",
1510 76: "bad procedure for program",
1511 77: "no locks available",
1512 78: "function not implemented",
1513 79: "inappropriate file type or format",
1514 80: "authentication error",
1515 81: "need authenticator",
1516 82: "device power is off",
1517 83: "device error",
1518 84: "value too large to be stored in data type",
1519 85: "bad executable (or shared library)",
1520 86: "bad CPU type in executable",
1521 87: "shared library version mismatch",
1522 88: "malformed Mach-o file",
1523 89: "operation canceled",
1524 90: "identifier removed",
1525 91: "no message of desired type",
1526 92: "illegal byte sequence",
1527 93: "attribute not found",
1528 94: "bad message",
1529 95: "EMULTIHOP (Reserved)",
1530 96: "no message available on STREAM",
1531 97: "ENOLINK (Reserved)",
1532 98: "no STREAM resources",
1533 99: "not a STREAM",
1534 100: "protocol error",
1535 101: "STREAM ioctl timeout",
1536 102: "operation not supported on socket",
1537 103: "policy not found",
1538 104: "state not recoverable",
1539 105: "previous owner died",
1540 106: "interface output queue is full",
1541}
1542
1543// Signal table
1544var signals = [...]string{
1545 1: "hangup",
1546 2: "interrupt",
1547 3: "quit",
1548 4: "illegal instruction",
1549 5: "trace/BPT trap",
1550 6: "abort trap",
1551 7: "EMT trap",
1552 8: "floating point exception",
1553 9: "killed",
1554 10: "bus error",
1555 11: "segmentation fault",
1556 12: "bad system call",
1557 13: "broken pipe",
1558 14: "alarm clock",
1559 15: "terminated",
1560 16: "urgent I/O condition",
1561 17: "suspended (signal)",
1562 18: "suspended",
1563 19: "continued",
1564 20: "child exited",
1565 21: "stopped (tty input)",
1566 22: "stopped (tty output)",
1567 23: "I/O possible",
1568 24: "cputime limit exceeded",
1569 25: "filesize limit exceeded",
1570 26: "virtual timer expired",
1571 27: "profiling timer expired",
1572 28: "window size changes",
1573 29: "information request",
1574 30: "user defined signal 1",
1575 31: "user defined signal 2",
1576}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm.go
deleted file mode 100644
index a410e88..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm.go
+++ /dev/null
@@ -1,1293 +0,0 @@
1// mkerrors.sh
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// Created by cgo -godefs - DO NOT EDIT
5// cgo -godefs -- _const.go
6
7// +build arm,darwin
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_CCITT = 0xa
16 AF_CHAOS = 0x5
17 AF_CNT = 0x15
18 AF_COIP = 0x14
19 AF_DATAKIT = 0x9
20 AF_DECnet = 0xc
21 AF_DLI = 0xd
22 AF_E164 = 0x1c
23 AF_ECMA = 0x8
24 AF_HYLINK = 0xf
25 AF_IEEE80211 = 0x25
26 AF_IMPLINK = 0x3
27 AF_INET = 0x2
28 AF_INET6 = 0x1e
29 AF_IPX = 0x17
30 AF_ISDN = 0x1c
31 AF_ISO = 0x7
32 AF_LAT = 0xe
33 AF_LINK = 0x12
34 AF_LOCAL = 0x1
35 AF_MAX = 0x28
36 AF_NATM = 0x1f
37 AF_NDRV = 0x1b
38 AF_NETBIOS = 0x21
39 AF_NS = 0x6
40 AF_OSI = 0x7
41 AF_PPP = 0x22
42 AF_PUP = 0x4
43 AF_RESERVED_36 = 0x24
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_SYSTEM = 0x20
48 AF_UNIX = 0x1
49 AF_UNSPEC = 0x0
50 AF_UTUN = 0x26
51 B0 = 0x0
52 B110 = 0x6e
53 B115200 = 0x1c200
54 B1200 = 0x4b0
55 B134 = 0x86
56 B14400 = 0x3840
57 B150 = 0x96
58 B1800 = 0x708
59 B19200 = 0x4b00
60 B200 = 0xc8
61 B230400 = 0x38400
62 B2400 = 0x960
63 B28800 = 0x7080
64 B300 = 0x12c
65 B38400 = 0x9600
66 B4800 = 0x12c0
67 B50 = 0x32
68 B57600 = 0xe100
69 B600 = 0x258
70 B7200 = 0x1c20
71 B75 = 0x4b
72 B76800 = 0x12c00
73 B9600 = 0x2580
74 BIOCFLUSH = 0x20004268
75 BIOCGBLEN = 0x40044266
76 BIOCGDLT = 0x4004426a
77 BIOCGDLTLIST = 0xc00c4279
78 BIOCGETIF = 0x4020426b
79 BIOCGHDRCMPLT = 0x40044274
80 BIOCGRSIG = 0x40044272
81 BIOCGRTIMEOUT = 0x4010426e
82 BIOCGSEESENT = 0x40044276
83 BIOCGSTATS = 0x4008426f
84 BIOCIMMEDIATE = 0x80044270
85 BIOCPROMISC = 0x20004269
86 BIOCSBLEN = 0xc0044266
87 BIOCSDLT = 0x80044278
88 BIOCSETF = 0x80104267
89 BIOCSETIF = 0x8020426c
90 BIOCSHDRCMPLT = 0x80044275
91 BIOCSRSIG = 0x80044273
92 BIOCSRTIMEOUT = 0x8010426d
93 BIOCSSEESENT = 0x80044277
94 BIOCVERSION = 0x40044271
95 BPF_A = 0x10
96 BPF_ABS = 0x20
97 BPF_ADD = 0x0
98 BPF_ALIGNMENT = 0x4
99 BPF_ALU = 0x4
100 BPF_AND = 0x50
101 BPF_B = 0x10
102 BPF_DIV = 0x30
103 BPF_H = 0x8
104 BPF_IMM = 0x0
105 BPF_IND = 0x40
106 BPF_JA = 0x0
107 BPF_JEQ = 0x10
108 BPF_JGE = 0x30
109 BPF_JGT = 0x20
110 BPF_JMP = 0x5
111 BPF_JSET = 0x40
112 BPF_K = 0x0
113 BPF_LD = 0x0
114 BPF_LDX = 0x1
115 BPF_LEN = 0x80
116 BPF_LSH = 0x60
117 BPF_MAJOR_VERSION = 0x1
118 BPF_MAXBUFSIZE = 0x80000
119 BPF_MAXINSNS = 0x200
120 BPF_MEM = 0x60
121 BPF_MEMWORDS = 0x10
122 BPF_MINBUFSIZE = 0x20
123 BPF_MINOR_VERSION = 0x1
124 BPF_MISC = 0x7
125 BPF_MSH = 0xa0
126 BPF_MUL = 0x20
127 BPF_NEG = 0x80
128 BPF_OR = 0x40
129 BPF_RELEASE = 0x30bb6
130 BPF_RET = 0x6
131 BPF_RSH = 0x70
132 BPF_ST = 0x2
133 BPF_STX = 0x3
134 BPF_SUB = 0x10
135 BPF_TAX = 0x0
136 BPF_TXA = 0x80
137 BPF_W = 0x0
138 BPF_X = 0x8
139 BRKINT = 0x2
140 CFLUSH = 0xf
141 CLOCAL = 0x8000
142 CREAD = 0x800
143 CS5 = 0x0
144 CS6 = 0x100
145 CS7 = 0x200
146 CS8 = 0x300
147 CSIZE = 0x300
148 CSTART = 0x11
149 CSTATUS = 0x14
150 CSTOP = 0x13
151 CSTOPB = 0x400
152 CSUSP = 0x1a
153 CTL_MAXNAME = 0xc
154 CTL_NET = 0x4
155 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
156 DLT_ARCNET = 0x7
157 DLT_ATM_CLIP = 0x13
158 DLT_ATM_RFC1483 = 0xb
159 DLT_AX25 = 0x3
160 DLT_CHAOS = 0x5
161 DLT_CHDLC = 0x68
162 DLT_C_HDLC = 0x68
163 DLT_EN10MB = 0x1
164 DLT_EN3MB = 0x2
165 DLT_FDDI = 0xa
166 DLT_IEEE802 = 0x6
167 DLT_IEEE802_11 = 0x69
168 DLT_IEEE802_11_RADIO = 0x7f
169 DLT_IEEE802_11_RADIO_AVS = 0xa3
170 DLT_LINUX_SLL = 0x71
171 DLT_LOOP = 0x6c
172 DLT_NULL = 0x0
173 DLT_PFLOG = 0x75
174 DLT_PFSYNC = 0x12
175 DLT_PPP = 0x9
176 DLT_PPP_BSDOS = 0x10
177 DLT_PPP_SERIAL = 0x32
178 DLT_PRONET = 0x4
179 DLT_RAW = 0xc
180 DLT_SLIP = 0x8
181 DLT_SLIP_BSDOS = 0xf
182 DT_BLK = 0x6
183 DT_CHR = 0x2
184 DT_DIR = 0x4
185 DT_FIFO = 0x1
186 DT_LNK = 0xa
187 DT_REG = 0x8
188 DT_SOCK = 0xc
189 DT_UNKNOWN = 0x0
190 DT_WHT = 0xe
191 ECHO = 0x8
192 ECHOCTL = 0x40
193 ECHOE = 0x2
194 ECHOK = 0x4
195 ECHOKE = 0x1
196 ECHONL = 0x10
197 ECHOPRT = 0x20
198 EVFILT_AIO = -0x3
199 EVFILT_FS = -0x9
200 EVFILT_MACHPORT = -0x8
201 EVFILT_PROC = -0x5
202 EVFILT_READ = -0x1
203 EVFILT_SIGNAL = -0x6
204 EVFILT_SYSCOUNT = 0xe
205 EVFILT_THREADMARKER = 0xe
206 EVFILT_TIMER = -0x7
207 EVFILT_USER = -0xa
208 EVFILT_VM = -0xc
209 EVFILT_VNODE = -0x4
210 EVFILT_WRITE = -0x2
211 EV_ADD = 0x1
212 EV_CLEAR = 0x20
213 EV_DELETE = 0x2
214 EV_DISABLE = 0x8
215 EV_DISPATCH = 0x80
216 EV_ENABLE = 0x4
217 EV_EOF = 0x8000
218 EV_ERROR = 0x4000
219 EV_FLAG0 = 0x1000
220 EV_FLAG1 = 0x2000
221 EV_ONESHOT = 0x10
222 EV_OOBAND = 0x2000
223 EV_POLL = 0x1000
224 EV_RECEIPT = 0x40
225 EV_SYSFLAGS = 0xf000
226 EXTA = 0x4b00
227 EXTB = 0x9600
228 EXTPROC = 0x800
229 FD_CLOEXEC = 0x1
230 FD_SETSIZE = 0x400
231 FLUSHO = 0x800000
232 F_ADDFILESIGS = 0x3d
233 F_ADDSIGS = 0x3b
234 F_ALLOCATEALL = 0x4
235 F_ALLOCATECONTIG = 0x2
236 F_CHKCLEAN = 0x29
237 F_DUPFD = 0x0
238 F_DUPFD_CLOEXEC = 0x43
239 F_FINDSIGS = 0x4e
240 F_FLUSH_DATA = 0x28
241 F_FREEZE_FS = 0x35
242 F_FULLFSYNC = 0x33
243 F_GETCODEDIR = 0x48
244 F_GETFD = 0x1
245 F_GETFL = 0x3
246 F_GETLK = 0x7
247 F_GETLKPID = 0x42
248 F_GETNOSIGPIPE = 0x4a
249 F_GETOWN = 0x5
250 F_GETPATH = 0x32
251 F_GETPATH_MTMINFO = 0x47
252 F_GETPROTECTIONCLASS = 0x3f
253 F_GETPROTECTIONLEVEL = 0x4d
254 F_GLOBAL_NOCACHE = 0x37
255 F_LOG2PHYS = 0x31
256 F_LOG2PHYS_EXT = 0x41
257 F_NOCACHE = 0x30
258 F_NODIRECT = 0x3e
259 F_OK = 0x0
260 F_PATHPKG_CHECK = 0x34
261 F_PEOFPOSMODE = 0x3
262 F_PREALLOCATE = 0x2a
263 F_RDADVISE = 0x2c
264 F_RDAHEAD = 0x2d
265 F_RDLCK = 0x1
266 F_SETBACKINGSTORE = 0x46
267 F_SETFD = 0x2
268 F_SETFL = 0x4
269 F_SETLK = 0x8
270 F_SETLKW = 0x9
271 F_SETLKWTIMEOUT = 0xa
272 F_SETNOSIGPIPE = 0x49
273 F_SETOWN = 0x6
274 F_SETPROTECTIONCLASS = 0x40
275 F_SETSIZE = 0x2b
276 F_SINGLE_WRITER = 0x4c
277 F_THAW_FS = 0x36
278 F_TRANSCODEKEY = 0x4b
279 F_UNLCK = 0x2
280 F_VOLPOSMODE = 0x4
281 F_WRLCK = 0x3
282 HUPCL = 0x4000
283 ICANON = 0x100
284 ICMP6_FILTER = 0x12
285 ICRNL = 0x100
286 IEXTEN = 0x400
287 IFF_ALLMULTI = 0x200
288 IFF_ALTPHYS = 0x4000
289 IFF_BROADCAST = 0x2
290 IFF_DEBUG = 0x4
291 IFF_LINK0 = 0x1000
292 IFF_LINK1 = 0x2000
293 IFF_LINK2 = 0x4000
294 IFF_LOOPBACK = 0x8
295 IFF_MULTICAST = 0x8000
296 IFF_NOARP = 0x80
297 IFF_NOTRAILERS = 0x20
298 IFF_OACTIVE = 0x400
299 IFF_POINTOPOINT = 0x10
300 IFF_PROMISC = 0x100
301 IFF_RUNNING = 0x40
302 IFF_SIMPLEX = 0x800
303 IFF_UP = 0x1
304 IFNAMSIZ = 0x10
305 IFT_1822 = 0x2
306 IFT_AAL5 = 0x31
307 IFT_ARCNET = 0x23
308 IFT_ARCNETPLUS = 0x24
309 IFT_ATM = 0x25
310 IFT_BRIDGE = 0xd1
311 IFT_CARP = 0xf8
312 IFT_CELLULAR = 0xff
313 IFT_CEPT = 0x13
314 IFT_DS3 = 0x1e
315 IFT_ENC = 0xf4
316 IFT_EON = 0x19
317 IFT_ETHER = 0x6
318 IFT_FAITH = 0x38
319 IFT_FDDI = 0xf
320 IFT_FRELAY = 0x20
321 IFT_FRELAYDCE = 0x2c
322 IFT_GIF = 0x37
323 IFT_HDH1822 = 0x3
324 IFT_HIPPI = 0x2f
325 IFT_HSSI = 0x2e
326 IFT_HY = 0xe
327 IFT_IEEE1394 = 0x90
328 IFT_IEEE8023ADLAG = 0x88
329 IFT_ISDNBASIC = 0x14
330 IFT_ISDNPRIMARY = 0x15
331 IFT_ISO88022LLC = 0x29
332 IFT_ISO88023 = 0x7
333 IFT_ISO88024 = 0x8
334 IFT_ISO88025 = 0x9
335 IFT_ISO88026 = 0xa
336 IFT_L2VLAN = 0x87
337 IFT_LAPB = 0x10
338 IFT_LOCALTALK = 0x2a
339 IFT_LOOP = 0x18
340 IFT_MIOX25 = 0x26
341 IFT_MODEM = 0x30
342 IFT_NSIP = 0x1b
343 IFT_OTHER = 0x1
344 IFT_P10 = 0xc
345 IFT_P80 = 0xd
346 IFT_PARA = 0x22
347 IFT_PDP = 0xff
348 IFT_PFLOG = 0xf5
349 IFT_PFSYNC = 0xf6
350 IFT_PPP = 0x17
351 IFT_PROPMUX = 0x36
352 IFT_PROPVIRTUAL = 0x35
353 IFT_PTPSERIAL = 0x16
354 IFT_RS232 = 0x21
355 IFT_SDLC = 0x11
356 IFT_SIP = 0x1f
357 IFT_SLIP = 0x1c
358 IFT_SMDSDXI = 0x2b
359 IFT_SMDSICIP = 0x34
360 IFT_SONET = 0x27
361 IFT_SONETPATH = 0x32
362 IFT_SONETVT = 0x33
363 IFT_STARLAN = 0xb
364 IFT_STF = 0x39
365 IFT_T1 = 0x12
366 IFT_ULTRA = 0x1d
367 IFT_V35 = 0x2d
368 IFT_X25 = 0x5
369 IFT_X25DDN = 0x4
370 IFT_X25PLE = 0x28
371 IFT_XETHER = 0x1a
372 IGNBRK = 0x1
373 IGNCR = 0x80
374 IGNPAR = 0x4
375 IMAXBEL = 0x2000
376 INLCR = 0x40
377 INPCK = 0x10
378 IN_CLASSA_HOST = 0xffffff
379 IN_CLASSA_MAX = 0x80
380 IN_CLASSA_NET = 0xff000000
381 IN_CLASSA_NSHIFT = 0x18
382 IN_CLASSB_HOST = 0xffff
383 IN_CLASSB_MAX = 0x10000
384 IN_CLASSB_NET = 0xffff0000
385 IN_CLASSB_NSHIFT = 0x10
386 IN_CLASSC_HOST = 0xff
387 IN_CLASSC_NET = 0xffffff00
388 IN_CLASSC_NSHIFT = 0x8
389 IN_CLASSD_HOST = 0xfffffff
390 IN_CLASSD_NET = 0xf0000000
391 IN_CLASSD_NSHIFT = 0x1c
392 IN_LINKLOCALNETNUM = 0xa9fe0000
393 IN_LOOPBACKNET = 0x7f
394 IPPROTO_3PC = 0x22
395 IPPROTO_ADFS = 0x44
396 IPPROTO_AH = 0x33
397 IPPROTO_AHIP = 0x3d
398 IPPROTO_APES = 0x63
399 IPPROTO_ARGUS = 0xd
400 IPPROTO_AX25 = 0x5d
401 IPPROTO_BHA = 0x31
402 IPPROTO_BLT = 0x1e
403 IPPROTO_BRSATMON = 0x4c
404 IPPROTO_CFTP = 0x3e
405 IPPROTO_CHAOS = 0x10
406 IPPROTO_CMTP = 0x26
407 IPPROTO_CPHB = 0x49
408 IPPROTO_CPNX = 0x48
409 IPPROTO_DDP = 0x25
410 IPPROTO_DGP = 0x56
411 IPPROTO_DIVERT = 0xfe
412 IPPROTO_DONE = 0x101
413 IPPROTO_DSTOPTS = 0x3c
414 IPPROTO_EGP = 0x8
415 IPPROTO_EMCON = 0xe
416 IPPROTO_ENCAP = 0x62
417 IPPROTO_EON = 0x50
418 IPPROTO_ESP = 0x32
419 IPPROTO_ETHERIP = 0x61
420 IPPROTO_FRAGMENT = 0x2c
421 IPPROTO_GGP = 0x3
422 IPPROTO_GMTP = 0x64
423 IPPROTO_GRE = 0x2f
424 IPPROTO_HELLO = 0x3f
425 IPPROTO_HMP = 0x14
426 IPPROTO_HOPOPTS = 0x0
427 IPPROTO_ICMP = 0x1
428 IPPROTO_ICMPV6 = 0x3a
429 IPPROTO_IDP = 0x16
430 IPPROTO_IDPR = 0x23
431 IPPROTO_IDRP = 0x2d
432 IPPROTO_IGMP = 0x2
433 IPPROTO_IGP = 0x55
434 IPPROTO_IGRP = 0x58
435 IPPROTO_IL = 0x28
436 IPPROTO_INLSP = 0x34
437 IPPROTO_INP = 0x20
438 IPPROTO_IP = 0x0
439 IPPROTO_IPCOMP = 0x6c
440 IPPROTO_IPCV = 0x47
441 IPPROTO_IPEIP = 0x5e
442 IPPROTO_IPIP = 0x4
443 IPPROTO_IPPC = 0x43
444 IPPROTO_IPV4 = 0x4
445 IPPROTO_IPV6 = 0x29
446 IPPROTO_IRTP = 0x1c
447 IPPROTO_KRYPTOLAN = 0x41
448 IPPROTO_LARP = 0x5b
449 IPPROTO_LEAF1 = 0x19
450 IPPROTO_LEAF2 = 0x1a
451 IPPROTO_MAX = 0x100
452 IPPROTO_MAXID = 0x34
453 IPPROTO_MEAS = 0x13
454 IPPROTO_MHRP = 0x30
455 IPPROTO_MICP = 0x5f
456 IPPROTO_MTP = 0x5c
457 IPPROTO_MUX = 0x12
458 IPPROTO_ND = 0x4d
459 IPPROTO_NHRP = 0x36
460 IPPROTO_NONE = 0x3b
461 IPPROTO_NSP = 0x1f
462 IPPROTO_NVPII = 0xb
463 IPPROTO_OSPFIGP = 0x59
464 IPPROTO_PGM = 0x71
465 IPPROTO_PIGP = 0x9
466 IPPROTO_PIM = 0x67
467 IPPROTO_PRM = 0x15
468 IPPROTO_PUP = 0xc
469 IPPROTO_PVP = 0x4b
470 IPPROTO_RAW = 0xff
471 IPPROTO_RCCMON = 0xa
472 IPPROTO_RDP = 0x1b
473 IPPROTO_ROUTING = 0x2b
474 IPPROTO_RSVP = 0x2e
475 IPPROTO_RVD = 0x42
476 IPPROTO_SATEXPAK = 0x40
477 IPPROTO_SATMON = 0x45
478 IPPROTO_SCCSP = 0x60
479 IPPROTO_SCTP = 0x84
480 IPPROTO_SDRP = 0x2a
481 IPPROTO_SEP = 0x21
482 IPPROTO_SRPC = 0x5a
483 IPPROTO_ST = 0x7
484 IPPROTO_SVMTP = 0x52
485 IPPROTO_SWIPE = 0x35
486 IPPROTO_TCF = 0x57
487 IPPROTO_TCP = 0x6
488 IPPROTO_TP = 0x1d
489 IPPROTO_TPXX = 0x27
490 IPPROTO_TRUNK1 = 0x17
491 IPPROTO_TRUNK2 = 0x18
492 IPPROTO_TTP = 0x54
493 IPPROTO_UDP = 0x11
494 IPPROTO_VINES = 0x53
495 IPPROTO_VISA = 0x46
496 IPPROTO_VMTP = 0x51
497 IPPROTO_WBEXPAK = 0x4f
498 IPPROTO_WBMON = 0x4e
499 IPPROTO_WSN = 0x4a
500 IPPROTO_XNET = 0xf
501 IPPROTO_XTP = 0x24
502 IPV6_2292DSTOPTS = 0x17
503 IPV6_2292HOPLIMIT = 0x14
504 IPV6_2292HOPOPTS = 0x16
505 IPV6_2292NEXTHOP = 0x15
506 IPV6_2292PKTINFO = 0x13
507 IPV6_2292PKTOPTIONS = 0x19
508 IPV6_2292RTHDR = 0x18
509 IPV6_BINDV6ONLY = 0x1b
510 IPV6_BOUND_IF = 0x7d
511 IPV6_CHECKSUM = 0x1a
512 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
513 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
514 IPV6_DEFHLIM = 0x40
515 IPV6_FAITH = 0x1d
516 IPV6_FLOWINFO_MASK = 0xffffff0f
517 IPV6_FLOWLABEL_MASK = 0xffff0f00
518 IPV6_FRAGTTL = 0x78
519 IPV6_FW_ADD = 0x1e
520 IPV6_FW_DEL = 0x1f
521 IPV6_FW_FLUSH = 0x20
522 IPV6_FW_GET = 0x22
523 IPV6_FW_ZERO = 0x21
524 IPV6_HLIMDEC = 0x1
525 IPV6_IPSEC_POLICY = 0x1c
526 IPV6_JOIN_GROUP = 0xc
527 IPV6_LEAVE_GROUP = 0xd
528 IPV6_MAXHLIM = 0xff
529 IPV6_MAXOPTHDR = 0x800
530 IPV6_MAXPACKET = 0xffff
531 IPV6_MAX_GROUP_SRC_FILTER = 0x200
532 IPV6_MAX_MEMBERSHIPS = 0xfff
533 IPV6_MAX_SOCK_SRC_FILTER = 0x80
534 IPV6_MIN_MEMBERSHIPS = 0x1f
535 IPV6_MMTU = 0x500
536 IPV6_MULTICAST_HOPS = 0xa
537 IPV6_MULTICAST_IF = 0x9
538 IPV6_MULTICAST_LOOP = 0xb
539 IPV6_PORTRANGE = 0xe
540 IPV6_PORTRANGE_DEFAULT = 0x0
541 IPV6_PORTRANGE_HIGH = 0x1
542 IPV6_PORTRANGE_LOW = 0x2
543 IPV6_RECVTCLASS = 0x23
544 IPV6_RTHDR_LOOSE = 0x0
545 IPV6_RTHDR_STRICT = 0x1
546 IPV6_RTHDR_TYPE_0 = 0x0
547 IPV6_SOCKOPT_RESERVED1 = 0x3
548 IPV6_TCLASS = 0x24
549 IPV6_UNICAST_HOPS = 0x4
550 IPV6_V6ONLY = 0x1b
551 IPV6_VERSION = 0x60
552 IPV6_VERSION_MASK = 0xf0
553 IP_ADD_MEMBERSHIP = 0xc
554 IP_ADD_SOURCE_MEMBERSHIP = 0x46
555 IP_BLOCK_SOURCE = 0x48
556 IP_BOUND_IF = 0x19
557 IP_DEFAULT_MULTICAST_LOOP = 0x1
558 IP_DEFAULT_MULTICAST_TTL = 0x1
559 IP_DF = 0x4000
560 IP_DROP_MEMBERSHIP = 0xd
561 IP_DROP_SOURCE_MEMBERSHIP = 0x47
562 IP_DUMMYNET_CONFIGURE = 0x3c
563 IP_DUMMYNET_DEL = 0x3d
564 IP_DUMMYNET_FLUSH = 0x3e
565 IP_DUMMYNET_GET = 0x40
566 IP_FAITH = 0x16
567 IP_FW_ADD = 0x28
568 IP_FW_DEL = 0x29
569 IP_FW_FLUSH = 0x2a
570 IP_FW_GET = 0x2c
571 IP_FW_RESETLOG = 0x2d
572 IP_FW_ZERO = 0x2b
573 IP_HDRINCL = 0x2
574 IP_IPSEC_POLICY = 0x15
575 IP_MAXPACKET = 0xffff
576 IP_MAX_GROUP_SRC_FILTER = 0x200
577 IP_MAX_MEMBERSHIPS = 0xfff
578 IP_MAX_SOCK_MUTE_FILTER = 0x80
579 IP_MAX_SOCK_SRC_FILTER = 0x80
580 IP_MF = 0x2000
581 IP_MIN_MEMBERSHIPS = 0x1f
582 IP_MSFILTER = 0x4a
583 IP_MSS = 0x240
584 IP_MULTICAST_IF = 0x9
585 IP_MULTICAST_IFINDEX = 0x42
586 IP_MULTICAST_LOOP = 0xb
587 IP_MULTICAST_TTL = 0xa
588 IP_MULTICAST_VIF = 0xe
589 IP_NAT__XXX = 0x37
590 IP_OFFMASK = 0x1fff
591 IP_OLD_FW_ADD = 0x32
592 IP_OLD_FW_DEL = 0x33
593 IP_OLD_FW_FLUSH = 0x34
594 IP_OLD_FW_GET = 0x36
595 IP_OLD_FW_RESETLOG = 0x38
596 IP_OLD_FW_ZERO = 0x35
597 IP_OPTIONS = 0x1
598 IP_PKTINFO = 0x1a
599 IP_PORTRANGE = 0x13
600 IP_PORTRANGE_DEFAULT = 0x0
601 IP_PORTRANGE_HIGH = 0x1
602 IP_PORTRANGE_LOW = 0x2
603 IP_RECVDSTADDR = 0x7
604 IP_RECVIF = 0x14
605 IP_RECVOPTS = 0x5
606 IP_RECVPKTINFO = 0x1a
607 IP_RECVRETOPTS = 0x6
608 IP_RECVTTL = 0x18
609 IP_RETOPTS = 0x8
610 IP_RF = 0x8000
611 IP_RSVP_OFF = 0x10
612 IP_RSVP_ON = 0xf
613 IP_RSVP_VIF_OFF = 0x12
614 IP_RSVP_VIF_ON = 0x11
615 IP_STRIPHDR = 0x17
616 IP_TOS = 0x3
617 IP_TRAFFIC_MGT_BACKGROUND = 0x41
618 IP_TTL = 0x4
619 IP_UNBLOCK_SOURCE = 0x49
620 ISIG = 0x80
621 ISTRIP = 0x20
622 IUTF8 = 0x4000
623 IXANY = 0x800
624 IXOFF = 0x400
625 IXON = 0x200
626 LOCK_EX = 0x2
627 LOCK_NB = 0x4
628 LOCK_SH = 0x1
629 LOCK_UN = 0x8
630 MADV_CAN_REUSE = 0x9
631 MADV_DONTNEED = 0x4
632 MADV_FREE = 0x5
633 MADV_FREE_REUSABLE = 0x7
634 MADV_FREE_REUSE = 0x8
635 MADV_NORMAL = 0x0
636 MADV_RANDOM = 0x1
637 MADV_SEQUENTIAL = 0x2
638 MADV_WILLNEED = 0x3
639 MADV_ZERO_WIRED_PAGES = 0x6
640 MAP_ANON = 0x1000
641 MAP_COPY = 0x2
642 MAP_FILE = 0x0
643 MAP_FIXED = 0x10
644 MAP_HASSEMAPHORE = 0x200
645 MAP_JIT = 0x800
646 MAP_NOCACHE = 0x400
647 MAP_NOEXTEND = 0x100
648 MAP_NORESERVE = 0x40
649 MAP_PRIVATE = 0x2
650 MAP_RENAME = 0x20
651 MAP_RESERVED0080 = 0x80
652 MAP_SHARED = 0x1
653 MCL_CURRENT = 0x1
654 MCL_FUTURE = 0x2
655 MSG_CTRUNC = 0x20
656 MSG_DONTROUTE = 0x4
657 MSG_DONTWAIT = 0x80
658 MSG_EOF = 0x100
659 MSG_EOR = 0x8
660 MSG_FLUSH = 0x400
661 MSG_HAVEMORE = 0x2000
662 MSG_HOLD = 0x800
663 MSG_NEEDSA = 0x10000
664 MSG_OOB = 0x1
665 MSG_PEEK = 0x2
666 MSG_RCVMORE = 0x4000
667 MSG_SEND = 0x1000
668 MSG_TRUNC = 0x10
669 MSG_WAITALL = 0x40
670 MSG_WAITSTREAM = 0x200
671 MS_ASYNC = 0x1
672 MS_DEACTIVATE = 0x8
673 MS_INVALIDATE = 0x2
674 MS_KILLPAGES = 0x4
675 MS_SYNC = 0x10
676 NAME_MAX = 0xff
677 NET_RT_DUMP = 0x1
678 NET_RT_DUMP2 = 0x7
679 NET_RT_FLAGS = 0x2
680 NET_RT_IFLIST = 0x3
681 NET_RT_IFLIST2 = 0x6
682 NET_RT_MAXID = 0xa
683 NET_RT_STAT = 0x4
684 NET_RT_TRASH = 0x5
685 NOFLSH = 0x80000000
686 NOTE_ABSOLUTE = 0x8
687 NOTE_ATTRIB = 0x8
688 NOTE_BACKGROUND = 0x40
689 NOTE_CHILD = 0x4
690 NOTE_CRITICAL = 0x20
691 NOTE_DELETE = 0x1
692 NOTE_EXEC = 0x20000000
693 NOTE_EXIT = 0x80000000
694 NOTE_EXITSTATUS = 0x4000000
695 NOTE_EXIT_CSERROR = 0x40000
696 NOTE_EXIT_DECRYPTFAIL = 0x10000
697 NOTE_EXIT_DETAIL = 0x2000000
698 NOTE_EXIT_DETAIL_MASK = 0x70000
699 NOTE_EXIT_MEMORY = 0x20000
700 NOTE_EXIT_REPARENTED = 0x80000
701 NOTE_EXTEND = 0x4
702 NOTE_FFAND = 0x40000000
703 NOTE_FFCOPY = 0xc0000000
704 NOTE_FFCTRLMASK = 0xc0000000
705 NOTE_FFLAGSMASK = 0xffffff
706 NOTE_FFNOP = 0x0
707 NOTE_FFOR = 0x80000000
708 NOTE_FORK = 0x40000000
709 NOTE_LEEWAY = 0x10
710 NOTE_LINK = 0x10
711 NOTE_LOWAT = 0x1
712 NOTE_NONE = 0x80
713 NOTE_NSECONDS = 0x4
714 NOTE_PCTRLMASK = -0x100000
715 NOTE_PDATAMASK = 0xfffff
716 NOTE_REAP = 0x10000000
717 NOTE_RENAME = 0x20
718 NOTE_REVOKE = 0x40
719 NOTE_SECONDS = 0x1
720 NOTE_SIGNAL = 0x8000000
721 NOTE_TRACK = 0x1
722 NOTE_TRACKERR = 0x2
723 NOTE_TRIGGER = 0x1000000
724 NOTE_USECONDS = 0x2
725 NOTE_VM_ERROR = 0x10000000
726 NOTE_VM_PRESSURE = 0x80000000
727 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
728 NOTE_VM_PRESSURE_TERMINATE = 0x40000000
729 NOTE_WRITE = 0x2
730 OCRNL = 0x10
731 OFDEL = 0x20000
732 OFILL = 0x80
733 ONLCR = 0x2
734 ONLRET = 0x40
735 ONOCR = 0x20
736 ONOEOT = 0x8
737 OPOST = 0x1
738 O_ACCMODE = 0x3
739 O_ALERT = 0x20000000
740 O_APPEND = 0x8
741 O_ASYNC = 0x40
742 O_CLOEXEC = 0x1000000
743 O_CREAT = 0x200
744 O_DIRECTORY = 0x100000
745 O_DP_GETRAWENCRYPTED = 0x1
746 O_DSYNC = 0x400000
747 O_EVTONLY = 0x8000
748 O_EXCL = 0x800
749 O_EXLOCK = 0x20
750 O_FSYNC = 0x80
751 O_NDELAY = 0x4
752 O_NOCTTY = 0x20000
753 O_NOFOLLOW = 0x100
754 O_NONBLOCK = 0x4
755 O_POPUP = 0x80000000
756 O_RDONLY = 0x0
757 O_RDWR = 0x2
758 O_SHLOCK = 0x10
759 O_SYMLINK = 0x200000
760 O_SYNC = 0x80
761 O_TRUNC = 0x400
762 O_WRONLY = 0x1
763 PARENB = 0x1000
764 PARMRK = 0x8
765 PARODD = 0x2000
766 PENDIN = 0x20000000
767 PRIO_PGRP = 0x1
768 PRIO_PROCESS = 0x0
769 PRIO_USER = 0x2
770 PROT_EXEC = 0x4
771 PROT_NONE = 0x0
772 PROT_READ = 0x1
773 PROT_WRITE = 0x2
774 PT_ATTACH = 0xa
775 PT_ATTACHEXC = 0xe
776 PT_CONTINUE = 0x7
777 PT_DENY_ATTACH = 0x1f
778 PT_DETACH = 0xb
779 PT_FIRSTMACH = 0x20
780 PT_FORCEQUOTA = 0x1e
781 PT_KILL = 0x8
782 PT_READ_D = 0x2
783 PT_READ_I = 0x1
784 PT_READ_U = 0x3
785 PT_SIGEXC = 0xc
786 PT_STEP = 0x9
787 PT_THUPDATE = 0xd
788 PT_TRACE_ME = 0x0
789 PT_WRITE_D = 0x5
790 PT_WRITE_I = 0x4
791 PT_WRITE_U = 0x6
792 RLIMIT_AS = 0x5
793 RLIMIT_CORE = 0x4
794 RLIMIT_CPU = 0x0
795 RLIMIT_CPU_USAGE_MONITOR = 0x2
796 RLIMIT_DATA = 0x2
797 RLIMIT_FSIZE = 0x1
798 RLIMIT_NOFILE = 0x8
799 RLIMIT_STACK = 0x3
800 RLIM_INFINITY = 0x7fffffffffffffff
801 RTAX_AUTHOR = 0x6
802 RTAX_BRD = 0x7
803 RTAX_DST = 0x0
804 RTAX_GATEWAY = 0x1
805 RTAX_GENMASK = 0x3
806 RTAX_IFA = 0x5
807 RTAX_IFP = 0x4
808 RTAX_MAX = 0x8
809 RTAX_NETMASK = 0x2
810 RTA_AUTHOR = 0x40
811 RTA_BRD = 0x80
812 RTA_DST = 0x1
813 RTA_GATEWAY = 0x2
814 RTA_GENMASK = 0x8
815 RTA_IFA = 0x20
816 RTA_IFP = 0x10
817 RTA_NETMASK = 0x4
818 RTF_BLACKHOLE = 0x1000
819 RTF_BROADCAST = 0x400000
820 RTF_CLONING = 0x100
821 RTF_CONDEMNED = 0x2000000
822 RTF_DELCLONE = 0x80
823 RTF_DONE = 0x40
824 RTF_DYNAMIC = 0x10
825 RTF_GATEWAY = 0x2
826 RTF_HOST = 0x4
827 RTF_IFREF = 0x4000000
828 RTF_IFSCOPE = 0x1000000
829 RTF_LLINFO = 0x400
830 RTF_LOCAL = 0x200000
831 RTF_MODIFIED = 0x20
832 RTF_MULTICAST = 0x800000
833 RTF_PINNED = 0x100000
834 RTF_PRCLONING = 0x10000
835 RTF_PROTO1 = 0x8000
836 RTF_PROTO2 = 0x4000
837 RTF_PROTO3 = 0x40000
838 RTF_PROXY = 0x8000000
839 RTF_REJECT = 0x8
840 RTF_ROUTER = 0x10000000
841 RTF_STATIC = 0x800
842 RTF_UP = 0x1
843 RTF_WASCLONED = 0x20000
844 RTF_XRESOLVE = 0x200
845 RTM_ADD = 0x1
846 RTM_CHANGE = 0x3
847 RTM_DELADDR = 0xd
848 RTM_DELETE = 0x2
849 RTM_DELMADDR = 0x10
850 RTM_GET = 0x4
851 RTM_GET2 = 0x14
852 RTM_IFINFO = 0xe
853 RTM_IFINFO2 = 0x12
854 RTM_LOCK = 0x8
855 RTM_LOSING = 0x5
856 RTM_MISS = 0x7
857 RTM_NEWADDR = 0xc
858 RTM_NEWMADDR = 0xf
859 RTM_NEWMADDR2 = 0x13
860 RTM_OLDADD = 0x9
861 RTM_OLDDEL = 0xa
862 RTM_REDIRECT = 0x6
863 RTM_RESOLVE = 0xb
864 RTM_RTTUNIT = 0xf4240
865 RTM_VERSION = 0x5
866 RTV_EXPIRE = 0x4
867 RTV_HOPCOUNT = 0x2
868 RTV_MTU = 0x1
869 RTV_RPIPE = 0x8
870 RTV_RTT = 0x40
871 RTV_RTTVAR = 0x80
872 RTV_SPIPE = 0x10
873 RTV_SSTHRESH = 0x20
874 RUSAGE_CHILDREN = -0x1
875 RUSAGE_SELF = 0x0
876 SCM_CREDS = 0x3
877 SCM_RIGHTS = 0x1
878 SCM_TIMESTAMP = 0x2
879 SCM_TIMESTAMP_MONOTONIC = 0x4
880 SHUT_RD = 0x0
881 SHUT_RDWR = 0x2
882 SHUT_WR = 0x1
883 SIOCADDMULTI = 0x80206931
884 SIOCAIFADDR = 0x8040691a
885 SIOCARPIPLL = 0xc0206928
886 SIOCATMARK = 0x40047307
887 SIOCAUTOADDR = 0xc0206926
888 SIOCAUTONETMASK = 0x80206927
889 SIOCDELMULTI = 0x80206932
890 SIOCDIFADDR = 0x80206919
891 SIOCDIFPHYADDR = 0x80206941
892 SIOCGDRVSPEC = 0xc028697b
893 SIOCGETVLAN = 0xc020697f
894 SIOCGHIWAT = 0x40047301
895 SIOCGIFADDR = 0xc0206921
896 SIOCGIFALTMTU = 0xc0206948
897 SIOCGIFASYNCMAP = 0xc020697c
898 SIOCGIFBOND = 0xc0206947
899 SIOCGIFBRDADDR = 0xc0206923
900 SIOCGIFCAP = 0xc020695b
901 SIOCGIFCONF = 0xc00c6924
902 SIOCGIFDEVMTU = 0xc0206944
903 SIOCGIFDSTADDR = 0xc0206922
904 SIOCGIFFLAGS = 0xc0206911
905 SIOCGIFGENERIC = 0xc020693a
906 SIOCGIFKPI = 0xc0206987
907 SIOCGIFMAC = 0xc0206982
908 SIOCGIFMEDIA = 0xc02c6938
909 SIOCGIFMETRIC = 0xc0206917
910 SIOCGIFMTU = 0xc0206933
911 SIOCGIFNETMASK = 0xc0206925
912 SIOCGIFPDSTADDR = 0xc0206940
913 SIOCGIFPHYS = 0xc0206935
914 SIOCGIFPSRCADDR = 0xc020693f
915 SIOCGIFSTATUS = 0xc331693d
916 SIOCGIFVLAN = 0xc020697f
917 SIOCGIFWAKEFLAGS = 0xc0206988
918 SIOCGLOWAT = 0x40047303
919 SIOCGPGRP = 0x40047309
920 SIOCIFCREATE = 0xc0206978
921 SIOCIFCREATE2 = 0xc020697a
922 SIOCIFDESTROY = 0x80206979
923 SIOCIFGCLONERS = 0xc0106981
924 SIOCRSLVMULTI = 0xc010693b
925 SIOCSDRVSPEC = 0x8028697b
926 SIOCSETVLAN = 0x8020697e
927 SIOCSHIWAT = 0x80047300
928 SIOCSIFADDR = 0x8020690c
929 SIOCSIFALTMTU = 0x80206945
930 SIOCSIFASYNCMAP = 0x8020697d
931 SIOCSIFBOND = 0x80206946
932 SIOCSIFBRDADDR = 0x80206913
933 SIOCSIFCAP = 0x8020695a
934 SIOCSIFDSTADDR = 0x8020690e
935 SIOCSIFFLAGS = 0x80206910
936 SIOCSIFGENERIC = 0x80206939
937 SIOCSIFKPI = 0x80206986
938 SIOCSIFLLADDR = 0x8020693c
939 SIOCSIFMAC = 0x80206983
940 SIOCSIFMEDIA = 0xc0206937
941 SIOCSIFMETRIC = 0x80206918
942 SIOCSIFMTU = 0x80206934
943 SIOCSIFNETMASK = 0x80206916
944 SIOCSIFPHYADDR = 0x8040693e
945 SIOCSIFPHYS = 0x80206936
946 SIOCSIFVLAN = 0x8020697e
947 SIOCSLOWAT = 0x80047302
948 SIOCSPGRP = 0x80047308
949 SOCK_DGRAM = 0x2
950 SOCK_MAXADDRLEN = 0xff
951 SOCK_RAW = 0x3
952 SOCK_RDM = 0x4
953 SOCK_SEQPACKET = 0x5
954 SOCK_STREAM = 0x1
955 SOL_SOCKET = 0xffff
956 SOMAXCONN = 0x80
957 SO_ACCEPTCONN = 0x2
958 SO_BROADCAST = 0x20
959 SO_DEBUG = 0x1
960 SO_DONTROUTE = 0x10
961 SO_DONTTRUNC = 0x2000
962 SO_ERROR = 0x1007
963 SO_KEEPALIVE = 0x8
964 SO_LABEL = 0x1010
965 SO_LINGER = 0x80
966 SO_LINGER_SEC = 0x1080
967 SO_NKE = 0x1021
968 SO_NOADDRERR = 0x1023
969 SO_NOSIGPIPE = 0x1022
970 SO_NOTIFYCONFLICT = 0x1026
971 SO_NP_EXTENSIONS = 0x1083
972 SO_NREAD = 0x1020
973 SO_NUMRCVPKT = 0x1112
974 SO_NWRITE = 0x1024
975 SO_OOBINLINE = 0x100
976 SO_PEERLABEL = 0x1011
977 SO_RANDOMPORT = 0x1082
978 SO_RCVBUF = 0x1002
979 SO_RCVLOWAT = 0x1004
980 SO_RCVTIMEO = 0x1006
981 SO_REUSEADDR = 0x4
982 SO_REUSEPORT = 0x200
983 SO_REUSESHAREUID = 0x1025
984 SO_SNDBUF = 0x1001
985 SO_SNDLOWAT = 0x1003
986 SO_SNDTIMEO = 0x1005
987 SO_TIMESTAMP = 0x400
988 SO_TIMESTAMP_MONOTONIC = 0x800
989 SO_TYPE = 0x1008
990 SO_UPCALLCLOSEWAIT = 0x1027
991 SO_USELOOPBACK = 0x40
992 SO_WANTMORE = 0x4000
993 SO_WANTOOBFLAG = 0x8000
994 S_IEXEC = 0x40
995 S_IFBLK = 0x6000
996 S_IFCHR = 0x2000
997 S_IFDIR = 0x4000
998 S_IFIFO = 0x1000
999 S_IFLNK = 0xa000
1000 S_IFMT = 0xf000
1001 S_IFREG = 0x8000
1002 S_IFSOCK = 0xc000
1003 S_IFWHT = 0xe000
1004 S_IREAD = 0x100
1005 S_IRGRP = 0x20
1006 S_IROTH = 0x4
1007 S_IRUSR = 0x100
1008 S_IRWXG = 0x38
1009 S_IRWXO = 0x7
1010 S_IRWXU = 0x1c0
1011 S_ISGID = 0x400
1012 S_ISTXT = 0x200
1013 S_ISUID = 0x800
1014 S_ISVTX = 0x200
1015 S_IWGRP = 0x10
1016 S_IWOTH = 0x2
1017 S_IWRITE = 0x80
1018 S_IWUSR = 0x80
1019 S_IXGRP = 0x8
1020 S_IXOTH = 0x1
1021 S_IXUSR = 0x40
1022 TCIFLUSH = 0x1
1023 TCIOFLUSH = 0x3
1024 TCOFLUSH = 0x2
1025 TCP_CONNECTIONTIMEOUT = 0x20
1026 TCP_ENABLE_ECN = 0x104
1027 TCP_KEEPALIVE = 0x10
1028 TCP_KEEPCNT = 0x102
1029 TCP_KEEPINTVL = 0x101
1030 TCP_MAXHLEN = 0x3c
1031 TCP_MAXOLEN = 0x28
1032 TCP_MAXSEG = 0x2
1033 TCP_MAXWIN = 0xffff
1034 TCP_MAX_SACK = 0x4
1035 TCP_MAX_WINSHIFT = 0xe
1036 TCP_MINMSS = 0xd8
1037 TCP_MSS = 0x200
1038 TCP_NODELAY = 0x1
1039 TCP_NOOPT = 0x8
1040 TCP_NOPUSH = 0x4
1041 TCP_NOTSENT_LOWAT = 0x201
1042 TCP_RXT_CONNDROPTIME = 0x80
1043 TCP_RXT_FINDROP = 0x100
1044 TCP_SENDMOREACKS = 0x103
1045 TCSAFLUSH = 0x2
1046 TIOCCBRK = 0x2000747a
1047 TIOCCDTR = 0x20007478
1048 TIOCCONS = 0x80047462
1049 TIOCDCDTIMESTAMP = 0x40107458
1050 TIOCDRAIN = 0x2000745e
1051 TIOCDSIMICROCODE = 0x20007455
1052 TIOCEXCL = 0x2000740d
1053 TIOCEXT = 0x80047460
1054 TIOCFLUSH = 0x80047410
1055 TIOCGDRAINWAIT = 0x40047456
1056 TIOCGETA = 0x40487413
1057 TIOCGETD = 0x4004741a
1058 TIOCGPGRP = 0x40047477
1059 TIOCGWINSZ = 0x40087468
1060 TIOCIXOFF = 0x20007480
1061 TIOCIXON = 0x20007481
1062 TIOCMBIC = 0x8004746b
1063 TIOCMBIS = 0x8004746c
1064 TIOCMGDTRWAIT = 0x4004745a
1065 TIOCMGET = 0x4004746a
1066 TIOCMODG = 0x40047403
1067 TIOCMODS = 0x80047404
1068 TIOCMSDTRWAIT = 0x8004745b
1069 TIOCMSET = 0x8004746d
1070 TIOCM_CAR = 0x40
1071 TIOCM_CD = 0x40
1072 TIOCM_CTS = 0x20
1073 TIOCM_DSR = 0x100
1074 TIOCM_DTR = 0x2
1075 TIOCM_LE = 0x1
1076 TIOCM_RI = 0x80
1077 TIOCM_RNG = 0x80
1078 TIOCM_RTS = 0x4
1079 TIOCM_SR = 0x10
1080 TIOCM_ST = 0x8
1081 TIOCNOTTY = 0x20007471
1082 TIOCNXCL = 0x2000740e
1083 TIOCOUTQ = 0x40047473
1084 TIOCPKT = 0x80047470
1085 TIOCPKT_DATA = 0x0
1086 TIOCPKT_DOSTOP = 0x20
1087 TIOCPKT_FLUSHREAD = 0x1
1088 TIOCPKT_FLUSHWRITE = 0x2
1089 TIOCPKT_IOCTL = 0x40
1090 TIOCPKT_NOSTOP = 0x10
1091 TIOCPKT_START = 0x8
1092 TIOCPKT_STOP = 0x4
1093 TIOCPTYGNAME = 0x40807453
1094 TIOCPTYGRANT = 0x20007454
1095 TIOCPTYUNLK = 0x20007452
1096 TIOCREMOTE = 0x80047469
1097 TIOCSBRK = 0x2000747b
1098 TIOCSCONS = 0x20007463
1099 TIOCSCTTY = 0x20007461
1100 TIOCSDRAINWAIT = 0x80047457
1101 TIOCSDTR = 0x20007479
1102 TIOCSETA = 0x80487414
1103 TIOCSETAF = 0x80487416
1104 TIOCSETAW = 0x80487415
1105 TIOCSETD = 0x8004741b
1106 TIOCSIG = 0x2000745f
1107 TIOCSPGRP = 0x80047476
1108 TIOCSTART = 0x2000746e
1109 TIOCSTAT = 0x20007465
1110 TIOCSTI = 0x80017472
1111 TIOCSTOP = 0x2000746f
1112 TIOCSWINSZ = 0x80087467
1113 TIOCTIMESTAMP = 0x40107459
1114 TIOCUCNTL = 0x80047466
1115 TOSTOP = 0x400000
1116 VDISCARD = 0xf
1117 VDSUSP = 0xb
1118 VEOF = 0x0
1119 VEOL = 0x1
1120 VEOL2 = 0x2
1121 VERASE = 0x3
1122 VINTR = 0x8
1123 VKILL = 0x5
1124 VLNEXT = 0xe
1125 VMIN = 0x10
1126 VQUIT = 0x9
1127 VREPRINT = 0x6
1128 VSTART = 0xc
1129 VSTATUS = 0x12
1130 VSTOP = 0xd
1131 VSUSP = 0xa
1132 VT0 = 0x0
1133 VT1 = 0x10000
1134 VTDLY = 0x10000
1135 VTIME = 0x11
1136 VWERASE = 0x4
1137 WCONTINUED = 0x10
1138 WCOREFLAG = 0x80
1139 WEXITED = 0x4
1140 WNOHANG = 0x1
1141 WNOWAIT = 0x20
1142 WORDSIZE = 0x40
1143 WSTOPPED = 0x8
1144 WUNTRACED = 0x2
1145)
1146
1147// Errors
1148const (
1149 E2BIG = syscall.Errno(0x7)
1150 EACCES = syscall.Errno(0xd)
1151 EADDRINUSE = syscall.Errno(0x30)
1152 EADDRNOTAVAIL = syscall.Errno(0x31)
1153 EAFNOSUPPORT = syscall.Errno(0x2f)
1154 EAGAIN = syscall.Errno(0x23)
1155 EALREADY = syscall.Errno(0x25)
1156 EAUTH = syscall.Errno(0x50)
1157 EBADARCH = syscall.Errno(0x56)
1158 EBADEXEC = syscall.Errno(0x55)
1159 EBADF = syscall.Errno(0x9)
1160 EBADMACHO = syscall.Errno(0x58)
1161 EBADMSG = syscall.Errno(0x5e)
1162 EBADRPC = syscall.Errno(0x48)
1163 EBUSY = syscall.Errno(0x10)
1164 ECANCELED = syscall.Errno(0x59)
1165 ECHILD = syscall.Errno(0xa)
1166 ECONNABORTED = syscall.Errno(0x35)
1167 ECONNREFUSED = syscall.Errno(0x3d)
1168 ECONNRESET = syscall.Errno(0x36)
1169 EDEADLK = syscall.Errno(0xb)
1170 EDESTADDRREQ = syscall.Errno(0x27)
1171 EDEVERR = syscall.Errno(0x53)
1172 EDOM = syscall.Errno(0x21)
1173 EDQUOT = syscall.Errno(0x45)
1174 EEXIST = syscall.Errno(0x11)
1175 EFAULT = syscall.Errno(0xe)
1176 EFBIG = syscall.Errno(0x1b)
1177 EFTYPE = syscall.Errno(0x4f)
1178 EHOSTDOWN = syscall.Errno(0x40)
1179 EHOSTUNREACH = syscall.Errno(0x41)
1180 EIDRM = syscall.Errno(0x5a)
1181 EILSEQ = syscall.Errno(0x5c)
1182 EINPROGRESS = syscall.Errno(0x24)
1183 EINTR = syscall.Errno(0x4)
1184 EINVAL = syscall.Errno(0x16)
1185 EIO = syscall.Errno(0x5)
1186 EISCONN = syscall.Errno(0x38)
1187 EISDIR = syscall.Errno(0x15)
1188 ELAST = syscall.Errno(0x6a)
1189 ELOOP = syscall.Errno(0x3e)
1190 EMFILE = syscall.Errno(0x18)
1191 EMLINK = syscall.Errno(0x1f)
1192 EMSGSIZE = syscall.Errno(0x28)
1193 EMULTIHOP = syscall.Errno(0x5f)
1194 ENAMETOOLONG = syscall.Errno(0x3f)
1195 ENEEDAUTH = syscall.Errno(0x51)
1196 ENETDOWN = syscall.Errno(0x32)
1197 ENETRESET = syscall.Errno(0x34)
1198 ENETUNREACH = syscall.Errno(0x33)
1199 ENFILE = syscall.Errno(0x17)
1200 ENOATTR = syscall.Errno(0x5d)
1201 ENOBUFS = syscall.Errno(0x37)
1202 ENODATA = syscall.Errno(0x60)
1203 ENODEV = syscall.Errno(0x13)
1204 ENOENT = syscall.Errno(0x2)
1205 ENOEXEC = syscall.Errno(0x8)
1206 ENOLCK = syscall.Errno(0x4d)
1207 ENOLINK = syscall.Errno(0x61)
1208 ENOMEM = syscall.Errno(0xc)
1209 ENOMSG = syscall.Errno(0x5b)
1210 ENOPOLICY = syscall.Errno(0x67)
1211 ENOPROTOOPT = syscall.Errno(0x2a)
1212 ENOSPC = syscall.Errno(0x1c)
1213 ENOSR = syscall.Errno(0x62)
1214 ENOSTR = syscall.Errno(0x63)
1215 ENOSYS = syscall.Errno(0x4e)
1216 ENOTBLK = syscall.Errno(0xf)
1217 ENOTCONN = syscall.Errno(0x39)
1218 ENOTDIR = syscall.Errno(0x14)
1219 ENOTEMPTY = syscall.Errno(0x42)
1220 ENOTRECOVERABLE = syscall.Errno(0x68)
1221 ENOTSOCK = syscall.Errno(0x26)
1222 ENOTSUP = syscall.Errno(0x2d)
1223 ENOTTY = syscall.Errno(0x19)
1224 ENXIO = syscall.Errno(0x6)
1225 EOPNOTSUPP = syscall.Errno(0x66)
1226 EOVERFLOW = syscall.Errno(0x54)
1227 EOWNERDEAD = syscall.Errno(0x69)
1228 EPERM = syscall.Errno(0x1)
1229 EPFNOSUPPORT = syscall.Errno(0x2e)
1230 EPIPE = syscall.Errno(0x20)
1231 EPROCLIM = syscall.Errno(0x43)
1232 EPROCUNAVAIL = syscall.Errno(0x4c)
1233 EPROGMISMATCH = syscall.Errno(0x4b)
1234 EPROGUNAVAIL = syscall.Errno(0x4a)
1235 EPROTO = syscall.Errno(0x64)
1236 EPROTONOSUPPORT = syscall.Errno(0x2b)
1237 EPROTOTYPE = syscall.Errno(0x29)
1238 EPWROFF = syscall.Errno(0x52)
1239 EQFULL = syscall.Errno(0x6a)
1240 ERANGE = syscall.Errno(0x22)
1241 EREMOTE = syscall.Errno(0x47)
1242 EROFS = syscall.Errno(0x1e)
1243 ERPCMISMATCH = syscall.Errno(0x49)
1244 ESHLIBVERS = syscall.Errno(0x57)
1245 ESHUTDOWN = syscall.Errno(0x3a)
1246 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1247 ESPIPE = syscall.Errno(0x1d)
1248 ESRCH = syscall.Errno(0x3)
1249 ESTALE = syscall.Errno(0x46)
1250 ETIME = syscall.Errno(0x65)
1251 ETIMEDOUT = syscall.Errno(0x3c)
1252 ETOOMANYREFS = syscall.Errno(0x3b)
1253 ETXTBSY = syscall.Errno(0x1a)
1254 EUSERS = syscall.Errno(0x44)
1255 EWOULDBLOCK = syscall.Errno(0x23)
1256 EXDEV = syscall.Errno(0x12)
1257)
1258
1259// Signals
1260const (
1261 SIGABRT = syscall.Signal(0x6)
1262 SIGALRM = syscall.Signal(0xe)
1263 SIGBUS = syscall.Signal(0xa)
1264 SIGCHLD = syscall.Signal(0x14)
1265 SIGCONT = syscall.Signal(0x13)
1266 SIGEMT = syscall.Signal(0x7)
1267 SIGFPE = syscall.Signal(0x8)
1268 SIGHUP = syscall.Signal(0x1)
1269 SIGILL = syscall.Signal(0x4)
1270 SIGINFO = syscall.Signal(0x1d)
1271 SIGINT = syscall.Signal(0x2)
1272 SIGIO = syscall.Signal(0x17)
1273 SIGIOT = syscall.Signal(0x6)
1274 SIGKILL = syscall.Signal(0x9)
1275 SIGPIPE = syscall.Signal(0xd)
1276 SIGPROF = syscall.Signal(0x1b)
1277 SIGQUIT = syscall.Signal(0x3)
1278 SIGSEGV = syscall.Signal(0xb)
1279 SIGSTOP = syscall.Signal(0x11)
1280 SIGSYS = syscall.Signal(0xc)
1281 SIGTERM = syscall.Signal(0xf)
1282 SIGTRAP = syscall.Signal(0x5)
1283 SIGTSTP = syscall.Signal(0x12)
1284 SIGTTIN = syscall.Signal(0x15)
1285 SIGTTOU = syscall.Signal(0x16)
1286 SIGURG = syscall.Signal(0x10)
1287 SIGUSR1 = syscall.Signal(0x1e)
1288 SIGUSR2 = syscall.Signal(0x1f)
1289 SIGVTALRM = syscall.Signal(0x1a)
1290 SIGWINCH = syscall.Signal(0x1c)
1291 SIGXCPU = syscall.Signal(0x18)
1292 SIGXFSZ = syscall.Signal(0x19)
1293)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm64.go
deleted file mode 100644
index 3189c6b..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_darwin_arm64.go
+++ /dev/null
@@ -1,1576 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm64,darwin
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_CCITT = 0xa
16 AF_CHAOS = 0x5
17 AF_CNT = 0x15
18 AF_COIP = 0x14
19 AF_DATAKIT = 0x9
20 AF_DECnet = 0xc
21 AF_DLI = 0xd
22 AF_E164 = 0x1c
23 AF_ECMA = 0x8
24 AF_HYLINK = 0xf
25 AF_IEEE80211 = 0x25
26 AF_IMPLINK = 0x3
27 AF_INET = 0x2
28 AF_INET6 = 0x1e
29 AF_IPX = 0x17
30 AF_ISDN = 0x1c
31 AF_ISO = 0x7
32 AF_LAT = 0xe
33 AF_LINK = 0x12
34 AF_LOCAL = 0x1
35 AF_MAX = 0x28
36 AF_NATM = 0x1f
37 AF_NDRV = 0x1b
38 AF_NETBIOS = 0x21
39 AF_NS = 0x6
40 AF_OSI = 0x7
41 AF_PPP = 0x22
42 AF_PUP = 0x4
43 AF_RESERVED_36 = 0x24
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_SYSTEM = 0x20
48 AF_UNIX = 0x1
49 AF_UNSPEC = 0x0
50 AF_UTUN = 0x26
51 B0 = 0x0
52 B110 = 0x6e
53 B115200 = 0x1c200
54 B1200 = 0x4b0
55 B134 = 0x86
56 B14400 = 0x3840
57 B150 = 0x96
58 B1800 = 0x708
59 B19200 = 0x4b00
60 B200 = 0xc8
61 B230400 = 0x38400
62 B2400 = 0x960
63 B28800 = 0x7080
64 B300 = 0x12c
65 B38400 = 0x9600
66 B4800 = 0x12c0
67 B50 = 0x32
68 B57600 = 0xe100
69 B600 = 0x258
70 B7200 = 0x1c20
71 B75 = 0x4b
72 B76800 = 0x12c00
73 B9600 = 0x2580
74 BIOCFLUSH = 0x20004268
75 BIOCGBLEN = 0x40044266
76 BIOCGDLT = 0x4004426a
77 BIOCGDLTLIST = 0xc00c4279
78 BIOCGETIF = 0x4020426b
79 BIOCGHDRCMPLT = 0x40044274
80 BIOCGRSIG = 0x40044272
81 BIOCGRTIMEOUT = 0x4010426e
82 BIOCGSEESENT = 0x40044276
83 BIOCGSTATS = 0x4008426f
84 BIOCIMMEDIATE = 0x80044270
85 BIOCPROMISC = 0x20004269
86 BIOCSBLEN = 0xc0044266
87 BIOCSDLT = 0x80044278
88 BIOCSETF = 0x80104267
89 BIOCSETFNR = 0x8010427e
90 BIOCSETIF = 0x8020426c
91 BIOCSHDRCMPLT = 0x80044275
92 BIOCSRSIG = 0x80044273
93 BIOCSRTIMEOUT = 0x8010426d
94 BIOCSSEESENT = 0x80044277
95 BIOCVERSION = 0x40044271
96 BPF_A = 0x10
97 BPF_ABS = 0x20
98 BPF_ADD = 0x0
99 BPF_ALIGNMENT = 0x4
100 BPF_ALU = 0x4
101 BPF_AND = 0x50
102 BPF_B = 0x10
103 BPF_DIV = 0x30
104 BPF_H = 0x8
105 BPF_IMM = 0x0
106 BPF_IND = 0x40
107 BPF_JA = 0x0
108 BPF_JEQ = 0x10
109 BPF_JGE = 0x30
110 BPF_JGT = 0x20
111 BPF_JMP = 0x5
112 BPF_JSET = 0x40
113 BPF_K = 0x0
114 BPF_LD = 0x0
115 BPF_LDX = 0x1
116 BPF_LEN = 0x80
117 BPF_LSH = 0x60
118 BPF_MAJOR_VERSION = 0x1
119 BPF_MAXBUFSIZE = 0x80000
120 BPF_MAXINSNS = 0x200
121 BPF_MEM = 0x60
122 BPF_MEMWORDS = 0x10
123 BPF_MINBUFSIZE = 0x20
124 BPF_MINOR_VERSION = 0x1
125 BPF_MISC = 0x7
126 BPF_MSH = 0xa0
127 BPF_MUL = 0x20
128 BPF_NEG = 0x80
129 BPF_OR = 0x40
130 BPF_RELEASE = 0x30bb6
131 BPF_RET = 0x6
132 BPF_RSH = 0x70
133 BPF_ST = 0x2
134 BPF_STX = 0x3
135 BPF_SUB = 0x10
136 BPF_TAX = 0x0
137 BPF_TXA = 0x80
138 BPF_W = 0x0
139 BPF_X = 0x8
140 BRKINT = 0x2
141 CFLUSH = 0xf
142 CLOCAL = 0x8000
143 CREAD = 0x800
144 CS5 = 0x0
145 CS6 = 0x100
146 CS7 = 0x200
147 CS8 = 0x300
148 CSIZE = 0x300
149 CSTART = 0x11
150 CSTATUS = 0x14
151 CSTOP = 0x13
152 CSTOPB = 0x400
153 CSUSP = 0x1a
154 CTL_MAXNAME = 0xc
155 CTL_NET = 0x4
156 DLT_A429 = 0xb8
157 DLT_A653_ICM = 0xb9
158 DLT_AIRONET_HEADER = 0x78
159 DLT_AOS = 0xde
160 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
161 DLT_ARCNET = 0x7
162 DLT_ARCNET_LINUX = 0x81
163 DLT_ATM_CLIP = 0x13
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AURORA = 0x7e
166 DLT_AX25 = 0x3
167 DLT_AX25_KISS = 0xca
168 DLT_BACNET_MS_TP = 0xa5
169 DLT_BLUETOOTH_HCI_H4 = 0xbb
170 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
171 DLT_CAN20B = 0xbe
172 DLT_CAN_SOCKETCAN = 0xe3
173 DLT_CHAOS = 0x5
174 DLT_CHDLC = 0x68
175 DLT_CISCO_IOS = 0x76
176 DLT_C_HDLC = 0x68
177 DLT_C_HDLC_WITH_DIR = 0xcd
178 DLT_DBUS = 0xe7
179 DLT_DECT = 0xdd
180 DLT_DOCSIS = 0x8f
181 DLT_DVB_CI = 0xeb
182 DLT_ECONET = 0x73
183 DLT_EN10MB = 0x1
184 DLT_EN3MB = 0x2
185 DLT_ENC = 0x6d
186 DLT_ERF = 0xc5
187 DLT_ERF_ETH = 0xaf
188 DLT_ERF_POS = 0xb0
189 DLT_FC_2 = 0xe0
190 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
191 DLT_FDDI = 0xa
192 DLT_FLEXRAY = 0xd2
193 DLT_FRELAY = 0x6b
194 DLT_FRELAY_WITH_DIR = 0xce
195 DLT_GCOM_SERIAL = 0xad
196 DLT_GCOM_T1E1 = 0xac
197 DLT_GPF_F = 0xab
198 DLT_GPF_T = 0xaa
199 DLT_GPRS_LLC = 0xa9
200 DLT_GSMTAP_ABIS = 0xda
201 DLT_GSMTAP_UM = 0xd9
202 DLT_HHDLC = 0x79
203 DLT_IBM_SN = 0x92
204 DLT_IBM_SP = 0x91
205 DLT_IEEE802 = 0x6
206 DLT_IEEE802_11 = 0x69
207 DLT_IEEE802_11_RADIO = 0x7f
208 DLT_IEEE802_11_RADIO_AVS = 0xa3
209 DLT_IEEE802_15_4 = 0xc3
210 DLT_IEEE802_15_4_LINUX = 0xbf
211 DLT_IEEE802_15_4_NOFCS = 0xe6
212 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
213 DLT_IEEE802_16_MAC_CPS = 0xbc
214 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
215 DLT_IPFILTER = 0x74
216 DLT_IPMB = 0xc7
217 DLT_IPMB_LINUX = 0xd1
218 DLT_IPNET = 0xe2
219 DLT_IPOIB = 0xf2
220 DLT_IPV4 = 0xe4
221 DLT_IPV6 = 0xe5
222 DLT_IP_OVER_FC = 0x7a
223 DLT_JUNIPER_ATM1 = 0x89
224 DLT_JUNIPER_ATM2 = 0x87
225 DLT_JUNIPER_ATM_CEMIC = 0xee
226 DLT_JUNIPER_CHDLC = 0xb5
227 DLT_JUNIPER_ES = 0x84
228 DLT_JUNIPER_ETHER = 0xb2
229 DLT_JUNIPER_FIBRECHANNEL = 0xea
230 DLT_JUNIPER_FRELAY = 0xb4
231 DLT_JUNIPER_GGSN = 0x85
232 DLT_JUNIPER_ISM = 0xc2
233 DLT_JUNIPER_MFR = 0x86
234 DLT_JUNIPER_MLFR = 0x83
235 DLT_JUNIPER_MLPPP = 0x82
236 DLT_JUNIPER_MONITOR = 0xa4
237 DLT_JUNIPER_PIC_PEER = 0xae
238 DLT_JUNIPER_PPP = 0xb3
239 DLT_JUNIPER_PPPOE = 0xa7
240 DLT_JUNIPER_PPPOE_ATM = 0xa8
241 DLT_JUNIPER_SERVICES = 0x88
242 DLT_JUNIPER_SRX_E2E = 0xe9
243 DLT_JUNIPER_ST = 0xc8
244 DLT_JUNIPER_VP = 0xb7
245 DLT_JUNIPER_VS = 0xe8
246 DLT_LAPB_WITH_DIR = 0xcf
247 DLT_LAPD = 0xcb
248 DLT_LIN = 0xd4
249 DLT_LINUX_EVDEV = 0xd8
250 DLT_LINUX_IRDA = 0x90
251 DLT_LINUX_LAPD = 0xb1
252 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
253 DLT_LINUX_SLL = 0x71
254 DLT_LOOP = 0x6c
255 DLT_LTALK = 0x72
256 DLT_MATCHING_MAX = 0xf5
257 DLT_MATCHING_MIN = 0x68
258 DLT_MFR = 0xb6
259 DLT_MOST = 0xd3
260 DLT_MPEG_2_TS = 0xf3
261 DLT_MPLS = 0xdb
262 DLT_MTP2 = 0x8c
263 DLT_MTP2_WITH_PHDR = 0x8b
264 DLT_MTP3 = 0x8d
265 DLT_MUX27010 = 0xec
266 DLT_NETANALYZER = 0xf0
267 DLT_NETANALYZER_TRANSPARENT = 0xf1
268 DLT_NFC_LLCP = 0xf5
269 DLT_NFLOG = 0xef
270 DLT_NG40 = 0xf4
271 DLT_NULL = 0x0
272 DLT_PCI_EXP = 0x7d
273 DLT_PFLOG = 0x75
274 DLT_PFSYNC = 0x12
275 DLT_PPI = 0xc0
276 DLT_PPP = 0x9
277 DLT_PPP_BSDOS = 0x10
278 DLT_PPP_ETHER = 0x33
279 DLT_PPP_PPPD = 0xa6
280 DLT_PPP_SERIAL = 0x32
281 DLT_PPP_WITH_DIR = 0xcc
282 DLT_PPP_WITH_DIRECTION = 0xa6
283 DLT_PRISM_HEADER = 0x77
284 DLT_PRONET = 0x4
285 DLT_RAIF1 = 0xc6
286 DLT_RAW = 0xc
287 DLT_RIO = 0x7c
288 DLT_SCCP = 0x8e
289 DLT_SITA = 0xc4
290 DLT_SLIP = 0x8
291 DLT_SLIP_BSDOS = 0xf
292 DLT_STANAG_5066_D_PDU = 0xed
293 DLT_SUNATM = 0x7b
294 DLT_SYMANTEC_FIREWALL = 0x63
295 DLT_TZSP = 0x80
296 DLT_USB = 0xba
297 DLT_USB_LINUX = 0xbd
298 DLT_USB_LINUX_MMAPPED = 0xdc
299 DLT_USER0 = 0x93
300 DLT_USER1 = 0x94
301 DLT_USER10 = 0x9d
302 DLT_USER11 = 0x9e
303 DLT_USER12 = 0x9f
304 DLT_USER13 = 0xa0
305 DLT_USER14 = 0xa1
306 DLT_USER15 = 0xa2
307 DLT_USER2 = 0x95
308 DLT_USER3 = 0x96
309 DLT_USER4 = 0x97
310 DLT_USER5 = 0x98
311 DLT_USER6 = 0x99
312 DLT_USER7 = 0x9a
313 DLT_USER8 = 0x9b
314 DLT_USER9 = 0x9c
315 DLT_WIHART = 0xdf
316 DLT_X2E_SERIAL = 0xd5
317 DLT_X2E_XORAYA = 0xd6
318 DT_BLK = 0x6
319 DT_CHR = 0x2
320 DT_DIR = 0x4
321 DT_FIFO = 0x1
322 DT_LNK = 0xa
323 DT_REG = 0x8
324 DT_SOCK = 0xc
325 DT_UNKNOWN = 0x0
326 DT_WHT = 0xe
327 ECHO = 0x8
328 ECHOCTL = 0x40
329 ECHOE = 0x2
330 ECHOK = 0x4
331 ECHOKE = 0x1
332 ECHONL = 0x10
333 ECHOPRT = 0x20
334 EVFILT_AIO = -0x3
335 EVFILT_FS = -0x9
336 EVFILT_MACHPORT = -0x8
337 EVFILT_PROC = -0x5
338 EVFILT_READ = -0x1
339 EVFILT_SIGNAL = -0x6
340 EVFILT_SYSCOUNT = 0xe
341 EVFILT_THREADMARKER = 0xe
342 EVFILT_TIMER = -0x7
343 EVFILT_USER = -0xa
344 EVFILT_VM = -0xc
345 EVFILT_VNODE = -0x4
346 EVFILT_WRITE = -0x2
347 EV_ADD = 0x1
348 EV_CLEAR = 0x20
349 EV_DELETE = 0x2
350 EV_DISABLE = 0x8
351 EV_DISPATCH = 0x80
352 EV_ENABLE = 0x4
353 EV_EOF = 0x8000
354 EV_ERROR = 0x4000
355 EV_FLAG0 = 0x1000
356 EV_FLAG1 = 0x2000
357 EV_ONESHOT = 0x10
358 EV_OOBAND = 0x2000
359 EV_POLL = 0x1000
360 EV_RECEIPT = 0x40
361 EV_SYSFLAGS = 0xf000
362 EXTA = 0x4b00
363 EXTB = 0x9600
364 EXTPROC = 0x800
365 FD_CLOEXEC = 0x1
366 FD_SETSIZE = 0x400
367 FLUSHO = 0x800000
368 F_ADDFILESIGS = 0x3d
369 F_ADDSIGS = 0x3b
370 F_ALLOCATEALL = 0x4
371 F_ALLOCATECONTIG = 0x2
372 F_CHKCLEAN = 0x29
373 F_DUPFD = 0x0
374 F_DUPFD_CLOEXEC = 0x43
375 F_FINDSIGS = 0x4e
376 F_FLUSH_DATA = 0x28
377 F_FREEZE_FS = 0x35
378 F_FULLFSYNC = 0x33
379 F_GETCODEDIR = 0x48
380 F_GETFD = 0x1
381 F_GETFL = 0x3
382 F_GETLK = 0x7
383 F_GETLKPID = 0x42
384 F_GETNOSIGPIPE = 0x4a
385 F_GETOWN = 0x5
386 F_GETPATH = 0x32
387 F_GETPATH_MTMINFO = 0x47
388 F_GETPROTECTIONCLASS = 0x3f
389 F_GETPROTECTIONLEVEL = 0x4d
390 F_GLOBAL_NOCACHE = 0x37
391 F_LOG2PHYS = 0x31
392 F_LOG2PHYS_EXT = 0x41
393 F_NOCACHE = 0x30
394 F_NODIRECT = 0x3e
395 F_OK = 0x0
396 F_PATHPKG_CHECK = 0x34
397 F_PEOFPOSMODE = 0x3
398 F_PREALLOCATE = 0x2a
399 F_RDADVISE = 0x2c
400 F_RDAHEAD = 0x2d
401 F_RDLCK = 0x1
402 F_SETBACKINGSTORE = 0x46
403 F_SETFD = 0x2
404 F_SETFL = 0x4
405 F_SETLK = 0x8
406 F_SETLKW = 0x9
407 F_SETLKWTIMEOUT = 0xa
408 F_SETNOSIGPIPE = 0x49
409 F_SETOWN = 0x6
410 F_SETPROTECTIONCLASS = 0x40
411 F_SETSIZE = 0x2b
412 F_SINGLE_WRITER = 0x4c
413 F_THAW_FS = 0x36
414 F_TRANSCODEKEY = 0x4b
415 F_UNLCK = 0x2
416 F_VOLPOSMODE = 0x4
417 F_WRLCK = 0x3
418 HUPCL = 0x4000
419 ICANON = 0x100
420 ICMP6_FILTER = 0x12
421 ICRNL = 0x100
422 IEXTEN = 0x400
423 IFF_ALLMULTI = 0x200
424 IFF_ALTPHYS = 0x4000
425 IFF_BROADCAST = 0x2
426 IFF_DEBUG = 0x4
427 IFF_LINK0 = 0x1000
428 IFF_LINK1 = 0x2000
429 IFF_LINK2 = 0x4000
430 IFF_LOOPBACK = 0x8
431 IFF_MULTICAST = 0x8000
432 IFF_NOARP = 0x80
433 IFF_NOTRAILERS = 0x20
434 IFF_OACTIVE = 0x400
435 IFF_POINTOPOINT = 0x10
436 IFF_PROMISC = 0x100
437 IFF_RUNNING = 0x40
438 IFF_SIMPLEX = 0x800
439 IFF_UP = 0x1
440 IFNAMSIZ = 0x10
441 IFT_1822 = 0x2
442 IFT_AAL5 = 0x31
443 IFT_ARCNET = 0x23
444 IFT_ARCNETPLUS = 0x24
445 IFT_ATM = 0x25
446 IFT_BRIDGE = 0xd1
447 IFT_CARP = 0xf8
448 IFT_CELLULAR = 0xff
449 IFT_CEPT = 0x13
450 IFT_DS3 = 0x1e
451 IFT_ENC = 0xf4
452 IFT_EON = 0x19
453 IFT_ETHER = 0x6
454 IFT_FAITH = 0x38
455 IFT_FDDI = 0xf
456 IFT_FRELAY = 0x20
457 IFT_FRELAYDCE = 0x2c
458 IFT_GIF = 0x37
459 IFT_HDH1822 = 0x3
460 IFT_HIPPI = 0x2f
461 IFT_HSSI = 0x2e
462 IFT_HY = 0xe
463 IFT_IEEE1394 = 0x90
464 IFT_IEEE8023ADLAG = 0x88
465 IFT_ISDNBASIC = 0x14
466 IFT_ISDNPRIMARY = 0x15
467 IFT_ISO88022LLC = 0x29
468 IFT_ISO88023 = 0x7
469 IFT_ISO88024 = 0x8
470 IFT_ISO88025 = 0x9
471 IFT_ISO88026 = 0xa
472 IFT_L2VLAN = 0x87
473 IFT_LAPB = 0x10
474 IFT_LOCALTALK = 0x2a
475 IFT_LOOP = 0x18
476 IFT_MIOX25 = 0x26
477 IFT_MODEM = 0x30
478 IFT_NSIP = 0x1b
479 IFT_OTHER = 0x1
480 IFT_P10 = 0xc
481 IFT_P80 = 0xd
482 IFT_PARA = 0x22
483 IFT_PDP = 0xff
484 IFT_PFLOG = 0xf5
485 IFT_PFSYNC = 0xf6
486 IFT_PKTAP = 0xfe
487 IFT_PPP = 0x17
488 IFT_PROPMUX = 0x36
489 IFT_PROPVIRTUAL = 0x35
490 IFT_PTPSERIAL = 0x16
491 IFT_RS232 = 0x21
492 IFT_SDLC = 0x11
493 IFT_SIP = 0x1f
494 IFT_SLIP = 0x1c
495 IFT_SMDSDXI = 0x2b
496 IFT_SMDSICIP = 0x34
497 IFT_SONET = 0x27
498 IFT_SONETPATH = 0x32
499 IFT_SONETVT = 0x33
500 IFT_STARLAN = 0xb
501 IFT_STF = 0x39
502 IFT_T1 = 0x12
503 IFT_ULTRA = 0x1d
504 IFT_V35 = 0x2d
505 IFT_X25 = 0x5
506 IFT_X25DDN = 0x4
507 IFT_X25PLE = 0x28
508 IFT_XETHER = 0x1a
509 IGNBRK = 0x1
510 IGNCR = 0x80
511 IGNPAR = 0x4
512 IMAXBEL = 0x2000
513 INLCR = 0x40
514 INPCK = 0x10
515 IN_CLASSA_HOST = 0xffffff
516 IN_CLASSA_MAX = 0x80
517 IN_CLASSA_NET = 0xff000000
518 IN_CLASSA_NSHIFT = 0x18
519 IN_CLASSB_HOST = 0xffff
520 IN_CLASSB_MAX = 0x10000
521 IN_CLASSB_NET = 0xffff0000
522 IN_CLASSB_NSHIFT = 0x10
523 IN_CLASSC_HOST = 0xff
524 IN_CLASSC_NET = 0xffffff00
525 IN_CLASSC_NSHIFT = 0x8
526 IN_CLASSD_HOST = 0xfffffff
527 IN_CLASSD_NET = 0xf0000000
528 IN_CLASSD_NSHIFT = 0x1c
529 IN_LINKLOCALNETNUM = 0xa9fe0000
530 IN_LOOPBACKNET = 0x7f
531 IPPROTO_3PC = 0x22
532 IPPROTO_ADFS = 0x44
533 IPPROTO_AH = 0x33
534 IPPROTO_AHIP = 0x3d
535 IPPROTO_APES = 0x63
536 IPPROTO_ARGUS = 0xd
537 IPPROTO_AX25 = 0x5d
538 IPPROTO_BHA = 0x31
539 IPPROTO_BLT = 0x1e
540 IPPROTO_BRSATMON = 0x4c
541 IPPROTO_CFTP = 0x3e
542 IPPROTO_CHAOS = 0x10
543 IPPROTO_CMTP = 0x26
544 IPPROTO_CPHB = 0x49
545 IPPROTO_CPNX = 0x48
546 IPPROTO_DDP = 0x25
547 IPPROTO_DGP = 0x56
548 IPPROTO_DIVERT = 0xfe
549 IPPROTO_DONE = 0x101
550 IPPROTO_DSTOPTS = 0x3c
551 IPPROTO_EGP = 0x8
552 IPPROTO_EMCON = 0xe
553 IPPROTO_ENCAP = 0x62
554 IPPROTO_EON = 0x50
555 IPPROTO_ESP = 0x32
556 IPPROTO_ETHERIP = 0x61
557 IPPROTO_FRAGMENT = 0x2c
558 IPPROTO_GGP = 0x3
559 IPPROTO_GMTP = 0x64
560 IPPROTO_GRE = 0x2f
561 IPPROTO_HELLO = 0x3f
562 IPPROTO_HMP = 0x14
563 IPPROTO_HOPOPTS = 0x0
564 IPPROTO_ICMP = 0x1
565 IPPROTO_ICMPV6 = 0x3a
566 IPPROTO_IDP = 0x16
567 IPPROTO_IDPR = 0x23
568 IPPROTO_IDRP = 0x2d
569 IPPROTO_IGMP = 0x2
570 IPPROTO_IGP = 0x55
571 IPPROTO_IGRP = 0x58
572 IPPROTO_IL = 0x28
573 IPPROTO_INLSP = 0x34
574 IPPROTO_INP = 0x20
575 IPPROTO_IP = 0x0
576 IPPROTO_IPCOMP = 0x6c
577 IPPROTO_IPCV = 0x47
578 IPPROTO_IPEIP = 0x5e
579 IPPROTO_IPIP = 0x4
580 IPPROTO_IPPC = 0x43
581 IPPROTO_IPV4 = 0x4
582 IPPROTO_IPV6 = 0x29
583 IPPROTO_IRTP = 0x1c
584 IPPROTO_KRYPTOLAN = 0x41
585 IPPROTO_LARP = 0x5b
586 IPPROTO_LEAF1 = 0x19
587 IPPROTO_LEAF2 = 0x1a
588 IPPROTO_MAX = 0x100
589 IPPROTO_MAXID = 0x34
590 IPPROTO_MEAS = 0x13
591 IPPROTO_MHRP = 0x30
592 IPPROTO_MICP = 0x5f
593 IPPROTO_MTP = 0x5c
594 IPPROTO_MUX = 0x12
595 IPPROTO_ND = 0x4d
596 IPPROTO_NHRP = 0x36
597 IPPROTO_NONE = 0x3b
598 IPPROTO_NSP = 0x1f
599 IPPROTO_NVPII = 0xb
600 IPPROTO_OSPFIGP = 0x59
601 IPPROTO_PGM = 0x71
602 IPPROTO_PIGP = 0x9
603 IPPROTO_PIM = 0x67
604 IPPROTO_PRM = 0x15
605 IPPROTO_PUP = 0xc
606 IPPROTO_PVP = 0x4b
607 IPPROTO_RAW = 0xff
608 IPPROTO_RCCMON = 0xa
609 IPPROTO_RDP = 0x1b
610 IPPROTO_ROUTING = 0x2b
611 IPPROTO_RSVP = 0x2e
612 IPPROTO_RVD = 0x42
613 IPPROTO_SATEXPAK = 0x40
614 IPPROTO_SATMON = 0x45
615 IPPROTO_SCCSP = 0x60
616 IPPROTO_SCTP = 0x84
617 IPPROTO_SDRP = 0x2a
618 IPPROTO_SEP = 0x21
619 IPPROTO_SRPC = 0x5a
620 IPPROTO_ST = 0x7
621 IPPROTO_SVMTP = 0x52
622 IPPROTO_SWIPE = 0x35
623 IPPROTO_TCF = 0x57
624 IPPROTO_TCP = 0x6
625 IPPROTO_TP = 0x1d
626 IPPROTO_TPXX = 0x27
627 IPPROTO_TRUNK1 = 0x17
628 IPPROTO_TRUNK2 = 0x18
629 IPPROTO_TTP = 0x54
630 IPPROTO_UDP = 0x11
631 IPPROTO_VINES = 0x53
632 IPPROTO_VISA = 0x46
633 IPPROTO_VMTP = 0x51
634 IPPROTO_WBEXPAK = 0x4f
635 IPPROTO_WBMON = 0x4e
636 IPPROTO_WSN = 0x4a
637 IPPROTO_XNET = 0xf
638 IPPROTO_XTP = 0x24
639 IPV6_2292DSTOPTS = 0x17
640 IPV6_2292HOPLIMIT = 0x14
641 IPV6_2292HOPOPTS = 0x16
642 IPV6_2292NEXTHOP = 0x15
643 IPV6_2292PKTINFO = 0x13
644 IPV6_2292PKTOPTIONS = 0x19
645 IPV6_2292RTHDR = 0x18
646 IPV6_BINDV6ONLY = 0x1b
647 IPV6_BOUND_IF = 0x7d
648 IPV6_CHECKSUM = 0x1a
649 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
650 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
651 IPV6_DEFHLIM = 0x40
652 IPV6_FAITH = 0x1d
653 IPV6_FLOWINFO_MASK = 0xffffff0f
654 IPV6_FLOWLABEL_MASK = 0xffff0f00
655 IPV6_FRAGTTL = 0x3c
656 IPV6_FW_ADD = 0x1e
657 IPV6_FW_DEL = 0x1f
658 IPV6_FW_FLUSH = 0x20
659 IPV6_FW_GET = 0x22
660 IPV6_FW_ZERO = 0x21
661 IPV6_HLIMDEC = 0x1
662 IPV6_IPSEC_POLICY = 0x1c
663 IPV6_JOIN_GROUP = 0xc
664 IPV6_LEAVE_GROUP = 0xd
665 IPV6_MAXHLIM = 0xff
666 IPV6_MAXOPTHDR = 0x800
667 IPV6_MAXPACKET = 0xffff
668 IPV6_MAX_GROUP_SRC_FILTER = 0x200
669 IPV6_MAX_MEMBERSHIPS = 0xfff
670 IPV6_MAX_SOCK_SRC_FILTER = 0x80
671 IPV6_MIN_MEMBERSHIPS = 0x1f
672 IPV6_MMTU = 0x500
673 IPV6_MULTICAST_HOPS = 0xa
674 IPV6_MULTICAST_IF = 0x9
675 IPV6_MULTICAST_LOOP = 0xb
676 IPV6_PORTRANGE = 0xe
677 IPV6_PORTRANGE_DEFAULT = 0x0
678 IPV6_PORTRANGE_HIGH = 0x1
679 IPV6_PORTRANGE_LOW = 0x2
680 IPV6_RECVTCLASS = 0x23
681 IPV6_RTHDR_LOOSE = 0x0
682 IPV6_RTHDR_STRICT = 0x1
683 IPV6_RTHDR_TYPE_0 = 0x0
684 IPV6_SOCKOPT_RESERVED1 = 0x3
685 IPV6_TCLASS = 0x24
686 IPV6_UNICAST_HOPS = 0x4
687 IPV6_V6ONLY = 0x1b
688 IPV6_VERSION = 0x60
689 IPV6_VERSION_MASK = 0xf0
690 IP_ADD_MEMBERSHIP = 0xc
691 IP_ADD_SOURCE_MEMBERSHIP = 0x46
692 IP_BLOCK_SOURCE = 0x48
693 IP_BOUND_IF = 0x19
694 IP_DEFAULT_MULTICAST_LOOP = 0x1
695 IP_DEFAULT_MULTICAST_TTL = 0x1
696 IP_DF = 0x4000
697 IP_DROP_MEMBERSHIP = 0xd
698 IP_DROP_SOURCE_MEMBERSHIP = 0x47
699 IP_DUMMYNET_CONFIGURE = 0x3c
700 IP_DUMMYNET_DEL = 0x3d
701 IP_DUMMYNET_FLUSH = 0x3e
702 IP_DUMMYNET_GET = 0x40
703 IP_FAITH = 0x16
704 IP_FW_ADD = 0x28
705 IP_FW_DEL = 0x29
706 IP_FW_FLUSH = 0x2a
707 IP_FW_GET = 0x2c
708 IP_FW_RESETLOG = 0x2d
709 IP_FW_ZERO = 0x2b
710 IP_HDRINCL = 0x2
711 IP_IPSEC_POLICY = 0x15
712 IP_MAXPACKET = 0xffff
713 IP_MAX_GROUP_SRC_FILTER = 0x200
714 IP_MAX_MEMBERSHIPS = 0xfff
715 IP_MAX_SOCK_MUTE_FILTER = 0x80
716 IP_MAX_SOCK_SRC_FILTER = 0x80
717 IP_MF = 0x2000
718 IP_MIN_MEMBERSHIPS = 0x1f
719 IP_MSFILTER = 0x4a
720 IP_MSS = 0x240
721 IP_MULTICAST_IF = 0x9
722 IP_MULTICAST_IFINDEX = 0x42
723 IP_MULTICAST_LOOP = 0xb
724 IP_MULTICAST_TTL = 0xa
725 IP_MULTICAST_VIF = 0xe
726 IP_NAT__XXX = 0x37
727 IP_OFFMASK = 0x1fff
728 IP_OLD_FW_ADD = 0x32
729 IP_OLD_FW_DEL = 0x33
730 IP_OLD_FW_FLUSH = 0x34
731 IP_OLD_FW_GET = 0x36
732 IP_OLD_FW_RESETLOG = 0x38
733 IP_OLD_FW_ZERO = 0x35
734 IP_OPTIONS = 0x1
735 IP_PKTINFO = 0x1a
736 IP_PORTRANGE = 0x13
737 IP_PORTRANGE_DEFAULT = 0x0
738 IP_PORTRANGE_HIGH = 0x1
739 IP_PORTRANGE_LOW = 0x2
740 IP_RECVDSTADDR = 0x7
741 IP_RECVIF = 0x14
742 IP_RECVOPTS = 0x5
743 IP_RECVPKTINFO = 0x1a
744 IP_RECVRETOPTS = 0x6
745 IP_RECVTTL = 0x18
746 IP_RETOPTS = 0x8
747 IP_RF = 0x8000
748 IP_RSVP_OFF = 0x10
749 IP_RSVP_ON = 0xf
750 IP_RSVP_VIF_OFF = 0x12
751 IP_RSVP_VIF_ON = 0x11
752 IP_STRIPHDR = 0x17
753 IP_TOS = 0x3
754 IP_TRAFFIC_MGT_BACKGROUND = 0x41
755 IP_TTL = 0x4
756 IP_UNBLOCK_SOURCE = 0x49
757 ISIG = 0x80
758 ISTRIP = 0x20
759 IUTF8 = 0x4000
760 IXANY = 0x800
761 IXOFF = 0x400
762 IXON = 0x200
763 LOCK_EX = 0x2
764 LOCK_NB = 0x4
765 LOCK_SH = 0x1
766 LOCK_UN = 0x8
767 MADV_CAN_REUSE = 0x9
768 MADV_DONTNEED = 0x4
769 MADV_FREE = 0x5
770 MADV_FREE_REUSABLE = 0x7
771 MADV_FREE_REUSE = 0x8
772 MADV_NORMAL = 0x0
773 MADV_RANDOM = 0x1
774 MADV_SEQUENTIAL = 0x2
775 MADV_WILLNEED = 0x3
776 MADV_ZERO_WIRED_PAGES = 0x6
777 MAP_ANON = 0x1000
778 MAP_COPY = 0x2
779 MAP_FILE = 0x0
780 MAP_FIXED = 0x10
781 MAP_HASSEMAPHORE = 0x200
782 MAP_JIT = 0x800
783 MAP_NOCACHE = 0x400
784 MAP_NOEXTEND = 0x100
785 MAP_NORESERVE = 0x40
786 MAP_PRIVATE = 0x2
787 MAP_RENAME = 0x20
788 MAP_RESERVED0080 = 0x80
789 MAP_SHARED = 0x1
790 MCL_CURRENT = 0x1
791 MCL_FUTURE = 0x2
792 MSG_CTRUNC = 0x20
793 MSG_DONTROUTE = 0x4
794 MSG_DONTWAIT = 0x80
795 MSG_EOF = 0x100
796 MSG_EOR = 0x8
797 MSG_FLUSH = 0x400
798 MSG_HAVEMORE = 0x2000
799 MSG_HOLD = 0x800
800 MSG_NEEDSA = 0x10000
801 MSG_OOB = 0x1
802 MSG_PEEK = 0x2
803 MSG_RCVMORE = 0x4000
804 MSG_SEND = 0x1000
805 MSG_TRUNC = 0x10
806 MSG_WAITALL = 0x40
807 MSG_WAITSTREAM = 0x200
808 MS_ASYNC = 0x1
809 MS_DEACTIVATE = 0x8
810 MS_INVALIDATE = 0x2
811 MS_KILLPAGES = 0x4
812 MS_SYNC = 0x10
813 NAME_MAX = 0xff
814 NET_RT_DUMP = 0x1
815 NET_RT_DUMP2 = 0x7
816 NET_RT_FLAGS = 0x2
817 NET_RT_IFLIST = 0x3
818 NET_RT_IFLIST2 = 0x6
819 NET_RT_MAXID = 0xa
820 NET_RT_STAT = 0x4
821 NET_RT_TRASH = 0x5
822 NOFLSH = 0x80000000
823 NOTE_ABSOLUTE = 0x8
824 NOTE_ATTRIB = 0x8
825 NOTE_BACKGROUND = 0x40
826 NOTE_CHILD = 0x4
827 NOTE_CRITICAL = 0x20
828 NOTE_DELETE = 0x1
829 NOTE_EXEC = 0x20000000
830 NOTE_EXIT = 0x80000000
831 NOTE_EXITSTATUS = 0x4000000
832 NOTE_EXIT_CSERROR = 0x40000
833 NOTE_EXIT_DECRYPTFAIL = 0x10000
834 NOTE_EXIT_DETAIL = 0x2000000
835 NOTE_EXIT_DETAIL_MASK = 0x70000
836 NOTE_EXIT_MEMORY = 0x20000
837 NOTE_EXIT_REPARENTED = 0x80000
838 NOTE_EXTEND = 0x4
839 NOTE_FFAND = 0x40000000
840 NOTE_FFCOPY = 0xc0000000
841 NOTE_FFCTRLMASK = 0xc0000000
842 NOTE_FFLAGSMASK = 0xffffff
843 NOTE_FFNOP = 0x0
844 NOTE_FFOR = 0x80000000
845 NOTE_FORK = 0x40000000
846 NOTE_LEEWAY = 0x10
847 NOTE_LINK = 0x10
848 NOTE_LOWAT = 0x1
849 NOTE_NONE = 0x80
850 NOTE_NSECONDS = 0x4
851 NOTE_PCTRLMASK = -0x100000
852 NOTE_PDATAMASK = 0xfffff
853 NOTE_REAP = 0x10000000
854 NOTE_RENAME = 0x20
855 NOTE_REVOKE = 0x40
856 NOTE_SECONDS = 0x1
857 NOTE_SIGNAL = 0x8000000
858 NOTE_TRACK = 0x1
859 NOTE_TRACKERR = 0x2
860 NOTE_TRIGGER = 0x1000000
861 NOTE_USECONDS = 0x2
862 NOTE_VM_ERROR = 0x10000000
863 NOTE_VM_PRESSURE = 0x80000000
864 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
865 NOTE_VM_PRESSURE_TERMINATE = 0x40000000
866 NOTE_WRITE = 0x2
867 OCRNL = 0x10
868 OFDEL = 0x20000
869 OFILL = 0x80
870 ONLCR = 0x2
871 ONLRET = 0x40
872 ONOCR = 0x20
873 ONOEOT = 0x8
874 OPOST = 0x1
875 O_ACCMODE = 0x3
876 O_ALERT = 0x20000000
877 O_APPEND = 0x8
878 O_ASYNC = 0x40
879 O_CLOEXEC = 0x1000000
880 O_CREAT = 0x200
881 O_DIRECTORY = 0x100000
882 O_DP_GETRAWENCRYPTED = 0x1
883 O_DSYNC = 0x400000
884 O_EVTONLY = 0x8000
885 O_EXCL = 0x800
886 O_EXLOCK = 0x20
887 O_FSYNC = 0x80
888 O_NDELAY = 0x4
889 O_NOCTTY = 0x20000
890 O_NOFOLLOW = 0x100
891 O_NONBLOCK = 0x4
892 O_POPUP = 0x80000000
893 O_RDONLY = 0x0
894 O_RDWR = 0x2
895 O_SHLOCK = 0x10
896 O_SYMLINK = 0x200000
897 O_SYNC = 0x80
898 O_TRUNC = 0x400
899 O_WRONLY = 0x1
900 PARENB = 0x1000
901 PARMRK = 0x8
902 PARODD = 0x2000
903 PENDIN = 0x20000000
904 PRIO_PGRP = 0x1
905 PRIO_PROCESS = 0x0
906 PRIO_USER = 0x2
907 PROT_EXEC = 0x4
908 PROT_NONE = 0x0
909 PROT_READ = 0x1
910 PROT_WRITE = 0x2
911 PT_ATTACH = 0xa
912 PT_ATTACHEXC = 0xe
913 PT_CONTINUE = 0x7
914 PT_DENY_ATTACH = 0x1f
915 PT_DETACH = 0xb
916 PT_FIRSTMACH = 0x20
917 PT_FORCEQUOTA = 0x1e
918 PT_KILL = 0x8
919 PT_READ_D = 0x2
920 PT_READ_I = 0x1
921 PT_READ_U = 0x3
922 PT_SIGEXC = 0xc
923 PT_STEP = 0x9
924 PT_THUPDATE = 0xd
925 PT_TRACE_ME = 0x0
926 PT_WRITE_D = 0x5
927 PT_WRITE_I = 0x4
928 PT_WRITE_U = 0x6
929 RLIMIT_AS = 0x5
930 RLIMIT_CORE = 0x4
931 RLIMIT_CPU = 0x0
932 RLIMIT_CPU_USAGE_MONITOR = 0x2
933 RLIMIT_DATA = 0x2
934 RLIMIT_FSIZE = 0x1
935 RLIMIT_NOFILE = 0x8
936 RLIMIT_STACK = 0x3
937 RLIM_INFINITY = 0x7fffffffffffffff
938 RTAX_AUTHOR = 0x6
939 RTAX_BRD = 0x7
940 RTAX_DST = 0x0
941 RTAX_GATEWAY = 0x1
942 RTAX_GENMASK = 0x3
943 RTAX_IFA = 0x5
944 RTAX_IFP = 0x4
945 RTAX_MAX = 0x8
946 RTAX_NETMASK = 0x2
947 RTA_AUTHOR = 0x40
948 RTA_BRD = 0x80
949 RTA_DST = 0x1
950 RTA_GATEWAY = 0x2
951 RTA_GENMASK = 0x8
952 RTA_IFA = 0x20
953 RTA_IFP = 0x10
954 RTA_NETMASK = 0x4
955 RTF_BLACKHOLE = 0x1000
956 RTF_BROADCAST = 0x400000
957 RTF_CLONING = 0x100
958 RTF_CONDEMNED = 0x2000000
959 RTF_DELCLONE = 0x80
960 RTF_DONE = 0x40
961 RTF_DYNAMIC = 0x10
962 RTF_GATEWAY = 0x2
963 RTF_HOST = 0x4
964 RTF_IFREF = 0x4000000
965 RTF_IFSCOPE = 0x1000000
966 RTF_LLINFO = 0x400
967 RTF_LOCAL = 0x200000
968 RTF_MODIFIED = 0x20
969 RTF_MULTICAST = 0x800000
970 RTF_NOIFREF = 0x2000
971 RTF_PINNED = 0x100000
972 RTF_PRCLONING = 0x10000
973 RTF_PROTO1 = 0x8000
974 RTF_PROTO2 = 0x4000
975 RTF_PROTO3 = 0x40000
976 RTF_PROXY = 0x8000000
977 RTF_REJECT = 0x8
978 RTF_ROUTER = 0x10000000
979 RTF_STATIC = 0x800
980 RTF_UP = 0x1
981 RTF_WASCLONED = 0x20000
982 RTF_XRESOLVE = 0x200
983 RTM_ADD = 0x1
984 RTM_CHANGE = 0x3
985 RTM_DELADDR = 0xd
986 RTM_DELETE = 0x2
987 RTM_DELMADDR = 0x10
988 RTM_GET = 0x4
989 RTM_GET2 = 0x14
990 RTM_IFINFO = 0xe
991 RTM_IFINFO2 = 0x12
992 RTM_LOCK = 0x8
993 RTM_LOSING = 0x5
994 RTM_MISS = 0x7
995 RTM_NEWADDR = 0xc
996 RTM_NEWMADDR = 0xf
997 RTM_NEWMADDR2 = 0x13
998 RTM_OLDADD = 0x9
999 RTM_OLDDEL = 0xa
1000 RTM_REDIRECT = 0x6
1001 RTM_RESOLVE = 0xb
1002 RTM_RTTUNIT = 0xf4240
1003 RTM_VERSION = 0x5
1004 RTV_EXPIRE = 0x4
1005 RTV_HOPCOUNT = 0x2
1006 RTV_MTU = 0x1
1007 RTV_RPIPE = 0x8
1008 RTV_RTT = 0x40
1009 RTV_RTTVAR = 0x80
1010 RTV_SPIPE = 0x10
1011 RTV_SSTHRESH = 0x20
1012 RUSAGE_CHILDREN = -0x1
1013 RUSAGE_SELF = 0x0
1014 SCM_CREDS = 0x3
1015 SCM_RIGHTS = 0x1
1016 SCM_TIMESTAMP = 0x2
1017 SCM_TIMESTAMP_MONOTONIC = 0x4
1018 SHUT_RD = 0x0
1019 SHUT_RDWR = 0x2
1020 SHUT_WR = 0x1
1021 SIOCADDMULTI = 0x80206931
1022 SIOCAIFADDR = 0x8040691a
1023 SIOCARPIPLL = 0xc0206928
1024 SIOCATMARK = 0x40047307
1025 SIOCAUTOADDR = 0xc0206926
1026 SIOCAUTONETMASK = 0x80206927
1027 SIOCDELMULTI = 0x80206932
1028 SIOCDIFADDR = 0x80206919
1029 SIOCDIFPHYADDR = 0x80206941
1030 SIOCGDRVSPEC = 0xc028697b
1031 SIOCGETVLAN = 0xc020697f
1032 SIOCGHIWAT = 0x40047301
1033 SIOCGIFADDR = 0xc0206921
1034 SIOCGIFALTMTU = 0xc0206948
1035 SIOCGIFASYNCMAP = 0xc020697c
1036 SIOCGIFBOND = 0xc0206947
1037 SIOCGIFBRDADDR = 0xc0206923
1038 SIOCGIFCAP = 0xc020695b
1039 SIOCGIFCONF = 0xc00c6924
1040 SIOCGIFDEVMTU = 0xc0206944
1041 SIOCGIFDSTADDR = 0xc0206922
1042 SIOCGIFFLAGS = 0xc0206911
1043 SIOCGIFGENERIC = 0xc020693a
1044 SIOCGIFKPI = 0xc0206987
1045 SIOCGIFMAC = 0xc0206982
1046 SIOCGIFMEDIA = 0xc02c6938
1047 SIOCGIFMETRIC = 0xc0206917
1048 SIOCGIFMTU = 0xc0206933
1049 SIOCGIFNETMASK = 0xc0206925
1050 SIOCGIFPDSTADDR = 0xc0206940
1051 SIOCGIFPHYS = 0xc0206935
1052 SIOCGIFPSRCADDR = 0xc020693f
1053 SIOCGIFSTATUS = 0xc331693d
1054 SIOCGIFVLAN = 0xc020697f
1055 SIOCGIFWAKEFLAGS = 0xc0206988
1056 SIOCGLOWAT = 0x40047303
1057 SIOCGPGRP = 0x40047309
1058 SIOCIFCREATE = 0xc0206978
1059 SIOCIFCREATE2 = 0xc020697a
1060 SIOCIFDESTROY = 0x80206979
1061 SIOCIFGCLONERS = 0xc0106981
1062 SIOCRSLVMULTI = 0xc010693b
1063 SIOCSDRVSPEC = 0x8028697b
1064 SIOCSETVLAN = 0x8020697e
1065 SIOCSHIWAT = 0x80047300
1066 SIOCSIFADDR = 0x8020690c
1067 SIOCSIFALTMTU = 0x80206945
1068 SIOCSIFASYNCMAP = 0x8020697d
1069 SIOCSIFBOND = 0x80206946
1070 SIOCSIFBRDADDR = 0x80206913
1071 SIOCSIFCAP = 0x8020695a
1072 SIOCSIFDSTADDR = 0x8020690e
1073 SIOCSIFFLAGS = 0x80206910
1074 SIOCSIFGENERIC = 0x80206939
1075 SIOCSIFKPI = 0x80206986
1076 SIOCSIFLLADDR = 0x8020693c
1077 SIOCSIFMAC = 0x80206983
1078 SIOCSIFMEDIA = 0xc0206937
1079 SIOCSIFMETRIC = 0x80206918
1080 SIOCSIFMTU = 0x80206934
1081 SIOCSIFNETMASK = 0x80206916
1082 SIOCSIFPHYADDR = 0x8040693e
1083 SIOCSIFPHYS = 0x80206936
1084 SIOCSIFVLAN = 0x8020697e
1085 SIOCSLOWAT = 0x80047302
1086 SIOCSPGRP = 0x80047308
1087 SOCK_DGRAM = 0x2
1088 SOCK_MAXADDRLEN = 0xff
1089 SOCK_RAW = 0x3
1090 SOCK_RDM = 0x4
1091 SOCK_SEQPACKET = 0x5
1092 SOCK_STREAM = 0x1
1093 SOL_SOCKET = 0xffff
1094 SOMAXCONN = 0x80
1095 SO_ACCEPTCONN = 0x2
1096 SO_BROADCAST = 0x20
1097 SO_DEBUG = 0x1
1098 SO_DONTROUTE = 0x10
1099 SO_DONTTRUNC = 0x2000
1100 SO_ERROR = 0x1007
1101 SO_KEEPALIVE = 0x8
1102 SO_LABEL = 0x1010
1103 SO_LINGER = 0x80
1104 SO_LINGER_SEC = 0x1080
1105 SO_NKE = 0x1021
1106 SO_NOADDRERR = 0x1023
1107 SO_NOSIGPIPE = 0x1022
1108 SO_NOTIFYCONFLICT = 0x1026
1109 SO_NP_EXTENSIONS = 0x1083
1110 SO_NREAD = 0x1020
1111 SO_NUMRCVPKT = 0x1112
1112 SO_NWRITE = 0x1024
1113 SO_OOBINLINE = 0x100
1114 SO_PEERLABEL = 0x1011
1115 SO_RANDOMPORT = 0x1082
1116 SO_RCVBUF = 0x1002
1117 SO_RCVLOWAT = 0x1004
1118 SO_RCVTIMEO = 0x1006
1119 SO_REUSEADDR = 0x4
1120 SO_REUSEPORT = 0x200
1121 SO_REUSESHAREUID = 0x1025
1122 SO_SNDBUF = 0x1001
1123 SO_SNDLOWAT = 0x1003
1124 SO_SNDTIMEO = 0x1005
1125 SO_TIMESTAMP = 0x400
1126 SO_TIMESTAMP_MONOTONIC = 0x800
1127 SO_TYPE = 0x1008
1128 SO_UPCALLCLOSEWAIT = 0x1027
1129 SO_USELOOPBACK = 0x40
1130 SO_WANTMORE = 0x4000
1131 SO_WANTOOBFLAG = 0x8000
1132 S_IEXEC = 0x40
1133 S_IFBLK = 0x6000
1134 S_IFCHR = 0x2000
1135 S_IFDIR = 0x4000
1136 S_IFIFO = 0x1000
1137 S_IFLNK = 0xa000
1138 S_IFMT = 0xf000
1139 S_IFREG = 0x8000
1140 S_IFSOCK = 0xc000
1141 S_IFWHT = 0xe000
1142 S_IREAD = 0x100
1143 S_IRGRP = 0x20
1144 S_IROTH = 0x4
1145 S_IRUSR = 0x100
1146 S_IRWXG = 0x38
1147 S_IRWXO = 0x7
1148 S_IRWXU = 0x1c0
1149 S_ISGID = 0x400
1150 S_ISTXT = 0x200
1151 S_ISUID = 0x800
1152 S_ISVTX = 0x200
1153 S_IWGRP = 0x10
1154 S_IWOTH = 0x2
1155 S_IWRITE = 0x80
1156 S_IWUSR = 0x80
1157 S_IXGRP = 0x8
1158 S_IXOTH = 0x1
1159 S_IXUSR = 0x40
1160 TCIFLUSH = 0x1
1161 TCIOFLUSH = 0x3
1162 TCOFLUSH = 0x2
1163 TCP_CONNECTIONTIMEOUT = 0x20
1164 TCP_ENABLE_ECN = 0x104
1165 TCP_KEEPALIVE = 0x10
1166 TCP_KEEPCNT = 0x102
1167 TCP_KEEPINTVL = 0x101
1168 TCP_MAXHLEN = 0x3c
1169 TCP_MAXOLEN = 0x28
1170 TCP_MAXSEG = 0x2
1171 TCP_MAXWIN = 0xffff
1172 TCP_MAX_SACK = 0x4
1173 TCP_MAX_WINSHIFT = 0xe
1174 TCP_MINMSS = 0xd8
1175 TCP_MSS = 0x200
1176 TCP_NODELAY = 0x1
1177 TCP_NOOPT = 0x8
1178 TCP_NOPUSH = 0x4
1179 TCP_NOTSENT_LOWAT = 0x201
1180 TCP_RXT_CONNDROPTIME = 0x80
1181 TCP_RXT_FINDROP = 0x100
1182 TCP_SENDMOREACKS = 0x103
1183 TCSAFLUSH = 0x2
1184 TIOCCBRK = 0x2000747a
1185 TIOCCDTR = 0x20007478
1186 TIOCCONS = 0x80047462
1187 TIOCDCDTIMESTAMP = 0x40107458
1188 TIOCDRAIN = 0x2000745e
1189 TIOCDSIMICROCODE = 0x20007455
1190 TIOCEXCL = 0x2000740d
1191 TIOCEXT = 0x80047460
1192 TIOCFLUSH = 0x80047410
1193 TIOCGDRAINWAIT = 0x40047456
1194 TIOCGETA = 0x40487413
1195 TIOCGETD = 0x4004741a
1196 TIOCGPGRP = 0x40047477
1197 TIOCGWINSZ = 0x40087468
1198 TIOCIXOFF = 0x20007480
1199 TIOCIXON = 0x20007481
1200 TIOCMBIC = 0x8004746b
1201 TIOCMBIS = 0x8004746c
1202 TIOCMGDTRWAIT = 0x4004745a
1203 TIOCMGET = 0x4004746a
1204 TIOCMODG = 0x40047403
1205 TIOCMODS = 0x80047404
1206 TIOCMSDTRWAIT = 0x8004745b
1207 TIOCMSET = 0x8004746d
1208 TIOCM_CAR = 0x40
1209 TIOCM_CD = 0x40
1210 TIOCM_CTS = 0x20
1211 TIOCM_DSR = 0x100
1212 TIOCM_DTR = 0x2
1213 TIOCM_LE = 0x1
1214 TIOCM_RI = 0x80
1215 TIOCM_RNG = 0x80
1216 TIOCM_RTS = 0x4
1217 TIOCM_SR = 0x10
1218 TIOCM_ST = 0x8
1219 TIOCNOTTY = 0x20007471
1220 TIOCNXCL = 0x2000740e
1221 TIOCOUTQ = 0x40047473
1222 TIOCPKT = 0x80047470
1223 TIOCPKT_DATA = 0x0
1224 TIOCPKT_DOSTOP = 0x20
1225 TIOCPKT_FLUSHREAD = 0x1
1226 TIOCPKT_FLUSHWRITE = 0x2
1227 TIOCPKT_IOCTL = 0x40
1228 TIOCPKT_NOSTOP = 0x10
1229 TIOCPKT_START = 0x8
1230 TIOCPKT_STOP = 0x4
1231 TIOCPTYGNAME = 0x40807453
1232 TIOCPTYGRANT = 0x20007454
1233 TIOCPTYUNLK = 0x20007452
1234 TIOCREMOTE = 0x80047469
1235 TIOCSBRK = 0x2000747b
1236 TIOCSCONS = 0x20007463
1237 TIOCSCTTY = 0x20007461
1238 TIOCSDRAINWAIT = 0x80047457
1239 TIOCSDTR = 0x20007479
1240 TIOCSETA = 0x80487414
1241 TIOCSETAF = 0x80487416
1242 TIOCSETAW = 0x80487415
1243 TIOCSETD = 0x8004741b
1244 TIOCSIG = 0x2000745f
1245 TIOCSPGRP = 0x80047476
1246 TIOCSTART = 0x2000746e
1247 TIOCSTAT = 0x20007465
1248 TIOCSTI = 0x80017472
1249 TIOCSTOP = 0x2000746f
1250 TIOCSWINSZ = 0x80087467
1251 TIOCTIMESTAMP = 0x40107459
1252 TIOCUCNTL = 0x80047466
1253 TOSTOP = 0x400000
1254 VDISCARD = 0xf
1255 VDSUSP = 0xb
1256 VEOF = 0x0
1257 VEOL = 0x1
1258 VEOL2 = 0x2
1259 VERASE = 0x3
1260 VINTR = 0x8
1261 VKILL = 0x5
1262 VLNEXT = 0xe
1263 VMIN = 0x10
1264 VQUIT = 0x9
1265 VREPRINT = 0x6
1266 VSTART = 0xc
1267 VSTATUS = 0x12
1268 VSTOP = 0xd
1269 VSUSP = 0xa
1270 VT0 = 0x0
1271 VT1 = 0x10000
1272 VTDLY = 0x10000
1273 VTIME = 0x11
1274 VWERASE = 0x4
1275 WCONTINUED = 0x10
1276 WCOREFLAG = 0x80
1277 WEXITED = 0x4
1278 WNOHANG = 0x1
1279 WNOWAIT = 0x20
1280 WORDSIZE = 0x40
1281 WSTOPPED = 0x8
1282 WUNTRACED = 0x2
1283)
1284
1285// Errors
1286const (
1287 E2BIG = syscall.Errno(0x7)
1288 EACCES = syscall.Errno(0xd)
1289 EADDRINUSE = syscall.Errno(0x30)
1290 EADDRNOTAVAIL = syscall.Errno(0x31)
1291 EAFNOSUPPORT = syscall.Errno(0x2f)
1292 EAGAIN = syscall.Errno(0x23)
1293 EALREADY = syscall.Errno(0x25)
1294 EAUTH = syscall.Errno(0x50)
1295 EBADARCH = syscall.Errno(0x56)
1296 EBADEXEC = syscall.Errno(0x55)
1297 EBADF = syscall.Errno(0x9)
1298 EBADMACHO = syscall.Errno(0x58)
1299 EBADMSG = syscall.Errno(0x5e)
1300 EBADRPC = syscall.Errno(0x48)
1301 EBUSY = syscall.Errno(0x10)
1302 ECANCELED = syscall.Errno(0x59)
1303 ECHILD = syscall.Errno(0xa)
1304 ECONNABORTED = syscall.Errno(0x35)
1305 ECONNREFUSED = syscall.Errno(0x3d)
1306 ECONNRESET = syscall.Errno(0x36)
1307 EDEADLK = syscall.Errno(0xb)
1308 EDESTADDRREQ = syscall.Errno(0x27)
1309 EDEVERR = syscall.Errno(0x53)
1310 EDOM = syscall.Errno(0x21)
1311 EDQUOT = syscall.Errno(0x45)
1312 EEXIST = syscall.Errno(0x11)
1313 EFAULT = syscall.Errno(0xe)
1314 EFBIG = syscall.Errno(0x1b)
1315 EFTYPE = syscall.Errno(0x4f)
1316 EHOSTDOWN = syscall.Errno(0x40)
1317 EHOSTUNREACH = syscall.Errno(0x41)
1318 EIDRM = syscall.Errno(0x5a)
1319 EILSEQ = syscall.Errno(0x5c)
1320 EINPROGRESS = syscall.Errno(0x24)
1321 EINTR = syscall.Errno(0x4)
1322 EINVAL = syscall.Errno(0x16)
1323 EIO = syscall.Errno(0x5)
1324 EISCONN = syscall.Errno(0x38)
1325 EISDIR = syscall.Errno(0x15)
1326 ELAST = syscall.Errno(0x6a)
1327 ELOOP = syscall.Errno(0x3e)
1328 EMFILE = syscall.Errno(0x18)
1329 EMLINK = syscall.Errno(0x1f)
1330 EMSGSIZE = syscall.Errno(0x28)
1331 EMULTIHOP = syscall.Errno(0x5f)
1332 ENAMETOOLONG = syscall.Errno(0x3f)
1333 ENEEDAUTH = syscall.Errno(0x51)
1334 ENETDOWN = syscall.Errno(0x32)
1335 ENETRESET = syscall.Errno(0x34)
1336 ENETUNREACH = syscall.Errno(0x33)
1337 ENFILE = syscall.Errno(0x17)
1338 ENOATTR = syscall.Errno(0x5d)
1339 ENOBUFS = syscall.Errno(0x37)
1340 ENODATA = syscall.Errno(0x60)
1341 ENODEV = syscall.Errno(0x13)
1342 ENOENT = syscall.Errno(0x2)
1343 ENOEXEC = syscall.Errno(0x8)
1344 ENOLCK = syscall.Errno(0x4d)
1345 ENOLINK = syscall.Errno(0x61)
1346 ENOMEM = syscall.Errno(0xc)
1347 ENOMSG = syscall.Errno(0x5b)
1348 ENOPOLICY = syscall.Errno(0x67)
1349 ENOPROTOOPT = syscall.Errno(0x2a)
1350 ENOSPC = syscall.Errno(0x1c)
1351 ENOSR = syscall.Errno(0x62)
1352 ENOSTR = syscall.Errno(0x63)
1353 ENOSYS = syscall.Errno(0x4e)
1354 ENOTBLK = syscall.Errno(0xf)
1355 ENOTCONN = syscall.Errno(0x39)
1356 ENOTDIR = syscall.Errno(0x14)
1357 ENOTEMPTY = syscall.Errno(0x42)
1358 ENOTRECOVERABLE = syscall.Errno(0x68)
1359 ENOTSOCK = syscall.Errno(0x26)
1360 ENOTSUP = syscall.Errno(0x2d)
1361 ENOTTY = syscall.Errno(0x19)
1362 ENXIO = syscall.Errno(0x6)
1363 EOPNOTSUPP = syscall.Errno(0x66)
1364 EOVERFLOW = syscall.Errno(0x54)
1365 EOWNERDEAD = syscall.Errno(0x69)
1366 EPERM = syscall.Errno(0x1)
1367 EPFNOSUPPORT = syscall.Errno(0x2e)
1368 EPIPE = syscall.Errno(0x20)
1369 EPROCLIM = syscall.Errno(0x43)
1370 EPROCUNAVAIL = syscall.Errno(0x4c)
1371 EPROGMISMATCH = syscall.Errno(0x4b)
1372 EPROGUNAVAIL = syscall.Errno(0x4a)
1373 EPROTO = syscall.Errno(0x64)
1374 EPROTONOSUPPORT = syscall.Errno(0x2b)
1375 EPROTOTYPE = syscall.Errno(0x29)
1376 EPWROFF = syscall.Errno(0x52)
1377 EQFULL = syscall.Errno(0x6a)
1378 ERANGE = syscall.Errno(0x22)
1379 EREMOTE = syscall.Errno(0x47)
1380 EROFS = syscall.Errno(0x1e)
1381 ERPCMISMATCH = syscall.Errno(0x49)
1382 ESHLIBVERS = syscall.Errno(0x57)
1383 ESHUTDOWN = syscall.Errno(0x3a)
1384 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1385 ESPIPE = syscall.Errno(0x1d)
1386 ESRCH = syscall.Errno(0x3)
1387 ESTALE = syscall.Errno(0x46)
1388 ETIME = syscall.Errno(0x65)
1389 ETIMEDOUT = syscall.Errno(0x3c)
1390 ETOOMANYREFS = syscall.Errno(0x3b)
1391 ETXTBSY = syscall.Errno(0x1a)
1392 EUSERS = syscall.Errno(0x44)
1393 EWOULDBLOCK = syscall.Errno(0x23)
1394 EXDEV = syscall.Errno(0x12)
1395)
1396
1397// Signals
1398const (
1399 SIGABRT = syscall.Signal(0x6)
1400 SIGALRM = syscall.Signal(0xe)
1401 SIGBUS = syscall.Signal(0xa)
1402 SIGCHLD = syscall.Signal(0x14)
1403 SIGCONT = syscall.Signal(0x13)
1404 SIGEMT = syscall.Signal(0x7)
1405 SIGFPE = syscall.Signal(0x8)
1406 SIGHUP = syscall.Signal(0x1)
1407 SIGILL = syscall.Signal(0x4)
1408 SIGINFO = syscall.Signal(0x1d)
1409 SIGINT = syscall.Signal(0x2)
1410 SIGIO = syscall.Signal(0x17)
1411 SIGIOT = syscall.Signal(0x6)
1412 SIGKILL = syscall.Signal(0x9)
1413 SIGPIPE = syscall.Signal(0xd)
1414 SIGPROF = syscall.Signal(0x1b)
1415 SIGQUIT = syscall.Signal(0x3)
1416 SIGSEGV = syscall.Signal(0xb)
1417 SIGSTOP = syscall.Signal(0x11)
1418 SIGSYS = syscall.Signal(0xc)
1419 SIGTERM = syscall.Signal(0xf)
1420 SIGTRAP = syscall.Signal(0x5)
1421 SIGTSTP = syscall.Signal(0x12)
1422 SIGTTIN = syscall.Signal(0x15)
1423 SIGTTOU = syscall.Signal(0x16)
1424 SIGURG = syscall.Signal(0x10)
1425 SIGUSR1 = syscall.Signal(0x1e)
1426 SIGUSR2 = syscall.Signal(0x1f)
1427 SIGVTALRM = syscall.Signal(0x1a)
1428 SIGWINCH = syscall.Signal(0x1c)
1429 SIGXCPU = syscall.Signal(0x18)
1430 SIGXFSZ = syscall.Signal(0x19)
1431)
1432
1433// Error table
1434var errors = [...]string{
1435 1: "operation not permitted",
1436 2: "no such file or directory",
1437 3: "no such process",
1438 4: "interrupted system call",
1439 5: "input/output error",
1440 6: "device not configured",
1441 7: "argument list too long",
1442 8: "exec format error",
1443 9: "bad file descriptor",
1444 10: "no child processes",
1445 11: "resource deadlock avoided",
1446 12: "cannot allocate memory",
1447 13: "permission denied",
1448 14: "bad address",
1449 15: "block device required",
1450 16: "resource busy",
1451 17: "file exists",
1452 18: "cross-device link",
1453 19: "operation not supported by device",
1454 20: "not a directory",
1455 21: "is a directory",
1456 22: "invalid argument",
1457 23: "too many open files in system",
1458 24: "too many open files",
1459 25: "inappropriate ioctl for device",
1460 26: "text file busy",
1461 27: "file too large",
1462 28: "no space left on device",
1463 29: "illegal seek",
1464 30: "read-only file system",
1465 31: "too many links",
1466 32: "broken pipe",
1467 33: "numerical argument out of domain",
1468 34: "result too large",
1469 35: "resource temporarily unavailable",
1470 36: "operation now in progress",
1471 37: "operation already in progress",
1472 38: "socket operation on non-socket",
1473 39: "destination address required",
1474 40: "message too long",
1475 41: "protocol wrong type for socket",
1476 42: "protocol not available",
1477 43: "protocol not supported",
1478 44: "socket type not supported",
1479 45: "operation not supported",
1480 46: "protocol family not supported",
1481 47: "address family not supported by protocol family",
1482 48: "address already in use",
1483 49: "can't assign requested address",
1484 50: "network is down",
1485 51: "network is unreachable",
1486 52: "network dropped connection on reset",
1487 53: "software caused connection abort",
1488 54: "connection reset by peer",
1489 55: "no buffer space available",
1490 56: "socket is already connected",
1491 57: "socket is not connected",
1492 58: "can't send after socket shutdown",
1493 59: "too many references: can't splice",
1494 60: "operation timed out",
1495 61: "connection refused",
1496 62: "too many levels of symbolic links",
1497 63: "file name too long",
1498 64: "host is down",
1499 65: "no route to host",
1500 66: "directory not empty",
1501 67: "too many processes",
1502 68: "too many users",
1503 69: "disc quota exceeded",
1504 70: "stale NFS file handle",
1505 71: "too many levels of remote in path",
1506 72: "RPC struct is bad",
1507 73: "RPC version wrong",
1508 74: "RPC prog. not avail",
1509 75: "program version wrong",
1510 76: "bad procedure for program",
1511 77: "no locks available",
1512 78: "function not implemented",
1513 79: "inappropriate file type or format",
1514 80: "authentication error",
1515 81: "need authenticator",
1516 82: "device power is off",
1517 83: "device error",
1518 84: "value too large to be stored in data type",
1519 85: "bad executable (or shared library)",
1520 86: "bad CPU type in executable",
1521 87: "shared library version mismatch",
1522 88: "malformed Mach-o file",
1523 89: "operation canceled",
1524 90: "identifier removed",
1525 91: "no message of desired type",
1526 92: "illegal byte sequence",
1527 93: "attribute not found",
1528 94: "bad message",
1529 95: "EMULTIHOP (Reserved)",
1530 96: "no message available on STREAM",
1531 97: "ENOLINK (Reserved)",
1532 98: "no STREAM resources",
1533 99: "not a STREAM",
1534 100: "protocol error",
1535 101: "STREAM ioctl timeout",
1536 102: "operation not supported on socket",
1537 103: "policy not found",
1538 104: "state not recoverable",
1539 105: "previous owner died",
1540 106: "interface output queue is full",
1541}
1542
1543// Signal table
1544var signals = [...]string{
1545 1: "hangup",
1546 2: "interrupt",
1547 3: "quit",
1548 4: "illegal instruction",
1549 5: "trace/BPT trap",
1550 6: "abort trap",
1551 7: "EMT trap",
1552 8: "floating point exception",
1553 9: "killed",
1554 10: "bus error",
1555 11: "segmentation fault",
1556 12: "bad system call",
1557 13: "broken pipe",
1558 14: "alarm clock",
1559 15: "terminated",
1560 16: "urgent I/O condition",
1561 17: "suspended (signal)",
1562 18: "suspended",
1563 19: "continued",
1564 20: "child exited",
1565 21: "stopped (tty input)",
1566 22: "stopped (tty output)",
1567 23: "I/O possible",
1568 24: "cputime limit exceeded",
1569 25: "filesize limit exceeded",
1570 26: "virtual timer expired",
1571 27: "profiling timer expired",
1572 28: "window size changes",
1573 29: "information request",
1574 30: "user defined signal 1",
1575 31: "user defined signal 2",
1576}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_386.go
deleted file mode 100644
index 2a329f0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_386.go
+++ /dev/null
@@ -1,1530 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,dragonfly
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ATM = 0x1e
16 AF_BLUETOOTH = 0x21
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_HYLINK = 0xf
27 AF_IEEE80211 = 0x23
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x1c
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x24
38 AF_MPLS = 0x22
39 AF_NATM = 0x1d
40 AF_NETGRAPH = 0x20
41 AF_NS = 0x6
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_UNIX = 0x1
48 AF_UNSPEC = 0x0
49 B0 = 0x0
50 B110 = 0x6e
51 B115200 = 0x1c200
52 B1200 = 0x4b0
53 B134 = 0x86
54 B14400 = 0x3840
55 B150 = 0x96
56 B1800 = 0x708
57 B19200 = 0x4b00
58 B200 = 0xc8
59 B230400 = 0x38400
60 B2400 = 0x960
61 B28800 = 0x7080
62 B300 = 0x12c
63 B38400 = 0x9600
64 B4800 = 0x12c0
65 B50 = 0x32
66 B57600 = 0xe100
67 B600 = 0x258
68 B7200 = 0x1c20
69 B75 = 0x4b
70 B76800 = 0x12c00
71 B9600 = 0x2580
72 BIOCFLUSH = 0x20004268
73 BIOCGBLEN = 0x40044266
74 BIOCGDLT = 0x4004426a
75 BIOCGDLTLIST = 0xc0084279
76 BIOCGETIF = 0x4020426b
77 BIOCGHDRCMPLT = 0x40044274
78 BIOCGRSIG = 0x40044272
79 BIOCGRTIMEOUT = 0x4008426e
80 BIOCGSEESENT = 0x40044276
81 BIOCGSTATS = 0x4008426f
82 BIOCIMMEDIATE = 0x80044270
83 BIOCLOCK = 0x2000427a
84 BIOCPROMISC = 0x20004269
85 BIOCSBLEN = 0xc0044266
86 BIOCSDLT = 0x80044278
87 BIOCSETF = 0x80084267
88 BIOCSETIF = 0x8020426c
89 BIOCSETWF = 0x8008427b
90 BIOCSHDRCMPLT = 0x80044275
91 BIOCSRSIG = 0x80044273
92 BIOCSRTIMEOUT = 0x8008426d
93 BIOCSSEESENT = 0x80044277
94 BIOCVERSION = 0x40044271
95 BPF_A = 0x10
96 BPF_ABS = 0x20
97 BPF_ADD = 0x0
98 BPF_ALIGNMENT = 0x4
99 BPF_ALU = 0x4
100 BPF_AND = 0x50
101 BPF_B = 0x10
102 BPF_DEFAULTBUFSIZE = 0x1000
103 BPF_DIV = 0x30
104 BPF_H = 0x8
105 BPF_IMM = 0x0
106 BPF_IND = 0x40
107 BPF_JA = 0x0
108 BPF_JEQ = 0x10
109 BPF_JGE = 0x30
110 BPF_JGT = 0x20
111 BPF_JMP = 0x5
112 BPF_JSET = 0x40
113 BPF_K = 0x0
114 BPF_LD = 0x0
115 BPF_LDX = 0x1
116 BPF_LEN = 0x80
117 BPF_LSH = 0x60
118 BPF_MAJOR_VERSION = 0x1
119 BPF_MAXBUFSIZE = 0x80000
120 BPF_MAXINSNS = 0x200
121 BPF_MAX_CLONES = 0x80
122 BPF_MEM = 0x60
123 BPF_MEMWORDS = 0x10
124 BPF_MINBUFSIZE = 0x20
125 BPF_MINOR_VERSION = 0x1
126 BPF_MISC = 0x7
127 BPF_MSH = 0xa0
128 BPF_MUL = 0x20
129 BPF_NEG = 0x80
130 BPF_OR = 0x40
131 BPF_RELEASE = 0x30bb6
132 BPF_RET = 0x6
133 BPF_RSH = 0x70
134 BPF_ST = 0x2
135 BPF_STX = 0x3
136 BPF_SUB = 0x10
137 BPF_TAX = 0x0
138 BPF_TXA = 0x80
139 BPF_W = 0x0
140 BPF_X = 0x8
141 BRKINT = 0x2
142 CFLUSH = 0xf
143 CLOCAL = 0x8000
144 CREAD = 0x800
145 CS5 = 0x0
146 CS6 = 0x100
147 CS7 = 0x200
148 CS8 = 0x300
149 CSIZE = 0x300
150 CSTART = 0x11
151 CSTATUS = 0x14
152 CSTOP = 0x13
153 CSTOPB = 0x400
154 CSUSP = 0x1a
155 CTL_MAXNAME = 0xc
156 CTL_NET = 0x4
157 DLT_A429 = 0xb8
158 DLT_A653_ICM = 0xb9
159 DLT_AIRONET_HEADER = 0x78
160 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
161 DLT_ARCNET = 0x7
162 DLT_ARCNET_LINUX = 0x81
163 DLT_ATM_CLIP = 0x13
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AURORA = 0x7e
166 DLT_AX25 = 0x3
167 DLT_AX25_KISS = 0xca
168 DLT_BACNET_MS_TP = 0xa5
169 DLT_BLUETOOTH_HCI_H4 = 0xbb
170 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
171 DLT_CAN20B = 0xbe
172 DLT_CHAOS = 0x5
173 DLT_CHDLC = 0x68
174 DLT_CISCO_IOS = 0x76
175 DLT_C_HDLC = 0x68
176 DLT_C_HDLC_WITH_DIR = 0xcd
177 DLT_DOCSIS = 0x8f
178 DLT_ECONET = 0x73
179 DLT_EN10MB = 0x1
180 DLT_EN3MB = 0x2
181 DLT_ENC = 0x6d
182 DLT_ERF = 0xc5
183 DLT_ERF_ETH = 0xaf
184 DLT_ERF_POS = 0xb0
185 DLT_FDDI = 0xa
186 DLT_FLEXRAY = 0xd2
187 DLT_FRELAY = 0x6b
188 DLT_FRELAY_WITH_DIR = 0xce
189 DLT_GCOM_SERIAL = 0xad
190 DLT_GCOM_T1E1 = 0xac
191 DLT_GPF_F = 0xab
192 DLT_GPF_T = 0xaa
193 DLT_GPRS_LLC = 0xa9
194 DLT_HHDLC = 0x79
195 DLT_IBM_SN = 0x92
196 DLT_IBM_SP = 0x91
197 DLT_IEEE802 = 0x6
198 DLT_IEEE802_11 = 0x69
199 DLT_IEEE802_11_RADIO = 0x7f
200 DLT_IEEE802_11_RADIO_AVS = 0xa3
201 DLT_IEEE802_15_4 = 0xc3
202 DLT_IEEE802_15_4_LINUX = 0xbf
203 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
204 DLT_IEEE802_16_MAC_CPS = 0xbc
205 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
206 DLT_IPFILTER = 0x74
207 DLT_IPMB = 0xc7
208 DLT_IPMB_LINUX = 0xd1
209 DLT_IP_OVER_FC = 0x7a
210 DLT_JUNIPER_ATM1 = 0x89
211 DLT_JUNIPER_ATM2 = 0x87
212 DLT_JUNIPER_CHDLC = 0xb5
213 DLT_JUNIPER_ES = 0x84
214 DLT_JUNIPER_ETHER = 0xb2
215 DLT_JUNIPER_FRELAY = 0xb4
216 DLT_JUNIPER_GGSN = 0x85
217 DLT_JUNIPER_ISM = 0xc2
218 DLT_JUNIPER_MFR = 0x86
219 DLT_JUNIPER_MLFR = 0x83
220 DLT_JUNIPER_MLPPP = 0x82
221 DLT_JUNIPER_MONITOR = 0xa4
222 DLT_JUNIPER_PIC_PEER = 0xae
223 DLT_JUNIPER_PPP = 0xb3
224 DLT_JUNIPER_PPPOE = 0xa7
225 DLT_JUNIPER_PPPOE_ATM = 0xa8
226 DLT_JUNIPER_SERVICES = 0x88
227 DLT_JUNIPER_ST = 0xc8
228 DLT_JUNIPER_VP = 0xb7
229 DLT_LAPB_WITH_DIR = 0xcf
230 DLT_LAPD = 0xcb
231 DLT_LIN = 0xd4
232 DLT_LINUX_IRDA = 0x90
233 DLT_LINUX_LAPD = 0xb1
234 DLT_LINUX_SLL = 0x71
235 DLT_LOOP = 0x6c
236 DLT_LTALK = 0x72
237 DLT_MFR = 0xb6
238 DLT_MOST = 0xd3
239 DLT_MTP2 = 0x8c
240 DLT_MTP2_WITH_PHDR = 0x8b
241 DLT_MTP3 = 0x8d
242 DLT_NULL = 0x0
243 DLT_PCI_EXP = 0x7d
244 DLT_PFLOG = 0x75
245 DLT_PFSYNC = 0x12
246 DLT_PPI = 0xc0
247 DLT_PPP = 0x9
248 DLT_PPP_BSDOS = 0x10
249 DLT_PPP_ETHER = 0x33
250 DLT_PPP_PPPD = 0xa6
251 DLT_PPP_SERIAL = 0x32
252 DLT_PPP_WITH_DIR = 0xcc
253 DLT_PRISM_HEADER = 0x77
254 DLT_PRONET = 0x4
255 DLT_RAIF1 = 0xc6
256 DLT_RAW = 0xc
257 DLT_REDBACK_SMARTEDGE = 0x20
258 DLT_RIO = 0x7c
259 DLT_SCCP = 0x8e
260 DLT_SITA = 0xc4
261 DLT_SLIP = 0x8
262 DLT_SLIP_BSDOS = 0xf
263 DLT_SUNATM = 0x7b
264 DLT_SYMANTEC_FIREWALL = 0x63
265 DLT_TZSP = 0x80
266 DLT_USB = 0xba
267 DLT_USB_LINUX = 0xbd
268 DLT_X2E_SERIAL = 0xd5
269 DLT_X2E_XORAYA = 0xd6
270 DT_BLK = 0x6
271 DT_CHR = 0x2
272 DT_DBF = 0xf
273 DT_DIR = 0x4
274 DT_FIFO = 0x1
275 DT_LNK = 0xa
276 DT_REG = 0x8
277 DT_SOCK = 0xc
278 DT_UNKNOWN = 0x0
279 DT_WHT = 0xe
280 ECHO = 0x8
281 ECHOCTL = 0x40
282 ECHOE = 0x2
283 ECHOK = 0x4
284 ECHOKE = 0x1
285 ECHONL = 0x10
286 ECHOPRT = 0x20
287 EVFILT_AIO = -0x3
288 EVFILT_EXCEPT = -0x8
289 EVFILT_MARKER = 0xf
290 EVFILT_PROC = -0x5
291 EVFILT_READ = -0x1
292 EVFILT_SIGNAL = -0x6
293 EVFILT_SYSCOUNT = 0x8
294 EVFILT_TIMER = -0x7
295 EVFILT_VNODE = -0x4
296 EVFILT_WRITE = -0x2
297 EV_ADD = 0x1
298 EV_CLEAR = 0x20
299 EV_DELETE = 0x2
300 EV_DISABLE = 0x8
301 EV_ENABLE = 0x4
302 EV_EOF = 0x8000
303 EV_ERROR = 0x4000
304 EV_FLAG1 = 0x2000
305 EV_NODATA = 0x1000
306 EV_ONESHOT = 0x10
307 EV_SYSFLAGS = 0xf000
308 EXTA = 0x4b00
309 EXTB = 0x9600
310 EXTEXIT_LWP = 0x10000
311 EXTEXIT_PROC = 0x0
312 EXTEXIT_SETINT = 0x1
313 EXTEXIT_SIMPLE = 0x0
314 EXTPROC = 0x800
315 FD_CLOEXEC = 0x1
316 FD_SETSIZE = 0x400
317 FLUSHO = 0x800000
318 F_DUP2FD = 0xa
319 F_DUP2FD_CLOEXEC = 0x12
320 F_DUPFD = 0x0
321 F_DUPFD_CLOEXEC = 0x11
322 F_GETFD = 0x1
323 F_GETFL = 0x3
324 F_GETLK = 0x7
325 F_GETOWN = 0x5
326 F_OK = 0x0
327 F_RDLCK = 0x1
328 F_SETFD = 0x2
329 F_SETFL = 0x4
330 F_SETLK = 0x8
331 F_SETLKW = 0x9
332 F_SETOWN = 0x6
333 F_UNLCK = 0x2
334 F_WRLCK = 0x3
335 HUPCL = 0x4000
336 ICANON = 0x100
337 ICMP6_FILTER = 0x12
338 ICRNL = 0x100
339 IEXTEN = 0x400
340 IFAN_ARRIVAL = 0x0
341 IFAN_DEPARTURE = 0x1
342 IFF_ALLMULTI = 0x200
343 IFF_ALTPHYS = 0x4000
344 IFF_BROADCAST = 0x2
345 IFF_CANTCHANGE = 0x118e72
346 IFF_DEBUG = 0x4
347 IFF_LINK0 = 0x1000
348 IFF_LINK1 = 0x2000
349 IFF_LINK2 = 0x4000
350 IFF_LOOPBACK = 0x8
351 IFF_MONITOR = 0x40000
352 IFF_MULTICAST = 0x8000
353 IFF_NOARP = 0x80
354 IFF_NPOLLING = 0x100000
355 IFF_OACTIVE = 0x400
356 IFF_OACTIVE_COMPAT = 0x400
357 IFF_POINTOPOINT = 0x10
358 IFF_POLLING = 0x10000
359 IFF_POLLING_COMPAT = 0x10000
360 IFF_PPROMISC = 0x20000
361 IFF_PROMISC = 0x100
362 IFF_RUNNING = 0x40
363 IFF_SIMPLEX = 0x800
364 IFF_SMART = 0x20
365 IFF_STATICARP = 0x80000
366 IFF_UP = 0x1
367 IFNAMSIZ = 0x10
368 IFT_1822 = 0x2
369 IFT_A12MPPSWITCH = 0x82
370 IFT_AAL2 = 0xbb
371 IFT_AAL5 = 0x31
372 IFT_ADSL = 0x5e
373 IFT_AFLANE8023 = 0x3b
374 IFT_AFLANE8025 = 0x3c
375 IFT_ARAP = 0x58
376 IFT_ARCNET = 0x23
377 IFT_ARCNETPLUS = 0x24
378 IFT_ASYNC = 0x54
379 IFT_ATM = 0x25
380 IFT_ATMDXI = 0x69
381 IFT_ATMFUNI = 0x6a
382 IFT_ATMIMA = 0x6b
383 IFT_ATMLOGICAL = 0x50
384 IFT_ATMRADIO = 0xbd
385 IFT_ATMSUBINTERFACE = 0x86
386 IFT_ATMVCIENDPT = 0xc2
387 IFT_ATMVIRTUAL = 0x95
388 IFT_BGPPOLICYACCOUNTING = 0xa2
389 IFT_BRIDGE = 0xd1
390 IFT_BSC = 0x53
391 IFT_CARP = 0xf8
392 IFT_CCTEMUL = 0x3d
393 IFT_CEPT = 0x13
394 IFT_CES = 0x85
395 IFT_CHANNEL = 0x46
396 IFT_CNR = 0x55
397 IFT_COFFEE = 0x84
398 IFT_COMPOSITELINK = 0x9b
399 IFT_DCN = 0x8d
400 IFT_DIGITALPOWERLINE = 0x8a
401 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
402 IFT_DLSW = 0x4a
403 IFT_DOCSCABLEDOWNSTREAM = 0x80
404 IFT_DOCSCABLEMACLAYER = 0x7f
405 IFT_DOCSCABLEUPSTREAM = 0x81
406 IFT_DS0 = 0x51
407 IFT_DS0BUNDLE = 0x52
408 IFT_DS1FDL = 0xaa
409 IFT_DS3 = 0x1e
410 IFT_DTM = 0x8c
411 IFT_DVBASILN = 0xac
412 IFT_DVBASIOUT = 0xad
413 IFT_DVBRCCDOWNSTREAM = 0x93
414 IFT_DVBRCCMACLAYER = 0x92
415 IFT_DVBRCCUPSTREAM = 0x94
416 IFT_ENC = 0xf4
417 IFT_EON = 0x19
418 IFT_EPLRS = 0x57
419 IFT_ESCON = 0x49
420 IFT_ETHER = 0x6
421 IFT_FAITH = 0xf2
422 IFT_FAST = 0x7d
423 IFT_FASTETHER = 0x3e
424 IFT_FASTETHERFX = 0x45
425 IFT_FDDI = 0xf
426 IFT_FIBRECHANNEL = 0x38
427 IFT_FRAMERELAYINTERCONNECT = 0x3a
428 IFT_FRAMERELAYMPI = 0x5c
429 IFT_FRDLCIENDPT = 0xc1
430 IFT_FRELAY = 0x20
431 IFT_FRELAYDCE = 0x2c
432 IFT_FRF16MFRBUNDLE = 0xa3
433 IFT_FRFORWARD = 0x9e
434 IFT_G703AT2MB = 0x43
435 IFT_G703AT64K = 0x42
436 IFT_GIF = 0xf0
437 IFT_GIGABITETHERNET = 0x75
438 IFT_GR303IDT = 0xb2
439 IFT_GR303RDT = 0xb1
440 IFT_H323GATEKEEPER = 0xa4
441 IFT_H323PROXY = 0xa5
442 IFT_HDH1822 = 0x3
443 IFT_HDLC = 0x76
444 IFT_HDSL2 = 0xa8
445 IFT_HIPERLAN2 = 0xb7
446 IFT_HIPPI = 0x2f
447 IFT_HIPPIINTERFACE = 0x39
448 IFT_HOSTPAD = 0x5a
449 IFT_HSSI = 0x2e
450 IFT_HY = 0xe
451 IFT_IBM370PARCHAN = 0x48
452 IFT_IDSL = 0x9a
453 IFT_IEEE1394 = 0x90
454 IFT_IEEE80211 = 0x47
455 IFT_IEEE80212 = 0x37
456 IFT_IEEE8023ADLAG = 0xa1
457 IFT_IFGSN = 0x91
458 IFT_IMT = 0xbe
459 IFT_INTERLEAVE = 0x7c
460 IFT_IP = 0x7e
461 IFT_IPFORWARD = 0x8e
462 IFT_IPOVERATM = 0x72
463 IFT_IPOVERCDLC = 0x6d
464 IFT_IPOVERCLAW = 0x6e
465 IFT_IPSWITCH = 0x4e
466 IFT_ISDN = 0x3f
467 IFT_ISDNBASIC = 0x14
468 IFT_ISDNPRIMARY = 0x15
469 IFT_ISDNS = 0x4b
470 IFT_ISDNU = 0x4c
471 IFT_ISO88022LLC = 0x29
472 IFT_ISO88023 = 0x7
473 IFT_ISO88024 = 0x8
474 IFT_ISO88025 = 0x9
475 IFT_ISO88025CRFPINT = 0x62
476 IFT_ISO88025DTR = 0x56
477 IFT_ISO88025FIBER = 0x73
478 IFT_ISO88026 = 0xa
479 IFT_ISUP = 0xb3
480 IFT_L2VLAN = 0x87
481 IFT_L3IPVLAN = 0x88
482 IFT_L3IPXVLAN = 0x89
483 IFT_LAPB = 0x10
484 IFT_LAPD = 0x4d
485 IFT_LAPF = 0x77
486 IFT_LOCALTALK = 0x2a
487 IFT_LOOP = 0x18
488 IFT_MEDIAMAILOVERIP = 0x8b
489 IFT_MFSIGLINK = 0xa7
490 IFT_MIOX25 = 0x26
491 IFT_MODEM = 0x30
492 IFT_MPC = 0x71
493 IFT_MPLS = 0xa6
494 IFT_MPLSTUNNEL = 0x96
495 IFT_MSDSL = 0x8f
496 IFT_MVL = 0xbf
497 IFT_MYRINET = 0x63
498 IFT_NFAS = 0xaf
499 IFT_NSIP = 0x1b
500 IFT_OPTICALCHANNEL = 0xc3
501 IFT_OPTICALTRANSPORT = 0xc4
502 IFT_OTHER = 0x1
503 IFT_P10 = 0xc
504 IFT_P80 = 0xd
505 IFT_PARA = 0x22
506 IFT_PFLOG = 0xf5
507 IFT_PFSYNC = 0xf6
508 IFT_PLC = 0xae
509 IFT_POS = 0xab
510 IFT_PPP = 0x17
511 IFT_PPPMULTILINKBUNDLE = 0x6c
512 IFT_PROPBWAP2MP = 0xb8
513 IFT_PROPCNLS = 0x59
514 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
515 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
516 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
517 IFT_PROPMUX = 0x36
518 IFT_PROPVIRTUAL = 0x35
519 IFT_PROPWIRELESSP2P = 0x9d
520 IFT_PTPSERIAL = 0x16
521 IFT_PVC = 0xf1
522 IFT_QLLC = 0x44
523 IFT_RADIOMAC = 0xbc
524 IFT_RADSL = 0x5f
525 IFT_REACHDSL = 0xc0
526 IFT_RFC1483 = 0x9f
527 IFT_RS232 = 0x21
528 IFT_RSRB = 0x4f
529 IFT_SDLC = 0x11
530 IFT_SDSL = 0x60
531 IFT_SHDSL = 0xa9
532 IFT_SIP = 0x1f
533 IFT_SLIP = 0x1c
534 IFT_SMDSDXI = 0x2b
535 IFT_SMDSICIP = 0x34
536 IFT_SONET = 0x27
537 IFT_SONETOVERHEADCHANNEL = 0xb9
538 IFT_SONETPATH = 0x32
539 IFT_SONETVT = 0x33
540 IFT_SRP = 0x97
541 IFT_SS7SIGLINK = 0x9c
542 IFT_STACKTOSTACK = 0x6f
543 IFT_STARLAN = 0xb
544 IFT_STF = 0xf3
545 IFT_T1 = 0x12
546 IFT_TDLC = 0x74
547 IFT_TERMPAD = 0x5b
548 IFT_TR008 = 0xb0
549 IFT_TRANSPHDLC = 0x7b
550 IFT_TUNNEL = 0x83
551 IFT_ULTRA = 0x1d
552 IFT_USB = 0xa0
553 IFT_V11 = 0x40
554 IFT_V35 = 0x2d
555 IFT_V36 = 0x41
556 IFT_V37 = 0x78
557 IFT_VDSL = 0x61
558 IFT_VIRTUALIPADDRESS = 0x70
559 IFT_VOICEEM = 0x64
560 IFT_VOICEENCAP = 0x67
561 IFT_VOICEFXO = 0x65
562 IFT_VOICEFXS = 0x66
563 IFT_VOICEOVERATM = 0x98
564 IFT_VOICEOVERFRAMERELAY = 0x99
565 IFT_VOICEOVERIP = 0x68
566 IFT_X213 = 0x5d
567 IFT_X25 = 0x5
568 IFT_X25DDN = 0x4
569 IFT_X25HUNTGROUP = 0x7a
570 IFT_X25MLP = 0x79
571 IFT_X25PLE = 0x28
572 IFT_XETHER = 0x1a
573 IGNBRK = 0x1
574 IGNCR = 0x80
575 IGNPAR = 0x4
576 IMAXBEL = 0x2000
577 INLCR = 0x40
578 INPCK = 0x10
579 IN_CLASSA_HOST = 0xffffff
580 IN_CLASSA_MAX = 0x80
581 IN_CLASSA_NET = 0xff000000
582 IN_CLASSA_NSHIFT = 0x18
583 IN_CLASSB_HOST = 0xffff
584 IN_CLASSB_MAX = 0x10000
585 IN_CLASSB_NET = 0xffff0000
586 IN_CLASSB_NSHIFT = 0x10
587 IN_CLASSC_HOST = 0xff
588 IN_CLASSC_NET = 0xffffff00
589 IN_CLASSC_NSHIFT = 0x8
590 IN_CLASSD_HOST = 0xfffffff
591 IN_CLASSD_NET = 0xf0000000
592 IN_CLASSD_NSHIFT = 0x1c
593 IN_LOOPBACKNET = 0x7f
594 IPPROTO_3PC = 0x22
595 IPPROTO_ADFS = 0x44
596 IPPROTO_AH = 0x33
597 IPPROTO_AHIP = 0x3d
598 IPPROTO_APES = 0x63
599 IPPROTO_ARGUS = 0xd
600 IPPROTO_AX25 = 0x5d
601 IPPROTO_BHA = 0x31
602 IPPROTO_BLT = 0x1e
603 IPPROTO_BRSATMON = 0x4c
604 IPPROTO_CARP = 0x70
605 IPPROTO_CFTP = 0x3e
606 IPPROTO_CHAOS = 0x10
607 IPPROTO_CMTP = 0x26
608 IPPROTO_CPHB = 0x49
609 IPPROTO_CPNX = 0x48
610 IPPROTO_DDP = 0x25
611 IPPROTO_DGP = 0x56
612 IPPROTO_DIVERT = 0xfe
613 IPPROTO_DONE = 0x101
614 IPPROTO_DSTOPTS = 0x3c
615 IPPROTO_EGP = 0x8
616 IPPROTO_EMCON = 0xe
617 IPPROTO_ENCAP = 0x62
618 IPPROTO_EON = 0x50
619 IPPROTO_ESP = 0x32
620 IPPROTO_ETHERIP = 0x61
621 IPPROTO_FRAGMENT = 0x2c
622 IPPROTO_GGP = 0x3
623 IPPROTO_GMTP = 0x64
624 IPPROTO_GRE = 0x2f
625 IPPROTO_HELLO = 0x3f
626 IPPROTO_HMP = 0x14
627 IPPROTO_HOPOPTS = 0x0
628 IPPROTO_ICMP = 0x1
629 IPPROTO_ICMPV6 = 0x3a
630 IPPROTO_IDP = 0x16
631 IPPROTO_IDPR = 0x23
632 IPPROTO_IDRP = 0x2d
633 IPPROTO_IGMP = 0x2
634 IPPROTO_IGP = 0x55
635 IPPROTO_IGRP = 0x58
636 IPPROTO_IL = 0x28
637 IPPROTO_INLSP = 0x34
638 IPPROTO_INP = 0x20
639 IPPROTO_IP = 0x0
640 IPPROTO_IPCOMP = 0x6c
641 IPPROTO_IPCV = 0x47
642 IPPROTO_IPEIP = 0x5e
643 IPPROTO_IPIP = 0x4
644 IPPROTO_IPPC = 0x43
645 IPPROTO_IPV4 = 0x4
646 IPPROTO_IPV6 = 0x29
647 IPPROTO_IRTP = 0x1c
648 IPPROTO_KRYPTOLAN = 0x41
649 IPPROTO_LARP = 0x5b
650 IPPROTO_LEAF1 = 0x19
651 IPPROTO_LEAF2 = 0x1a
652 IPPROTO_MAX = 0x100
653 IPPROTO_MAXID = 0x34
654 IPPROTO_MEAS = 0x13
655 IPPROTO_MHRP = 0x30
656 IPPROTO_MICP = 0x5f
657 IPPROTO_MOBILE = 0x37
658 IPPROTO_MTP = 0x5c
659 IPPROTO_MUX = 0x12
660 IPPROTO_ND = 0x4d
661 IPPROTO_NHRP = 0x36
662 IPPROTO_NONE = 0x3b
663 IPPROTO_NSP = 0x1f
664 IPPROTO_NVPII = 0xb
665 IPPROTO_OSPFIGP = 0x59
666 IPPROTO_PFSYNC = 0xf0
667 IPPROTO_PGM = 0x71
668 IPPROTO_PIGP = 0x9
669 IPPROTO_PIM = 0x67
670 IPPROTO_PRM = 0x15
671 IPPROTO_PUP = 0xc
672 IPPROTO_PVP = 0x4b
673 IPPROTO_RAW = 0xff
674 IPPROTO_RCCMON = 0xa
675 IPPROTO_RDP = 0x1b
676 IPPROTO_ROUTING = 0x2b
677 IPPROTO_RSVP = 0x2e
678 IPPROTO_RVD = 0x42
679 IPPROTO_SATEXPAK = 0x40
680 IPPROTO_SATMON = 0x45
681 IPPROTO_SCCSP = 0x60
682 IPPROTO_SCTP = 0x84
683 IPPROTO_SDRP = 0x2a
684 IPPROTO_SEP = 0x21
685 IPPROTO_SKIP = 0x39
686 IPPROTO_SRPC = 0x5a
687 IPPROTO_ST = 0x7
688 IPPROTO_SVMTP = 0x52
689 IPPROTO_SWIPE = 0x35
690 IPPROTO_TCF = 0x57
691 IPPROTO_TCP = 0x6
692 IPPROTO_TLSP = 0x38
693 IPPROTO_TP = 0x1d
694 IPPROTO_TPXX = 0x27
695 IPPROTO_TRUNK1 = 0x17
696 IPPROTO_TRUNK2 = 0x18
697 IPPROTO_TTP = 0x54
698 IPPROTO_UDP = 0x11
699 IPPROTO_UNKNOWN = 0x102
700 IPPROTO_VINES = 0x53
701 IPPROTO_VISA = 0x46
702 IPPROTO_VMTP = 0x51
703 IPPROTO_WBEXPAK = 0x4f
704 IPPROTO_WBMON = 0x4e
705 IPPROTO_WSN = 0x4a
706 IPPROTO_XNET = 0xf
707 IPPROTO_XTP = 0x24
708 IPV6_AUTOFLOWLABEL = 0x3b
709 IPV6_BINDV6ONLY = 0x1b
710 IPV6_CHECKSUM = 0x1a
711 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
712 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
713 IPV6_DEFHLIM = 0x40
714 IPV6_DONTFRAG = 0x3e
715 IPV6_DSTOPTS = 0x32
716 IPV6_FAITH = 0x1d
717 IPV6_FLOWINFO_MASK = 0xffffff0f
718 IPV6_FLOWLABEL_MASK = 0xffff0f00
719 IPV6_FRAGTTL = 0x78
720 IPV6_FW_ADD = 0x1e
721 IPV6_FW_DEL = 0x1f
722 IPV6_FW_FLUSH = 0x20
723 IPV6_FW_GET = 0x22
724 IPV6_FW_ZERO = 0x21
725 IPV6_HLIMDEC = 0x1
726 IPV6_HOPLIMIT = 0x2f
727 IPV6_HOPOPTS = 0x31
728 IPV6_IPSEC_POLICY = 0x1c
729 IPV6_JOIN_GROUP = 0xc
730 IPV6_LEAVE_GROUP = 0xd
731 IPV6_MAXHLIM = 0xff
732 IPV6_MAXPACKET = 0xffff
733 IPV6_MMTU = 0x500
734 IPV6_MSFILTER = 0x4a
735 IPV6_MULTICAST_HOPS = 0xa
736 IPV6_MULTICAST_IF = 0x9
737 IPV6_MULTICAST_LOOP = 0xb
738 IPV6_NEXTHOP = 0x30
739 IPV6_PATHMTU = 0x2c
740 IPV6_PKTINFO = 0x2e
741 IPV6_PKTOPTIONS = 0x34
742 IPV6_PORTRANGE = 0xe
743 IPV6_PORTRANGE_DEFAULT = 0x0
744 IPV6_PORTRANGE_HIGH = 0x1
745 IPV6_PORTRANGE_LOW = 0x2
746 IPV6_PREFER_TEMPADDR = 0x3f
747 IPV6_RECVDSTOPTS = 0x28
748 IPV6_RECVHOPLIMIT = 0x25
749 IPV6_RECVHOPOPTS = 0x27
750 IPV6_RECVPATHMTU = 0x2b
751 IPV6_RECVPKTINFO = 0x24
752 IPV6_RECVRTHDR = 0x26
753 IPV6_RECVTCLASS = 0x39
754 IPV6_RTHDR = 0x33
755 IPV6_RTHDRDSTOPTS = 0x23
756 IPV6_RTHDR_LOOSE = 0x0
757 IPV6_RTHDR_STRICT = 0x1
758 IPV6_RTHDR_TYPE_0 = 0x0
759 IPV6_SOCKOPT_RESERVED1 = 0x3
760 IPV6_TCLASS = 0x3d
761 IPV6_UNICAST_HOPS = 0x4
762 IPV6_USE_MIN_MTU = 0x2a
763 IPV6_V6ONLY = 0x1b
764 IPV6_VERSION = 0x60
765 IPV6_VERSION_MASK = 0xf0
766 IP_ADD_MEMBERSHIP = 0xc
767 IP_DEFAULT_MULTICAST_LOOP = 0x1
768 IP_DEFAULT_MULTICAST_TTL = 0x1
769 IP_DF = 0x4000
770 IP_DROP_MEMBERSHIP = 0xd
771 IP_DUMMYNET_CONFIGURE = 0x3c
772 IP_DUMMYNET_DEL = 0x3d
773 IP_DUMMYNET_FLUSH = 0x3e
774 IP_DUMMYNET_GET = 0x40
775 IP_FAITH = 0x16
776 IP_FW_ADD = 0x32
777 IP_FW_DEL = 0x33
778 IP_FW_FLUSH = 0x34
779 IP_FW_GET = 0x36
780 IP_FW_RESETLOG = 0x37
781 IP_FW_ZERO = 0x35
782 IP_HDRINCL = 0x2
783 IP_IPSEC_POLICY = 0x15
784 IP_MAXPACKET = 0xffff
785 IP_MAX_MEMBERSHIPS = 0x14
786 IP_MF = 0x2000
787 IP_MINTTL = 0x42
788 IP_MSS = 0x240
789 IP_MULTICAST_IF = 0x9
790 IP_MULTICAST_LOOP = 0xb
791 IP_MULTICAST_TTL = 0xa
792 IP_MULTICAST_VIF = 0xe
793 IP_OFFMASK = 0x1fff
794 IP_OPTIONS = 0x1
795 IP_PORTRANGE = 0x13
796 IP_PORTRANGE_DEFAULT = 0x0
797 IP_PORTRANGE_HIGH = 0x1
798 IP_PORTRANGE_LOW = 0x2
799 IP_RECVDSTADDR = 0x7
800 IP_RECVIF = 0x14
801 IP_RECVOPTS = 0x5
802 IP_RECVRETOPTS = 0x6
803 IP_RECVTTL = 0x41
804 IP_RETOPTS = 0x8
805 IP_RF = 0x8000
806 IP_RSVP_OFF = 0x10
807 IP_RSVP_ON = 0xf
808 IP_RSVP_VIF_OFF = 0x12
809 IP_RSVP_VIF_ON = 0x11
810 IP_TOS = 0x3
811 IP_TTL = 0x4
812 ISIG = 0x80
813 ISTRIP = 0x20
814 IXANY = 0x800
815 IXOFF = 0x400
816 IXON = 0x200
817 LOCK_EX = 0x2
818 LOCK_NB = 0x4
819 LOCK_SH = 0x1
820 LOCK_UN = 0x8
821 MADV_AUTOSYNC = 0x7
822 MADV_CONTROL_END = 0xb
823 MADV_CONTROL_START = 0xa
824 MADV_CORE = 0x9
825 MADV_DONTNEED = 0x4
826 MADV_FREE = 0x5
827 MADV_INVAL = 0xa
828 MADV_NOCORE = 0x8
829 MADV_NORMAL = 0x0
830 MADV_NOSYNC = 0x6
831 MADV_RANDOM = 0x1
832 MADV_SEQUENTIAL = 0x2
833 MADV_SETMAP = 0xb
834 MADV_WILLNEED = 0x3
835 MAP_ANON = 0x1000
836 MAP_COPY = 0x2
837 MAP_FILE = 0x0
838 MAP_FIXED = 0x10
839 MAP_HASSEMAPHORE = 0x200
840 MAP_INHERIT = 0x80
841 MAP_NOCORE = 0x20000
842 MAP_NOEXTEND = 0x100
843 MAP_NORESERVE = 0x40
844 MAP_NOSYNC = 0x800
845 MAP_PRIVATE = 0x2
846 MAP_RENAME = 0x20
847 MAP_SHARED = 0x1
848 MAP_SIZEALIGN = 0x40000
849 MAP_STACK = 0x400
850 MAP_TRYFIXED = 0x10000
851 MAP_VPAGETABLE = 0x2000
852 MCL_CURRENT = 0x1
853 MCL_FUTURE = 0x2
854 MSG_CTRUNC = 0x20
855 MSG_DONTROUTE = 0x4
856 MSG_DONTWAIT = 0x80
857 MSG_EOF = 0x100
858 MSG_EOR = 0x8
859 MSG_FBLOCKING = 0x10000
860 MSG_FMASK = 0xffff0000
861 MSG_FNONBLOCKING = 0x20000
862 MSG_NOSIGNAL = 0x400
863 MSG_NOTIFICATION = 0x200
864 MSG_OOB = 0x1
865 MSG_PEEK = 0x2
866 MSG_SYNC = 0x800
867 MSG_TRUNC = 0x10
868 MSG_WAITALL = 0x40
869 MS_ASYNC = 0x1
870 MS_INVALIDATE = 0x2
871 MS_SYNC = 0x0
872 NAME_MAX = 0xff
873 NET_RT_DUMP = 0x1
874 NET_RT_FLAGS = 0x2
875 NET_RT_IFLIST = 0x3
876 NET_RT_MAXID = 0x4
877 NOFLSH = 0x80000000
878 NOTE_ATTRIB = 0x8
879 NOTE_CHILD = 0x4
880 NOTE_DELETE = 0x1
881 NOTE_EXEC = 0x20000000
882 NOTE_EXIT = 0x80000000
883 NOTE_EXTEND = 0x4
884 NOTE_FORK = 0x40000000
885 NOTE_LINK = 0x10
886 NOTE_LOWAT = 0x1
887 NOTE_OOB = 0x2
888 NOTE_PCTRLMASK = 0xf0000000
889 NOTE_PDATAMASK = 0xfffff
890 NOTE_RENAME = 0x20
891 NOTE_REVOKE = 0x40
892 NOTE_TRACK = 0x1
893 NOTE_TRACKERR = 0x2
894 NOTE_WRITE = 0x2
895 OCRNL = 0x10
896 ONLCR = 0x2
897 ONLRET = 0x40
898 ONOCR = 0x20
899 ONOEOT = 0x8
900 OPOST = 0x1
901 O_ACCMODE = 0x3
902 O_APPEND = 0x8
903 O_ASYNC = 0x40
904 O_CLOEXEC = 0x20000
905 O_CREAT = 0x200
906 O_DIRECT = 0x10000
907 O_DIRECTORY = 0x8000000
908 O_EXCL = 0x800
909 O_EXLOCK = 0x20
910 O_FAPPEND = 0x100000
911 O_FASYNCWRITE = 0x800000
912 O_FBLOCKING = 0x40000
913 O_FBUFFERED = 0x2000000
914 O_FMASK = 0x7fc0000
915 O_FNONBLOCKING = 0x80000
916 O_FOFFSET = 0x200000
917 O_FSYNC = 0x80
918 O_FSYNCWRITE = 0x400000
919 O_FUNBUFFERED = 0x1000000
920 O_MAPONREAD = 0x4000000
921 O_NDELAY = 0x4
922 O_NOCTTY = 0x8000
923 O_NOFOLLOW = 0x100
924 O_NONBLOCK = 0x4
925 O_RDONLY = 0x0
926 O_RDWR = 0x2
927 O_SHLOCK = 0x10
928 O_SYNC = 0x80
929 O_TRUNC = 0x400
930 O_WRONLY = 0x1
931 PARENB = 0x1000
932 PARMRK = 0x8
933 PARODD = 0x2000
934 PENDIN = 0x20000000
935 PRIO_PGRP = 0x1
936 PRIO_PROCESS = 0x0
937 PRIO_USER = 0x2
938 PROT_EXEC = 0x4
939 PROT_NONE = 0x0
940 PROT_READ = 0x1
941 PROT_WRITE = 0x2
942 RLIMIT_AS = 0xa
943 RLIMIT_CORE = 0x4
944 RLIMIT_CPU = 0x0
945 RLIMIT_DATA = 0x2
946 RLIMIT_FSIZE = 0x1
947 RLIMIT_NOFILE = 0x8
948 RLIMIT_STACK = 0x3
949 RLIM_INFINITY = 0x7fffffffffffffff
950 RTAX_AUTHOR = 0x6
951 RTAX_BRD = 0x7
952 RTAX_DST = 0x0
953 RTAX_GATEWAY = 0x1
954 RTAX_GENMASK = 0x3
955 RTAX_IFA = 0x5
956 RTAX_IFP = 0x4
957 RTAX_MAX = 0xb
958 RTAX_MPLS1 = 0x8
959 RTAX_MPLS2 = 0x9
960 RTAX_MPLS3 = 0xa
961 RTAX_NETMASK = 0x2
962 RTA_AUTHOR = 0x40
963 RTA_BRD = 0x80
964 RTA_DST = 0x1
965 RTA_GATEWAY = 0x2
966 RTA_GENMASK = 0x8
967 RTA_IFA = 0x20
968 RTA_IFP = 0x10
969 RTA_MPLS1 = 0x100
970 RTA_MPLS2 = 0x200
971 RTA_MPLS3 = 0x400
972 RTA_NETMASK = 0x4
973 RTF_BLACKHOLE = 0x1000
974 RTF_BROADCAST = 0x400000
975 RTF_CLONING = 0x100
976 RTF_DONE = 0x40
977 RTF_DYNAMIC = 0x10
978 RTF_GATEWAY = 0x2
979 RTF_HOST = 0x4
980 RTF_LLINFO = 0x400
981 RTF_LOCAL = 0x200000
982 RTF_MODIFIED = 0x20
983 RTF_MPLSOPS = 0x1000000
984 RTF_MULTICAST = 0x800000
985 RTF_PINNED = 0x100000
986 RTF_PRCLONING = 0x10000
987 RTF_PROTO1 = 0x8000
988 RTF_PROTO2 = 0x4000
989 RTF_PROTO3 = 0x40000
990 RTF_REJECT = 0x8
991 RTF_STATIC = 0x800
992 RTF_UP = 0x1
993 RTF_WASCLONED = 0x20000
994 RTF_XRESOLVE = 0x200
995 RTM_ADD = 0x1
996 RTM_CHANGE = 0x3
997 RTM_DELADDR = 0xd
998 RTM_DELETE = 0x2
999 RTM_DELMADDR = 0x10
1000 RTM_GET = 0x4
1001 RTM_IEEE80211 = 0x12
1002 RTM_IFANNOUNCE = 0x11
1003 RTM_IFINFO = 0xe
1004 RTM_LOCK = 0x8
1005 RTM_LOSING = 0x5
1006 RTM_MISS = 0x7
1007 RTM_NEWADDR = 0xc
1008 RTM_NEWMADDR = 0xf
1009 RTM_OLDADD = 0x9
1010 RTM_OLDDEL = 0xa
1011 RTM_REDIRECT = 0x6
1012 RTM_RESOLVE = 0xb
1013 RTM_RTTUNIT = 0xf4240
1014 RTM_VERSION = 0x6
1015 RTV_EXPIRE = 0x4
1016 RTV_HOPCOUNT = 0x2
1017 RTV_IWCAPSEGS = 0x400
1018 RTV_IWMAXSEGS = 0x200
1019 RTV_MSL = 0x100
1020 RTV_MTU = 0x1
1021 RTV_RPIPE = 0x8
1022 RTV_RTT = 0x40
1023 RTV_RTTVAR = 0x80
1024 RTV_SPIPE = 0x10
1025 RTV_SSTHRESH = 0x20
1026 RUSAGE_CHILDREN = -0x1
1027 RUSAGE_SELF = 0x0
1028 SCM_CREDS = 0x3
1029 SCM_RIGHTS = 0x1
1030 SCM_TIMESTAMP = 0x2
1031 SHUT_RD = 0x0
1032 SHUT_RDWR = 0x2
1033 SHUT_WR = 0x1
1034 SIOCADDMULTI = 0x80206931
1035 SIOCADDRT = 0x8030720a
1036 SIOCAIFADDR = 0x8040691a
1037 SIOCALIFADDR = 0x8118691b
1038 SIOCATMARK = 0x40047307
1039 SIOCDELMULTI = 0x80206932
1040 SIOCDELRT = 0x8030720b
1041 SIOCDIFADDR = 0x80206919
1042 SIOCDIFPHYADDR = 0x80206949
1043 SIOCDLIFADDR = 0x8118691d
1044 SIOCGDRVSPEC = 0xc01c697b
1045 SIOCGETSGCNT = 0xc0147210
1046 SIOCGETVIFCNT = 0xc014720f
1047 SIOCGHIWAT = 0x40047301
1048 SIOCGIFADDR = 0xc0206921
1049 SIOCGIFBRDADDR = 0xc0206923
1050 SIOCGIFCAP = 0xc020691f
1051 SIOCGIFCONF = 0xc0086924
1052 SIOCGIFDATA = 0xc0206926
1053 SIOCGIFDSTADDR = 0xc0206922
1054 SIOCGIFFLAGS = 0xc0206911
1055 SIOCGIFGENERIC = 0xc020693a
1056 SIOCGIFGMEMB = 0xc024698a
1057 SIOCGIFINDEX = 0xc0206920
1058 SIOCGIFMEDIA = 0xc0286938
1059 SIOCGIFMETRIC = 0xc0206917
1060 SIOCGIFMTU = 0xc0206933
1061 SIOCGIFNETMASK = 0xc0206925
1062 SIOCGIFPDSTADDR = 0xc0206948
1063 SIOCGIFPHYS = 0xc0206935
1064 SIOCGIFPOLLCPU = 0xc020697e
1065 SIOCGIFPSRCADDR = 0xc0206947
1066 SIOCGIFSTATUS = 0xc331693b
1067 SIOCGIFTSOLEN = 0xc0206980
1068 SIOCGLIFADDR = 0xc118691c
1069 SIOCGLIFPHYADDR = 0xc118694b
1070 SIOCGLOWAT = 0x40047303
1071 SIOCGPGRP = 0x40047309
1072 SIOCGPRIVATE_0 = 0xc0206950
1073 SIOCGPRIVATE_1 = 0xc0206951
1074 SIOCIFCREATE = 0xc020697a
1075 SIOCIFCREATE2 = 0xc020697c
1076 SIOCIFDESTROY = 0x80206979
1077 SIOCIFGCLONERS = 0xc00c6978
1078 SIOCSDRVSPEC = 0x801c697b
1079 SIOCSHIWAT = 0x80047300
1080 SIOCSIFADDR = 0x8020690c
1081 SIOCSIFBRDADDR = 0x80206913
1082 SIOCSIFCAP = 0x8020691e
1083 SIOCSIFDSTADDR = 0x8020690e
1084 SIOCSIFFLAGS = 0x80206910
1085 SIOCSIFGENERIC = 0x80206939
1086 SIOCSIFLLADDR = 0x8020693c
1087 SIOCSIFMEDIA = 0xc0206937
1088 SIOCSIFMETRIC = 0x80206918
1089 SIOCSIFMTU = 0x80206934
1090 SIOCSIFNAME = 0x80206928
1091 SIOCSIFNETMASK = 0x80206916
1092 SIOCSIFPHYADDR = 0x80406946
1093 SIOCSIFPHYS = 0x80206936
1094 SIOCSIFPOLLCPU = 0x8020697d
1095 SIOCSIFTSOLEN = 0x8020697f
1096 SIOCSLIFPHYADDR = 0x8118694a
1097 SIOCSLOWAT = 0x80047302
1098 SIOCSPGRP = 0x80047308
1099 SOCK_DGRAM = 0x2
1100 SOCK_MAXADDRLEN = 0xff
1101 SOCK_RAW = 0x3
1102 SOCK_RDM = 0x4
1103 SOCK_SEQPACKET = 0x5
1104 SOCK_STREAM = 0x1
1105 SOL_SOCKET = 0xffff
1106 SOMAXCONN = 0x80
1107 SO_ACCEPTCONN = 0x2
1108 SO_ACCEPTFILTER = 0x1000
1109 SO_BROADCAST = 0x20
1110 SO_DEBUG = 0x1
1111 SO_DONTROUTE = 0x10
1112 SO_ERROR = 0x1007
1113 SO_KEEPALIVE = 0x8
1114 SO_LINGER = 0x80
1115 SO_NOSIGPIPE = 0x800
1116 SO_OOBINLINE = 0x100
1117 SO_RCVBUF = 0x1002
1118 SO_RCVLOWAT = 0x1004
1119 SO_RCVTIMEO = 0x1006
1120 SO_REUSEADDR = 0x4
1121 SO_REUSEPORT = 0x200
1122 SO_SNDBUF = 0x1001
1123 SO_SNDLOWAT = 0x1003
1124 SO_SNDSPACE = 0x100a
1125 SO_SNDTIMEO = 0x1005
1126 SO_TIMESTAMP = 0x400
1127 SO_TYPE = 0x1008
1128 SO_USELOOPBACK = 0x40
1129 TCIFLUSH = 0x1
1130 TCIOFLUSH = 0x3
1131 TCOFLUSH = 0x2
1132 TCP_FASTKEEP = 0x80
1133 TCP_KEEPCNT = 0x400
1134 TCP_KEEPIDLE = 0x100
1135 TCP_KEEPINIT = 0x20
1136 TCP_KEEPINTVL = 0x200
1137 TCP_MAXBURST = 0x4
1138 TCP_MAXHLEN = 0x3c
1139 TCP_MAXOLEN = 0x28
1140 TCP_MAXSEG = 0x2
1141 TCP_MAXWIN = 0xffff
1142 TCP_MAX_WINSHIFT = 0xe
1143 TCP_MINMSS = 0x100
1144 TCP_MIN_WINSHIFT = 0x5
1145 TCP_MSS = 0x200
1146 TCP_NODELAY = 0x1
1147 TCP_NOOPT = 0x8
1148 TCP_NOPUSH = 0x4
1149 TCP_SIGNATURE_ENABLE = 0x10
1150 TCSAFLUSH = 0x2
1151 TIOCCBRK = 0x2000747a
1152 TIOCCDTR = 0x20007478
1153 TIOCCONS = 0x80047462
1154 TIOCDCDTIMESTAMP = 0x40087458
1155 TIOCDRAIN = 0x2000745e
1156 TIOCEXCL = 0x2000740d
1157 TIOCEXT = 0x80047460
1158 TIOCFLUSH = 0x80047410
1159 TIOCGDRAINWAIT = 0x40047456
1160 TIOCGETA = 0x402c7413
1161 TIOCGETD = 0x4004741a
1162 TIOCGPGRP = 0x40047477
1163 TIOCGSID = 0x40047463
1164 TIOCGSIZE = 0x40087468
1165 TIOCGWINSZ = 0x40087468
1166 TIOCISPTMASTER = 0x20007455
1167 TIOCMBIC = 0x8004746b
1168 TIOCMBIS = 0x8004746c
1169 TIOCMGDTRWAIT = 0x4004745a
1170 TIOCMGET = 0x4004746a
1171 TIOCMODG = 0x40047403
1172 TIOCMODS = 0x80047404
1173 TIOCMSDTRWAIT = 0x8004745b
1174 TIOCMSET = 0x8004746d
1175 TIOCM_CAR = 0x40
1176 TIOCM_CD = 0x40
1177 TIOCM_CTS = 0x20
1178 TIOCM_DSR = 0x100
1179 TIOCM_DTR = 0x2
1180 TIOCM_LE = 0x1
1181 TIOCM_RI = 0x80
1182 TIOCM_RNG = 0x80
1183 TIOCM_RTS = 0x4
1184 TIOCM_SR = 0x10
1185 TIOCM_ST = 0x8
1186 TIOCNOTTY = 0x20007471
1187 TIOCNXCL = 0x2000740e
1188 TIOCOUTQ = 0x40047473
1189 TIOCPKT = 0x80047470
1190 TIOCPKT_DATA = 0x0
1191 TIOCPKT_DOSTOP = 0x20
1192 TIOCPKT_FLUSHREAD = 0x1
1193 TIOCPKT_FLUSHWRITE = 0x2
1194 TIOCPKT_IOCTL = 0x40
1195 TIOCPKT_NOSTOP = 0x10
1196 TIOCPKT_START = 0x8
1197 TIOCPKT_STOP = 0x4
1198 TIOCREMOTE = 0x80047469
1199 TIOCSBRK = 0x2000747b
1200 TIOCSCTTY = 0x20007461
1201 TIOCSDRAINWAIT = 0x80047457
1202 TIOCSDTR = 0x20007479
1203 TIOCSETA = 0x802c7414
1204 TIOCSETAF = 0x802c7416
1205 TIOCSETAW = 0x802c7415
1206 TIOCSETD = 0x8004741b
1207 TIOCSIG = 0x2000745f
1208 TIOCSPGRP = 0x80047476
1209 TIOCSSIZE = 0x80087467
1210 TIOCSTART = 0x2000746e
1211 TIOCSTAT = 0x20007465
1212 TIOCSTI = 0x80017472
1213 TIOCSTOP = 0x2000746f
1214 TIOCSWINSZ = 0x80087467
1215 TIOCTIMESTAMP = 0x40087459
1216 TIOCUCNTL = 0x80047466
1217 TOSTOP = 0x400000
1218 VCHECKPT = 0x13
1219 VDISCARD = 0xf
1220 VDSUSP = 0xb
1221 VEOF = 0x0
1222 VEOL = 0x1
1223 VEOL2 = 0x2
1224 VERASE = 0x3
1225 VERASE2 = 0x7
1226 VINTR = 0x8
1227 VKILL = 0x5
1228 VLNEXT = 0xe
1229 VMIN = 0x10
1230 VQUIT = 0x9
1231 VREPRINT = 0x6
1232 VSTART = 0xc
1233 VSTATUS = 0x12
1234 VSTOP = 0xd
1235 VSUSP = 0xa
1236 VTIME = 0x11
1237 VWERASE = 0x4
1238 WCONTINUED = 0x4
1239 WCOREFLAG = 0x80
1240 WLINUXCLONE = 0x80000000
1241 WNOHANG = 0x1
1242 WSTOPPED = 0x7f
1243 WUNTRACED = 0x2
1244)
1245
1246// Errors
1247const (
1248 E2BIG = syscall.Errno(0x7)
1249 EACCES = syscall.Errno(0xd)
1250 EADDRINUSE = syscall.Errno(0x30)
1251 EADDRNOTAVAIL = syscall.Errno(0x31)
1252 EAFNOSUPPORT = syscall.Errno(0x2f)
1253 EAGAIN = syscall.Errno(0x23)
1254 EALREADY = syscall.Errno(0x25)
1255 EASYNC = syscall.Errno(0x63)
1256 EAUTH = syscall.Errno(0x50)
1257 EBADF = syscall.Errno(0x9)
1258 EBADMSG = syscall.Errno(0x59)
1259 EBADRPC = syscall.Errno(0x48)
1260 EBUSY = syscall.Errno(0x10)
1261 ECANCELED = syscall.Errno(0x55)
1262 ECHILD = syscall.Errno(0xa)
1263 ECONNABORTED = syscall.Errno(0x35)
1264 ECONNREFUSED = syscall.Errno(0x3d)
1265 ECONNRESET = syscall.Errno(0x36)
1266 EDEADLK = syscall.Errno(0xb)
1267 EDESTADDRREQ = syscall.Errno(0x27)
1268 EDOM = syscall.Errno(0x21)
1269 EDOOFUS = syscall.Errno(0x58)
1270 EDQUOT = syscall.Errno(0x45)
1271 EEXIST = syscall.Errno(0x11)
1272 EFAULT = syscall.Errno(0xe)
1273 EFBIG = syscall.Errno(0x1b)
1274 EFTYPE = syscall.Errno(0x4f)
1275 EHOSTDOWN = syscall.Errno(0x40)
1276 EHOSTUNREACH = syscall.Errno(0x41)
1277 EIDRM = syscall.Errno(0x52)
1278 EILSEQ = syscall.Errno(0x56)
1279 EINPROGRESS = syscall.Errno(0x24)
1280 EINTR = syscall.Errno(0x4)
1281 EINVAL = syscall.Errno(0x16)
1282 EIO = syscall.Errno(0x5)
1283 EISCONN = syscall.Errno(0x38)
1284 EISDIR = syscall.Errno(0x15)
1285 ELAST = syscall.Errno(0x63)
1286 ELOOP = syscall.Errno(0x3e)
1287 EMFILE = syscall.Errno(0x18)
1288 EMLINK = syscall.Errno(0x1f)
1289 EMSGSIZE = syscall.Errno(0x28)
1290 EMULTIHOP = syscall.Errno(0x5a)
1291 ENAMETOOLONG = syscall.Errno(0x3f)
1292 ENEEDAUTH = syscall.Errno(0x51)
1293 ENETDOWN = syscall.Errno(0x32)
1294 ENETRESET = syscall.Errno(0x34)
1295 ENETUNREACH = syscall.Errno(0x33)
1296 ENFILE = syscall.Errno(0x17)
1297 ENOATTR = syscall.Errno(0x57)
1298 ENOBUFS = syscall.Errno(0x37)
1299 ENODEV = syscall.Errno(0x13)
1300 ENOENT = syscall.Errno(0x2)
1301 ENOEXEC = syscall.Errno(0x8)
1302 ENOLCK = syscall.Errno(0x4d)
1303 ENOLINK = syscall.Errno(0x5b)
1304 ENOMEDIUM = syscall.Errno(0x5d)
1305 ENOMEM = syscall.Errno(0xc)
1306 ENOMSG = syscall.Errno(0x53)
1307 ENOPROTOOPT = syscall.Errno(0x2a)
1308 ENOSPC = syscall.Errno(0x1c)
1309 ENOSYS = syscall.Errno(0x4e)
1310 ENOTBLK = syscall.Errno(0xf)
1311 ENOTCONN = syscall.Errno(0x39)
1312 ENOTDIR = syscall.Errno(0x14)
1313 ENOTEMPTY = syscall.Errno(0x42)
1314 ENOTSOCK = syscall.Errno(0x26)
1315 ENOTSUP = syscall.Errno(0x2d)
1316 ENOTTY = syscall.Errno(0x19)
1317 ENXIO = syscall.Errno(0x6)
1318 EOPNOTSUPP = syscall.Errno(0x2d)
1319 EOVERFLOW = syscall.Errno(0x54)
1320 EPERM = syscall.Errno(0x1)
1321 EPFNOSUPPORT = syscall.Errno(0x2e)
1322 EPIPE = syscall.Errno(0x20)
1323 EPROCLIM = syscall.Errno(0x43)
1324 EPROCUNAVAIL = syscall.Errno(0x4c)
1325 EPROGMISMATCH = syscall.Errno(0x4b)
1326 EPROGUNAVAIL = syscall.Errno(0x4a)
1327 EPROTO = syscall.Errno(0x5c)
1328 EPROTONOSUPPORT = syscall.Errno(0x2b)
1329 EPROTOTYPE = syscall.Errno(0x29)
1330 ERANGE = syscall.Errno(0x22)
1331 EREMOTE = syscall.Errno(0x47)
1332 EROFS = syscall.Errno(0x1e)
1333 ERPCMISMATCH = syscall.Errno(0x49)
1334 ESHUTDOWN = syscall.Errno(0x3a)
1335 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1336 ESPIPE = syscall.Errno(0x1d)
1337 ESRCH = syscall.Errno(0x3)
1338 ESTALE = syscall.Errno(0x46)
1339 ETIMEDOUT = syscall.Errno(0x3c)
1340 ETOOMANYREFS = syscall.Errno(0x3b)
1341 ETXTBSY = syscall.Errno(0x1a)
1342 EUNUSED94 = syscall.Errno(0x5e)
1343 EUNUSED95 = syscall.Errno(0x5f)
1344 EUNUSED96 = syscall.Errno(0x60)
1345 EUNUSED97 = syscall.Errno(0x61)
1346 EUNUSED98 = syscall.Errno(0x62)
1347 EUSERS = syscall.Errno(0x44)
1348 EWOULDBLOCK = syscall.Errno(0x23)
1349 EXDEV = syscall.Errno(0x12)
1350)
1351
1352// Signals
1353const (
1354 SIGABRT = syscall.Signal(0x6)
1355 SIGALRM = syscall.Signal(0xe)
1356 SIGBUS = syscall.Signal(0xa)
1357 SIGCHLD = syscall.Signal(0x14)
1358 SIGCKPT = syscall.Signal(0x21)
1359 SIGCKPTEXIT = syscall.Signal(0x22)
1360 SIGCONT = syscall.Signal(0x13)
1361 SIGEMT = syscall.Signal(0x7)
1362 SIGFPE = syscall.Signal(0x8)
1363 SIGHUP = syscall.Signal(0x1)
1364 SIGILL = syscall.Signal(0x4)
1365 SIGINFO = syscall.Signal(0x1d)
1366 SIGINT = syscall.Signal(0x2)
1367 SIGIO = syscall.Signal(0x17)
1368 SIGIOT = syscall.Signal(0x6)
1369 SIGKILL = syscall.Signal(0x9)
1370 SIGPIPE = syscall.Signal(0xd)
1371 SIGPROF = syscall.Signal(0x1b)
1372 SIGQUIT = syscall.Signal(0x3)
1373 SIGSEGV = syscall.Signal(0xb)
1374 SIGSTOP = syscall.Signal(0x11)
1375 SIGSYS = syscall.Signal(0xc)
1376 SIGTERM = syscall.Signal(0xf)
1377 SIGTHR = syscall.Signal(0x20)
1378 SIGTRAP = syscall.Signal(0x5)
1379 SIGTSTP = syscall.Signal(0x12)
1380 SIGTTIN = syscall.Signal(0x15)
1381 SIGTTOU = syscall.Signal(0x16)
1382 SIGURG = syscall.Signal(0x10)
1383 SIGUSR1 = syscall.Signal(0x1e)
1384 SIGUSR2 = syscall.Signal(0x1f)
1385 SIGVTALRM = syscall.Signal(0x1a)
1386 SIGWINCH = syscall.Signal(0x1c)
1387 SIGXCPU = syscall.Signal(0x18)
1388 SIGXFSZ = syscall.Signal(0x19)
1389)
1390
1391// Error table
1392var errors = [...]string{
1393 1: "operation not permitted",
1394 2: "no such file or directory",
1395 3: "no such process",
1396 4: "interrupted system call",
1397 5: "input/output error",
1398 6: "device not configured",
1399 7: "argument list too long",
1400 8: "exec format error",
1401 9: "bad file descriptor",
1402 10: "no child processes",
1403 11: "resource deadlock avoided",
1404 12: "cannot allocate memory",
1405 13: "permission denied",
1406 14: "bad address",
1407 15: "block device required",
1408 16: "device busy",
1409 17: "file exists",
1410 18: "cross-device link",
1411 19: "operation not supported by device",
1412 20: "not a directory",
1413 21: "is a directory",
1414 22: "invalid argument",
1415 23: "too many open files in system",
1416 24: "too many open files",
1417 25: "inappropriate ioctl for device",
1418 26: "text file busy",
1419 27: "file too large",
1420 28: "no space left on device",
1421 29: "illegal seek",
1422 30: "read-only file system",
1423 31: "too many links",
1424 32: "broken pipe",
1425 33: "numerical argument out of domain",
1426 34: "result too large",
1427 35: "resource temporarily unavailable",
1428 36: "operation now in progress",
1429 37: "operation already in progress",
1430 38: "socket operation on non-socket",
1431 39: "destination address required",
1432 40: "message too long",
1433 41: "protocol wrong type for socket",
1434 42: "protocol not available",
1435 43: "protocol not supported",
1436 44: "socket type not supported",
1437 45: "operation not supported",
1438 46: "protocol family not supported",
1439 47: "address family not supported by protocol family",
1440 48: "address already in use",
1441 49: "can't assign requested address",
1442 50: "network is down",
1443 51: "network is unreachable",
1444 52: "network dropped connection on reset",
1445 53: "software caused connection abort",
1446 54: "connection reset by peer",
1447 55: "no buffer space available",
1448 56: "socket is already connected",
1449 57: "socket is not connected",
1450 58: "can't send after socket shutdown",
1451 59: "too many references: can't splice",
1452 60: "operation timed out",
1453 61: "connection refused",
1454 62: "too many levels of symbolic links",
1455 63: "file name too long",
1456 64: "host is down",
1457 65: "no route to host",
1458 66: "directory not empty",
1459 67: "too many processes",
1460 68: "too many users",
1461 69: "disc quota exceeded",
1462 70: "stale NFS file handle",
1463 71: "too many levels of remote in path",
1464 72: "RPC struct is bad",
1465 73: "RPC version wrong",
1466 74: "RPC prog. not avail",
1467 75: "program version wrong",
1468 76: "bad procedure for program",
1469 77: "no locks available",
1470 78: "function not implemented",
1471 79: "inappropriate file type or format",
1472 80: "authentication error",
1473 81: "need authenticator",
1474 82: "identifier removed",
1475 83: "no message of desired type",
1476 84: "value too large to be stored in data type",
1477 85: "operation canceled",
1478 86: "illegal byte sequence",
1479 87: "attribute not found",
1480 88: "programming error",
1481 89: "bad message",
1482 90: "multihop attempted",
1483 91: "link has been severed",
1484 92: "protocol error",
1485 93: "no medium found",
1486 94: "unknown error: 94",
1487 95: "unknown error: 95",
1488 96: "unknown error: 96",
1489 97: "unknown error: 97",
1490 98: "unknown error: 98",
1491 99: "unknown error: 99",
1492}
1493
1494// Signal table
1495var signals = [...]string{
1496 1: "hangup",
1497 2: "interrupt",
1498 3: "quit",
1499 4: "illegal instruction",
1500 5: "trace/BPT trap",
1501 6: "abort trap",
1502 7: "EMT trap",
1503 8: "floating point exception",
1504 9: "killed",
1505 10: "bus error",
1506 11: "segmentation fault",
1507 12: "bad system call",
1508 13: "broken pipe",
1509 14: "alarm clock",
1510 15: "terminated",
1511 16: "urgent I/O condition",
1512 17: "suspended (signal)",
1513 18: "suspended",
1514 19: "continued",
1515 20: "child exited",
1516 21: "stopped (tty input)",
1517 22: "stopped (tty output)",
1518 23: "I/O possible",
1519 24: "cputime limit exceeded",
1520 25: "filesize limit exceeded",
1521 26: "virtual timer expired",
1522 27: "profiling timer expired",
1523 28: "window size changes",
1524 29: "information request",
1525 30: "user defined signal 1",
1526 31: "user defined signal 2",
1527 32: "thread Scheduler",
1528 33: "checkPoint",
1529 34: "checkPointExit",
1530}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
deleted file mode 100644
index 0feceee..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
+++ /dev/null
@@ -1,1530 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,dragonfly
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ATM = 0x1e
16 AF_BLUETOOTH = 0x21
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_HYLINK = 0xf
27 AF_IEEE80211 = 0x23
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x1c
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x24
38 AF_MPLS = 0x22
39 AF_NATM = 0x1d
40 AF_NETGRAPH = 0x20
41 AF_NS = 0x6
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x11
45 AF_SIP = 0x18
46 AF_SNA = 0xb
47 AF_UNIX = 0x1
48 AF_UNSPEC = 0x0
49 B0 = 0x0
50 B110 = 0x6e
51 B115200 = 0x1c200
52 B1200 = 0x4b0
53 B134 = 0x86
54 B14400 = 0x3840
55 B150 = 0x96
56 B1800 = 0x708
57 B19200 = 0x4b00
58 B200 = 0xc8
59 B230400 = 0x38400
60 B2400 = 0x960
61 B28800 = 0x7080
62 B300 = 0x12c
63 B38400 = 0x9600
64 B4800 = 0x12c0
65 B50 = 0x32
66 B57600 = 0xe100
67 B600 = 0x258
68 B7200 = 0x1c20
69 B75 = 0x4b
70 B76800 = 0x12c00
71 B9600 = 0x2580
72 BIOCFLUSH = 0x20004268
73 BIOCGBLEN = 0x40044266
74 BIOCGDLT = 0x4004426a
75 BIOCGDLTLIST = 0xc0104279
76 BIOCGETIF = 0x4020426b
77 BIOCGHDRCMPLT = 0x40044274
78 BIOCGRSIG = 0x40044272
79 BIOCGRTIMEOUT = 0x4010426e
80 BIOCGSEESENT = 0x40044276
81 BIOCGSTATS = 0x4008426f
82 BIOCIMMEDIATE = 0x80044270
83 BIOCLOCK = 0x2000427a
84 BIOCPROMISC = 0x20004269
85 BIOCSBLEN = 0xc0044266
86 BIOCSDLT = 0x80044278
87 BIOCSETF = 0x80104267
88 BIOCSETIF = 0x8020426c
89 BIOCSETWF = 0x8010427b
90 BIOCSHDRCMPLT = 0x80044275
91 BIOCSRSIG = 0x80044273
92 BIOCSRTIMEOUT = 0x8010426d
93 BIOCSSEESENT = 0x80044277
94 BIOCVERSION = 0x40044271
95 BPF_A = 0x10
96 BPF_ABS = 0x20
97 BPF_ADD = 0x0
98 BPF_ALIGNMENT = 0x8
99 BPF_ALU = 0x4
100 BPF_AND = 0x50
101 BPF_B = 0x10
102 BPF_DEFAULTBUFSIZE = 0x1000
103 BPF_DIV = 0x30
104 BPF_H = 0x8
105 BPF_IMM = 0x0
106 BPF_IND = 0x40
107 BPF_JA = 0x0
108 BPF_JEQ = 0x10
109 BPF_JGE = 0x30
110 BPF_JGT = 0x20
111 BPF_JMP = 0x5
112 BPF_JSET = 0x40
113 BPF_K = 0x0
114 BPF_LD = 0x0
115 BPF_LDX = 0x1
116 BPF_LEN = 0x80
117 BPF_LSH = 0x60
118 BPF_MAJOR_VERSION = 0x1
119 BPF_MAXBUFSIZE = 0x80000
120 BPF_MAXINSNS = 0x200
121 BPF_MAX_CLONES = 0x80
122 BPF_MEM = 0x60
123 BPF_MEMWORDS = 0x10
124 BPF_MINBUFSIZE = 0x20
125 BPF_MINOR_VERSION = 0x1
126 BPF_MISC = 0x7
127 BPF_MSH = 0xa0
128 BPF_MUL = 0x20
129 BPF_NEG = 0x80
130 BPF_OR = 0x40
131 BPF_RELEASE = 0x30bb6
132 BPF_RET = 0x6
133 BPF_RSH = 0x70
134 BPF_ST = 0x2
135 BPF_STX = 0x3
136 BPF_SUB = 0x10
137 BPF_TAX = 0x0
138 BPF_TXA = 0x80
139 BPF_W = 0x0
140 BPF_X = 0x8
141 BRKINT = 0x2
142 CFLUSH = 0xf
143 CLOCAL = 0x8000
144 CREAD = 0x800
145 CS5 = 0x0
146 CS6 = 0x100
147 CS7 = 0x200
148 CS8 = 0x300
149 CSIZE = 0x300
150 CSTART = 0x11
151 CSTATUS = 0x14
152 CSTOP = 0x13
153 CSTOPB = 0x400
154 CSUSP = 0x1a
155 CTL_MAXNAME = 0xc
156 CTL_NET = 0x4
157 DLT_A429 = 0xb8
158 DLT_A653_ICM = 0xb9
159 DLT_AIRONET_HEADER = 0x78
160 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
161 DLT_ARCNET = 0x7
162 DLT_ARCNET_LINUX = 0x81
163 DLT_ATM_CLIP = 0x13
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AURORA = 0x7e
166 DLT_AX25 = 0x3
167 DLT_AX25_KISS = 0xca
168 DLT_BACNET_MS_TP = 0xa5
169 DLT_BLUETOOTH_HCI_H4 = 0xbb
170 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
171 DLT_CAN20B = 0xbe
172 DLT_CHAOS = 0x5
173 DLT_CHDLC = 0x68
174 DLT_CISCO_IOS = 0x76
175 DLT_C_HDLC = 0x68
176 DLT_C_HDLC_WITH_DIR = 0xcd
177 DLT_DOCSIS = 0x8f
178 DLT_ECONET = 0x73
179 DLT_EN10MB = 0x1
180 DLT_EN3MB = 0x2
181 DLT_ENC = 0x6d
182 DLT_ERF = 0xc5
183 DLT_ERF_ETH = 0xaf
184 DLT_ERF_POS = 0xb0
185 DLT_FDDI = 0xa
186 DLT_FLEXRAY = 0xd2
187 DLT_FRELAY = 0x6b
188 DLT_FRELAY_WITH_DIR = 0xce
189 DLT_GCOM_SERIAL = 0xad
190 DLT_GCOM_T1E1 = 0xac
191 DLT_GPF_F = 0xab
192 DLT_GPF_T = 0xaa
193 DLT_GPRS_LLC = 0xa9
194 DLT_HHDLC = 0x79
195 DLT_IBM_SN = 0x92
196 DLT_IBM_SP = 0x91
197 DLT_IEEE802 = 0x6
198 DLT_IEEE802_11 = 0x69
199 DLT_IEEE802_11_RADIO = 0x7f
200 DLT_IEEE802_11_RADIO_AVS = 0xa3
201 DLT_IEEE802_15_4 = 0xc3
202 DLT_IEEE802_15_4_LINUX = 0xbf
203 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
204 DLT_IEEE802_16_MAC_CPS = 0xbc
205 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
206 DLT_IPFILTER = 0x74
207 DLT_IPMB = 0xc7
208 DLT_IPMB_LINUX = 0xd1
209 DLT_IP_OVER_FC = 0x7a
210 DLT_JUNIPER_ATM1 = 0x89
211 DLT_JUNIPER_ATM2 = 0x87
212 DLT_JUNIPER_CHDLC = 0xb5
213 DLT_JUNIPER_ES = 0x84
214 DLT_JUNIPER_ETHER = 0xb2
215 DLT_JUNIPER_FRELAY = 0xb4
216 DLT_JUNIPER_GGSN = 0x85
217 DLT_JUNIPER_ISM = 0xc2
218 DLT_JUNIPER_MFR = 0x86
219 DLT_JUNIPER_MLFR = 0x83
220 DLT_JUNIPER_MLPPP = 0x82
221 DLT_JUNIPER_MONITOR = 0xa4
222 DLT_JUNIPER_PIC_PEER = 0xae
223 DLT_JUNIPER_PPP = 0xb3
224 DLT_JUNIPER_PPPOE = 0xa7
225 DLT_JUNIPER_PPPOE_ATM = 0xa8
226 DLT_JUNIPER_SERVICES = 0x88
227 DLT_JUNIPER_ST = 0xc8
228 DLT_JUNIPER_VP = 0xb7
229 DLT_LAPB_WITH_DIR = 0xcf
230 DLT_LAPD = 0xcb
231 DLT_LIN = 0xd4
232 DLT_LINUX_IRDA = 0x90
233 DLT_LINUX_LAPD = 0xb1
234 DLT_LINUX_SLL = 0x71
235 DLT_LOOP = 0x6c
236 DLT_LTALK = 0x72
237 DLT_MFR = 0xb6
238 DLT_MOST = 0xd3
239 DLT_MTP2 = 0x8c
240 DLT_MTP2_WITH_PHDR = 0x8b
241 DLT_MTP3 = 0x8d
242 DLT_NULL = 0x0
243 DLT_PCI_EXP = 0x7d
244 DLT_PFLOG = 0x75
245 DLT_PFSYNC = 0x12
246 DLT_PPI = 0xc0
247 DLT_PPP = 0x9
248 DLT_PPP_BSDOS = 0x10
249 DLT_PPP_ETHER = 0x33
250 DLT_PPP_PPPD = 0xa6
251 DLT_PPP_SERIAL = 0x32
252 DLT_PPP_WITH_DIR = 0xcc
253 DLT_PRISM_HEADER = 0x77
254 DLT_PRONET = 0x4
255 DLT_RAIF1 = 0xc6
256 DLT_RAW = 0xc
257 DLT_REDBACK_SMARTEDGE = 0x20
258 DLT_RIO = 0x7c
259 DLT_SCCP = 0x8e
260 DLT_SITA = 0xc4
261 DLT_SLIP = 0x8
262 DLT_SLIP_BSDOS = 0xf
263 DLT_SUNATM = 0x7b
264 DLT_SYMANTEC_FIREWALL = 0x63
265 DLT_TZSP = 0x80
266 DLT_USB = 0xba
267 DLT_USB_LINUX = 0xbd
268 DLT_X2E_SERIAL = 0xd5
269 DLT_X2E_XORAYA = 0xd6
270 DT_BLK = 0x6
271 DT_CHR = 0x2
272 DT_DBF = 0xf
273 DT_DIR = 0x4
274 DT_FIFO = 0x1
275 DT_LNK = 0xa
276 DT_REG = 0x8
277 DT_SOCK = 0xc
278 DT_UNKNOWN = 0x0
279 DT_WHT = 0xe
280 ECHO = 0x8
281 ECHOCTL = 0x40
282 ECHOE = 0x2
283 ECHOK = 0x4
284 ECHOKE = 0x1
285 ECHONL = 0x10
286 ECHOPRT = 0x20
287 EVFILT_AIO = -0x3
288 EVFILT_EXCEPT = -0x8
289 EVFILT_MARKER = 0xf
290 EVFILT_PROC = -0x5
291 EVFILT_READ = -0x1
292 EVFILT_SIGNAL = -0x6
293 EVFILT_SYSCOUNT = 0x8
294 EVFILT_TIMER = -0x7
295 EVFILT_VNODE = -0x4
296 EVFILT_WRITE = -0x2
297 EV_ADD = 0x1
298 EV_CLEAR = 0x20
299 EV_DELETE = 0x2
300 EV_DISABLE = 0x8
301 EV_ENABLE = 0x4
302 EV_EOF = 0x8000
303 EV_ERROR = 0x4000
304 EV_FLAG1 = 0x2000
305 EV_NODATA = 0x1000
306 EV_ONESHOT = 0x10
307 EV_SYSFLAGS = 0xf000
308 EXTA = 0x4b00
309 EXTB = 0x9600
310 EXTEXIT_LWP = 0x10000
311 EXTEXIT_PROC = 0x0
312 EXTEXIT_SETINT = 0x1
313 EXTEXIT_SIMPLE = 0x0
314 EXTPROC = 0x800
315 FD_CLOEXEC = 0x1
316 FD_SETSIZE = 0x400
317 FLUSHO = 0x800000
318 F_DUP2FD = 0xa
319 F_DUP2FD_CLOEXEC = 0x12
320 F_DUPFD = 0x0
321 F_DUPFD_CLOEXEC = 0x11
322 F_GETFD = 0x1
323 F_GETFL = 0x3
324 F_GETLK = 0x7
325 F_GETOWN = 0x5
326 F_OK = 0x0
327 F_RDLCK = 0x1
328 F_SETFD = 0x2
329 F_SETFL = 0x4
330 F_SETLK = 0x8
331 F_SETLKW = 0x9
332 F_SETOWN = 0x6
333 F_UNLCK = 0x2
334 F_WRLCK = 0x3
335 HUPCL = 0x4000
336 ICANON = 0x100
337 ICMP6_FILTER = 0x12
338 ICRNL = 0x100
339 IEXTEN = 0x400
340 IFAN_ARRIVAL = 0x0
341 IFAN_DEPARTURE = 0x1
342 IFF_ALLMULTI = 0x200
343 IFF_ALTPHYS = 0x4000
344 IFF_BROADCAST = 0x2
345 IFF_CANTCHANGE = 0x118e72
346 IFF_DEBUG = 0x4
347 IFF_LINK0 = 0x1000
348 IFF_LINK1 = 0x2000
349 IFF_LINK2 = 0x4000
350 IFF_LOOPBACK = 0x8
351 IFF_MONITOR = 0x40000
352 IFF_MULTICAST = 0x8000
353 IFF_NOARP = 0x80
354 IFF_NPOLLING = 0x100000
355 IFF_OACTIVE = 0x400
356 IFF_OACTIVE_COMPAT = 0x400
357 IFF_POINTOPOINT = 0x10
358 IFF_POLLING = 0x10000
359 IFF_POLLING_COMPAT = 0x10000
360 IFF_PPROMISC = 0x20000
361 IFF_PROMISC = 0x100
362 IFF_RUNNING = 0x40
363 IFF_SIMPLEX = 0x800
364 IFF_SMART = 0x20
365 IFF_STATICARP = 0x80000
366 IFF_UP = 0x1
367 IFNAMSIZ = 0x10
368 IFT_1822 = 0x2
369 IFT_A12MPPSWITCH = 0x82
370 IFT_AAL2 = 0xbb
371 IFT_AAL5 = 0x31
372 IFT_ADSL = 0x5e
373 IFT_AFLANE8023 = 0x3b
374 IFT_AFLANE8025 = 0x3c
375 IFT_ARAP = 0x58
376 IFT_ARCNET = 0x23
377 IFT_ARCNETPLUS = 0x24
378 IFT_ASYNC = 0x54
379 IFT_ATM = 0x25
380 IFT_ATMDXI = 0x69
381 IFT_ATMFUNI = 0x6a
382 IFT_ATMIMA = 0x6b
383 IFT_ATMLOGICAL = 0x50
384 IFT_ATMRADIO = 0xbd
385 IFT_ATMSUBINTERFACE = 0x86
386 IFT_ATMVCIENDPT = 0xc2
387 IFT_ATMVIRTUAL = 0x95
388 IFT_BGPPOLICYACCOUNTING = 0xa2
389 IFT_BRIDGE = 0xd1
390 IFT_BSC = 0x53
391 IFT_CARP = 0xf8
392 IFT_CCTEMUL = 0x3d
393 IFT_CEPT = 0x13
394 IFT_CES = 0x85
395 IFT_CHANNEL = 0x46
396 IFT_CNR = 0x55
397 IFT_COFFEE = 0x84
398 IFT_COMPOSITELINK = 0x9b
399 IFT_DCN = 0x8d
400 IFT_DIGITALPOWERLINE = 0x8a
401 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
402 IFT_DLSW = 0x4a
403 IFT_DOCSCABLEDOWNSTREAM = 0x80
404 IFT_DOCSCABLEMACLAYER = 0x7f
405 IFT_DOCSCABLEUPSTREAM = 0x81
406 IFT_DS0 = 0x51
407 IFT_DS0BUNDLE = 0x52
408 IFT_DS1FDL = 0xaa
409 IFT_DS3 = 0x1e
410 IFT_DTM = 0x8c
411 IFT_DVBASILN = 0xac
412 IFT_DVBASIOUT = 0xad
413 IFT_DVBRCCDOWNSTREAM = 0x93
414 IFT_DVBRCCMACLAYER = 0x92
415 IFT_DVBRCCUPSTREAM = 0x94
416 IFT_ENC = 0xf4
417 IFT_EON = 0x19
418 IFT_EPLRS = 0x57
419 IFT_ESCON = 0x49
420 IFT_ETHER = 0x6
421 IFT_FAITH = 0xf2
422 IFT_FAST = 0x7d
423 IFT_FASTETHER = 0x3e
424 IFT_FASTETHERFX = 0x45
425 IFT_FDDI = 0xf
426 IFT_FIBRECHANNEL = 0x38
427 IFT_FRAMERELAYINTERCONNECT = 0x3a
428 IFT_FRAMERELAYMPI = 0x5c
429 IFT_FRDLCIENDPT = 0xc1
430 IFT_FRELAY = 0x20
431 IFT_FRELAYDCE = 0x2c
432 IFT_FRF16MFRBUNDLE = 0xa3
433 IFT_FRFORWARD = 0x9e
434 IFT_G703AT2MB = 0x43
435 IFT_G703AT64K = 0x42
436 IFT_GIF = 0xf0
437 IFT_GIGABITETHERNET = 0x75
438 IFT_GR303IDT = 0xb2
439 IFT_GR303RDT = 0xb1
440 IFT_H323GATEKEEPER = 0xa4
441 IFT_H323PROXY = 0xa5
442 IFT_HDH1822 = 0x3
443 IFT_HDLC = 0x76
444 IFT_HDSL2 = 0xa8
445 IFT_HIPERLAN2 = 0xb7
446 IFT_HIPPI = 0x2f
447 IFT_HIPPIINTERFACE = 0x39
448 IFT_HOSTPAD = 0x5a
449 IFT_HSSI = 0x2e
450 IFT_HY = 0xe
451 IFT_IBM370PARCHAN = 0x48
452 IFT_IDSL = 0x9a
453 IFT_IEEE1394 = 0x90
454 IFT_IEEE80211 = 0x47
455 IFT_IEEE80212 = 0x37
456 IFT_IEEE8023ADLAG = 0xa1
457 IFT_IFGSN = 0x91
458 IFT_IMT = 0xbe
459 IFT_INTERLEAVE = 0x7c
460 IFT_IP = 0x7e
461 IFT_IPFORWARD = 0x8e
462 IFT_IPOVERATM = 0x72
463 IFT_IPOVERCDLC = 0x6d
464 IFT_IPOVERCLAW = 0x6e
465 IFT_IPSWITCH = 0x4e
466 IFT_ISDN = 0x3f
467 IFT_ISDNBASIC = 0x14
468 IFT_ISDNPRIMARY = 0x15
469 IFT_ISDNS = 0x4b
470 IFT_ISDNU = 0x4c
471 IFT_ISO88022LLC = 0x29
472 IFT_ISO88023 = 0x7
473 IFT_ISO88024 = 0x8
474 IFT_ISO88025 = 0x9
475 IFT_ISO88025CRFPINT = 0x62
476 IFT_ISO88025DTR = 0x56
477 IFT_ISO88025FIBER = 0x73
478 IFT_ISO88026 = 0xa
479 IFT_ISUP = 0xb3
480 IFT_L2VLAN = 0x87
481 IFT_L3IPVLAN = 0x88
482 IFT_L3IPXVLAN = 0x89
483 IFT_LAPB = 0x10
484 IFT_LAPD = 0x4d
485 IFT_LAPF = 0x77
486 IFT_LOCALTALK = 0x2a
487 IFT_LOOP = 0x18
488 IFT_MEDIAMAILOVERIP = 0x8b
489 IFT_MFSIGLINK = 0xa7
490 IFT_MIOX25 = 0x26
491 IFT_MODEM = 0x30
492 IFT_MPC = 0x71
493 IFT_MPLS = 0xa6
494 IFT_MPLSTUNNEL = 0x96
495 IFT_MSDSL = 0x8f
496 IFT_MVL = 0xbf
497 IFT_MYRINET = 0x63
498 IFT_NFAS = 0xaf
499 IFT_NSIP = 0x1b
500 IFT_OPTICALCHANNEL = 0xc3
501 IFT_OPTICALTRANSPORT = 0xc4
502 IFT_OTHER = 0x1
503 IFT_P10 = 0xc
504 IFT_P80 = 0xd
505 IFT_PARA = 0x22
506 IFT_PFLOG = 0xf5
507 IFT_PFSYNC = 0xf6
508 IFT_PLC = 0xae
509 IFT_POS = 0xab
510 IFT_PPP = 0x17
511 IFT_PPPMULTILINKBUNDLE = 0x6c
512 IFT_PROPBWAP2MP = 0xb8
513 IFT_PROPCNLS = 0x59
514 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
515 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
516 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
517 IFT_PROPMUX = 0x36
518 IFT_PROPVIRTUAL = 0x35
519 IFT_PROPWIRELESSP2P = 0x9d
520 IFT_PTPSERIAL = 0x16
521 IFT_PVC = 0xf1
522 IFT_QLLC = 0x44
523 IFT_RADIOMAC = 0xbc
524 IFT_RADSL = 0x5f
525 IFT_REACHDSL = 0xc0
526 IFT_RFC1483 = 0x9f
527 IFT_RS232 = 0x21
528 IFT_RSRB = 0x4f
529 IFT_SDLC = 0x11
530 IFT_SDSL = 0x60
531 IFT_SHDSL = 0xa9
532 IFT_SIP = 0x1f
533 IFT_SLIP = 0x1c
534 IFT_SMDSDXI = 0x2b
535 IFT_SMDSICIP = 0x34
536 IFT_SONET = 0x27
537 IFT_SONETOVERHEADCHANNEL = 0xb9
538 IFT_SONETPATH = 0x32
539 IFT_SONETVT = 0x33
540 IFT_SRP = 0x97
541 IFT_SS7SIGLINK = 0x9c
542 IFT_STACKTOSTACK = 0x6f
543 IFT_STARLAN = 0xb
544 IFT_STF = 0xf3
545 IFT_T1 = 0x12
546 IFT_TDLC = 0x74
547 IFT_TERMPAD = 0x5b
548 IFT_TR008 = 0xb0
549 IFT_TRANSPHDLC = 0x7b
550 IFT_TUNNEL = 0x83
551 IFT_ULTRA = 0x1d
552 IFT_USB = 0xa0
553 IFT_V11 = 0x40
554 IFT_V35 = 0x2d
555 IFT_V36 = 0x41
556 IFT_V37 = 0x78
557 IFT_VDSL = 0x61
558 IFT_VIRTUALIPADDRESS = 0x70
559 IFT_VOICEEM = 0x64
560 IFT_VOICEENCAP = 0x67
561 IFT_VOICEFXO = 0x65
562 IFT_VOICEFXS = 0x66
563 IFT_VOICEOVERATM = 0x98
564 IFT_VOICEOVERFRAMERELAY = 0x99
565 IFT_VOICEOVERIP = 0x68
566 IFT_X213 = 0x5d
567 IFT_X25 = 0x5
568 IFT_X25DDN = 0x4
569 IFT_X25HUNTGROUP = 0x7a
570 IFT_X25MLP = 0x79
571 IFT_X25PLE = 0x28
572 IFT_XETHER = 0x1a
573 IGNBRK = 0x1
574 IGNCR = 0x80
575 IGNPAR = 0x4
576 IMAXBEL = 0x2000
577 INLCR = 0x40
578 INPCK = 0x10
579 IN_CLASSA_HOST = 0xffffff
580 IN_CLASSA_MAX = 0x80
581 IN_CLASSA_NET = 0xff000000
582 IN_CLASSA_NSHIFT = 0x18
583 IN_CLASSB_HOST = 0xffff
584 IN_CLASSB_MAX = 0x10000
585 IN_CLASSB_NET = 0xffff0000
586 IN_CLASSB_NSHIFT = 0x10
587 IN_CLASSC_HOST = 0xff
588 IN_CLASSC_NET = 0xffffff00
589 IN_CLASSC_NSHIFT = 0x8
590 IN_CLASSD_HOST = 0xfffffff
591 IN_CLASSD_NET = 0xf0000000
592 IN_CLASSD_NSHIFT = 0x1c
593 IN_LOOPBACKNET = 0x7f
594 IPPROTO_3PC = 0x22
595 IPPROTO_ADFS = 0x44
596 IPPROTO_AH = 0x33
597 IPPROTO_AHIP = 0x3d
598 IPPROTO_APES = 0x63
599 IPPROTO_ARGUS = 0xd
600 IPPROTO_AX25 = 0x5d
601 IPPROTO_BHA = 0x31
602 IPPROTO_BLT = 0x1e
603 IPPROTO_BRSATMON = 0x4c
604 IPPROTO_CARP = 0x70
605 IPPROTO_CFTP = 0x3e
606 IPPROTO_CHAOS = 0x10
607 IPPROTO_CMTP = 0x26
608 IPPROTO_CPHB = 0x49
609 IPPROTO_CPNX = 0x48
610 IPPROTO_DDP = 0x25
611 IPPROTO_DGP = 0x56
612 IPPROTO_DIVERT = 0xfe
613 IPPROTO_DONE = 0x101
614 IPPROTO_DSTOPTS = 0x3c
615 IPPROTO_EGP = 0x8
616 IPPROTO_EMCON = 0xe
617 IPPROTO_ENCAP = 0x62
618 IPPROTO_EON = 0x50
619 IPPROTO_ESP = 0x32
620 IPPROTO_ETHERIP = 0x61
621 IPPROTO_FRAGMENT = 0x2c
622 IPPROTO_GGP = 0x3
623 IPPROTO_GMTP = 0x64
624 IPPROTO_GRE = 0x2f
625 IPPROTO_HELLO = 0x3f
626 IPPROTO_HMP = 0x14
627 IPPROTO_HOPOPTS = 0x0
628 IPPROTO_ICMP = 0x1
629 IPPROTO_ICMPV6 = 0x3a
630 IPPROTO_IDP = 0x16
631 IPPROTO_IDPR = 0x23
632 IPPROTO_IDRP = 0x2d
633 IPPROTO_IGMP = 0x2
634 IPPROTO_IGP = 0x55
635 IPPROTO_IGRP = 0x58
636 IPPROTO_IL = 0x28
637 IPPROTO_INLSP = 0x34
638 IPPROTO_INP = 0x20
639 IPPROTO_IP = 0x0
640 IPPROTO_IPCOMP = 0x6c
641 IPPROTO_IPCV = 0x47
642 IPPROTO_IPEIP = 0x5e
643 IPPROTO_IPIP = 0x4
644 IPPROTO_IPPC = 0x43
645 IPPROTO_IPV4 = 0x4
646 IPPROTO_IPV6 = 0x29
647 IPPROTO_IRTP = 0x1c
648 IPPROTO_KRYPTOLAN = 0x41
649 IPPROTO_LARP = 0x5b
650 IPPROTO_LEAF1 = 0x19
651 IPPROTO_LEAF2 = 0x1a
652 IPPROTO_MAX = 0x100
653 IPPROTO_MAXID = 0x34
654 IPPROTO_MEAS = 0x13
655 IPPROTO_MHRP = 0x30
656 IPPROTO_MICP = 0x5f
657 IPPROTO_MOBILE = 0x37
658 IPPROTO_MTP = 0x5c
659 IPPROTO_MUX = 0x12
660 IPPROTO_ND = 0x4d
661 IPPROTO_NHRP = 0x36
662 IPPROTO_NONE = 0x3b
663 IPPROTO_NSP = 0x1f
664 IPPROTO_NVPII = 0xb
665 IPPROTO_OSPFIGP = 0x59
666 IPPROTO_PFSYNC = 0xf0
667 IPPROTO_PGM = 0x71
668 IPPROTO_PIGP = 0x9
669 IPPROTO_PIM = 0x67
670 IPPROTO_PRM = 0x15
671 IPPROTO_PUP = 0xc
672 IPPROTO_PVP = 0x4b
673 IPPROTO_RAW = 0xff
674 IPPROTO_RCCMON = 0xa
675 IPPROTO_RDP = 0x1b
676 IPPROTO_ROUTING = 0x2b
677 IPPROTO_RSVP = 0x2e
678 IPPROTO_RVD = 0x42
679 IPPROTO_SATEXPAK = 0x40
680 IPPROTO_SATMON = 0x45
681 IPPROTO_SCCSP = 0x60
682 IPPROTO_SCTP = 0x84
683 IPPROTO_SDRP = 0x2a
684 IPPROTO_SEP = 0x21
685 IPPROTO_SKIP = 0x39
686 IPPROTO_SRPC = 0x5a
687 IPPROTO_ST = 0x7
688 IPPROTO_SVMTP = 0x52
689 IPPROTO_SWIPE = 0x35
690 IPPROTO_TCF = 0x57
691 IPPROTO_TCP = 0x6
692 IPPROTO_TLSP = 0x38
693 IPPROTO_TP = 0x1d
694 IPPROTO_TPXX = 0x27
695 IPPROTO_TRUNK1 = 0x17
696 IPPROTO_TRUNK2 = 0x18
697 IPPROTO_TTP = 0x54
698 IPPROTO_UDP = 0x11
699 IPPROTO_UNKNOWN = 0x102
700 IPPROTO_VINES = 0x53
701 IPPROTO_VISA = 0x46
702 IPPROTO_VMTP = 0x51
703 IPPROTO_WBEXPAK = 0x4f
704 IPPROTO_WBMON = 0x4e
705 IPPROTO_WSN = 0x4a
706 IPPROTO_XNET = 0xf
707 IPPROTO_XTP = 0x24
708 IPV6_AUTOFLOWLABEL = 0x3b
709 IPV6_BINDV6ONLY = 0x1b
710 IPV6_CHECKSUM = 0x1a
711 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
712 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
713 IPV6_DEFHLIM = 0x40
714 IPV6_DONTFRAG = 0x3e
715 IPV6_DSTOPTS = 0x32
716 IPV6_FAITH = 0x1d
717 IPV6_FLOWINFO_MASK = 0xffffff0f
718 IPV6_FLOWLABEL_MASK = 0xffff0f00
719 IPV6_FRAGTTL = 0x78
720 IPV6_FW_ADD = 0x1e
721 IPV6_FW_DEL = 0x1f
722 IPV6_FW_FLUSH = 0x20
723 IPV6_FW_GET = 0x22
724 IPV6_FW_ZERO = 0x21
725 IPV6_HLIMDEC = 0x1
726 IPV6_HOPLIMIT = 0x2f
727 IPV6_HOPOPTS = 0x31
728 IPV6_IPSEC_POLICY = 0x1c
729 IPV6_JOIN_GROUP = 0xc
730 IPV6_LEAVE_GROUP = 0xd
731 IPV6_MAXHLIM = 0xff
732 IPV6_MAXPACKET = 0xffff
733 IPV6_MMTU = 0x500
734 IPV6_MSFILTER = 0x4a
735 IPV6_MULTICAST_HOPS = 0xa
736 IPV6_MULTICAST_IF = 0x9
737 IPV6_MULTICAST_LOOP = 0xb
738 IPV6_NEXTHOP = 0x30
739 IPV6_PATHMTU = 0x2c
740 IPV6_PKTINFO = 0x2e
741 IPV6_PKTOPTIONS = 0x34
742 IPV6_PORTRANGE = 0xe
743 IPV6_PORTRANGE_DEFAULT = 0x0
744 IPV6_PORTRANGE_HIGH = 0x1
745 IPV6_PORTRANGE_LOW = 0x2
746 IPV6_PREFER_TEMPADDR = 0x3f
747 IPV6_RECVDSTOPTS = 0x28
748 IPV6_RECVHOPLIMIT = 0x25
749 IPV6_RECVHOPOPTS = 0x27
750 IPV6_RECVPATHMTU = 0x2b
751 IPV6_RECVPKTINFO = 0x24
752 IPV6_RECVRTHDR = 0x26
753 IPV6_RECVTCLASS = 0x39
754 IPV6_RTHDR = 0x33
755 IPV6_RTHDRDSTOPTS = 0x23
756 IPV6_RTHDR_LOOSE = 0x0
757 IPV6_RTHDR_STRICT = 0x1
758 IPV6_RTHDR_TYPE_0 = 0x0
759 IPV6_SOCKOPT_RESERVED1 = 0x3
760 IPV6_TCLASS = 0x3d
761 IPV6_UNICAST_HOPS = 0x4
762 IPV6_USE_MIN_MTU = 0x2a
763 IPV6_V6ONLY = 0x1b
764 IPV6_VERSION = 0x60
765 IPV6_VERSION_MASK = 0xf0
766 IP_ADD_MEMBERSHIP = 0xc
767 IP_DEFAULT_MULTICAST_LOOP = 0x1
768 IP_DEFAULT_MULTICAST_TTL = 0x1
769 IP_DF = 0x4000
770 IP_DROP_MEMBERSHIP = 0xd
771 IP_DUMMYNET_CONFIGURE = 0x3c
772 IP_DUMMYNET_DEL = 0x3d
773 IP_DUMMYNET_FLUSH = 0x3e
774 IP_DUMMYNET_GET = 0x40
775 IP_FAITH = 0x16
776 IP_FW_ADD = 0x32
777 IP_FW_DEL = 0x33
778 IP_FW_FLUSH = 0x34
779 IP_FW_GET = 0x36
780 IP_FW_RESETLOG = 0x37
781 IP_FW_ZERO = 0x35
782 IP_HDRINCL = 0x2
783 IP_IPSEC_POLICY = 0x15
784 IP_MAXPACKET = 0xffff
785 IP_MAX_MEMBERSHIPS = 0x14
786 IP_MF = 0x2000
787 IP_MINTTL = 0x42
788 IP_MSS = 0x240
789 IP_MULTICAST_IF = 0x9
790 IP_MULTICAST_LOOP = 0xb
791 IP_MULTICAST_TTL = 0xa
792 IP_MULTICAST_VIF = 0xe
793 IP_OFFMASK = 0x1fff
794 IP_OPTIONS = 0x1
795 IP_PORTRANGE = 0x13
796 IP_PORTRANGE_DEFAULT = 0x0
797 IP_PORTRANGE_HIGH = 0x1
798 IP_PORTRANGE_LOW = 0x2
799 IP_RECVDSTADDR = 0x7
800 IP_RECVIF = 0x14
801 IP_RECVOPTS = 0x5
802 IP_RECVRETOPTS = 0x6
803 IP_RECVTTL = 0x41
804 IP_RETOPTS = 0x8
805 IP_RF = 0x8000
806 IP_RSVP_OFF = 0x10
807 IP_RSVP_ON = 0xf
808 IP_RSVP_VIF_OFF = 0x12
809 IP_RSVP_VIF_ON = 0x11
810 IP_TOS = 0x3
811 IP_TTL = 0x4
812 ISIG = 0x80
813 ISTRIP = 0x20
814 IXANY = 0x800
815 IXOFF = 0x400
816 IXON = 0x200
817 LOCK_EX = 0x2
818 LOCK_NB = 0x4
819 LOCK_SH = 0x1
820 LOCK_UN = 0x8
821 MADV_AUTOSYNC = 0x7
822 MADV_CONTROL_END = 0xb
823 MADV_CONTROL_START = 0xa
824 MADV_CORE = 0x9
825 MADV_DONTNEED = 0x4
826 MADV_FREE = 0x5
827 MADV_INVAL = 0xa
828 MADV_NOCORE = 0x8
829 MADV_NORMAL = 0x0
830 MADV_NOSYNC = 0x6
831 MADV_RANDOM = 0x1
832 MADV_SEQUENTIAL = 0x2
833 MADV_SETMAP = 0xb
834 MADV_WILLNEED = 0x3
835 MAP_ANON = 0x1000
836 MAP_COPY = 0x2
837 MAP_FILE = 0x0
838 MAP_FIXED = 0x10
839 MAP_HASSEMAPHORE = 0x200
840 MAP_INHERIT = 0x80
841 MAP_NOCORE = 0x20000
842 MAP_NOEXTEND = 0x100
843 MAP_NORESERVE = 0x40
844 MAP_NOSYNC = 0x800
845 MAP_PRIVATE = 0x2
846 MAP_RENAME = 0x20
847 MAP_SHARED = 0x1
848 MAP_SIZEALIGN = 0x40000
849 MAP_STACK = 0x400
850 MAP_TRYFIXED = 0x10000
851 MAP_VPAGETABLE = 0x2000
852 MCL_CURRENT = 0x1
853 MCL_FUTURE = 0x2
854 MSG_CTRUNC = 0x20
855 MSG_DONTROUTE = 0x4
856 MSG_DONTWAIT = 0x80
857 MSG_EOF = 0x100
858 MSG_EOR = 0x8
859 MSG_FBLOCKING = 0x10000
860 MSG_FMASK = 0xffff0000
861 MSG_FNONBLOCKING = 0x20000
862 MSG_NOSIGNAL = 0x400
863 MSG_NOTIFICATION = 0x200
864 MSG_OOB = 0x1
865 MSG_PEEK = 0x2
866 MSG_SYNC = 0x800
867 MSG_TRUNC = 0x10
868 MSG_WAITALL = 0x40
869 MS_ASYNC = 0x1
870 MS_INVALIDATE = 0x2
871 MS_SYNC = 0x0
872 NAME_MAX = 0xff
873 NET_RT_DUMP = 0x1
874 NET_RT_FLAGS = 0x2
875 NET_RT_IFLIST = 0x3
876 NET_RT_MAXID = 0x4
877 NOFLSH = 0x80000000
878 NOTE_ATTRIB = 0x8
879 NOTE_CHILD = 0x4
880 NOTE_DELETE = 0x1
881 NOTE_EXEC = 0x20000000
882 NOTE_EXIT = 0x80000000
883 NOTE_EXTEND = 0x4
884 NOTE_FORK = 0x40000000
885 NOTE_LINK = 0x10
886 NOTE_LOWAT = 0x1
887 NOTE_OOB = 0x2
888 NOTE_PCTRLMASK = 0xf0000000
889 NOTE_PDATAMASK = 0xfffff
890 NOTE_RENAME = 0x20
891 NOTE_REVOKE = 0x40
892 NOTE_TRACK = 0x1
893 NOTE_TRACKERR = 0x2
894 NOTE_WRITE = 0x2
895 OCRNL = 0x10
896 ONLCR = 0x2
897 ONLRET = 0x40
898 ONOCR = 0x20
899 ONOEOT = 0x8
900 OPOST = 0x1
901 O_ACCMODE = 0x3
902 O_APPEND = 0x8
903 O_ASYNC = 0x40
904 O_CLOEXEC = 0x20000
905 O_CREAT = 0x200
906 O_DIRECT = 0x10000
907 O_DIRECTORY = 0x8000000
908 O_EXCL = 0x800
909 O_EXLOCK = 0x20
910 O_FAPPEND = 0x100000
911 O_FASYNCWRITE = 0x800000
912 O_FBLOCKING = 0x40000
913 O_FBUFFERED = 0x2000000
914 O_FMASK = 0x7fc0000
915 O_FNONBLOCKING = 0x80000
916 O_FOFFSET = 0x200000
917 O_FSYNC = 0x80
918 O_FSYNCWRITE = 0x400000
919 O_FUNBUFFERED = 0x1000000
920 O_MAPONREAD = 0x4000000
921 O_NDELAY = 0x4
922 O_NOCTTY = 0x8000
923 O_NOFOLLOW = 0x100
924 O_NONBLOCK = 0x4
925 O_RDONLY = 0x0
926 O_RDWR = 0x2
927 O_SHLOCK = 0x10
928 O_SYNC = 0x80
929 O_TRUNC = 0x400
930 O_WRONLY = 0x1
931 PARENB = 0x1000
932 PARMRK = 0x8
933 PARODD = 0x2000
934 PENDIN = 0x20000000
935 PRIO_PGRP = 0x1
936 PRIO_PROCESS = 0x0
937 PRIO_USER = 0x2
938 PROT_EXEC = 0x4
939 PROT_NONE = 0x0
940 PROT_READ = 0x1
941 PROT_WRITE = 0x2
942 RLIMIT_AS = 0xa
943 RLIMIT_CORE = 0x4
944 RLIMIT_CPU = 0x0
945 RLIMIT_DATA = 0x2
946 RLIMIT_FSIZE = 0x1
947 RLIMIT_NOFILE = 0x8
948 RLIMIT_STACK = 0x3
949 RLIM_INFINITY = 0x7fffffffffffffff
950 RTAX_AUTHOR = 0x6
951 RTAX_BRD = 0x7
952 RTAX_DST = 0x0
953 RTAX_GATEWAY = 0x1
954 RTAX_GENMASK = 0x3
955 RTAX_IFA = 0x5
956 RTAX_IFP = 0x4
957 RTAX_MAX = 0xb
958 RTAX_MPLS1 = 0x8
959 RTAX_MPLS2 = 0x9
960 RTAX_MPLS3 = 0xa
961 RTAX_NETMASK = 0x2
962 RTA_AUTHOR = 0x40
963 RTA_BRD = 0x80
964 RTA_DST = 0x1
965 RTA_GATEWAY = 0x2
966 RTA_GENMASK = 0x8
967 RTA_IFA = 0x20
968 RTA_IFP = 0x10
969 RTA_MPLS1 = 0x100
970 RTA_MPLS2 = 0x200
971 RTA_MPLS3 = 0x400
972 RTA_NETMASK = 0x4
973 RTF_BLACKHOLE = 0x1000
974 RTF_BROADCAST = 0x400000
975 RTF_CLONING = 0x100
976 RTF_DONE = 0x40
977 RTF_DYNAMIC = 0x10
978 RTF_GATEWAY = 0x2
979 RTF_HOST = 0x4
980 RTF_LLINFO = 0x400
981 RTF_LOCAL = 0x200000
982 RTF_MODIFIED = 0x20
983 RTF_MPLSOPS = 0x1000000
984 RTF_MULTICAST = 0x800000
985 RTF_PINNED = 0x100000
986 RTF_PRCLONING = 0x10000
987 RTF_PROTO1 = 0x8000
988 RTF_PROTO2 = 0x4000
989 RTF_PROTO3 = 0x40000
990 RTF_REJECT = 0x8
991 RTF_STATIC = 0x800
992 RTF_UP = 0x1
993 RTF_WASCLONED = 0x20000
994 RTF_XRESOLVE = 0x200
995 RTM_ADD = 0x1
996 RTM_CHANGE = 0x3
997 RTM_DELADDR = 0xd
998 RTM_DELETE = 0x2
999 RTM_DELMADDR = 0x10
1000 RTM_GET = 0x4
1001 RTM_IEEE80211 = 0x12
1002 RTM_IFANNOUNCE = 0x11
1003 RTM_IFINFO = 0xe
1004 RTM_LOCK = 0x8
1005 RTM_LOSING = 0x5
1006 RTM_MISS = 0x7
1007 RTM_NEWADDR = 0xc
1008 RTM_NEWMADDR = 0xf
1009 RTM_OLDADD = 0x9
1010 RTM_OLDDEL = 0xa
1011 RTM_REDIRECT = 0x6
1012 RTM_RESOLVE = 0xb
1013 RTM_RTTUNIT = 0xf4240
1014 RTM_VERSION = 0x6
1015 RTV_EXPIRE = 0x4
1016 RTV_HOPCOUNT = 0x2
1017 RTV_IWCAPSEGS = 0x400
1018 RTV_IWMAXSEGS = 0x200
1019 RTV_MSL = 0x100
1020 RTV_MTU = 0x1
1021 RTV_RPIPE = 0x8
1022 RTV_RTT = 0x40
1023 RTV_RTTVAR = 0x80
1024 RTV_SPIPE = 0x10
1025 RTV_SSTHRESH = 0x20
1026 RUSAGE_CHILDREN = -0x1
1027 RUSAGE_SELF = 0x0
1028 SCM_CREDS = 0x3
1029 SCM_RIGHTS = 0x1
1030 SCM_TIMESTAMP = 0x2
1031 SHUT_RD = 0x0
1032 SHUT_RDWR = 0x2
1033 SHUT_WR = 0x1
1034 SIOCADDMULTI = 0x80206931
1035 SIOCADDRT = 0x8040720a
1036 SIOCAIFADDR = 0x8040691a
1037 SIOCALIFADDR = 0x8118691b
1038 SIOCATMARK = 0x40047307
1039 SIOCDELMULTI = 0x80206932
1040 SIOCDELRT = 0x8040720b
1041 SIOCDIFADDR = 0x80206919
1042 SIOCDIFPHYADDR = 0x80206949
1043 SIOCDLIFADDR = 0x8118691d
1044 SIOCGDRVSPEC = 0xc028697b
1045 SIOCGETSGCNT = 0xc0207210
1046 SIOCGETVIFCNT = 0xc028720f
1047 SIOCGHIWAT = 0x40047301
1048 SIOCGIFADDR = 0xc0206921
1049 SIOCGIFBRDADDR = 0xc0206923
1050 SIOCGIFCAP = 0xc020691f
1051 SIOCGIFCONF = 0xc0106924
1052 SIOCGIFDATA = 0xc0206926
1053 SIOCGIFDSTADDR = 0xc0206922
1054 SIOCGIFFLAGS = 0xc0206911
1055 SIOCGIFGENERIC = 0xc020693a
1056 SIOCGIFGMEMB = 0xc028698a
1057 SIOCGIFINDEX = 0xc0206920
1058 SIOCGIFMEDIA = 0xc0306938
1059 SIOCGIFMETRIC = 0xc0206917
1060 SIOCGIFMTU = 0xc0206933
1061 SIOCGIFNETMASK = 0xc0206925
1062 SIOCGIFPDSTADDR = 0xc0206948
1063 SIOCGIFPHYS = 0xc0206935
1064 SIOCGIFPOLLCPU = 0xc020697e
1065 SIOCGIFPSRCADDR = 0xc0206947
1066 SIOCGIFSTATUS = 0xc331693b
1067 SIOCGIFTSOLEN = 0xc0206980
1068 SIOCGLIFADDR = 0xc118691c
1069 SIOCGLIFPHYADDR = 0xc118694b
1070 SIOCGLOWAT = 0x40047303
1071 SIOCGPGRP = 0x40047309
1072 SIOCGPRIVATE_0 = 0xc0206950
1073 SIOCGPRIVATE_1 = 0xc0206951
1074 SIOCIFCREATE = 0xc020697a
1075 SIOCIFCREATE2 = 0xc020697c
1076 SIOCIFDESTROY = 0x80206979
1077 SIOCIFGCLONERS = 0xc0106978
1078 SIOCSDRVSPEC = 0x8028697b
1079 SIOCSHIWAT = 0x80047300
1080 SIOCSIFADDR = 0x8020690c
1081 SIOCSIFBRDADDR = 0x80206913
1082 SIOCSIFCAP = 0x8020691e
1083 SIOCSIFDSTADDR = 0x8020690e
1084 SIOCSIFFLAGS = 0x80206910
1085 SIOCSIFGENERIC = 0x80206939
1086 SIOCSIFLLADDR = 0x8020693c
1087 SIOCSIFMEDIA = 0xc0206937
1088 SIOCSIFMETRIC = 0x80206918
1089 SIOCSIFMTU = 0x80206934
1090 SIOCSIFNAME = 0x80206928
1091 SIOCSIFNETMASK = 0x80206916
1092 SIOCSIFPHYADDR = 0x80406946
1093 SIOCSIFPHYS = 0x80206936
1094 SIOCSIFPOLLCPU = 0x8020697d
1095 SIOCSIFTSOLEN = 0x8020697f
1096 SIOCSLIFPHYADDR = 0x8118694a
1097 SIOCSLOWAT = 0x80047302
1098 SIOCSPGRP = 0x80047308
1099 SOCK_DGRAM = 0x2
1100 SOCK_MAXADDRLEN = 0xff
1101 SOCK_RAW = 0x3
1102 SOCK_RDM = 0x4
1103 SOCK_SEQPACKET = 0x5
1104 SOCK_STREAM = 0x1
1105 SOL_SOCKET = 0xffff
1106 SOMAXCONN = 0x80
1107 SO_ACCEPTCONN = 0x2
1108 SO_ACCEPTFILTER = 0x1000
1109 SO_BROADCAST = 0x20
1110 SO_DEBUG = 0x1
1111 SO_DONTROUTE = 0x10
1112 SO_ERROR = 0x1007
1113 SO_KEEPALIVE = 0x8
1114 SO_LINGER = 0x80
1115 SO_NOSIGPIPE = 0x800
1116 SO_OOBINLINE = 0x100
1117 SO_RCVBUF = 0x1002
1118 SO_RCVLOWAT = 0x1004
1119 SO_RCVTIMEO = 0x1006
1120 SO_REUSEADDR = 0x4
1121 SO_REUSEPORT = 0x200
1122 SO_SNDBUF = 0x1001
1123 SO_SNDLOWAT = 0x1003
1124 SO_SNDSPACE = 0x100a
1125 SO_SNDTIMEO = 0x1005
1126 SO_TIMESTAMP = 0x400
1127 SO_TYPE = 0x1008
1128 SO_USELOOPBACK = 0x40
1129 TCIFLUSH = 0x1
1130 TCIOFLUSH = 0x3
1131 TCOFLUSH = 0x2
1132 TCP_FASTKEEP = 0x80
1133 TCP_KEEPCNT = 0x400
1134 TCP_KEEPIDLE = 0x100
1135 TCP_KEEPINIT = 0x20
1136 TCP_KEEPINTVL = 0x200
1137 TCP_MAXBURST = 0x4
1138 TCP_MAXHLEN = 0x3c
1139 TCP_MAXOLEN = 0x28
1140 TCP_MAXSEG = 0x2
1141 TCP_MAXWIN = 0xffff
1142 TCP_MAX_WINSHIFT = 0xe
1143 TCP_MINMSS = 0x100
1144 TCP_MIN_WINSHIFT = 0x5
1145 TCP_MSS = 0x200
1146 TCP_NODELAY = 0x1
1147 TCP_NOOPT = 0x8
1148 TCP_NOPUSH = 0x4
1149 TCP_SIGNATURE_ENABLE = 0x10
1150 TCSAFLUSH = 0x2
1151 TIOCCBRK = 0x2000747a
1152 TIOCCDTR = 0x20007478
1153 TIOCCONS = 0x80047462
1154 TIOCDCDTIMESTAMP = 0x40107458
1155 TIOCDRAIN = 0x2000745e
1156 TIOCEXCL = 0x2000740d
1157 TIOCEXT = 0x80047460
1158 TIOCFLUSH = 0x80047410
1159 TIOCGDRAINWAIT = 0x40047456
1160 TIOCGETA = 0x402c7413
1161 TIOCGETD = 0x4004741a
1162 TIOCGPGRP = 0x40047477
1163 TIOCGSID = 0x40047463
1164 TIOCGSIZE = 0x40087468
1165 TIOCGWINSZ = 0x40087468
1166 TIOCISPTMASTER = 0x20007455
1167 TIOCMBIC = 0x8004746b
1168 TIOCMBIS = 0x8004746c
1169 TIOCMGDTRWAIT = 0x4004745a
1170 TIOCMGET = 0x4004746a
1171 TIOCMODG = 0x40047403
1172 TIOCMODS = 0x80047404
1173 TIOCMSDTRWAIT = 0x8004745b
1174 TIOCMSET = 0x8004746d
1175 TIOCM_CAR = 0x40
1176 TIOCM_CD = 0x40
1177 TIOCM_CTS = 0x20
1178 TIOCM_DSR = 0x100
1179 TIOCM_DTR = 0x2
1180 TIOCM_LE = 0x1
1181 TIOCM_RI = 0x80
1182 TIOCM_RNG = 0x80
1183 TIOCM_RTS = 0x4
1184 TIOCM_SR = 0x10
1185 TIOCM_ST = 0x8
1186 TIOCNOTTY = 0x20007471
1187 TIOCNXCL = 0x2000740e
1188 TIOCOUTQ = 0x40047473
1189 TIOCPKT = 0x80047470
1190 TIOCPKT_DATA = 0x0
1191 TIOCPKT_DOSTOP = 0x20
1192 TIOCPKT_FLUSHREAD = 0x1
1193 TIOCPKT_FLUSHWRITE = 0x2
1194 TIOCPKT_IOCTL = 0x40
1195 TIOCPKT_NOSTOP = 0x10
1196 TIOCPKT_START = 0x8
1197 TIOCPKT_STOP = 0x4
1198 TIOCREMOTE = 0x80047469
1199 TIOCSBRK = 0x2000747b
1200 TIOCSCTTY = 0x20007461
1201 TIOCSDRAINWAIT = 0x80047457
1202 TIOCSDTR = 0x20007479
1203 TIOCSETA = 0x802c7414
1204 TIOCSETAF = 0x802c7416
1205 TIOCSETAW = 0x802c7415
1206 TIOCSETD = 0x8004741b
1207 TIOCSIG = 0x2000745f
1208 TIOCSPGRP = 0x80047476
1209 TIOCSSIZE = 0x80087467
1210 TIOCSTART = 0x2000746e
1211 TIOCSTAT = 0x20007465
1212 TIOCSTI = 0x80017472
1213 TIOCSTOP = 0x2000746f
1214 TIOCSWINSZ = 0x80087467
1215 TIOCTIMESTAMP = 0x40107459
1216 TIOCUCNTL = 0x80047466
1217 TOSTOP = 0x400000
1218 VCHECKPT = 0x13
1219 VDISCARD = 0xf
1220 VDSUSP = 0xb
1221 VEOF = 0x0
1222 VEOL = 0x1
1223 VEOL2 = 0x2
1224 VERASE = 0x3
1225 VERASE2 = 0x7
1226 VINTR = 0x8
1227 VKILL = 0x5
1228 VLNEXT = 0xe
1229 VMIN = 0x10
1230 VQUIT = 0x9
1231 VREPRINT = 0x6
1232 VSTART = 0xc
1233 VSTATUS = 0x12
1234 VSTOP = 0xd
1235 VSUSP = 0xa
1236 VTIME = 0x11
1237 VWERASE = 0x4
1238 WCONTINUED = 0x4
1239 WCOREFLAG = 0x80
1240 WLINUXCLONE = 0x80000000
1241 WNOHANG = 0x1
1242 WSTOPPED = 0x7f
1243 WUNTRACED = 0x2
1244)
1245
1246// Errors
1247const (
1248 E2BIG = syscall.Errno(0x7)
1249 EACCES = syscall.Errno(0xd)
1250 EADDRINUSE = syscall.Errno(0x30)
1251 EADDRNOTAVAIL = syscall.Errno(0x31)
1252 EAFNOSUPPORT = syscall.Errno(0x2f)
1253 EAGAIN = syscall.Errno(0x23)
1254 EALREADY = syscall.Errno(0x25)
1255 EASYNC = syscall.Errno(0x63)
1256 EAUTH = syscall.Errno(0x50)
1257 EBADF = syscall.Errno(0x9)
1258 EBADMSG = syscall.Errno(0x59)
1259 EBADRPC = syscall.Errno(0x48)
1260 EBUSY = syscall.Errno(0x10)
1261 ECANCELED = syscall.Errno(0x55)
1262 ECHILD = syscall.Errno(0xa)
1263 ECONNABORTED = syscall.Errno(0x35)
1264 ECONNREFUSED = syscall.Errno(0x3d)
1265 ECONNRESET = syscall.Errno(0x36)
1266 EDEADLK = syscall.Errno(0xb)
1267 EDESTADDRREQ = syscall.Errno(0x27)
1268 EDOM = syscall.Errno(0x21)
1269 EDOOFUS = syscall.Errno(0x58)
1270 EDQUOT = syscall.Errno(0x45)
1271 EEXIST = syscall.Errno(0x11)
1272 EFAULT = syscall.Errno(0xe)
1273 EFBIG = syscall.Errno(0x1b)
1274 EFTYPE = syscall.Errno(0x4f)
1275 EHOSTDOWN = syscall.Errno(0x40)
1276 EHOSTUNREACH = syscall.Errno(0x41)
1277 EIDRM = syscall.Errno(0x52)
1278 EILSEQ = syscall.Errno(0x56)
1279 EINPROGRESS = syscall.Errno(0x24)
1280 EINTR = syscall.Errno(0x4)
1281 EINVAL = syscall.Errno(0x16)
1282 EIO = syscall.Errno(0x5)
1283 EISCONN = syscall.Errno(0x38)
1284 EISDIR = syscall.Errno(0x15)
1285 ELAST = syscall.Errno(0x63)
1286 ELOOP = syscall.Errno(0x3e)
1287 EMFILE = syscall.Errno(0x18)
1288 EMLINK = syscall.Errno(0x1f)
1289 EMSGSIZE = syscall.Errno(0x28)
1290 EMULTIHOP = syscall.Errno(0x5a)
1291 ENAMETOOLONG = syscall.Errno(0x3f)
1292 ENEEDAUTH = syscall.Errno(0x51)
1293 ENETDOWN = syscall.Errno(0x32)
1294 ENETRESET = syscall.Errno(0x34)
1295 ENETUNREACH = syscall.Errno(0x33)
1296 ENFILE = syscall.Errno(0x17)
1297 ENOATTR = syscall.Errno(0x57)
1298 ENOBUFS = syscall.Errno(0x37)
1299 ENODEV = syscall.Errno(0x13)
1300 ENOENT = syscall.Errno(0x2)
1301 ENOEXEC = syscall.Errno(0x8)
1302 ENOLCK = syscall.Errno(0x4d)
1303 ENOLINK = syscall.Errno(0x5b)
1304 ENOMEDIUM = syscall.Errno(0x5d)
1305 ENOMEM = syscall.Errno(0xc)
1306 ENOMSG = syscall.Errno(0x53)
1307 ENOPROTOOPT = syscall.Errno(0x2a)
1308 ENOSPC = syscall.Errno(0x1c)
1309 ENOSYS = syscall.Errno(0x4e)
1310 ENOTBLK = syscall.Errno(0xf)
1311 ENOTCONN = syscall.Errno(0x39)
1312 ENOTDIR = syscall.Errno(0x14)
1313 ENOTEMPTY = syscall.Errno(0x42)
1314 ENOTSOCK = syscall.Errno(0x26)
1315 ENOTSUP = syscall.Errno(0x2d)
1316 ENOTTY = syscall.Errno(0x19)
1317 ENXIO = syscall.Errno(0x6)
1318 EOPNOTSUPP = syscall.Errno(0x2d)
1319 EOVERFLOW = syscall.Errno(0x54)
1320 EPERM = syscall.Errno(0x1)
1321 EPFNOSUPPORT = syscall.Errno(0x2e)
1322 EPIPE = syscall.Errno(0x20)
1323 EPROCLIM = syscall.Errno(0x43)
1324 EPROCUNAVAIL = syscall.Errno(0x4c)
1325 EPROGMISMATCH = syscall.Errno(0x4b)
1326 EPROGUNAVAIL = syscall.Errno(0x4a)
1327 EPROTO = syscall.Errno(0x5c)
1328 EPROTONOSUPPORT = syscall.Errno(0x2b)
1329 EPROTOTYPE = syscall.Errno(0x29)
1330 ERANGE = syscall.Errno(0x22)
1331 EREMOTE = syscall.Errno(0x47)
1332 EROFS = syscall.Errno(0x1e)
1333 ERPCMISMATCH = syscall.Errno(0x49)
1334 ESHUTDOWN = syscall.Errno(0x3a)
1335 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1336 ESPIPE = syscall.Errno(0x1d)
1337 ESRCH = syscall.Errno(0x3)
1338 ESTALE = syscall.Errno(0x46)
1339 ETIMEDOUT = syscall.Errno(0x3c)
1340 ETOOMANYREFS = syscall.Errno(0x3b)
1341 ETXTBSY = syscall.Errno(0x1a)
1342 EUNUSED94 = syscall.Errno(0x5e)
1343 EUNUSED95 = syscall.Errno(0x5f)
1344 EUNUSED96 = syscall.Errno(0x60)
1345 EUNUSED97 = syscall.Errno(0x61)
1346 EUNUSED98 = syscall.Errno(0x62)
1347 EUSERS = syscall.Errno(0x44)
1348 EWOULDBLOCK = syscall.Errno(0x23)
1349 EXDEV = syscall.Errno(0x12)
1350)
1351
1352// Signals
1353const (
1354 SIGABRT = syscall.Signal(0x6)
1355 SIGALRM = syscall.Signal(0xe)
1356 SIGBUS = syscall.Signal(0xa)
1357 SIGCHLD = syscall.Signal(0x14)
1358 SIGCKPT = syscall.Signal(0x21)
1359 SIGCKPTEXIT = syscall.Signal(0x22)
1360 SIGCONT = syscall.Signal(0x13)
1361 SIGEMT = syscall.Signal(0x7)
1362 SIGFPE = syscall.Signal(0x8)
1363 SIGHUP = syscall.Signal(0x1)
1364 SIGILL = syscall.Signal(0x4)
1365 SIGINFO = syscall.Signal(0x1d)
1366 SIGINT = syscall.Signal(0x2)
1367 SIGIO = syscall.Signal(0x17)
1368 SIGIOT = syscall.Signal(0x6)
1369 SIGKILL = syscall.Signal(0x9)
1370 SIGPIPE = syscall.Signal(0xd)
1371 SIGPROF = syscall.Signal(0x1b)
1372 SIGQUIT = syscall.Signal(0x3)
1373 SIGSEGV = syscall.Signal(0xb)
1374 SIGSTOP = syscall.Signal(0x11)
1375 SIGSYS = syscall.Signal(0xc)
1376 SIGTERM = syscall.Signal(0xf)
1377 SIGTHR = syscall.Signal(0x20)
1378 SIGTRAP = syscall.Signal(0x5)
1379 SIGTSTP = syscall.Signal(0x12)
1380 SIGTTIN = syscall.Signal(0x15)
1381 SIGTTOU = syscall.Signal(0x16)
1382 SIGURG = syscall.Signal(0x10)
1383 SIGUSR1 = syscall.Signal(0x1e)
1384 SIGUSR2 = syscall.Signal(0x1f)
1385 SIGVTALRM = syscall.Signal(0x1a)
1386 SIGWINCH = syscall.Signal(0x1c)
1387 SIGXCPU = syscall.Signal(0x18)
1388 SIGXFSZ = syscall.Signal(0x19)
1389)
1390
1391// Error table
1392var errors = [...]string{
1393 1: "operation not permitted",
1394 2: "no such file or directory",
1395 3: "no such process",
1396 4: "interrupted system call",
1397 5: "input/output error",
1398 6: "device not configured",
1399 7: "argument list too long",
1400 8: "exec format error",
1401 9: "bad file descriptor",
1402 10: "no child processes",
1403 11: "resource deadlock avoided",
1404 12: "cannot allocate memory",
1405 13: "permission denied",
1406 14: "bad address",
1407 15: "block device required",
1408 16: "device busy",
1409 17: "file exists",
1410 18: "cross-device link",
1411 19: "operation not supported by device",
1412 20: "not a directory",
1413 21: "is a directory",
1414 22: "invalid argument",
1415 23: "too many open files in system",
1416 24: "too many open files",
1417 25: "inappropriate ioctl for device",
1418 26: "text file busy",
1419 27: "file too large",
1420 28: "no space left on device",
1421 29: "illegal seek",
1422 30: "read-only file system",
1423 31: "too many links",
1424 32: "broken pipe",
1425 33: "numerical argument out of domain",
1426 34: "result too large",
1427 35: "resource temporarily unavailable",
1428 36: "operation now in progress",
1429 37: "operation already in progress",
1430 38: "socket operation on non-socket",
1431 39: "destination address required",
1432 40: "message too long",
1433 41: "protocol wrong type for socket",
1434 42: "protocol not available",
1435 43: "protocol not supported",
1436 44: "socket type not supported",
1437 45: "operation not supported",
1438 46: "protocol family not supported",
1439 47: "address family not supported by protocol family",
1440 48: "address already in use",
1441 49: "can't assign requested address",
1442 50: "network is down",
1443 51: "network is unreachable",
1444 52: "network dropped connection on reset",
1445 53: "software caused connection abort",
1446 54: "connection reset by peer",
1447 55: "no buffer space available",
1448 56: "socket is already connected",
1449 57: "socket is not connected",
1450 58: "can't send after socket shutdown",
1451 59: "too many references: can't splice",
1452 60: "operation timed out",
1453 61: "connection refused",
1454 62: "too many levels of symbolic links",
1455 63: "file name too long",
1456 64: "host is down",
1457 65: "no route to host",
1458 66: "directory not empty",
1459 67: "too many processes",
1460 68: "too many users",
1461 69: "disc quota exceeded",
1462 70: "stale NFS file handle",
1463 71: "too many levels of remote in path",
1464 72: "RPC struct is bad",
1465 73: "RPC version wrong",
1466 74: "RPC prog. not avail",
1467 75: "program version wrong",
1468 76: "bad procedure for program",
1469 77: "no locks available",
1470 78: "function not implemented",
1471 79: "inappropriate file type or format",
1472 80: "authentication error",
1473 81: "need authenticator",
1474 82: "identifier removed",
1475 83: "no message of desired type",
1476 84: "value too large to be stored in data type",
1477 85: "operation canceled",
1478 86: "illegal byte sequence",
1479 87: "attribute not found",
1480 88: "programming error",
1481 89: "bad message",
1482 90: "multihop attempted",
1483 91: "link has been severed",
1484 92: "protocol error",
1485 93: "no medium found",
1486 94: "unknown error: 94",
1487 95: "unknown error: 95",
1488 96: "unknown error: 96",
1489 97: "unknown error: 97",
1490 98: "unknown error: 98",
1491 99: "unknown error: 99",
1492}
1493
1494// Signal table
1495var signals = [...]string{
1496 1: "hangup",
1497 2: "interrupt",
1498 3: "quit",
1499 4: "illegal instruction",
1500 5: "trace/BPT trap",
1501 6: "abort trap",
1502 7: "EMT trap",
1503 8: "floating point exception",
1504 9: "killed",
1505 10: "bus error",
1506 11: "segmentation fault",
1507 12: "bad system call",
1508 13: "broken pipe",
1509 14: "alarm clock",
1510 15: "terminated",
1511 16: "urgent I/O condition",
1512 17: "suspended (signal)",
1513 18: "suspended",
1514 19: "continued",
1515 20: "child exited",
1516 21: "stopped (tty input)",
1517 22: "stopped (tty output)",
1518 23: "I/O possible",
1519 24: "cputime limit exceeded",
1520 25: "filesize limit exceeded",
1521 26: "virtual timer expired",
1522 27: "profiling timer expired",
1523 28: "window size changes",
1524 29: "information request",
1525 30: "user defined signal 1",
1526 31: "user defined signal 2",
1527 32: "thread Scheduler",
1528 33: "checkPoint",
1529 34: "checkPointExit",
1530}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_386.go
deleted file mode 100644
index 7b95751..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_386.go
+++ /dev/null
@@ -1,1743 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,freebsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x23
16 AF_ATM = 0x1e
17 AF_BLUETOOTH = 0x24
18 AF_CCITT = 0xa
19 AF_CHAOS = 0x5
20 AF_CNT = 0x15
21 AF_COIP = 0x14
22 AF_DATAKIT = 0x9
23 AF_DECnet = 0xc
24 AF_DLI = 0xd
25 AF_E164 = 0x1a
26 AF_ECMA = 0x8
27 AF_HYLINK = 0xf
28 AF_IEEE80211 = 0x25
29 AF_IMPLINK = 0x3
30 AF_INET = 0x2
31 AF_INET6 = 0x1c
32 AF_INET6_SDP = 0x2a
33 AF_INET_SDP = 0x28
34 AF_IPX = 0x17
35 AF_ISDN = 0x1a
36 AF_ISO = 0x7
37 AF_LAT = 0xe
38 AF_LINK = 0x12
39 AF_LOCAL = 0x1
40 AF_MAX = 0x2a
41 AF_NATM = 0x1d
42 AF_NETBIOS = 0x6
43 AF_NETGRAPH = 0x20
44 AF_OSI = 0x7
45 AF_PUP = 0x4
46 AF_ROUTE = 0x11
47 AF_SCLUSTER = 0x22
48 AF_SIP = 0x18
49 AF_SLOW = 0x21
50 AF_SNA = 0xb
51 AF_UNIX = 0x1
52 AF_UNSPEC = 0x0
53 AF_VENDOR00 = 0x27
54 AF_VENDOR01 = 0x29
55 AF_VENDOR02 = 0x2b
56 AF_VENDOR03 = 0x2d
57 AF_VENDOR04 = 0x2f
58 AF_VENDOR05 = 0x31
59 AF_VENDOR06 = 0x33
60 AF_VENDOR07 = 0x35
61 AF_VENDOR08 = 0x37
62 AF_VENDOR09 = 0x39
63 AF_VENDOR10 = 0x3b
64 AF_VENDOR11 = 0x3d
65 AF_VENDOR12 = 0x3f
66 AF_VENDOR13 = 0x41
67 AF_VENDOR14 = 0x43
68 AF_VENDOR15 = 0x45
69 AF_VENDOR16 = 0x47
70 AF_VENDOR17 = 0x49
71 AF_VENDOR18 = 0x4b
72 AF_VENDOR19 = 0x4d
73 AF_VENDOR20 = 0x4f
74 AF_VENDOR21 = 0x51
75 AF_VENDOR22 = 0x53
76 AF_VENDOR23 = 0x55
77 AF_VENDOR24 = 0x57
78 AF_VENDOR25 = 0x59
79 AF_VENDOR26 = 0x5b
80 AF_VENDOR27 = 0x5d
81 AF_VENDOR28 = 0x5f
82 AF_VENDOR29 = 0x61
83 AF_VENDOR30 = 0x63
84 AF_VENDOR31 = 0x65
85 AF_VENDOR32 = 0x67
86 AF_VENDOR33 = 0x69
87 AF_VENDOR34 = 0x6b
88 AF_VENDOR35 = 0x6d
89 AF_VENDOR36 = 0x6f
90 AF_VENDOR37 = 0x71
91 AF_VENDOR38 = 0x73
92 AF_VENDOR39 = 0x75
93 AF_VENDOR40 = 0x77
94 AF_VENDOR41 = 0x79
95 AF_VENDOR42 = 0x7b
96 AF_VENDOR43 = 0x7d
97 AF_VENDOR44 = 0x7f
98 AF_VENDOR45 = 0x81
99 AF_VENDOR46 = 0x83
100 AF_VENDOR47 = 0x85
101 B0 = 0x0
102 B110 = 0x6e
103 B115200 = 0x1c200
104 B1200 = 0x4b0
105 B134 = 0x86
106 B14400 = 0x3840
107 B150 = 0x96
108 B1800 = 0x708
109 B19200 = 0x4b00
110 B200 = 0xc8
111 B230400 = 0x38400
112 B2400 = 0x960
113 B28800 = 0x7080
114 B300 = 0x12c
115 B38400 = 0x9600
116 B460800 = 0x70800
117 B4800 = 0x12c0
118 B50 = 0x32
119 B57600 = 0xe100
120 B600 = 0x258
121 B7200 = 0x1c20
122 B75 = 0x4b
123 B76800 = 0x12c00
124 B921600 = 0xe1000
125 B9600 = 0x2580
126 BIOCFEEDBACK = 0x8004427c
127 BIOCFLUSH = 0x20004268
128 BIOCGBLEN = 0x40044266
129 BIOCGDIRECTION = 0x40044276
130 BIOCGDLT = 0x4004426a
131 BIOCGDLTLIST = 0xc0084279
132 BIOCGETBUFMODE = 0x4004427d
133 BIOCGETIF = 0x4020426b
134 BIOCGETZMAX = 0x4004427f
135 BIOCGHDRCMPLT = 0x40044274
136 BIOCGRSIG = 0x40044272
137 BIOCGRTIMEOUT = 0x4008426e
138 BIOCGSEESENT = 0x40044276
139 BIOCGSTATS = 0x4008426f
140 BIOCGTSTAMP = 0x40044283
141 BIOCIMMEDIATE = 0x80044270
142 BIOCLOCK = 0x2000427a
143 BIOCPROMISC = 0x20004269
144 BIOCROTZBUF = 0x400c4280
145 BIOCSBLEN = 0xc0044266
146 BIOCSDIRECTION = 0x80044277
147 BIOCSDLT = 0x80044278
148 BIOCSETBUFMODE = 0x8004427e
149 BIOCSETF = 0x80084267
150 BIOCSETFNR = 0x80084282
151 BIOCSETIF = 0x8020426c
152 BIOCSETWF = 0x8008427b
153 BIOCSETZBUF = 0x800c4281
154 BIOCSHDRCMPLT = 0x80044275
155 BIOCSRSIG = 0x80044273
156 BIOCSRTIMEOUT = 0x8008426d
157 BIOCSSEESENT = 0x80044277
158 BIOCSTSTAMP = 0x80044284
159 BIOCVERSION = 0x40044271
160 BPF_A = 0x10
161 BPF_ABS = 0x20
162 BPF_ADD = 0x0
163 BPF_ALIGNMENT = 0x4
164 BPF_ALU = 0x4
165 BPF_AND = 0x50
166 BPF_B = 0x10
167 BPF_BUFMODE_BUFFER = 0x1
168 BPF_BUFMODE_ZBUF = 0x2
169 BPF_DIV = 0x30
170 BPF_H = 0x8
171 BPF_IMM = 0x0
172 BPF_IND = 0x40
173 BPF_JA = 0x0
174 BPF_JEQ = 0x10
175 BPF_JGE = 0x30
176 BPF_JGT = 0x20
177 BPF_JMP = 0x5
178 BPF_JSET = 0x40
179 BPF_K = 0x0
180 BPF_LD = 0x0
181 BPF_LDX = 0x1
182 BPF_LEN = 0x80
183 BPF_LSH = 0x60
184 BPF_MAJOR_VERSION = 0x1
185 BPF_MAXBUFSIZE = 0x80000
186 BPF_MAXINSNS = 0x200
187 BPF_MEM = 0x60
188 BPF_MEMWORDS = 0x10
189 BPF_MINBUFSIZE = 0x20
190 BPF_MINOR_VERSION = 0x1
191 BPF_MISC = 0x7
192 BPF_MSH = 0xa0
193 BPF_MUL = 0x20
194 BPF_NEG = 0x80
195 BPF_OR = 0x40
196 BPF_RELEASE = 0x30bb6
197 BPF_RET = 0x6
198 BPF_RSH = 0x70
199 BPF_ST = 0x2
200 BPF_STX = 0x3
201 BPF_SUB = 0x10
202 BPF_TAX = 0x0
203 BPF_TXA = 0x80
204 BPF_T_BINTIME = 0x2
205 BPF_T_BINTIME_FAST = 0x102
206 BPF_T_BINTIME_MONOTONIC = 0x202
207 BPF_T_BINTIME_MONOTONIC_FAST = 0x302
208 BPF_T_FAST = 0x100
209 BPF_T_FLAG_MASK = 0x300
210 BPF_T_FORMAT_MASK = 0x3
211 BPF_T_MICROTIME = 0x0
212 BPF_T_MICROTIME_FAST = 0x100
213 BPF_T_MICROTIME_MONOTONIC = 0x200
214 BPF_T_MICROTIME_MONOTONIC_FAST = 0x300
215 BPF_T_MONOTONIC = 0x200
216 BPF_T_MONOTONIC_FAST = 0x300
217 BPF_T_NANOTIME = 0x1
218 BPF_T_NANOTIME_FAST = 0x101
219 BPF_T_NANOTIME_MONOTONIC = 0x201
220 BPF_T_NANOTIME_MONOTONIC_FAST = 0x301
221 BPF_T_NONE = 0x3
222 BPF_T_NORMAL = 0x0
223 BPF_W = 0x0
224 BPF_X = 0x8
225 BRKINT = 0x2
226 CFLUSH = 0xf
227 CLOCAL = 0x8000
228 CLOCK_MONOTONIC = 0x4
229 CLOCK_MONOTONIC_FAST = 0xc
230 CLOCK_MONOTONIC_PRECISE = 0xb
231 CLOCK_PROCESS_CPUTIME_ID = 0xf
232 CLOCK_PROF = 0x2
233 CLOCK_REALTIME = 0x0
234 CLOCK_REALTIME_FAST = 0xa
235 CLOCK_REALTIME_PRECISE = 0x9
236 CLOCK_SECOND = 0xd
237 CLOCK_THREAD_CPUTIME_ID = 0xe
238 CLOCK_UPTIME = 0x5
239 CLOCK_UPTIME_FAST = 0x8
240 CLOCK_UPTIME_PRECISE = 0x7
241 CLOCK_VIRTUAL = 0x1
242 CREAD = 0x800
243 CS5 = 0x0
244 CS6 = 0x100
245 CS7 = 0x200
246 CS8 = 0x300
247 CSIZE = 0x300
248 CSTART = 0x11
249 CSTATUS = 0x14
250 CSTOP = 0x13
251 CSTOPB = 0x400
252 CSUSP = 0x1a
253 CTL_MAXNAME = 0x18
254 CTL_NET = 0x4
255 DLT_A429 = 0xb8
256 DLT_A653_ICM = 0xb9
257 DLT_AIRONET_HEADER = 0x78
258 DLT_AOS = 0xde
259 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
260 DLT_ARCNET = 0x7
261 DLT_ARCNET_LINUX = 0x81
262 DLT_ATM_CLIP = 0x13
263 DLT_ATM_RFC1483 = 0xb
264 DLT_AURORA = 0x7e
265 DLT_AX25 = 0x3
266 DLT_AX25_KISS = 0xca
267 DLT_BACNET_MS_TP = 0xa5
268 DLT_BLUETOOTH_HCI_H4 = 0xbb
269 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
270 DLT_CAN20B = 0xbe
271 DLT_CAN_SOCKETCAN = 0xe3
272 DLT_CHAOS = 0x5
273 DLT_CHDLC = 0x68
274 DLT_CISCO_IOS = 0x76
275 DLT_C_HDLC = 0x68
276 DLT_C_HDLC_WITH_DIR = 0xcd
277 DLT_DBUS = 0xe7
278 DLT_DECT = 0xdd
279 DLT_DOCSIS = 0x8f
280 DLT_DVB_CI = 0xeb
281 DLT_ECONET = 0x73
282 DLT_EN10MB = 0x1
283 DLT_EN3MB = 0x2
284 DLT_ENC = 0x6d
285 DLT_ERF = 0xc5
286 DLT_ERF_ETH = 0xaf
287 DLT_ERF_POS = 0xb0
288 DLT_FC_2 = 0xe0
289 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
290 DLT_FDDI = 0xa
291 DLT_FLEXRAY = 0xd2
292 DLT_FRELAY = 0x6b
293 DLT_FRELAY_WITH_DIR = 0xce
294 DLT_GCOM_SERIAL = 0xad
295 DLT_GCOM_T1E1 = 0xac
296 DLT_GPF_F = 0xab
297 DLT_GPF_T = 0xaa
298 DLT_GPRS_LLC = 0xa9
299 DLT_GSMTAP_ABIS = 0xda
300 DLT_GSMTAP_UM = 0xd9
301 DLT_HHDLC = 0x79
302 DLT_IBM_SN = 0x92
303 DLT_IBM_SP = 0x91
304 DLT_IEEE802 = 0x6
305 DLT_IEEE802_11 = 0x69
306 DLT_IEEE802_11_RADIO = 0x7f
307 DLT_IEEE802_11_RADIO_AVS = 0xa3
308 DLT_IEEE802_15_4 = 0xc3
309 DLT_IEEE802_15_4_LINUX = 0xbf
310 DLT_IEEE802_15_4_NOFCS = 0xe6
311 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
312 DLT_IEEE802_16_MAC_CPS = 0xbc
313 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
314 DLT_IPFILTER = 0x74
315 DLT_IPMB = 0xc7
316 DLT_IPMB_LINUX = 0xd1
317 DLT_IPNET = 0xe2
318 DLT_IPOIB = 0xf2
319 DLT_IPV4 = 0xe4
320 DLT_IPV6 = 0xe5
321 DLT_IP_OVER_FC = 0x7a
322 DLT_JUNIPER_ATM1 = 0x89
323 DLT_JUNIPER_ATM2 = 0x87
324 DLT_JUNIPER_ATM_CEMIC = 0xee
325 DLT_JUNIPER_CHDLC = 0xb5
326 DLT_JUNIPER_ES = 0x84
327 DLT_JUNIPER_ETHER = 0xb2
328 DLT_JUNIPER_FIBRECHANNEL = 0xea
329 DLT_JUNIPER_FRELAY = 0xb4
330 DLT_JUNIPER_GGSN = 0x85
331 DLT_JUNIPER_ISM = 0xc2
332 DLT_JUNIPER_MFR = 0x86
333 DLT_JUNIPER_MLFR = 0x83
334 DLT_JUNIPER_MLPPP = 0x82
335 DLT_JUNIPER_MONITOR = 0xa4
336 DLT_JUNIPER_PIC_PEER = 0xae
337 DLT_JUNIPER_PPP = 0xb3
338 DLT_JUNIPER_PPPOE = 0xa7
339 DLT_JUNIPER_PPPOE_ATM = 0xa8
340 DLT_JUNIPER_SERVICES = 0x88
341 DLT_JUNIPER_SRX_E2E = 0xe9
342 DLT_JUNIPER_ST = 0xc8
343 DLT_JUNIPER_VP = 0xb7
344 DLT_JUNIPER_VS = 0xe8
345 DLT_LAPB_WITH_DIR = 0xcf
346 DLT_LAPD = 0xcb
347 DLT_LIN = 0xd4
348 DLT_LINUX_EVDEV = 0xd8
349 DLT_LINUX_IRDA = 0x90
350 DLT_LINUX_LAPD = 0xb1
351 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
352 DLT_LINUX_SLL = 0x71
353 DLT_LOOP = 0x6c
354 DLT_LTALK = 0x72
355 DLT_MATCHING_MAX = 0xf6
356 DLT_MATCHING_MIN = 0x68
357 DLT_MFR = 0xb6
358 DLT_MOST = 0xd3
359 DLT_MPEG_2_TS = 0xf3
360 DLT_MPLS = 0xdb
361 DLT_MTP2 = 0x8c
362 DLT_MTP2_WITH_PHDR = 0x8b
363 DLT_MTP3 = 0x8d
364 DLT_MUX27010 = 0xec
365 DLT_NETANALYZER = 0xf0
366 DLT_NETANALYZER_TRANSPARENT = 0xf1
367 DLT_NFC_LLCP = 0xf5
368 DLT_NFLOG = 0xef
369 DLT_NG40 = 0xf4
370 DLT_NULL = 0x0
371 DLT_PCI_EXP = 0x7d
372 DLT_PFLOG = 0x75
373 DLT_PFSYNC = 0x79
374 DLT_PPI = 0xc0
375 DLT_PPP = 0x9
376 DLT_PPP_BSDOS = 0x10
377 DLT_PPP_ETHER = 0x33
378 DLT_PPP_PPPD = 0xa6
379 DLT_PPP_SERIAL = 0x32
380 DLT_PPP_WITH_DIR = 0xcc
381 DLT_PPP_WITH_DIRECTION = 0xa6
382 DLT_PRISM_HEADER = 0x77
383 DLT_PRONET = 0x4
384 DLT_RAIF1 = 0xc6
385 DLT_RAW = 0xc
386 DLT_RIO = 0x7c
387 DLT_SCCP = 0x8e
388 DLT_SITA = 0xc4
389 DLT_SLIP = 0x8
390 DLT_SLIP_BSDOS = 0xf
391 DLT_STANAG_5066_D_PDU = 0xed
392 DLT_SUNATM = 0x7b
393 DLT_SYMANTEC_FIREWALL = 0x63
394 DLT_TZSP = 0x80
395 DLT_USB = 0xba
396 DLT_USB_LINUX = 0xbd
397 DLT_USB_LINUX_MMAPPED = 0xdc
398 DLT_USER0 = 0x93
399 DLT_USER1 = 0x94
400 DLT_USER10 = 0x9d
401 DLT_USER11 = 0x9e
402 DLT_USER12 = 0x9f
403 DLT_USER13 = 0xa0
404 DLT_USER14 = 0xa1
405 DLT_USER15 = 0xa2
406 DLT_USER2 = 0x95
407 DLT_USER3 = 0x96
408 DLT_USER4 = 0x97
409 DLT_USER5 = 0x98
410 DLT_USER6 = 0x99
411 DLT_USER7 = 0x9a
412 DLT_USER8 = 0x9b
413 DLT_USER9 = 0x9c
414 DLT_WIHART = 0xdf
415 DLT_X2E_SERIAL = 0xd5
416 DLT_X2E_XORAYA = 0xd6
417 DT_BLK = 0x6
418 DT_CHR = 0x2
419 DT_DIR = 0x4
420 DT_FIFO = 0x1
421 DT_LNK = 0xa
422 DT_REG = 0x8
423 DT_SOCK = 0xc
424 DT_UNKNOWN = 0x0
425 DT_WHT = 0xe
426 ECHO = 0x8
427 ECHOCTL = 0x40
428 ECHOE = 0x2
429 ECHOK = 0x4
430 ECHOKE = 0x1
431 ECHONL = 0x10
432 ECHOPRT = 0x20
433 EVFILT_AIO = -0x3
434 EVFILT_FS = -0x9
435 EVFILT_LIO = -0xa
436 EVFILT_PROC = -0x5
437 EVFILT_READ = -0x1
438 EVFILT_SIGNAL = -0x6
439 EVFILT_SYSCOUNT = 0xb
440 EVFILT_TIMER = -0x7
441 EVFILT_USER = -0xb
442 EVFILT_VNODE = -0x4
443 EVFILT_WRITE = -0x2
444 EV_ADD = 0x1
445 EV_CLEAR = 0x20
446 EV_DELETE = 0x2
447 EV_DISABLE = 0x8
448 EV_DISPATCH = 0x80
449 EV_DROP = 0x1000
450 EV_ENABLE = 0x4
451 EV_EOF = 0x8000
452 EV_ERROR = 0x4000
453 EV_FLAG1 = 0x2000
454 EV_ONESHOT = 0x10
455 EV_RECEIPT = 0x40
456 EV_SYSFLAGS = 0xf000
457 EXTA = 0x4b00
458 EXTATTR_NAMESPACE_EMPTY = 0x0
459 EXTATTR_NAMESPACE_SYSTEM = 0x2
460 EXTATTR_NAMESPACE_USER = 0x1
461 EXTB = 0x9600
462 EXTPROC = 0x800
463 FD_CLOEXEC = 0x1
464 FD_SETSIZE = 0x400
465 FLUSHO = 0x800000
466 F_CANCEL = 0x5
467 F_DUP2FD = 0xa
468 F_DUP2FD_CLOEXEC = 0x12
469 F_DUPFD = 0x0
470 F_DUPFD_CLOEXEC = 0x11
471 F_GETFD = 0x1
472 F_GETFL = 0x3
473 F_GETLK = 0xb
474 F_GETOWN = 0x5
475 F_OGETLK = 0x7
476 F_OK = 0x0
477 F_OSETLK = 0x8
478 F_OSETLKW = 0x9
479 F_RDAHEAD = 0x10
480 F_RDLCK = 0x1
481 F_READAHEAD = 0xf
482 F_SETFD = 0x2
483 F_SETFL = 0x4
484 F_SETLK = 0xc
485 F_SETLKW = 0xd
486 F_SETLK_REMOTE = 0xe
487 F_SETOWN = 0x6
488 F_UNLCK = 0x2
489 F_UNLCKSYS = 0x4
490 F_WRLCK = 0x3
491 HUPCL = 0x4000
492 ICANON = 0x100
493 ICMP6_FILTER = 0x12
494 ICRNL = 0x100
495 IEXTEN = 0x400
496 IFAN_ARRIVAL = 0x0
497 IFAN_DEPARTURE = 0x1
498 IFF_ALLMULTI = 0x200
499 IFF_ALTPHYS = 0x4000
500 IFF_BROADCAST = 0x2
501 IFF_CANTCHANGE = 0x218f72
502 IFF_CANTCONFIG = 0x10000
503 IFF_DEBUG = 0x4
504 IFF_DRV_OACTIVE = 0x400
505 IFF_DRV_RUNNING = 0x40
506 IFF_DYING = 0x200000
507 IFF_LINK0 = 0x1000
508 IFF_LINK1 = 0x2000
509 IFF_LINK2 = 0x4000
510 IFF_LOOPBACK = 0x8
511 IFF_MONITOR = 0x40000
512 IFF_MULTICAST = 0x8000
513 IFF_NOARP = 0x80
514 IFF_OACTIVE = 0x400
515 IFF_POINTOPOINT = 0x10
516 IFF_PPROMISC = 0x20000
517 IFF_PROMISC = 0x100
518 IFF_RENAMING = 0x400000
519 IFF_RUNNING = 0x40
520 IFF_SIMPLEX = 0x800
521 IFF_SMART = 0x20
522 IFF_STATICARP = 0x80000
523 IFF_UP = 0x1
524 IFNAMSIZ = 0x10
525 IFT_1822 = 0x2
526 IFT_A12MPPSWITCH = 0x82
527 IFT_AAL2 = 0xbb
528 IFT_AAL5 = 0x31
529 IFT_ADSL = 0x5e
530 IFT_AFLANE8023 = 0x3b
531 IFT_AFLANE8025 = 0x3c
532 IFT_ARAP = 0x58
533 IFT_ARCNET = 0x23
534 IFT_ARCNETPLUS = 0x24
535 IFT_ASYNC = 0x54
536 IFT_ATM = 0x25
537 IFT_ATMDXI = 0x69
538 IFT_ATMFUNI = 0x6a
539 IFT_ATMIMA = 0x6b
540 IFT_ATMLOGICAL = 0x50
541 IFT_ATMRADIO = 0xbd
542 IFT_ATMSUBINTERFACE = 0x86
543 IFT_ATMVCIENDPT = 0xc2
544 IFT_ATMVIRTUAL = 0x95
545 IFT_BGPPOLICYACCOUNTING = 0xa2
546 IFT_BRIDGE = 0xd1
547 IFT_BSC = 0x53
548 IFT_CARP = 0xf8
549 IFT_CCTEMUL = 0x3d
550 IFT_CEPT = 0x13
551 IFT_CES = 0x85
552 IFT_CHANNEL = 0x46
553 IFT_CNR = 0x55
554 IFT_COFFEE = 0x84
555 IFT_COMPOSITELINK = 0x9b
556 IFT_DCN = 0x8d
557 IFT_DIGITALPOWERLINE = 0x8a
558 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
559 IFT_DLSW = 0x4a
560 IFT_DOCSCABLEDOWNSTREAM = 0x80
561 IFT_DOCSCABLEMACLAYER = 0x7f
562 IFT_DOCSCABLEUPSTREAM = 0x81
563 IFT_DS0 = 0x51
564 IFT_DS0BUNDLE = 0x52
565 IFT_DS1FDL = 0xaa
566 IFT_DS3 = 0x1e
567 IFT_DTM = 0x8c
568 IFT_DVBASILN = 0xac
569 IFT_DVBASIOUT = 0xad
570 IFT_DVBRCCDOWNSTREAM = 0x93
571 IFT_DVBRCCMACLAYER = 0x92
572 IFT_DVBRCCUPSTREAM = 0x94
573 IFT_ENC = 0xf4
574 IFT_EON = 0x19
575 IFT_EPLRS = 0x57
576 IFT_ESCON = 0x49
577 IFT_ETHER = 0x6
578 IFT_FAITH = 0xf2
579 IFT_FAST = 0x7d
580 IFT_FASTETHER = 0x3e
581 IFT_FASTETHERFX = 0x45
582 IFT_FDDI = 0xf
583 IFT_FIBRECHANNEL = 0x38
584 IFT_FRAMERELAYINTERCONNECT = 0x3a
585 IFT_FRAMERELAYMPI = 0x5c
586 IFT_FRDLCIENDPT = 0xc1
587 IFT_FRELAY = 0x20
588 IFT_FRELAYDCE = 0x2c
589 IFT_FRF16MFRBUNDLE = 0xa3
590 IFT_FRFORWARD = 0x9e
591 IFT_G703AT2MB = 0x43
592 IFT_G703AT64K = 0x42
593 IFT_GIF = 0xf0
594 IFT_GIGABITETHERNET = 0x75
595 IFT_GR303IDT = 0xb2
596 IFT_GR303RDT = 0xb1
597 IFT_H323GATEKEEPER = 0xa4
598 IFT_H323PROXY = 0xa5
599 IFT_HDH1822 = 0x3
600 IFT_HDLC = 0x76
601 IFT_HDSL2 = 0xa8
602 IFT_HIPERLAN2 = 0xb7
603 IFT_HIPPI = 0x2f
604 IFT_HIPPIINTERFACE = 0x39
605 IFT_HOSTPAD = 0x5a
606 IFT_HSSI = 0x2e
607 IFT_HY = 0xe
608 IFT_IBM370PARCHAN = 0x48
609 IFT_IDSL = 0x9a
610 IFT_IEEE1394 = 0x90
611 IFT_IEEE80211 = 0x47
612 IFT_IEEE80212 = 0x37
613 IFT_IEEE8023ADLAG = 0xa1
614 IFT_IFGSN = 0x91
615 IFT_IMT = 0xbe
616 IFT_INFINIBAND = 0xc7
617 IFT_INTERLEAVE = 0x7c
618 IFT_IP = 0x7e
619 IFT_IPFORWARD = 0x8e
620 IFT_IPOVERATM = 0x72
621 IFT_IPOVERCDLC = 0x6d
622 IFT_IPOVERCLAW = 0x6e
623 IFT_IPSWITCH = 0x4e
624 IFT_IPXIP = 0xf9
625 IFT_ISDN = 0x3f
626 IFT_ISDNBASIC = 0x14
627 IFT_ISDNPRIMARY = 0x15
628 IFT_ISDNS = 0x4b
629 IFT_ISDNU = 0x4c
630 IFT_ISO88022LLC = 0x29
631 IFT_ISO88023 = 0x7
632 IFT_ISO88024 = 0x8
633 IFT_ISO88025 = 0x9
634 IFT_ISO88025CRFPINT = 0x62
635 IFT_ISO88025DTR = 0x56
636 IFT_ISO88025FIBER = 0x73
637 IFT_ISO88026 = 0xa
638 IFT_ISUP = 0xb3
639 IFT_L2VLAN = 0x87
640 IFT_L3IPVLAN = 0x88
641 IFT_L3IPXVLAN = 0x89
642 IFT_LAPB = 0x10
643 IFT_LAPD = 0x4d
644 IFT_LAPF = 0x77
645 IFT_LOCALTALK = 0x2a
646 IFT_LOOP = 0x18
647 IFT_MEDIAMAILOVERIP = 0x8b
648 IFT_MFSIGLINK = 0xa7
649 IFT_MIOX25 = 0x26
650 IFT_MODEM = 0x30
651 IFT_MPC = 0x71
652 IFT_MPLS = 0xa6
653 IFT_MPLSTUNNEL = 0x96
654 IFT_MSDSL = 0x8f
655 IFT_MVL = 0xbf
656 IFT_MYRINET = 0x63
657 IFT_NFAS = 0xaf
658 IFT_NSIP = 0x1b
659 IFT_OPTICALCHANNEL = 0xc3
660 IFT_OPTICALTRANSPORT = 0xc4
661 IFT_OTHER = 0x1
662 IFT_P10 = 0xc
663 IFT_P80 = 0xd
664 IFT_PARA = 0x22
665 IFT_PFLOG = 0xf6
666 IFT_PFSYNC = 0xf7
667 IFT_PLC = 0xae
668 IFT_POS = 0xab
669 IFT_PPP = 0x17
670 IFT_PPPMULTILINKBUNDLE = 0x6c
671 IFT_PROPBWAP2MP = 0xb8
672 IFT_PROPCNLS = 0x59
673 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
674 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
675 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
676 IFT_PROPMUX = 0x36
677 IFT_PROPVIRTUAL = 0x35
678 IFT_PROPWIRELESSP2P = 0x9d
679 IFT_PTPSERIAL = 0x16
680 IFT_PVC = 0xf1
681 IFT_QLLC = 0x44
682 IFT_RADIOMAC = 0xbc
683 IFT_RADSL = 0x5f
684 IFT_REACHDSL = 0xc0
685 IFT_RFC1483 = 0x9f
686 IFT_RS232 = 0x21
687 IFT_RSRB = 0x4f
688 IFT_SDLC = 0x11
689 IFT_SDSL = 0x60
690 IFT_SHDSL = 0xa9
691 IFT_SIP = 0x1f
692 IFT_SLIP = 0x1c
693 IFT_SMDSDXI = 0x2b
694 IFT_SMDSICIP = 0x34
695 IFT_SONET = 0x27
696 IFT_SONETOVERHEADCHANNEL = 0xb9
697 IFT_SONETPATH = 0x32
698 IFT_SONETVT = 0x33
699 IFT_SRP = 0x97
700 IFT_SS7SIGLINK = 0x9c
701 IFT_STACKTOSTACK = 0x6f
702 IFT_STARLAN = 0xb
703 IFT_STF = 0xd7
704 IFT_T1 = 0x12
705 IFT_TDLC = 0x74
706 IFT_TERMPAD = 0x5b
707 IFT_TR008 = 0xb0
708 IFT_TRANSPHDLC = 0x7b
709 IFT_TUNNEL = 0x83
710 IFT_ULTRA = 0x1d
711 IFT_USB = 0xa0
712 IFT_V11 = 0x40
713 IFT_V35 = 0x2d
714 IFT_V36 = 0x41
715 IFT_V37 = 0x78
716 IFT_VDSL = 0x61
717 IFT_VIRTUALIPADDRESS = 0x70
718 IFT_VOICEEM = 0x64
719 IFT_VOICEENCAP = 0x67
720 IFT_VOICEFXO = 0x65
721 IFT_VOICEFXS = 0x66
722 IFT_VOICEOVERATM = 0x98
723 IFT_VOICEOVERFRAMERELAY = 0x99
724 IFT_VOICEOVERIP = 0x68
725 IFT_X213 = 0x5d
726 IFT_X25 = 0x5
727 IFT_X25DDN = 0x4
728 IFT_X25HUNTGROUP = 0x7a
729 IFT_X25MLP = 0x79
730 IFT_X25PLE = 0x28
731 IFT_XETHER = 0x1a
732 IGNBRK = 0x1
733 IGNCR = 0x80
734 IGNPAR = 0x4
735 IMAXBEL = 0x2000
736 INLCR = 0x40
737 INPCK = 0x10
738 IN_CLASSA_HOST = 0xffffff
739 IN_CLASSA_MAX = 0x80
740 IN_CLASSA_NET = 0xff000000
741 IN_CLASSA_NSHIFT = 0x18
742 IN_CLASSB_HOST = 0xffff
743 IN_CLASSB_MAX = 0x10000
744 IN_CLASSB_NET = 0xffff0000
745 IN_CLASSB_NSHIFT = 0x10
746 IN_CLASSC_HOST = 0xff
747 IN_CLASSC_NET = 0xffffff00
748 IN_CLASSC_NSHIFT = 0x8
749 IN_CLASSD_HOST = 0xfffffff
750 IN_CLASSD_NET = 0xf0000000
751 IN_CLASSD_NSHIFT = 0x1c
752 IN_LOOPBACKNET = 0x7f
753 IN_RFC3021_MASK = 0xfffffffe
754 IPPROTO_3PC = 0x22
755 IPPROTO_ADFS = 0x44
756 IPPROTO_AH = 0x33
757 IPPROTO_AHIP = 0x3d
758 IPPROTO_APES = 0x63
759 IPPROTO_ARGUS = 0xd
760 IPPROTO_AX25 = 0x5d
761 IPPROTO_BHA = 0x31
762 IPPROTO_BLT = 0x1e
763 IPPROTO_BRSATMON = 0x4c
764 IPPROTO_CARP = 0x70
765 IPPROTO_CFTP = 0x3e
766 IPPROTO_CHAOS = 0x10
767 IPPROTO_CMTP = 0x26
768 IPPROTO_CPHB = 0x49
769 IPPROTO_CPNX = 0x48
770 IPPROTO_DDP = 0x25
771 IPPROTO_DGP = 0x56
772 IPPROTO_DIVERT = 0x102
773 IPPROTO_DONE = 0x101
774 IPPROTO_DSTOPTS = 0x3c
775 IPPROTO_EGP = 0x8
776 IPPROTO_EMCON = 0xe
777 IPPROTO_ENCAP = 0x62
778 IPPROTO_EON = 0x50
779 IPPROTO_ESP = 0x32
780 IPPROTO_ETHERIP = 0x61
781 IPPROTO_FRAGMENT = 0x2c
782 IPPROTO_GGP = 0x3
783 IPPROTO_GMTP = 0x64
784 IPPROTO_GRE = 0x2f
785 IPPROTO_HELLO = 0x3f
786 IPPROTO_HIP = 0x8b
787 IPPROTO_HMP = 0x14
788 IPPROTO_HOPOPTS = 0x0
789 IPPROTO_ICMP = 0x1
790 IPPROTO_ICMPV6 = 0x3a
791 IPPROTO_IDP = 0x16
792 IPPROTO_IDPR = 0x23
793 IPPROTO_IDRP = 0x2d
794 IPPROTO_IGMP = 0x2
795 IPPROTO_IGP = 0x55
796 IPPROTO_IGRP = 0x58
797 IPPROTO_IL = 0x28
798 IPPROTO_INLSP = 0x34
799 IPPROTO_INP = 0x20
800 IPPROTO_IP = 0x0
801 IPPROTO_IPCOMP = 0x6c
802 IPPROTO_IPCV = 0x47
803 IPPROTO_IPEIP = 0x5e
804 IPPROTO_IPIP = 0x4
805 IPPROTO_IPPC = 0x43
806 IPPROTO_IPV4 = 0x4
807 IPPROTO_IPV6 = 0x29
808 IPPROTO_IRTP = 0x1c
809 IPPROTO_KRYPTOLAN = 0x41
810 IPPROTO_LARP = 0x5b
811 IPPROTO_LEAF1 = 0x19
812 IPPROTO_LEAF2 = 0x1a
813 IPPROTO_MAX = 0x100
814 IPPROTO_MAXID = 0x34
815 IPPROTO_MEAS = 0x13
816 IPPROTO_MH = 0x87
817 IPPROTO_MHRP = 0x30
818 IPPROTO_MICP = 0x5f
819 IPPROTO_MOBILE = 0x37
820 IPPROTO_MPLS = 0x89
821 IPPROTO_MTP = 0x5c
822 IPPROTO_MUX = 0x12
823 IPPROTO_ND = 0x4d
824 IPPROTO_NHRP = 0x36
825 IPPROTO_NONE = 0x3b
826 IPPROTO_NSP = 0x1f
827 IPPROTO_NVPII = 0xb
828 IPPROTO_OLD_DIVERT = 0xfe
829 IPPROTO_OSPFIGP = 0x59
830 IPPROTO_PFSYNC = 0xf0
831 IPPROTO_PGM = 0x71
832 IPPROTO_PIGP = 0x9
833 IPPROTO_PIM = 0x67
834 IPPROTO_PRM = 0x15
835 IPPROTO_PUP = 0xc
836 IPPROTO_PVP = 0x4b
837 IPPROTO_RAW = 0xff
838 IPPROTO_RCCMON = 0xa
839 IPPROTO_RDP = 0x1b
840 IPPROTO_RESERVED_253 = 0xfd
841 IPPROTO_RESERVED_254 = 0xfe
842 IPPROTO_ROUTING = 0x2b
843 IPPROTO_RSVP = 0x2e
844 IPPROTO_RVD = 0x42
845 IPPROTO_SATEXPAK = 0x40
846 IPPROTO_SATMON = 0x45
847 IPPROTO_SCCSP = 0x60
848 IPPROTO_SCTP = 0x84
849 IPPROTO_SDRP = 0x2a
850 IPPROTO_SEND = 0x103
851 IPPROTO_SEP = 0x21
852 IPPROTO_SHIM6 = 0x8c
853 IPPROTO_SKIP = 0x39
854 IPPROTO_SPACER = 0x7fff
855 IPPROTO_SRPC = 0x5a
856 IPPROTO_ST = 0x7
857 IPPROTO_SVMTP = 0x52
858 IPPROTO_SWIPE = 0x35
859 IPPROTO_TCF = 0x57
860 IPPROTO_TCP = 0x6
861 IPPROTO_TLSP = 0x38
862 IPPROTO_TP = 0x1d
863 IPPROTO_TPXX = 0x27
864 IPPROTO_TRUNK1 = 0x17
865 IPPROTO_TRUNK2 = 0x18
866 IPPROTO_TTP = 0x54
867 IPPROTO_UDP = 0x11
868 IPPROTO_UDPLITE = 0x88
869 IPPROTO_VINES = 0x53
870 IPPROTO_VISA = 0x46
871 IPPROTO_VMTP = 0x51
872 IPPROTO_WBEXPAK = 0x4f
873 IPPROTO_WBMON = 0x4e
874 IPPROTO_WSN = 0x4a
875 IPPROTO_XNET = 0xf
876 IPPROTO_XTP = 0x24
877 IPV6_AUTOFLOWLABEL = 0x3b
878 IPV6_BINDANY = 0x40
879 IPV6_BINDV6ONLY = 0x1b
880 IPV6_CHECKSUM = 0x1a
881 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
882 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
883 IPV6_DEFHLIM = 0x40
884 IPV6_DONTFRAG = 0x3e
885 IPV6_DSTOPTS = 0x32
886 IPV6_FAITH = 0x1d
887 IPV6_FLOWINFO_MASK = 0xffffff0f
888 IPV6_FLOWLABEL_MASK = 0xffff0f00
889 IPV6_FRAGTTL = 0x78
890 IPV6_FW_ADD = 0x1e
891 IPV6_FW_DEL = 0x1f
892 IPV6_FW_FLUSH = 0x20
893 IPV6_FW_GET = 0x22
894 IPV6_FW_ZERO = 0x21
895 IPV6_HLIMDEC = 0x1
896 IPV6_HOPLIMIT = 0x2f
897 IPV6_HOPOPTS = 0x31
898 IPV6_IPSEC_POLICY = 0x1c
899 IPV6_JOIN_GROUP = 0xc
900 IPV6_LEAVE_GROUP = 0xd
901 IPV6_MAXHLIM = 0xff
902 IPV6_MAXOPTHDR = 0x800
903 IPV6_MAXPACKET = 0xffff
904 IPV6_MAX_GROUP_SRC_FILTER = 0x200
905 IPV6_MAX_MEMBERSHIPS = 0xfff
906 IPV6_MAX_SOCK_SRC_FILTER = 0x80
907 IPV6_MIN_MEMBERSHIPS = 0x1f
908 IPV6_MMTU = 0x500
909 IPV6_MSFILTER = 0x4a
910 IPV6_MULTICAST_HOPS = 0xa
911 IPV6_MULTICAST_IF = 0x9
912 IPV6_MULTICAST_LOOP = 0xb
913 IPV6_NEXTHOP = 0x30
914 IPV6_PATHMTU = 0x2c
915 IPV6_PKTINFO = 0x2e
916 IPV6_PORTRANGE = 0xe
917 IPV6_PORTRANGE_DEFAULT = 0x0
918 IPV6_PORTRANGE_HIGH = 0x1
919 IPV6_PORTRANGE_LOW = 0x2
920 IPV6_PREFER_TEMPADDR = 0x3f
921 IPV6_RECVDSTOPTS = 0x28
922 IPV6_RECVHOPLIMIT = 0x25
923 IPV6_RECVHOPOPTS = 0x27
924 IPV6_RECVPATHMTU = 0x2b
925 IPV6_RECVPKTINFO = 0x24
926 IPV6_RECVRTHDR = 0x26
927 IPV6_RECVTCLASS = 0x39
928 IPV6_RTHDR = 0x33
929 IPV6_RTHDRDSTOPTS = 0x23
930 IPV6_RTHDR_LOOSE = 0x0
931 IPV6_RTHDR_STRICT = 0x1
932 IPV6_RTHDR_TYPE_0 = 0x0
933 IPV6_SOCKOPT_RESERVED1 = 0x3
934 IPV6_TCLASS = 0x3d
935 IPV6_UNICAST_HOPS = 0x4
936 IPV6_USE_MIN_MTU = 0x2a
937 IPV6_V6ONLY = 0x1b
938 IPV6_VERSION = 0x60
939 IPV6_VERSION_MASK = 0xf0
940 IP_ADD_MEMBERSHIP = 0xc
941 IP_ADD_SOURCE_MEMBERSHIP = 0x46
942 IP_BINDANY = 0x18
943 IP_BLOCK_SOURCE = 0x48
944 IP_DEFAULT_MULTICAST_LOOP = 0x1
945 IP_DEFAULT_MULTICAST_TTL = 0x1
946 IP_DF = 0x4000
947 IP_DONTFRAG = 0x43
948 IP_DROP_MEMBERSHIP = 0xd
949 IP_DROP_SOURCE_MEMBERSHIP = 0x47
950 IP_DUMMYNET3 = 0x31
951 IP_DUMMYNET_CONFIGURE = 0x3c
952 IP_DUMMYNET_DEL = 0x3d
953 IP_DUMMYNET_FLUSH = 0x3e
954 IP_DUMMYNET_GET = 0x40
955 IP_FAITH = 0x16
956 IP_FW3 = 0x30
957 IP_FW_ADD = 0x32
958 IP_FW_DEL = 0x33
959 IP_FW_FLUSH = 0x34
960 IP_FW_GET = 0x36
961 IP_FW_NAT_CFG = 0x38
962 IP_FW_NAT_DEL = 0x39
963 IP_FW_NAT_GET_CONFIG = 0x3a
964 IP_FW_NAT_GET_LOG = 0x3b
965 IP_FW_RESETLOG = 0x37
966 IP_FW_TABLE_ADD = 0x28
967 IP_FW_TABLE_DEL = 0x29
968 IP_FW_TABLE_FLUSH = 0x2a
969 IP_FW_TABLE_GETSIZE = 0x2b
970 IP_FW_TABLE_LIST = 0x2c
971 IP_FW_ZERO = 0x35
972 IP_HDRINCL = 0x2
973 IP_IPSEC_POLICY = 0x15
974 IP_MAXPACKET = 0xffff
975 IP_MAX_GROUP_SRC_FILTER = 0x200
976 IP_MAX_MEMBERSHIPS = 0xfff
977 IP_MAX_SOCK_MUTE_FILTER = 0x80
978 IP_MAX_SOCK_SRC_FILTER = 0x80
979 IP_MAX_SOURCE_FILTER = 0x400
980 IP_MF = 0x2000
981 IP_MINTTL = 0x42
982 IP_MIN_MEMBERSHIPS = 0x1f
983 IP_MSFILTER = 0x4a
984 IP_MSS = 0x240
985 IP_MULTICAST_IF = 0x9
986 IP_MULTICAST_LOOP = 0xb
987 IP_MULTICAST_TTL = 0xa
988 IP_MULTICAST_VIF = 0xe
989 IP_OFFMASK = 0x1fff
990 IP_ONESBCAST = 0x17
991 IP_OPTIONS = 0x1
992 IP_PORTRANGE = 0x13
993 IP_PORTRANGE_DEFAULT = 0x0
994 IP_PORTRANGE_HIGH = 0x1
995 IP_PORTRANGE_LOW = 0x2
996 IP_RECVDSTADDR = 0x7
997 IP_RECVIF = 0x14
998 IP_RECVOPTS = 0x5
999 IP_RECVRETOPTS = 0x6
1000 IP_RECVTOS = 0x44
1001 IP_RECVTTL = 0x41
1002 IP_RETOPTS = 0x8
1003 IP_RF = 0x8000
1004 IP_RSVP_OFF = 0x10
1005 IP_RSVP_ON = 0xf
1006 IP_RSVP_VIF_OFF = 0x12
1007 IP_RSVP_VIF_ON = 0x11
1008 IP_SENDSRCADDR = 0x7
1009 IP_TOS = 0x3
1010 IP_TTL = 0x4
1011 IP_UNBLOCK_SOURCE = 0x49
1012 ISIG = 0x80
1013 ISTRIP = 0x20
1014 IXANY = 0x800
1015 IXOFF = 0x400
1016 IXON = 0x200
1017 LOCK_EX = 0x2
1018 LOCK_NB = 0x4
1019 LOCK_SH = 0x1
1020 LOCK_UN = 0x8
1021 MADV_AUTOSYNC = 0x7
1022 MADV_CORE = 0x9
1023 MADV_DONTNEED = 0x4
1024 MADV_FREE = 0x5
1025 MADV_NOCORE = 0x8
1026 MADV_NORMAL = 0x0
1027 MADV_NOSYNC = 0x6
1028 MADV_PROTECT = 0xa
1029 MADV_RANDOM = 0x1
1030 MADV_SEQUENTIAL = 0x2
1031 MADV_WILLNEED = 0x3
1032 MAP_ALIGNED_SUPER = 0x1000000
1033 MAP_ALIGNMENT_MASK = -0x1000000
1034 MAP_ALIGNMENT_SHIFT = 0x18
1035 MAP_ANON = 0x1000
1036 MAP_ANONYMOUS = 0x1000
1037 MAP_COPY = 0x2
1038 MAP_EXCL = 0x4000
1039 MAP_FILE = 0x0
1040 MAP_FIXED = 0x10
1041 MAP_HASSEMAPHORE = 0x200
1042 MAP_NOCORE = 0x20000
1043 MAP_NORESERVE = 0x40
1044 MAP_NOSYNC = 0x800
1045 MAP_PREFAULT_READ = 0x40000
1046 MAP_PRIVATE = 0x2
1047 MAP_RENAME = 0x20
1048 MAP_RESERVED0080 = 0x80
1049 MAP_RESERVED0100 = 0x100
1050 MAP_SHARED = 0x1
1051 MAP_STACK = 0x400
1052 MCL_CURRENT = 0x1
1053 MCL_FUTURE = 0x2
1054 MSG_CMSG_CLOEXEC = 0x40000
1055 MSG_COMPAT = 0x8000
1056 MSG_CTRUNC = 0x20
1057 MSG_DONTROUTE = 0x4
1058 MSG_DONTWAIT = 0x80
1059 MSG_EOF = 0x100
1060 MSG_EOR = 0x8
1061 MSG_NBIO = 0x4000
1062 MSG_NOSIGNAL = 0x20000
1063 MSG_NOTIFICATION = 0x2000
1064 MSG_OOB = 0x1
1065 MSG_PEEK = 0x2
1066 MSG_TRUNC = 0x10
1067 MSG_WAITALL = 0x40
1068 MS_ASYNC = 0x1
1069 MS_INVALIDATE = 0x2
1070 MS_SYNC = 0x0
1071 NAME_MAX = 0xff
1072 NET_RT_DUMP = 0x1
1073 NET_RT_FLAGS = 0x2
1074 NET_RT_IFLIST = 0x3
1075 NET_RT_IFLISTL = 0x5
1076 NET_RT_IFMALIST = 0x4
1077 NET_RT_MAXID = 0x6
1078 NOFLSH = 0x80000000
1079 NOTE_ATTRIB = 0x8
1080 NOTE_CHILD = 0x4
1081 NOTE_DELETE = 0x1
1082 NOTE_EXEC = 0x20000000
1083 NOTE_EXIT = 0x80000000
1084 NOTE_EXTEND = 0x4
1085 NOTE_FFAND = 0x40000000
1086 NOTE_FFCOPY = 0xc0000000
1087 NOTE_FFCTRLMASK = 0xc0000000
1088 NOTE_FFLAGSMASK = 0xffffff
1089 NOTE_FFNOP = 0x0
1090 NOTE_FFOR = 0x80000000
1091 NOTE_FORK = 0x40000000
1092 NOTE_LINK = 0x10
1093 NOTE_LOWAT = 0x1
1094 NOTE_PCTRLMASK = 0xf0000000
1095 NOTE_PDATAMASK = 0xfffff
1096 NOTE_RENAME = 0x20
1097 NOTE_REVOKE = 0x40
1098 NOTE_TRACK = 0x1
1099 NOTE_TRACKERR = 0x2
1100 NOTE_TRIGGER = 0x1000000
1101 NOTE_WRITE = 0x2
1102 OCRNL = 0x10
1103 ONLCR = 0x2
1104 ONLRET = 0x40
1105 ONOCR = 0x20
1106 ONOEOT = 0x8
1107 OPOST = 0x1
1108 O_ACCMODE = 0x3
1109 O_APPEND = 0x8
1110 O_ASYNC = 0x40
1111 O_CLOEXEC = 0x100000
1112 O_CREAT = 0x200
1113 O_DIRECT = 0x10000
1114 O_DIRECTORY = 0x20000
1115 O_EXCL = 0x800
1116 O_EXEC = 0x40000
1117 O_EXLOCK = 0x20
1118 O_FSYNC = 0x80
1119 O_NDELAY = 0x4
1120 O_NOCTTY = 0x8000
1121 O_NOFOLLOW = 0x100
1122 O_NONBLOCK = 0x4
1123 O_RDONLY = 0x0
1124 O_RDWR = 0x2
1125 O_SHLOCK = 0x10
1126 O_SYNC = 0x80
1127 O_TRUNC = 0x400
1128 O_TTY_INIT = 0x80000
1129 O_WRONLY = 0x1
1130 PARENB = 0x1000
1131 PARMRK = 0x8
1132 PARODD = 0x2000
1133 PENDIN = 0x20000000
1134 PRIO_PGRP = 0x1
1135 PRIO_PROCESS = 0x0
1136 PRIO_USER = 0x2
1137 PROT_EXEC = 0x4
1138 PROT_NONE = 0x0
1139 PROT_READ = 0x1
1140 PROT_WRITE = 0x2
1141 RLIMIT_AS = 0xa
1142 RLIMIT_CORE = 0x4
1143 RLIMIT_CPU = 0x0
1144 RLIMIT_DATA = 0x2
1145 RLIMIT_FSIZE = 0x1
1146 RLIMIT_NOFILE = 0x8
1147 RLIMIT_STACK = 0x3
1148 RLIM_INFINITY = 0x7fffffffffffffff
1149 RTAX_AUTHOR = 0x6
1150 RTAX_BRD = 0x7
1151 RTAX_DST = 0x0
1152 RTAX_GATEWAY = 0x1
1153 RTAX_GENMASK = 0x3
1154 RTAX_IFA = 0x5
1155 RTAX_IFP = 0x4
1156 RTAX_MAX = 0x8
1157 RTAX_NETMASK = 0x2
1158 RTA_AUTHOR = 0x40
1159 RTA_BRD = 0x80
1160 RTA_DST = 0x1
1161 RTA_GATEWAY = 0x2
1162 RTA_GENMASK = 0x8
1163 RTA_IFA = 0x20
1164 RTA_IFP = 0x10
1165 RTA_NETMASK = 0x4
1166 RTF_BLACKHOLE = 0x1000
1167 RTF_BROADCAST = 0x400000
1168 RTF_DONE = 0x40
1169 RTF_DYNAMIC = 0x10
1170 RTF_FMASK = 0x1004d808
1171 RTF_GATEWAY = 0x2
1172 RTF_GWFLAG_COMPAT = 0x80000000
1173 RTF_HOST = 0x4
1174 RTF_LLDATA = 0x400
1175 RTF_LLINFO = 0x400
1176 RTF_LOCAL = 0x200000
1177 RTF_MODIFIED = 0x20
1178 RTF_MULTICAST = 0x800000
1179 RTF_PINNED = 0x100000
1180 RTF_PRCLONING = 0x10000
1181 RTF_PROTO1 = 0x8000
1182 RTF_PROTO2 = 0x4000
1183 RTF_PROTO3 = 0x40000
1184 RTF_REJECT = 0x8
1185 RTF_RNH_LOCKED = 0x40000000
1186 RTF_STATIC = 0x800
1187 RTF_STICKY = 0x10000000
1188 RTF_UP = 0x1
1189 RTF_XRESOLVE = 0x200
1190 RTM_ADD = 0x1
1191 RTM_CHANGE = 0x3
1192 RTM_DELADDR = 0xd
1193 RTM_DELETE = 0x2
1194 RTM_DELMADDR = 0x10
1195 RTM_GET = 0x4
1196 RTM_IEEE80211 = 0x12
1197 RTM_IFANNOUNCE = 0x11
1198 RTM_IFINFO = 0xe
1199 RTM_LOCK = 0x8
1200 RTM_LOSING = 0x5
1201 RTM_MISS = 0x7
1202 RTM_NEWADDR = 0xc
1203 RTM_NEWMADDR = 0xf
1204 RTM_OLDADD = 0x9
1205 RTM_OLDDEL = 0xa
1206 RTM_REDIRECT = 0x6
1207 RTM_RESOLVE = 0xb
1208 RTM_RTTUNIT = 0xf4240
1209 RTM_VERSION = 0x5
1210 RTV_EXPIRE = 0x4
1211 RTV_HOPCOUNT = 0x2
1212 RTV_MTU = 0x1
1213 RTV_RPIPE = 0x8
1214 RTV_RTT = 0x40
1215 RTV_RTTVAR = 0x80
1216 RTV_SPIPE = 0x10
1217 RTV_SSTHRESH = 0x20
1218 RTV_WEIGHT = 0x100
1219 RT_ALL_FIBS = -0x1
1220 RT_CACHING_CONTEXT = 0x1
1221 RT_DEFAULT_FIB = 0x0
1222 RT_NORTREF = 0x2
1223 RUSAGE_CHILDREN = -0x1
1224 RUSAGE_SELF = 0x0
1225 RUSAGE_THREAD = 0x1
1226 SCM_BINTIME = 0x4
1227 SCM_CREDS = 0x3
1228 SCM_RIGHTS = 0x1
1229 SCM_TIMESTAMP = 0x2
1230 SHUT_RD = 0x0
1231 SHUT_RDWR = 0x2
1232 SHUT_WR = 0x1
1233 SIOCADDMULTI = 0x80206931
1234 SIOCADDRT = 0x8030720a
1235 SIOCAIFADDR = 0x8040691a
1236 SIOCAIFGROUP = 0x80246987
1237 SIOCALIFADDR = 0x8118691b
1238 SIOCATMARK = 0x40047307
1239 SIOCDELMULTI = 0x80206932
1240 SIOCDELRT = 0x8030720b
1241 SIOCDIFADDR = 0x80206919
1242 SIOCDIFGROUP = 0x80246989
1243 SIOCDIFPHYADDR = 0x80206949
1244 SIOCDLIFADDR = 0x8118691d
1245 SIOCGDRVSPEC = 0xc01c697b
1246 SIOCGETSGCNT = 0xc0147210
1247 SIOCGETVIFCNT = 0xc014720f
1248 SIOCGHIWAT = 0x40047301
1249 SIOCGIFADDR = 0xc0206921
1250 SIOCGIFBRDADDR = 0xc0206923
1251 SIOCGIFCAP = 0xc020691f
1252 SIOCGIFCONF = 0xc0086924
1253 SIOCGIFDESCR = 0xc020692a
1254 SIOCGIFDSTADDR = 0xc0206922
1255 SIOCGIFFIB = 0xc020695c
1256 SIOCGIFFLAGS = 0xc0206911
1257 SIOCGIFGENERIC = 0xc020693a
1258 SIOCGIFGMEMB = 0xc024698a
1259 SIOCGIFGROUP = 0xc0246988
1260 SIOCGIFINDEX = 0xc0206920
1261 SIOCGIFMAC = 0xc0206926
1262 SIOCGIFMEDIA = 0xc0286938
1263 SIOCGIFMETRIC = 0xc0206917
1264 SIOCGIFMTU = 0xc0206933
1265 SIOCGIFNETMASK = 0xc0206925
1266 SIOCGIFPDSTADDR = 0xc0206948
1267 SIOCGIFPHYS = 0xc0206935
1268 SIOCGIFPSRCADDR = 0xc0206947
1269 SIOCGIFSTATUS = 0xc331693b
1270 SIOCGLIFADDR = 0xc118691c
1271 SIOCGLIFPHYADDR = 0xc118694b
1272 SIOCGLOWAT = 0x40047303
1273 SIOCGPGRP = 0x40047309
1274 SIOCGPRIVATE_0 = 0xc0206950
1275 SIOCGPRIVATE_1 = 0xc0206951
1276 SIOCIFCREATE = 0xc020697a
1277 SIOCIFCREATE2 = 0xc020697c
1278 SIOCIFDESTROY = 0x80206979
1279 SIOCIFGCLONERS = 0xc00c6978
1280 SIOCSDRVSPEC = 0x801c697b
1281 SIOCSHIWAT = 0x80047300
1282 SIOCSIFADDR = 0x8020690c
1283 SIOCSIFBRDADDR = 0x80206913
1284 SIOCSIFCAP = 0x8020691e
1285 SIOCSIFDESCR = 0x80206929
1286 SIOCSIFDSTADDR = 0x8020690e
1287 SIOCSIFFIB = 0x8020695d
1288 SIOCSIFFLAGS = 0x80206910
1289 SIOCSIFGENERIC = 0x80206939
1290 SIOCSIFLLADDR = 0x8020693c
1291 SIOCSIFMAC = 0x80206927
1292 SIOCSIFMEDIA = 0xc0206937
1293 SIOCSIFMETRIC = 0x80206918
1294 SIOCSIFMTU = 0x80206934
1295 SIOCSIFNAME = 0x80206928
1296 SIOCSIFNETMASK = 0x80206916
1297 SIOCSIFPHYADDR = 0x80406946
1298 SIOCSIFPHYS = 0x80206936
1299 SIOCSIFRVNET = 0xc020695b
1300 SIOCSIFVNET = 0xc020695a
1301 SIOCSLIFPHYADDR = 0x8118694a
1302 SIOCSLOWAT = 0x80047302
1303 SIOCSPGRP = 0x80047308
1304 SOCK_CLOEXEC = 0x10000000
1305 SOCK_DGRAM = 0x2
1306 SOCK_MAXADDRLEN = 0xff
1307 SOCK_NONBLOCK = 0x20000000
1308 SOCK_RAW = 0x3
1309 SOCK_RDM = 0x4
1310 SOCK_SEQPACKET = 0x5
1311 SOCK_STREAM = 0x1
1312 SOL_SOCKET = 0xffff
1313 SOMAXCONN = 0x80
1314 SO_ACCEPTCONN = 0x2
1315 SO_ACCEPTFILTER = 0x1000
1316 SO_BINTIME = 0x2000
1317 SO_BROADCAST = 0x20
1318 SO_DEBUG = 0x1
1319 SO_DONTROUTE = 0x10
1320 SO_ERROR = 0x1007
1321 SO_KEEPALIVE = 0x8
1322 SO_LABEL = 0x1009
1323 SO_LINGER = 0x80
1324 SO_LISTENINCQLEN = 0x1013
1325 SO_LISTENQLEN = 0x1012
1326 SO_LISTENQLIMIT = 0x1011
1327 SO_NOSIGPIPE = 0x800
1328 SO_NO_DDP = 0x8000
1329 SO_NO_OFFLOAD = 0x4000
1330 SO_OOBINLINE = 0x100
1331 SO_PEERLABEL = 0x1010
1332 SO_PROTOCOL = 0x1016
1333 SO_PROTOTYPE = 0x1016
1334 SO_RCVBUF = 0x1002
1335 SO_RCVLOWAT = 0x1004
1336 SO_RCVTIMEO = 0x1006
1337 SO_REUSEADDR = 0x4
1338 SO_REUSEPORT = 0x200
1339 SO_SETFIB = 0x1014
1340 SO_SNDBUF = 0x1001
1341 SO_SNDLOWAT = 0x1003
1342 SO_SNDTIMEO = 0x1005
1343 SO_TIMESTAMP = 0x400
1344 SO_TYPE = 0x1008
1345 SO_USELOOPBACK = 0x40
1346 SO_USER_COOKIE = 0x1015
1347 SO_VENDOR = 0x80000000
1348 TCIFLUSH = 0x1
1349 TCIOFLUSH = 0x3
1350 TCOFLUSH = 0x2
1351 TCP_CA_NAME_MAX = 0x10
1352 TCP_CONGESTION = 0x40
1353 TCP_INFO = 0x20
1354 TCP_KEEPCNT = 0x400
1355 TCP_KEEPIDLE = 0x100
1356 TCP_KEEPINIT = 0x80
1357 TCP_KEEPINTVL = 0x200
1358 TCP_MAXBURST = 0x4
1359 TCP_MAXHLEN = 0x3c
1360 TCP_MAXOLEN = 0x28
1361 TCP_MAXSEG = 0x2
1362 TCP_MAXWIN = 0xffff
1363 TCP_MAX_SACK = 0x4
1364 TCP_MAX_WINSHIFT = 0xe
1365 TCP_MD5SIG = 0x10
1366 TCP_MINMSS = 0xd8
1367 TCP_MSS = 0x218
1368 TCP_NODELAY = 0x1
1369 TCP_NOOPT = 0x8
1370 TCP_NOPUSH = 0x4
1371 TCP_VENDOR = 0x80000000
1372 TCSAFLUSH = 0x2
1373 TIOCCBRK = 0x2000747a
1374 TIOCCDTR = 0x20007478
1375 TIOCCONS = 0x80047462
1376 TIOCDRAIN = 0x2000745e
1377 TIOCEXCL = 0x2000740d
1378 TIOCEXT = 0x80047460
1379 TIOCFLUSH = 0x80047410
1380 TIOCGDRAINWAIT = 0x40047456
1381 TIOCGETA = 0x402c7413
1382 TIOCGETD = 0x4004741a
1383 TIOCGPGRP = 0x40047477
1384 TIOCGPTN = 0x4004740f
1385 TIOCGSID = 0x40047463
1386 TIOCGWINSZ = 0x40087468
1387 TIOCMBIC = 0x8004746b
1388 TIOCMBIS = 0x8004746c
1389 TIOCMGDTRWAIT = 0x4004745a
1390 TIOCMGET = 0x4004746a
1391 TIOCMSDTRWAIT = 0x8004745b
1392 TIOCMSET = 0x8004746d
1393 TIOCM_CAR = 0x40
1394 TIOCM_CD = 0x40
1395 TIOCM_CTS = 0x20
1396 TIOCM_DCD = 0x40
1397 TIOCM_DSR = 0x100
1398 TIOCM_DTR = 0x2
1399 TIOCM_LE = 0x1
1400 TIOCM_RI = 0x80
1401 TIOCM_RNG = 0x80
1402 TIOCM_RTS = 0x4
1403 TIOCM_SR = 0x10
1404 TIOCM_ST = 0x8
1405 TIOCNOTTY = 0x20007471
1406 TIOCNXCL = 0x2000740e
1407 TIOCOUTQ = 0x40047473
1408 TIOCPKT = 0x80047470
1409 TIOCPKT_DATA = 0x0
1410 TIOCPKT_DOSTOP = 0x20
1411 TIOCPKT_FLUSHREAD = 0x1
1412 TIOCPKT_FLUSHWRITE = 0x2
1413 TIOCPKT_IOCTL = 0x40
1414 TIOCPKT_NOSTOP = 0x10
1415 TIOCPKT_START = 0x8
1416 TIOCPKT_STOP = 0x4
1417 TIOCPTMASTER = 0x2000741c
1418 TIOCSBRK = 0x2000747b
1419 TIOCSCTTY = 0x20007461
1420 TIOCSDRAINWAIT = 0x80047457
1421 TIOCSDTR = 0x20007479
1422 TIOCSETA = 0x802c7414
1423 TIOCSETAF = 0x802c7416
1424 TIOCSETAW = 0x802c7415
1425 TIOCSETD = 0x8004741b
1426 TIOCSIG = 0x2004745f
1427 TIOCSPGRP = 0x80047476
1428 TIOCSTART = 0x2000746e
1429 TIOCSTAT = 0x20007465
1430 TIOCSTI = 0x80017472
1431 TIOCSTOP = 0x2000746f
1432 TIOCSWINSZ = 0x80087467
1433 TIOCTIMESTAMP = 0x40087459
1434 TIOCUCNTL = 0x80047466
1435 TOSTOP = 0x400000
1436 VDISCARD = 0xf
1437 VDSUSP = 0xb
1438 VEOF = 0x0
1439 VEOL = 0x1
1440 VEOL2 = 0x2
1441 VERASE = 0x3
1442 VERASE2 = 0x7
1443 VINTR = 0x8
1444 VKILL = 0x5
1445 VLNEXT = 0xe
1446 VMIN = 0x10
1447 VQUIT = 0x9
1448 VREPRINT = 0x6
1449 VSTART = 0xc
1450 VSTATUS = 0x12
1451 VSTOP = 0xd
1452 VSUSP = 0xa
1453 VTIME = 0x11
1454 VWERASE = 0x4
1455 WCONTINUED = 0x4
1456 WCOREFLAG = 0x80
1457 WEXITED = 0x10
1458 WLINUXCLONE = 0x80000000
1459 WNOHANG = 0x1
1460 WNOWAIT = 0x8
1461 WSTOPPED = 0x2
1462 WTRAPPED = 0x20
1463 WUNTRACED = 0x2
1464)
1465
1466// Errors
1467const (
1468 E2BIG = syscall.Errno(0x7)
1469 EACCES = syscall.Errno(0xd)
1470 EADDRINUSE = syscall.Errno(0x30)
1471 EADDRNOTAVAIL = syscall.Errno(0x31)
1472 EAFNOSUPPORT = syscall.Errno(0x2f)
1473 EAGAIN = syscall.Errno(0x23)
1474 EALREADY = syscall.Errno(0x25)
1475 EAUTH = syscall.Errno(0x50)
1476 EBADF = syscall.Errno(0x9)
1477 EBADMSG = syscall.Errno(0x59)
1478 EBADRPC = syscall.Errno(0x48)
1479 EBUSY = syscall.Errno(0x10)
1480 ECANCELED = syscall.Errno(0x55)
1481 ECAPMODE = syscall.Errno(0x5e)
1482 ECHILD = syscall.Errno(0xa)
1483 ECONNABORTED = syscall.Errno(0x35)
1484 ECONNREFUSED = syscall.Errno(0x3d)
1485 ECONNRESET = syscall.Errno(0x36)
1486 EDEADLK = syscall.Errno(0xb)
1487 EDESTADDRREQ = syscall.Errno(0x27)
1488 EDOM = syscall.Errno(0x21)
1489 EDOOFUS = syscall.Errno(0x58)
1490 EDQUOT = syscall.Errno(0x45)
1491 EEXIST = syscall.Errno(0x11)
1492 EFAULT = syscall.Errno(0xe)
1493 EFBIG = syscall.Errno(0x1b)
1494 EFTYPE = syscall.Errno(0x4f)
1495 EHOSTDOWN = syscall.Errno(0x40)
1496 EHOSTUNREACH = syscall.Errno(0x41)
1497 EIDRM = syscall.Errno(0x52)
1498 EILSEQ = syscall.Errno(0x56)
1499 EINPROGRESS = syscall.Errno(0x24)
1500 EINTR = syscall.Errno(0x4)
1501 EINVAL = syscall.Errno(0x16)
1502 EIO = syscall.Errno(0x5)
1503 EISCONN = syscall.Errno(0x38)
1504 EISDIR = syscall.Errno(0x15)
1505 ELAST = syscall.Errno(0x60)
1506 ELOOP = syscall.Errno(0x3e)
1507 EMFILE = syscall.Errno(0x18)
1508 EMLINK = syscall.Errno(0x1f)
1509 EMSGSIZE = syscall.Errno(0x28)
1510 EMULTIHOP = syscall.Errno(0x5a)
1511 ENAMETOOLONG = syscall.Errno(0x3f)
1512 ENEEDAUTH = syscall.Errno(0x51)
1513 ENETDOWN = syscall.Errno(0x32)
1514 ENETRESET = syscall.Errno(0x34)
1515 ENETUNREACH = syscall.Errno(0x33)
1516 ENFILE = syscall.Errno(0x17)
1517 ENOATTR = syscall.Errno(0x57)
1518 ENOBUFS = syscall.Errno(0x37)
1519 ENODEV = syscall.Errno(0x13)
1520 ENOENT = syscall.Errno(0x2)
1521 ENOEXEC = syscall.Errno(0x8)
1522 ENOLCK = syscall.Errno(0x4d)
1523 ENOLINK = syscall.Errno(0x5b)
1524 ENOMEM = syscall.Errno(0xc)
1525 ENOMSG = syscall.Errno(0x53)
1526 ENOPROTOOPT = syscall.Errno(0x2a)
1527 ENOSPC = syscall.Errno(0x1c)
1528 ENOSYS = syscall.Errno(0x4e)
1529 ENOTBLK = syscall.Errno(0xf)
1530 ENOTCAPABLE = syscall.Errno(0x5d)
1531 ENOTCONN = syscall.Errno(0x39)
1532 ENOTDIR = syscall.Errno(0x14)
1533 ENOTEMPTY = syscall.Errno(0x42)
1534 ENOTRECOVERABLE = syscall.Errno(0x5f)
1535 ENOTSOCK = syscall.Errno(0x26)
1536 ENOTSUP = syscall.Errno(0x2d)
1537 ENOTTY = syscall.Errno(0x19)
1538 ENXIO = syscall.Errno(0x6)
1539 EOPNOTSUPP = syscall.Errno(0x2d)
1540 EOVERFLOW = syscall.Errno(0x54)
1541 EOWNERDEAD = syscall.Errno(0x60)
1542 EPERM = syscall.Errno(0x1)
1543 EPFNOSUPPORT = syscall.Errno(0x2e)
1544 EPIPE = syscall.Errno(0x20)
1545 EPROCLIM = syscall.Errno(0x43)
1546 EPROCUNAVAIL = syscall.Errno(0x4c)
1547 EPROGMISMATCH = syscall.Errno(0x4b)
1548 EPROGUNAVAIL = syscall.Errno(0x4a)
1549 EPROTO = syscall.Errno(0x5c)
1550 EPROTONOSUPPORT = syscall.Errno(0x2b)
1551 EPROTOTYPE = syscall.Errno(0x29)
1552 ERANGE = syscall.Errno(0x22)
1553 EREMOTE = syscall.Errno(0x47)
1554 EROFS = syscall.Errno(0x1e)
1555 ERPCMISMATCH = syscall.Errno(0x49)
1556 ESHUTDOWN = syscall.Errno(0x3a)
1557 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1558 ESPIPE = syscall.Errno(0x1d)
1559 ESRCH = syscall.Errno(0x3)
1560 ESTALE = syscall.Errno(0x46)
1561 ETIMEDOUT = syscall.Errno(0x3c)
1562 ETOOMANYREFS = syscall.Errno(0x3b)
1563 ETXTBSY = syscall.Errno(0x1a)
1564 EUSERS = syscall.Errno(0x44)
1565 EWOULDBLOCK = syscall.Errno(0x23)
1566 EXDEV = syscall.Errno(0x12)
1567)
1568
1569// Signals
1570const (
1571 SIGABRT = syscall.Signal(0x6)
1572 SIGALRM = syscall.Signal(0xe)
1573 SIGBUS = syscall.Signal(0xa)
1574 SIGCHLD = syscall.Signal(0x14)
1575 SIGCONT = syscall.Signal(0x13)
1576 SIGEMT = syscall.Signal(0x7)
1577 SIGFPE = syscall.Signal(0x8)
1578 SIGHUP = syscall.Signal(0x1)
1579 SIGILL = syscall.Signal(0x4)
1580 SIGINFO = syscall.Signal(0x1d)
1581 SIGINT = syscall.Signal(0x2)
1582 SIGIO = syscall.Signal(0x17)
1583 SIGIOT = syscall.Signal(0x6)
1584 SIGKILL = syscall.Signal(0x9)
1585 SIGLIBRT = syscall.Signal(0x21)
1586 SIGLWP = syscall.Signal(0x20)
1587 SIGPIPE = syscall.Signal(0xd)
1588 SIGPROF = syscall.Signal(0x1b)
1589 SIGQUIT = syscall.Signal(0x3)
1590 SIGSEGV = syscall.Signal(0xb)
1591 SIGSTOP = syscall.Signal(0x11)
1592 SIGSYS = syscall.Signal(0xc)
1593 SIGTERM = syscall.Signal(0xf)
1594 SIGTHR = syscall.Signal(0x20)
1595 SIGTRAP = syscall.Signal(0x5)
1596 SIGTSTP = syscall.Signal(0x12)
1597 SIGTTIN = syscall.Signal(0x15)
1598 SIGTTOU = syscall.Signal(0x16)
1599 SIGURG = syscall.Signal(0x10)
1600 SIGUSR1 = syscall.Signal(0x1e)
1601 SIGUSR2 = syscall.Signal(0x1f)
1602 SIGVTALRM = syscall.Signal(0x1a)
1603 SIGWINCH = syscall.Signal(0x1c)
1604 SIGXCPU = syscall.Signal(0x18)
1605 SIGXFSZ = syscall.Signal(0x19)
1606)
1607
1608// Error table
1609var errors = [...]string{
1610 1: "operation not permitted",
1611 2: "no such file or directory",
1612 3: "no such process",
1613 4: "interrupted system call",
1614 5: "input/output error",
1615 6: "device not configured",
1616 7: "argument list too long",
1617 8: "exec format error",
1618 9: "bad file descriptor",
1619 10: "no child processes",
1620 11: "resource deadlock avoided",
1621 12: "cannot allocate memory",
1622 13: "permission denied",
1623 14: "bad address",
1624 15: "block device required",
1625 16: "device busy",
1626 17: "file exists",
1627 18: "cross-device link",
1628 19: "operation not supported by device",
1629 20: "not a directory",
1630 21: "is a directory",
1631 22: "invalid argument",
1632 23: "too many open files in system",
1633 24: "too many open files",
1634 25: "inappropriate ioctl for device",
1635 26: "text file busy",
1636 27: "file too large",
1637 28: "no space left on device",
1638 29: "illegal seek",
1639 30: "read-only file system",
1640 31: "too many links",
1641 32: "broken pipe",
1642 33: "numerical argument out of domain",
1643 34: "result too large",
1644 35: "resource temporarily unavailable",
1645 36: "operation now in progress",
1646 37: "operation already in progress",
1647 38: "socket operation on non-socket",
1648 39: "destination address required",
1649 40: "message too long",
1650 41: "protocol wrong type for socket",
1651 42: "protocol not available",
1652 43: "protocol not supported",
1653 44: "socket type not supported",
1654 45: "operation not supported",
1655 46: "protocol family not supported",
1656 47: "address family not supported by protocol family",
1657 48: "address already in use",
1658 49: "can't assign requested address",
1659 50: "network is down",
1660 51: "network is unreachable",
1661 52: "network dropped connection on reset",
1662 53: "software caused connection abort",
1663 54: "connection reset by peer",
1664 55: "no buffer space available",
1665 56: "socket is already connected",
1666 57: "socket is not connected",
1667 58: "can't send after socket shutdown",
1668 59: "too many references: can't splice",
1669 60: "operation timed out",
1670 61: "connection refused",
1671 62: "too many levels of symbolic links",
1672 63: "file name too long",
1673 64: "host is down",
1674 65: "no route to host",
1675 66: "directory not empty",
1676 67: "too many processes",
1677 68: "too many users",
1678 69: "disc quota exceeded",
1679 70: "stale NFS file handle",
1680 71: "too many levels of remote in path",
1681 72: "RPC struct is bad",
1682 73: "RPC version wrong",
1683 74: "RPC prog. not avail",
1684 75: "program version wrong",
1685 76: "bad procedure for program",
1686 77: "no locks available",
1687 78: "function not implemented",
1688 79: "inappropriate file type or format",
1689 80: "authentication error",
1690 81: "need authenticator",
1691 82: "identifier removed",
1692 83: "no message of desired type",
1693 84: "value too large to be stored in data type",
1694 85: "operation canceled",
1695 86: "illegal byte sequence",
1696 87: "attribute not found",
1697 88: "programming error",
1698 89: "bad message",
1699 90: "multihop attempted",
1700 91: "link has been severed",
1701 92: "protocol error",
1702 93: "capabilities insufficient",
1703 94: "not permitted in capability mode",
1704 95: "state not recoverable",
1705 96: "previous owner died",
1706}
1707
1708// Signal table
1709var signals = [...]string{
1710 1: "hangup",
1711 2: "interrupt",
1712 3: "quit",
1713 4: "illegal instruction",
1714 5: "trace/BPT trap",
1715 6: "abort trap",
1716 7: "EMT trap",
1717 8: "floating point exception",
1718 9: "killed",
1719 10: "bus error",
1720 11: "segmentation fault",
1721 12: "bad system call",
1722 13: "broken pipe",
1723 14: "alarm clock",
1724 15: "terminated",
1725 16: "urgent I/O condition",
1726 17: "suspended (signal)",
1727 18: "suspended",
1728 19: "continued",
1729 20: "child exited",
1730 21: "stopped (tty input)",
1731 22: "stopped (tty output)",
1732 23: "I/O possible",
1733 24: "cputime limit exceeded",
1734 25: "filesize limit exceeded",
1735 26: "virtual timer expired",
1736 27: "profiling timer expired",
1737 28: "window size changes",
1738 29: "information request",
1739 30: "user defined signal 1",
1740 31: "user defined signal 2",
1741 32: "unknown signal",
1742 33: "unknown signal",
1743}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
deleted file mode 100644
index e48e779..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
+++ /dev/null
@@ -1,1748 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,freebsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x23
16 AF_ATM = 0x1e
17 AF_BLUETOOTH = 0x24
18 AF_CCITT = 0xa
19 AF_CHAOS = 0x5
20 AF_CNT = 0x15
21 AF_COIP = 0x14
22 AF_DATAKIT = 0x9
23 AF_DECnet = 0xc
24 AF_DLI = 0xd
25 AF_E164 = 0x1a
26 AF_ECMA = 0x8
27 AF_HYLINK = 0xf
28 AF_IEEE80211 = 0x25
29 AF_IMPLINK = 0x3
30 AF_INET = 0x2
31 AF_INET6 = 0x1c
32 AF_INET6_SDP = 0x2a
33 AF_INET_SDP = 0x28
34 AF_IPX = 0x17
35 AF_ISDN = 0x1a
36 AF_ISO = 0x7
37 AF_LAT = 0xe
38 AF_LINK = 0x12
39 AF_LOCAL = 0x1
40 AF_MAX = 0x2a
41 AF_NATM = 0x1d
42 AF_NETBIOS = 0x6
43 AF_NETGRAPH = 0x20
44 AF_OSI = 0x7
45 AF_PUP = 0x4
46 AF_ROUTE = 0x11
47 AF_SCLUSTER = 0x22
48 AF_SIP = 0x18
49 AF_SLOW = 0x21
50 AF_SNA = 0xb
51 AF_UNIX = 0x1
52 AF_UNSPEC = 0x0
53 AF_VENDOR00 = 0x27
54 AF_VENDOR01 = 0x29
55 AF_VENDOR02 = 0x2b
56 AF_VENDOR03 = 0x2d
57 AF_VENDOR04 = 0x2f
58 AF_VENDOR05 = 0x31
59 AF_VENDOR06 = 0x33
60 AF_VENDOR07 = 0x35
61 AF_VENDOR08 = 0x37
62 AF_VENDOR09 = 0x39
63 AF_VENDOR10 = 0x3b
64 AF_VENDOR11 = 0x3d
65 AF_VENDOR12 = 0x3f
66 AF_VENDOR13 = 0x41
67 AF_VENDOR14 = 0x43
68 AF_VENDOR15 = 0x45
69 AF_VENDOR16 = 0x47
70 AF_VENDOR17 = 0x49
71 AF_VENDOR18 = 0x4b
72 AF_VENDOR19 = 0x4d
73 AF_VENDOR20 = 0x4f
74 AF_VENDOR21 = 0x51
75 AF_VENDOR22 = 0x53
76 AF_VENDOR23 = 0x55
77 AF_VENDOR24 = 0x57
78 AF_VENDOR25 = 0x59
79 AF_VENDOR26 = 0x5b
80 AF_VENDOR27 = 0x5d
81 AF_VENDOR28 = 0x5f
82 AF_VENDOR29 = 0x61
83 AF_VENDOR30 = 0x63
84 AF_VENDOR31 = 0x65
85 AF_VENDOR32 = 0x67
86 AF_VENDOR33 = 0x69
87 AF_VENDOR34 = 0x6b
88 AF_VENDOR35 = 0x6d
89 AF_VENDOR36 = 0x6f
90 AF_VENDOR37 = 0x71
91 AF_VENDOR38 = 0x73
92 AF_VENDOR39 = 0x75
93 AF_VENDOR40 = 0x77
94 AF_VENDOR41 = 0x79
95 AF_VENDOR42 = 0x7b
96 AF_VENDOR43 = 0x7d
97 AF_VENDOR44 = 0x7f
98 AF_VENDOR45 = 0x81
99 AF_VENDOR46 = 0x83
100 AF_VENDOR47 = 0x85
101 B0 = 0x0
102 B110 = 0x6e
103 B115200 = 0x1c200
104 B1200 = 0x4b0
105 B134 = 0x86
106 B14400 = 0x3840
107 B150 = 0x96
108 B1800 = 0x708
109 B19200 = 0x4b00
110 B200 = 0xc8
111 B230400 = 0x38400
112 B2400 = 0x960
113 B28800 = 0x7080
114 B300 = 0x12c
115 B38400 = 0x9600
116 B460800 = 0x70800
117 B4800 = 0x12c0
118 B50 = 0x32
119 B57600 = 0xe100
120 B600 = 0x258
121 B7200 = 0x1c20
122 B75 = 0x4b
123 B76800 = 0x12c00
124 B921600 = 0xe1000
125 B9600 = 0x2580
126 BIOCFEEDBACK = 0x8004427c
127 BIOCFLUSH = 0x20004268
128 BIOCGBLEN = 0x40044266
129 BIOCGDIRECTION = 0x40044276
130 BIOCGDLT = 0x4004426a
131 BIOCGDLTLIST = 0xc0104279
132 BIOCGETBUFMODE = 0x4004427d
133 BIOCGETIF = 0x4020426b
134 BIOCGETZMAX = 0x4008427f
135 BIOCGHDRCMPLT = 0x40044274
136 BIOCGRSIG = 0x40044272
137 BIOCGRTIMEOUT = 0x4010426e
138 BIOCGSEESENT = 0x40044276
139 BIOCGSTATS = 0x4008426f
140 BIOCGTSTAMP = 0x40044283
141 BIOCIMMEDIATE = 0x80044270
142 BIOCLOCK = 0x2000427a
143 BIOCPROMISC = 0x20004269
144 BIOCROTZBUF = 0x40184280
145 BIOCSBLEN = 0xc0044266
146 BIOCSDIRECTION = 0x80044277
147 BIOCSDLT = 0x80044278
148 BIOCSETBUFMODE = 0x8004427e
149 BIOCSETF = 0x80104267
150 BIOCSETFNR = 0x80104282
151 BIOCSETIF = 0x8020426c
152 BIOCSETWF = 0x8010427b
153 BIOCSETZBUF = 0x80184281
154 BIOCSHDRCMPLT = 0x80044275
155 BIOCSRSIG = 0x80044273
156 BIOCSRTIMEOUT = 0x8010426d
157 BIOCSSEESENT = 0x80044277
158 BIOCSTSTAMP = 0x80044284
159 BIOCVERSION = 0x40044271
160 BPF_A = 0x10
161 BPF_ABS = 0x20
162 BPF_ADD = 0x0
163 BPF_ALIGNMENT = 0x8
164 BPF_ALU = 0x4
165 BPF_AND = 0x50
166 BPF_B = 0x10
167 BPF_BUFMODE_BUFFER = 0x1
168 BPF_BUFMODE_ZBUF = 0x2
169 BPF_DIV = 0x30
170 BPF_H = 0x8
171 BPF_IMM = 0x0
172 BPF_IND = 0x40
173 BPF_JA = 0x0
174 BPF_JEQ = 0x10
175 BPF_JGE = 0x30
176 BPF_JGT = 0x20
177 BPF_JMP = 0x5
178 BPF_JSET = 0x40
179 BPF_K = 0x0
180 BPF_LD = 0x0
181 BPF_LDX = 0x1
182 BPF_LEN = 0x80
183 BPF_LSH = 0x60
184 BPF_MAJOR_VERSION = 0x1
185 BPF_MAXBUFSIZE = 0x80000
186 BPF_MAXINSNS = 0x200
187 BPF_MEM = 0x60
188 BPF_MEMWORDS = 0x10
189 BPF_MINBUFSIZE = 0x20
190 BPF_MINOR_VERSION = 0x1
191 BPF_MISC = 0x7
192 BPF_MSH = 0xa0
193 BPF_MUL = 0x20
194 BPF_NEG = 0x80
195 BPF_OR = 0x40
196 BPF_RELEASE = 0x30bb6
197 BPF_RET = 0x6
198 BPF_RSH = 0x70
199 BPF_ST = 0x2
200 BPF_STX = 0x3
201 BPF_SUB = 0x10
202 BPF_TAX = 0x0
203 BPF_TXA = 0x80
204 BPF_T_BINTIME = 0x2
205 BPF_T_BINTIME_FAST = 0x102
206 BPF_T_BINTIME_MONOTONIC = 0x202
207 BPF_T_BINTIME_MONOTONIC_FAST = 0x302
208 BPF_T_FAST = 0x100
209 BPF_T_FLAG_MASK = 0x300
210 BPF_T_FORMAT_MASK = 0x3
211 BPF_T_MICROTIME = 0x0
212 BPF_T_MICROTIME_FAST = 0x100
213 BPF_T_MICROTIME_MONOTONIC = 0x200
214 BPF_T_MICROTIME_MONOTONIC_FAST = 0x300
215 BPF_T_MONOTONIC = 0x200
216 BPF_T_MONOTONIC_FAST = 0x300
217 BPF_T_NANOTIME = 0x1
218 BPF_T_NANOTIME_FAST = 0x101
219 BPF_T_NANOTIME_MONOTONIC = 0x201
220 BPF_T_NANOTIME_MONOTONIC_FAST = 0x301
221 BPF_T_NONE = 0x3
222 BPF_T_NORMAL = 0x0
223 BPF_W = 0x0
224 BPF_X = 0x8
225 BRKINT = 0x2
226 CFLUSH = 0xf
227 CLOCAL = 0x8000
228 CLOCK_MONOTONIC = 0x4
229 CLOCK_MONOTONIC_FAST = 0xc
230 CLOCK_MONOTONIC_PRECISE = 0xb
231 CLOCK_PROCESS_CPUTIME_ID = 0xf
232 CLOCK_PROF = 0x2
233 CLOCK_REALTIME = 0x0
234 CLOCK_REALTIME_FAST = 0xa
235 CLOCK_REALTIME_PRECISE = 0x9
236 CLOCK_SECOND = 0xd
237 CLOCK_THREAD_CPUTIME_ID = 0xe
238 CLOCK_UPTIME = 0x5
239 CLOCK_UPTIME_FAST = 0x8
240 CLOCK_UPTIME_PRECISE = 0x7
241 CLOCK_VIRTUAL = 0x1
242 CREAD = 0x800
243 CS5 = 0x0
244 CS6 = 0x100
245 CS7 = 0x200
246 CS8 = 0x300
247 CSIZE = 0x300
248 CSTART = 0x11
249 CSTATUS = 0x14
250 CSTOP = 0x13
251 CSTOPB = 0x400
252 CSUSP = 0x1a
253 CTL_MAXNAME = 0x18
254 CTL_NET = 0x4
255 DLT_A429 = 0xb8
256 DLT_A653_ICM = 0xb9
257 DLT_AIRONET_HEADER = 0x78
258 DLT_AOS = 0xde
259 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
260 DLT_ARCNET = 0x7
261 DLT_ARCNET_LINUX = 0x81
262 DLT_ATM_CLIP = 0x13
263 DLT_ATM_RFC1483 = 0xb
264 DLT_AURORA = 0x7e
265 DLT_AX25 = 0x3
266 DLT_AX25_KISS = 0xca
267 DLT_BACNET_MS_TP = 0xa5
268 DLT_BLUETOOTH_HCI_H4 = 0xbb
269 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
270 DLT_CAN20B = 0xbe
271 DLT_CAN_SOCKETCAN = 0xe3
272 DLT_CHAOS = 0x5
273 DLT_CHDLC = 0x68
274 DLT_CISCO_IOS = 0x76
275 DLT_C_HDLC = 0x68
276 DLT_C_HDLC_WITH_DIR = 0xcd
277 DLT_DBUS = 0xe7
278 DLT_DECT = 0xdd
279 DLT_DOCSIS = 0x8f
280 DLT_DVB_CI = 0xeb
281 DLT_ECONET = 0x73
282 DLT_EN10MB = 0x1
283 DLT_EN3MB = 0x2
284 DLT_ENC = 0x6d
285 DLT_ERF = 0xc5
286 DLT_ERF_ETH = 0xaf
287 DLT_ERF_POS = 0xb0
288 DLT_FC_2 = 0xe0
289 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
290 DLT_FDDI = 0xa
291 DLT_FLEXRAY = 0xd2
292 DLT_FRELAY = 0x6b
293 DLT_FRELAY_WITH_DIR = 0xce
294 DLT_GCOM_SERIAL = 0xad
295 DLT_GCOM_T1E1 = 0xac
296 DLT_GPF_F = 0xab
297 DLT_GPF_T = 0xaa
298 DLT_GPRS_LLC = 0xa9
299 DLT_GSMTAP_ABIS = 0xda
300 DLT_GSMTAP_UM = 0xd9
301 DLT_HHDLC = 0x79
302 DLT_IBM_SN = 0x92
303 DLT_IBM_SP = 0x91
304 DLT_IEEE802 = 0x6
305 DLT_IEEE802_11 = 0x69
306 DLT_IEEE802_11_RADIO = 0x7f
307 DLT_IEEE802_11_RADIO_AVS = 0xa3
308 DLT_IEEE802_15_4 = 0xc3
309 DLT_IEEE802_15_4_LINUX = 0xbf
310 DLT_IEEE802_15_4_NOFCS = 0xe6
311 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
312 DLT_IEEE802_16_MAC_CPS = 0xbc
313 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
314 DLT_IPFILTER = 0x74
315 DLT_IPMB = 0xc7
316 DLT_IPMB_LINUX = 0xd1
317 DLT_IPNET = 0xe2
318 DLT_IPOIB = 0xf2
319 DLT_IPV4 = 0xe4
320 DLT_IPV6 = 0xe5
321 DLT_IP_OVER_FC = 0x7a
322 DLT_JUNIPER_ATM1 = 0x89
323 DLT_JUNIPER_ATM2 = 0x87
324 DLT_JUNIPER_ATM_CEMIC = 0xee
325 DLT_JUNIPER_CHDLC = 0xb5
326 DLT_JUNIPER_ES = 0x84
327 DLT_JUNIPER_ETHER = 0xb2
328 DLT_JUNIPER_FIBRECHANNEL = 0xea
329 DLT_JUNIPER_FRELAY = 0xb4
330 DLT_JUNIPER_GGSN = 0x85
331 DLT_JUNIPER_ISM = 0xc2
332 DLT_JUNIPER_MFR = 0x86
333 DLT_JUNIPER_MLFR = 0x83
334 DLT_JUNIPER_MLPPP = 0x82
335 DLT_JUNIPER_MONITOR = 0xa4
336 DLT_JUNIPER_PIC_PEER = 0xae
337 DLT_JUNIPER_PPP = 0xb3
338 DLT_JUNIPER_PPPOE = 0xa7
339 DLT_JUNIPER_PPPOE_ATM = 0xa8
340 DLT_JUNIPER_SERVICES = 0x88
341 DLT_JUNIPER_SRX_E2E = 0xe9
342 DLT_JUNIPER_ST = 0xc8
343 DLT_JUNIPER_VP = 0xb7
344 DLT_JUNIPER_VS = 0xe8
345 DLT_LAPB_WITH_DIR = 0xcf
346 DLT_LAPD = 0xcb
347 DLT_LIN = 0xd4
348 DLT_LINUX_EVDEV = 0xd8
349 DLT_LINUX_IRDA = 0x90
350 DLT_LINUX_LAPD = 0xb1
351 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
352 DLT_LINUX_SLL = 0x71
353 DLT_LOOP = 0x6c
354 DLT_LTALK = 0x72
355 DLT_MATCHING_MAX = 0xf6
356 DLT_MATCHING_MIN = 0x68
357 DLT_MFR = 0xb6
358 DLT_MOST = 0xd3
359 DLT_MPEG_2_TS = 0xf3
360 DLT_MPLS = 0xdb
361 DLT_MTP2 = 0x8c
362 DLT_MTP2_WITH_PHDR = 0x8b
363 DLT_MTP3 = 0x8d
364 DLT_MUX27010 = 0xec
365 DLT_NETANALYZER = 0xf0
366 DLT_NETANALYZER_TRANSPARENT = 0xf1
367 DLT_NFC_LLCP = 0xf5
368 DLT_NFLOG = 0xef
369 DLT_NG40 = 0xf4
370 DLT_NULL = 0x0
371 DLT_PCI_EXP = 0x7d
372 DLT_PFLOG = 0x75
373 DLT_PFSYNC = 0x79
374 DLT_PPI = 0xc0
375 DLT_PPP = 0x9
376 DLT_PPP_BSDOS = 0x10
377 DLT_PPP_ETHER = 0x33
378 DLT_PPP_PPPD = 0xa6
379 DLT_PPP_SERIAL = 0x32
380 DLT_PPP_WITH_DIR = 0xcc
381 DLT_PPP_WITH_DIRECTION = 0xa6
382 DLT_PRISM_HEADER = 0x77
383 DLT_PRONET = 0x4
384 DLT_RAIF1 = 0xc6
385 DLT_RAW = 0xc
386 DLT_RIO = 0x7c
387 DLT_SCCP = 0x8e
388 DLT_SITA = 0xc4
389 DLT_SLIP = 0x8
390 DLT_SLIP_BSDOS = 0xf
391 DLT_STANAG_5066_D_PDU = 0xed
392 DLT_SUNATM = 0x7b
393 DLT_SYMANTEC_FIREWALL = 0x63
394 DLT_TZSP = 0x80
395 DLT_USB = 0xba
396 DLT_USB_LINUX = 0xbd
397 DLT_USB_LINUX_MMAPPED = 0xdc
398 DLT_USER0 = 0x93
399 DLT_USER1 = 0x94
400 DLT_USER10 = 0x9d
401 DLT_USER11 = 0x9e
402 DLT_USER12 = 0x9f
403 DLT_USER13 = 0xa0
404 DLT_USER14 = 0xa1
405 DLT_USER15 = 0xa2
406 DLT_USER2 = 0x95
407 DLT_USER3 = 0x96
408 DLT_USER4 = 0x97
409 DLT_USER5 = 0x98
410 DLT_USER6 = 0x99
411 DLT_USER7 = 0x9a
412 DLT_USER8 = 0x9b
413 DLT_USER9 = 0x9c
414 DLT_WIHART = 0xdf
415 DLT_X2E_SERIAL = 0xd5
416 DLT_X2E_XORAYA = 0xd6
417 DT_BLK = 0x6
418 DT_CHR = 0x2
419 DT_DIR = 0x4
420 DT_FIFO = 0x1
421 DT_LNK = 0xa
422 DT_REG = 0x8
423 DT_SOCK = 0xc
424 DT_UNKNOWN = 0x0
425 DT_WHT = 0xe
426 ECHO = 0x8
427 ECHOCTL = 0x40
428 ECHOE = 0x2
429 ECHOK = 0x4
430 ECHOKE = 0x1
431 ECHONL = 0x10
432 ECHOPRT = 0x20
433 EVFILT_AIO = -0x3
434 EVFILT_FS = -0x9
435 EVFILT_LIO = -0xa
436 EVFILT_PROC = -0x5
437 EVFILT_READ = -0x1
438 EVFILT_SIGNAL = -0x6
439 EVFILT_SYSCOUNT = 0xb
440 EVFILT_TIMER = -0x7
441 EVFILT_USER = -0xb
442 EVFILT_VNODE = -0x4
443 EVFILT_WRITE = -0x2
444 EV_ADD = 0x1
445 EV_CLEAR = 0x20
446 EV_DELETE = 0x2
447 EV_DISABLE = 0x8
448 EV_DISPATCH = 0x80
449 EV_DROP = 0x1000
450 EV_ENABLE = 0x4
451 EV_EOF = 0x8000
452 EV_ERROR = 0x4000
453 EV_FLAG1 = 0x2000
454 EV_ONESHOT = 0x10
455 EV_RECEIPT = 0x40
456 EV_SYSFLAGS = 0xf000
457 EXTA = 0x4b00
458 EXTATTR_NAMESPACE_EMPTY = 0x0
459 EXTATTR_NAMESPACE_SYSTEM = 0x2
460 EXTATTR_NAMESPACE_USER = 0x1
461 EXTB = 0x9600
462 EXTPROC = 0x800
463 FD_CLOEXEC = 0x1
464 FD_SETSIZE = 0x400
465 FLUSHO = 0x800000
466 F_CANCEL = 0x5
467 F_DUP2FD = 0xa
468 F_DUP2FD_CLOEXEC = 0x12
469 F_DUPFD = 0x0
470 F_DUPFD_CLOEXEC = 0x11
471 F_GETFD = 0x1
472 F_GETFL = 0x3
473 F_GETLK = 0xb
474 F_GETOWN = 0x5
475 F_OGETLK = 0x7
476 F_OK = 0x0
477 F_OSETLK = 0x8
478 F_OSETLKW = 0x9
479 F_RDAHEAD = 0x10
480 F_RDLCK = 0x1
481 F_READAHEAD = 0xf
482 F_SETFD = 0x2
483 F_SETFL = 0x4
484 F_SETLK = 0xc
485 F_SETLKW = 0xd
486 F_SETLK_REMOTE = 0xe
487 F_SETOWN = 0x6
488 F_UNLCK = 0x2
489 F_UNLCKSYS = 0x4
490 F_WRLCK = 0x3
491 HUPCL = 0x4000
492 ICANON = 0x100
493 ICMP6_FILTER = 0x12
494 ICRNL = 0x100
495 IEXTEN = 0x400
496 IFAN_ARRIVAL = 0x0
497 IFAN_DEPARTURE = 0x1
498 IFF_ALLMULTI = 0x200
499 IFF_ALTPHYS = 0x4000
500 IFF_BROADCAST = 0x2
501 IFF_CANTCHANGE = 0x218f72
502 IFF_CANTCONFIG = 0x10000
503 IFF_DEBUG = 0x4
504 IFF_DRV_OACTIVE = 0x400
505 IFF_DRV_RUNNING = 0x40
506 IFF_DYING = 0x200000
507 IFF_LINK0 = 0x1000
508 IFF_LINK1 = 0x2000
509 IFF_LINK2 = 0x4000
510 IFF_LOOPBACK = 0x8
511 IFF_MONITOR = 0x40000
512 IFF_MULTICAST = 0x8000
513 IFF_NOARP = 0x80
514 IFF_OACTIVE = 0x400
515 IFF_POINTOPOINT = 0x10
516 IFF_PPROMISC = 0x20000
517 IFF_PROMISC = 0x100
518 IFF_RENAMING = 0x400000
519 IFF_RUNNING = 0x40
520 IFF_SIMPLEX = 0x800
521 IFF_SMART = 0x20
522 IFF_STATICARP = 0x80000
523 IFF_UP = 0x1
524 IFNAMSIZ = 0x10
525 IFT_1822 = 0x2
526 IFT_A12MPPSWITCH = 0x82
527 IFT_AAL2 = 0xbb
528 IFT_AAL5 = 0x31
529 IFT_ADSL = 0x5e
530 IFT_AFLANE8023 = 0x3b
531 IFT_AFLANE8025 = 0x3c
532 IFT_ARAP = 0x58
533 IFT_ARCNET = 0x23
534 IFT_ARCNETPLUS = 0x24
535 IFT_ASYNC = 0x54
536 IFT_ATM = 0x25
537 IFT_ATMDXI = 0x69
538 IFT_ATMFUNI = 0x6a
539 IFT_ATMIMA = 0x6b
540 IFT_ATMLOGICAL = 0x50
541 IFT_ATMRADIO = 0xbd
542 IFT_ATMSUBINTERFACE = 0x86
543 IFT_ATMVCIENDPT = 0xc2
544 IFT_ATMVIRTUAL = 0x95
545 IFT_BGPPOLICYACCOUNTING = 0xa2
546 IFT_BRIDGE = 0xd1
547 IFT_BSC = 0x53
548 IFT_CARP = 0xf8
549 IFT_CCTEMUL = 0x3d
550 IFT_CEPT = 0x13
551 IFT_CES = 0x85
552 IFT_CHANNEL = 0x46
553 IFT_CNR = 0x55
554 IFT_COFFEE = 0x84
555 IFT_COMPOSITELINK = 0x9b
556 IFT_DCN = 0x8d
557 IFT_DIGITALPOWERLINE = 0x8a
558 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
559 IFT_DLSW = 0x4a
560 IFT_DOCSCABLEDOWNSTREAM = 0x80
561 IFT_DOCSCABLEMACLAYER = 0x7f
562 IFT_DOCSCABLEUPSTREAM = 0x81
563 IFT_DS0 = 0x51
564 IFT_DS0BUNDLE = 0x52
565 IFT_DS1FDL = 0xaa
566 IFT_DS3 = 0x1e
567 IFT_DTM = 0x8c
568 IFT_DVBASILN = 0xac
569 IFT_DVBASIOUT = 0xad
570 IFT_DVBRCCDOWNSTREAM = 0x93
571 IFT_DVBRCCMACLAYER = 0x92
572 IFT_DVBRCCUPSTREAM = 0x94
573 IFT_ENC = 0xf4
574 IFT_EON = 0x19
575 IFT_EPLRS = 0x57
576 IFT_ESCON = 0x49
577 IFT_ETHER = 0x6
578 IFT_FAITH = 0xf2
579 IFT_FAST = 0x7d
580 IFT_FASTETHER = 0x3e
581 IFT_FASTETHERFX = 0x45
582 IFT_FDDI = 0xf
583 IFT_FIBRECHANNEL = 0x38
584 IFT_FRAMERELAYINTERCONNECT = 0x3a
585 IFT_FRAMERELAYMPI = 0x5c
586 IFT_FRDLCIENDPT = 0xc1
587 IFT_FRELAY = 0x20
588 IFT_FRELAYDCE = 0x2c
589 IFT_FRF16MFRBUNDLE = 0xa3
590 IFT_FRFORWARD = 0x9e
591 IFT_G703AT2MB = 0x43
592 IFT_G703AT64K = 0x42
593 IFT_GIF = 0xf0
594 IFT_GIGABITETHERNET = 0x75
595 IFT_GR303IDT = 0xb2
596 IFT_GR303RDT = 0xb1
597 IFT_H323GATEKEEPER = 0xa4
598 IFT_H323PROXY = 0xa5
599 IFT_HDH1822 = 0x3
600 IFT_HDLC = 0x76
601 IFT_HDSL2 = 0xa8
602 IFT_HIPERLAN2 = 0xb7
603 IFT_HIPPI = 0x2f
604 IFT_HIPPIINTERFACE = 0x39
605 IFT_HOSTPAD = 0x5a
606 IFT_HSSI = 0x2e
607 IFT_HY = 0xe
608 IFT_IBM370PARCHAN = 0x48
609 IFT_IDSL = 0x9a
610 IFT_IEEE1394 = 0x90
611 IFT_IEEE80211 = 0x47
612 IFT_IEEE80212 = 0x37
613 IFT_IEEE8023ADLAG = 0xa1
614 IFT_IFGSN = 0x91
615 IFT_IMT = 0xbe
616 IFT_INFINIBAND = 0xc7
617 IFT_INTERLEAVE = 0x7c
618 IFT_IP = 0x7e
619 IFT_IPFORWARD = 0x8e
620 IFT_IPOVERATM = 0x72
621 IFT_IPOVERCDLC = 0x6d
622 IFT_IPOVERCLAW = 0x6e
623 IFT_IPSWITCH = 0x4e
624 IFT_IPXIP = 0xf9
625 IFT_ISDN = 0x3f
626 IFT_ISDNBASIC = 0x14
627 IFT_ISDNPRIMARY = 0x15
628 IFT_ISDNS = 0x4b
629 IFT_ISDNU = 0x4c
630 IFT_ISO88022LLC = 0x29
631 IFT_ISO88023 = 0x7
632 IFT_ISO88024 = 0x8
633 IFT_ISO88025 = 0x9
634 IFT_ISO88025CRFPINT = 0x62
635 IFT_ISO88025DTR = 0x56
636 IFT_ISO88025FIBER = 0x73
637 IFT_ISO88026 = 0xa
638 IFT_ISUP = 0xb3
639 IFT_L2VLAN = 0x87
640 IFT_L3IPVLAN = 0x88
641 IFT_L3IPXVLAN = 0x89
642 IFT_LAPB = 0x10
643 IFT_LAPD = 0x4d
644 IFT_LAPF = 0x77
645 IFT_LOCALTALK = 0x2a
646 IFT_LOOP = 0x18
647 IFT_MEDIAMAILOVERIP = 0x8b
648 IFT_MFSIGLINK = 0xa7
649 IFT_MIOX25 = 0x26
650 IFT_MODEM = 0x30
651 IFT_MPC = 0x71
652 IFT_MPLS = 0xa6
653 IFT_MPLSTUNNEL = 0x96
654 IFT_MSDSL = 0x8f
655 IFT_MVL = 0xbf
656 IFT_MYRINET = 0x63
657 IFT_NFAS = 0xaf
658 IFT_NSIP = 0x1b
659 IFT_OPTICALCHANNEL = 0xc3
660 IFT_OPTICALTRANSPORT = 0xc4
661 IFT_OTHER = 0x1
662 IFT_P10 = 0xc
663 IFT_P80 = 0xd
664 IFT_PARA = 0x22
665 IFT_PFLOG = 0xf6
666 IFT_PFSYNC = 0xf7
667 IFT_PLC = 0xae
668 IFT_POS = 0xab
669 IFT_PPP = 0x17
670 IFT_PPPMULTILINKBUNDLE = 0x6c
671 IFT_PROPBWAP2MP = 0xb8
672 IFT_PROPCNLS = 0x59
673 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
674 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
675 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
676 IFT_PROPMUX = 0x36
677 IFT_PROPVIRTUAL = 0x35
678 IFT_PROPWIRELESSP2P = 0x9d
679 IFT_PTPSERIAL = 0x16
680 IFT_PVC = 0xf1
681 IFT_QLLC = 0x44
682 IFT_RADIOMAC = 0xbc
683 IFT_RADSL = 0x5f
684 IFT_REACHDSL = 0xc0
685 IFT_RFC1483 = 0x9f
686 IFT_RS232 = 0x21
687 IFT_RSRB = 0x4f
688 IFT_SDLC = 0x11
689 IFT_SDSL = 0x60
690 IFT_SHDSL = 0xa9
691 IFT_SIP = 0x1f
692 IFT_SLIP = 0x1c
693 IFT_SMDSDXI = 0x2b
694 IFT_SMDSICIP = 0x34
695 IFT_SONET = 0x27
696 IFT_SONETOVERHEADCHANNEL = 0xb9
697 IFT_SONETPATH = 0x32
698 IFT_SONETVT = 0x33
699 IFT_SRP = 0x97
700 IFT_SS7SIGLINK = 0x9c
701 IFT_STACKTOSTACK = 0x6f
702 IFT_STARLAN = 0xb
703 IFT_STF = 0xd7
704 IFT_T1 = 0x12
705 IFT_TDLC = 0x74
706 IFT_TERMPAD = 0x5b
707 IFT_TR008 = 0xb0
708 IFT_TRANSPHDLC = 0x7b
709 IFT_TUNNEL = 0x83
710 IFT_ULTRA = 0x1d
711 IFT_USB = 0xa0
712 IFT_V11 = 0x40
713 IFT_V35 = 0x2d
714 IFT_V36 = 0x41
715 IFT_V37 = 0x78
716 IFT_VDSL = 0x61
717 IFT_VIRTUALIPADDRESS = 0x70
718 IFT_VOICEEM = 0x64
719 IFT_VOICEENCAP = 0x67
720 IFT_VOICEFXO = 0x65
721 IFT_VOICEFXS = 0x66
722 IFT_VOICEOVERATM = 0x98
723 IFT_VOICEOVERFRAMERELAY = 0x99
724 IFT_VOICEOVERIP = 0x68
725 IFT_X213 = 0x5d
726 IFT_X25 = 0x5
727 IFT_X25DDN = 0x4
728 IFT_X25HUNTGROUP = 0x7a
729 IFT_X25MLP = 0x79
730 IFT_X25PLE = 0x28
731 IFT_XETHER = 0x1a
732 IGNBRK = 0x1
733 IGNCR = 0x80
734 IGNPAR = 0x4
735 IMAXBEL = 0x2000
736 INLCR = 0x40
737 INPCK = 0x10
738 IN_CLASSA_HOST = 0xffffff
739 IN_CLASSA_MAX = 0x80
740 IN_CLASSA_NET = 0xff000000
741 IN_CLASSA_NSHIFT = 0x18
742 IN_CLASSB_HOST = 0xffff
743 IN_CLASSB_MAX = 0x10000
744 IN_CLASSB_NET = 0xffff0000
745 IN_CLASSB_NSHIFT = 0x10
746 IN_CLASSC_HOST = 0xff
747 IN_CLASSC_NET = 0xffffff00
748 IN_CLASSC_NSHIFT = 0x8
749 IN_CLASSD_HOST = 0xfffffff
750 IN_CLASSD_NET = 0xf0000000
751 IN_CLASSD_NSHIFT = 0x1c
752 IN_LOOPBACKNET = 0x7f
753 IN_RFC3021_MASK = 0xfffffffe
754 IPPROTO_3PC = 0x22
755 IPPROTO_ADFS = 0x44
756 IPPROTO_AH = 0x33
757 IPPROTO_AHIP = 0x3d
758 IPPROTO_APES = 0x63
759 IPPROTO_ARGUS = 0xd
760 IPPROTO_AX25 = 0x5d
761 IPPROTO_BHA = 0x31
762 IPPROTO_BLT = 0x1e
763 IPPROTO_BRSATMON = 0x4c
764 IPPROTO_CARP = 0x70
765 IPPROTO_CFTP = 0x3e
766 IPPROTO_CHAOS = 0x10
767 IPPROTO_CMTP = 0x26
768 IPPROTO_CPHB = 0x49
769 IPPROTO_CPNX = 0x48
770 IPPROTO_DDP = 0x25
771 IPPROTO_DGP = 0x56
772 IPPROTO_DIVERT = 0x102
773 IPPROTO_DONE = 0x101
774 IPPROTO_DSTOPTS = 0x3c
775 IPPROTO_EGP = 0x8
776 IPPROTO_EMCON = 0xe
777 IPPROTO_ENCAP = 0x62
778 IPPROTO_EON = 0x50
779 IPPROTO_ESP = 0x32
780 IPPROTO_ETHERIP = 0x61
781 IPPROTO_FRAGMENT = 0x2c
782 IPPROTO_GGP = 0x3
783 IPPROTO_GMTP = 0x64
784 IPPROTO_GRE = 0x2f
785 IPPROTO_HELLO = 0x3f
786 IPPROTO_HIP = 0x8b
787 IPPROTO_HMP = 0x14
788 IPPROTO_HOPOPTS = 0x0
789 IPPROTO_ICMP = 0x1
790 IPPROTO_ICMPV6 = 0x3a
791 IPPROTO_IDP = 0x16
792 IPPROTO_IDPR = 0x23
793 IPPROTO_IDRP = 0x2d
794 IPPROTO_IGMP = 0x2
795 IPPROTO_IGP = 0x55
796 IPPROTO_IGRP = 0x58
797 IPPROTO_IL = 0x28
798 IPPROTO_INLSP = 0x34
799 IPPROTO_INP = 0x20
800 IPPROTO_IP = 0x0
801 IPPROTO_IPCOMP = 0x6c
802 IPPROTO_IPCV = 0x47
803 IPPROTO_IPEIP = 0x5e
804 IPPROTO_IPIP = 0x4
805 IPPROTO_IPPC = 0x43
806 IPPROTO_IPV4 = 0x4
807 IPPROTO_IPV6 = 0x29
808 IPPROTO_IRTP = 0x1c
809 IPPROTO_KRYPTOLAN = 0x41
810 IPPROTO_LARP = 0x5b
811 IPPROTO_LEAF1 = 0x19
812 IPPROTO_LEAF2 = 0x1a
813 IPPROTO_MAX = 0x100
814 IPPROTO_MAXID = 0x34
815 IPPROTO_MEAS = 0x13
816 IPPROTO_MH = 0x87
817 IPPROTO_MHRP = 0x30
818 IPPROTO_MICP = 0x5f
819 IPPROTO_MOBILE = 0x37
820 IPPROTO_MPLS = 0x89
821 IPPROTO_MTP = 0x5c
822 IPPROTO_MUX = 0x12
823 IPPROTO_ND = 0x4d
824 IPPROTO_NHRP = 0x36
825 IPPROTO_NONE = 0x3b
826 IPPROTO_NSP = 0x1f
827 IPPROTO_NVPII = 0xb
828 IPPROTO_OLD_DIVERT = 0xfe
829 IPPROTO_OSPFIGP = 0x59
830 IPPROTO_PFSYNC = 0xf0
831 IPPROTO_PGM = 0x71
832 IPPROTO_PIGP = 0x9
833 IPPROTO_PIM = 0x67
834 IPPROTO_PRM = 0x15
835 IPPROTO_PUP = 0xc
836 IPPROTO_PVP = 0x4b
837 IPPROTO_RAW = 0xff
838 IPPROTO_RCCMON = 0xa
839 IPPROTO_RDP = 0x1b
840 IPPROTO_RESERVED_253 = 0xfd
841 IPPROTO_RESERVED_254 = 0xfe
842 IPPROTO_ROUTING = 0x2b
843 IPPROTO_RSVP = 0x2e
844 IPPROTO_RVD = 0x42
845 IPPROTO_SATEXPAK = 0x40
846 IPPROTO_SATMON = 0x45
847 IPPROTO_SCCSP = 0x60
848 IPPROTO_SCTP = 0x84
849 IPPROTO_SDRP = 0x2a
850 IPPROTO_SEND = 0x103
851 IPPROTO_SEP = 0x21
852 IPPROTO_SHIM6 = 0x8c
853 IPPROTO_SKIP = 0x39
854 IPPROTO_SPACER = 0x7fff
855 IPPROTO_SRPC = 0x5a
856 IPPROTO_ST = 0x7
857 IPPROTO_SVMTP = 0x52
858 IPPROTO_SWIPE = 0x35
859 IPPROTO_TCF = 0x57
860 IPPROTO_TCP = 0x6
861 IPPROTO_TLSP = 0x38
862 IPPROTO_TP = 0x1d
863 IPPROTO_TPXX = 0x27
864 IPPROTO_TRUNK1 = 0x17
865 IPPROTO_TRUNK2 = 0x18
866 IPPROTO_TTP = 0x54
867 IPPROTO_UDP = 0x11
868 IPPROTO_UDPLITE = 0x88
869 IPPROTO_VINES = 0x53
870 IPPROTO_VISA = 0x46
871 IPPROTO_VMTP = 0x51
872 IPPROTO_WBEXPAK = 0x4f
873 IPPROTO_WBMON = 0x4e
874 IPPROTO_WSN = 0x4a
875 IPPROTO_XNET = 0xf
876 IPPROTO_XTP = 0x24
877 IPV6_AUTOFLOWLABEL = 0x3b
878 IPV6_BINDANY = 0x40
879 IPV6_BINDV6ONLY = 0x1b
880 IPV6_CHECKSUM = 0x1a
881 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
882 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
883 IPV6_DEFHLIM = 0x40
884 IPV6_DONTFRAG = 0x3e
885 IPV6_DSTOPTS = 0x32
886 IPV6_FAITH = 0x1d
887 IPV6_FLOWINFO_MASK = 0xffffff0f
888 IPV6_FLOWLABEL_MASK = 0xffff0f00
889 IPV6_FRAGTTL = 0x78
890 IPV6_FW_ADD = 0x1e
891 IPV6_FW_DEL = 0x1f
892 IPV6_FW_FLUSH = 0x20
893 IPV6_FW_GET = 0x22
894 IPV6_FW_ZERO = 0x21
895 IPV6_HLIMDEC = 0x1
896 IPV6_HOPLIMIT = 0x2f
897 IPV6_HOPOPTS = 0x31
898 IPV6_IPSEC_POLICY = 0x1c
899 IPV6_JOIN_GROUP = 0xc
900 IPV6_LEAVE_GROUP = 0xd
901 IPV6_MAXHLIM = 0xff
902 IPV6_MAXOPTHDR = 0x800
903 IPV6_MAXPACKET = 0xffff
904 IPV6_MAX_GROUP_SRC_FILTER = 0x200
905 IPV6_MAX_MEMBERSHIPS = 0xfff
906 IPV6_MAX_SOCK_SRC_FILTER = 0x80
907 IPV6_MIN_MEMBERSHIPS = 0x1f
908 IPV6_MMTU = 0x500
909 IPV6_MSFILTER = 0x4a
910 IPV6_MULTICAST_HOPS = 0xa
911 IPV6_MULTICAST_IF = 0x9
912 IPV6_MULTICAST_LOOP = 0xb
913 IPV6_NEXTHOP = 0x30
914 IPV6_PATHMTU = 0x2c
915 IPV6_PKTINFO = 0x2e
916 IPV6_PORTRANGE = 0xe
917 IPV6_PORTRANGE_DEFAULT = 0x0
918 IPV6_PORTRANGE_HIGH = 0x1
919 IPV6_PORTRANGE_LOW = 0x2
920 IPV6_PREFER_TEMPADDR = 0x3f
921 IPV6_RECVDSTOPTS = 0x28
922 IPV6_RECVHOPLIMIT = 0x25
923 IPV6_RECVHOPOPTS = 0x27
924 IPV6_RECVPATHMTU = 0x2b
925 IPV6_RECVPKTINFO = 0x24
926 IPV6_RECVRTHDR = 0x26
927 IPV6_RECVTCLASS = 0x39
928 IPV6_RTHDR = 0x33
929 IPV6_RTHDRDSTOPTS = 0x23
930 IPV6_RTHDR_LOOSE = 0x0
931 IPV6_RTHDR_STRICT = 0x1
932 IPV6_RTHDR_TYPE_0 = 0x0
933 IPV6_SOCKOPT_RESERVED1 = 0x3
934 IPV6_TCLASS = 0x3d
935 IPV6_UNICAST_HOPS = 0x4
936 IPV6_USE_MIN_MTU = 0x2a
937 IPV6_V6ONLY = 0x1b
938 IPV6_VERSION = 0x60
939 IPV6_VERSION_MASK = 0xf0
940 IP_ADD_MEMBERSHIP = 0xc
941 IP_ADD_SOURCE_MEMBERSHIP = 0x46
942 IP_BINDANY = 0x18
943 IP_BLOCK_SOURCE = 0x48
944 IP_DEFAULT_MULTICAST_LOOP = 0x1
945 IP_DEFAULT_MULTICAST_TTL = 0x1
946 IP_DF = 0x4000
947 IP_DONTFRAG = 0x43
948 IP_DROP_MEMBERSHIP = 0xd
949 IP_DROP_SOURCE_MEMBERSHIP = 0x47
950 IP_DUMMYNET3 = 0x31
951 IP_DUMMYNET_CONFIGURE = 0x3c
952 IP_DUMMYNET_DEL = 0x3d
953 IP_DUMMYNET_FLUSH = 0x3e
954 IP_DUMMYNET_GET = 0x40
955 IP_FAITH = 0x16
956 IP_FW3 = 0x30
957 IP_FW_ADD = 0x32
958 IP_FW_DEL = 0x33
959 IP_FW_FLUSH = 0x34
960 IP_FW_GET = 0x36
961 IP_FW_NAT_CFG = 0x38
962 IP_FW_NAT_DEL = 0x39
963 IP_FW_NAT_GET_CONFIG = 0x3a
964 IP_FW_NAT_GET_LOG = 0x3b
965 IP_FW_RESETLOG = 0x37
966 IP_FW_TABLE_ADD = 0x28
967 IP_FW_TABLE_DEL = 0x29
968 IP_FW_TABLE_FLUSH = 0x2a
969 IP_FW_TABLE_GETSIZE = 0x2b
970 IP_FW_TABLE_LIST = 0x2c
971 IP_FW_ZERO = 0x35
972 IP_HDRINCL = 0x2
973 IP_IPSEC_POLICY = 0x15
974 IP_MAXPACKET = 0xffff
975 IP_MAX_GROUP_SRC_FILTER = 0x200
976 IP_MAX_MEMBERSHIPS = 0xfff
977 IP_MAX_SOCK_MUTE_FILTER = 0x80
978 IP_MAX_SOCK_SRC_FILTER = 0x80
979 IP_MAX_SOURCE_FILTER = 0x400
980 IP_MF = 0x2000
981 IP_MINTTL = 0x42
982 IP_MIN_MEMBERSHIPS = 0x1f
983 IP_MSFILTER = 0x4a
984 IP_MSS = 0x240
985 IP_MULTICAST_IF = 0x9
986 IP_MULTICAST_LOOP = 0xb
987 IP_MULTICAST_TTL = 0xa
988 IP_MULTICAST_VIF = 0xe
989 IP_OFFMASK = 0x1fff
990 IP_ONESBCAST = 0x17
991 IP_OPTIONS = 0x1
992 IP_PORTRANGE = 0x13
993 IP_PORTRANGE_DEFAULT = 0x0
994 IP_PORTRANGE_HIGH = 0x1
995 IP_PORTRANGE_LOW = 0x2
996 IP_RECVDSTADDR = 0x7
997 IP_RECVIF = 0x14
998 IP_RECVOPTS = 0x5
999 IP_RECVRETOPTS = 0x6
1000 IP_RECVTOS = 0x44
1001 IP_RECVTTL = 0x41
1002 IP_RETOPTS = 0x8
1003 IP_RF = 0x8000
1004 IP_RSVP_OFF = 0x10
1005 IP_RSVP_ON = 0xf
1006 IP_RSVP_VIF_OFF = 0x12
1007 IP_RSVP_VIF_ON = 0x11
1008 IP_SENDSRCADDR = 0x7
1009 IP_TOS = 0x3
1010 IP_TTL = 0x4
1011 IP_UNBLOCK_SOURCE = 0x49
1012 ISIG = 0x80
1013 ISTRIP = 0x20
1014 IXANY = 0x800
1015 IXOFF = 0x400
1016 IXON = 0x200
1017 LOCK_EX = 0x2
1018 LOCK_NB = 0x4
1019 LOCK_SH = 0x1
1020 LOCK_UN = 0x8
1021 MADV_AUTOSYNC = 0x7
1022 MADV_CORE = 0x9
1023 MADV_DONTNEED = 0x4
1024 MADV_FREE = 0x5
1025 MADV_NOCORE = 0x8
1026 MADV_NORMAL = 0x0
1027 MADV_NOSYNC = 0x6
1028 MADV_PROTECT = 0xa
1029 MADV_RANDOM = 0x1
1030 MADV_SEQUENTIAL = 0x2
1031 MADV_WILLNEED = 0x3
1032 MAP_32BIT = 0x80000
1033 MAP_ALIGNED_SUPER = 0x1000000
1034 MAP_ALIGNMENT_MASK = -0x1000000
1035 MAP_ALIGNMENT_SHIFT = 0x18
1036 MAP_ANON = 0x1000
1037 MAP_ANONYMOUS = 0x1000
1038 MAP_COPY = 0x2
1039 MAP_EXCL = 0x4000
1040 MAP_FILE = 0x0
1041 MAP_FIXED = 0x10
1042 MAP_HASSEMAPHORE = 0x200
1043 MAP_NOCORE = 0x20000
1044 MAP_NORESERVE = 0x40
1045 MAP_NOSYNC = 0x800
1046 MAP_PREFAULT_READ = 0x40000
1047 MAP_PRIVATE = 0x2
1048 MAP_RENAME = 0x20
1049 MAP_RESERVED0080 = 0x80
1050 MAP_RESERVED0100 = 0x100
1051 MAP_SHARED = 0x1
1052 MAP_STACK = 0x400
1053 MCL_CURRENT = 0x1
1054 MCL_FUTURE = 0x2
1055 MSG_CMSG_CLOEXEC = 0x40000
1056 MSG_COMPAT = 0x8000
1057 MSG_CTRUNC = 0x20
1058 MSG_DONTROUTE = 0x4
1059 MSG_DONTWAIT = 0x80
1060 MSG_EOF = 0x100
1061 MSG_EOR = 0x8
1062 MSG_NBIO = 0x4000
1063 MSG_NOSIGNAL = 0x20000
1064 MSG_NOTIFICATION = 0x2000
1065 MSG_OOB = 0x1
1066 MSG_PEEK = 0x2
1067 MSG_TRUNC = 0x10
1068 MSG_WAITALL = 0x40
1069 MS_ASYNC = 0x1
1070 MS_INVALIDATE = 0x2
1071 MS_SYNC = 0x0
1072 NAME_MAX = 0xff
1073 NET_RT_DUMP = 0x1
1074 NET_RT_FLAGS = 0x2
1075 NET_RT_IFLIST = 0x3
1076 NET_RT_IFLISTL = 0x5
1077 NET_RT_IFMALIST = 0x4
1078 NET_RT_MAXID = 0x6
1079 NOFLSH = 0x80000000
1080 NOTE_ATTRIB = 0x8
1081 NOTE_CHILD = 0x4
1082 NOTE_DELETE = 0x1
1083 NOTE_EXEC = 0x20000000
1084 NOTE_EXIT = 0x80000000
1085 NOTE_EXTEND = 0x4
1086 NOTE_FFAND = 0x40000000
1087 NOTE_FFCOPY = 0xc0000000
1088 NOTE_FFCTRLMASK = 0xc0000000
1089 NOTE_FFLAGSMASK = 0xffffff
1090 NOTE_FFNOP = 0x0
1091 NOTE_FFOR = 0x80000000
1092 NOTE_FORK = 0x40000000
1093 NOTE_LINK = 0x10
1094 NOTE_LOWAT = 0x1
1095 NOTE_MSECONDS = 0x2
1096 NOTE_NSECONDS = 0x8
1097 NOTE_PCTRLMASK = 0xf0000000
1098 NOTE_PDATAMASK = 0xfffff
1099 NOTE_RENAME = 0x20
1100 NOTE_REVOKE = 0x40
1101 NOTE_SECONDS = 0x1
1102 NOTE_TRACK = 0x1
1103 NOTE_TRACKERR = 0x2
1104 NOTE_TRIGGER = 0x1000000
1105 NOTE_USECONDS = 0x4
1106 NOTE_WRITE = 0x2
1107 OCRNL = 0x10
1108 ONLCR = 0x2
1109 ONLRET = 0x40
1110 ONOCR = 0x20
1111 ONOEOT = 0x8
1112 OPOST = 0x1
1113 O_ACCMODE = 0x3
1114 O_APPEND = 0x8
1115 O_ASYNC = 0x40
1116 O_CLOEXEC = 0x100000
1117 O_CREAT = 0x200
1118 O_DIRECT = 0x10000
1119 O_DIRECTORY = 0x20000
1120 O_EXCL = 0x800
1121 O_EXEC = 0x40000
1122 O_EXLOCK = 0x20
1123 O_FSYNC = 0x80
1124 O_NDELAY = 0x4
1125 O_NOCTTY = 0x8000
1126 O_NOFOLLOW = 0x100
1127 O_NONBLOCK = 0x4
1128 O_RDONLY = 0x0
1129 O_RDWR = 0x2
1130 O_SHLOCK = 0x10
1131 O_SYNC = 0x80
1132 O_TRUNC = 0x400
1133 O_TTY_INIT = 0x80000
1134 O_WRONLY = 0x1
1135 PARENB = 0x1000
1136 PARMRK = 0x8
1137 PARODD = 0x2000
1138 PENDIN = 0x20000000
1139 PRIO_PGRP = 0x1
1140 PRIO_PROCESS = 0x0
1141 PRIO_USER = 0x2
1142 PROT_EXEC = 0x4
1143 PROT_NONE = 0x0
1144 PROT_READ = 0x1
1145 PROT_WRITE = 0x2
1146 RLIMIT_AS = 0xa
1147 RLIMIT_CORE = 0x4
1148 RLIMIT_CPU = 0x0
1149 RLIMIT_DATA = 0x2
1150 RLIMIT_FSIZE = 0x1
1151 RLIMIT_NOFILE = 0x8
1152 RLIMIT_STACK = 0x3
1153 RLIM_INFINITY = 0x7fffffffffffffff
1154 RTAX_AUTHOR = 0x6
1155 RTAX_BRD = 0x7
1156 RTAX_DST = 0x0
1157 RTAX_GATEWAY = 0x1
1158 RTAX_GENMASK = 0x3
1159 RTAX_IFA = 0x5
1160 RTAX_IFP = 0x4
1161 RTAX_MAX = 0x8
1162 RTAX_NETMASK = 0x2
1163 RTA_AUTHOR = 0x40
1164 RTA_BRD = 0x80
1165 RTA_DST = 0x1
1166 RTA_GATEWAY = 0x2
1167 RTA_GENMASK = 0x8
1168 RTA_IFA = 0x20
1169 RTA_IFP = 0x10
1170 RTA_NETMASK = 0x4
1171 RTF_BLACKHOLE = 0x1000
1172 RTF_BROADCAST = 0x400000
1173 RTF_DONE = 0x40
1174 RTF_DYNAMIC = 0x10
1175 RTF_FMASK = 0x1004d808
1176 RTF_GATEWAY = 0x2
1177 RTF_GWFLAG_COMPAT = 0x80000000
1178 RTF_HOST = 0x4
1179 RTF_LLDATA = 0x400
1180 RTF_LLINFO = 0x400
1181 RTF_LOCAL = 0x200000
1182 RTF_MODIFIED = 0x20
1183 RTF_MULTICAST = 0x800000
1184 RTF_PINNED = 0x100000
1185 RTF_PRCLONING = 0x10000
1186 RTF_PROTO1 = 0x8000
1187 RTF_PROTO2 = 0x4000
1188 RTF_PROTO3 = 0x40000
1189 RTF_REJECT = 0x8
1190 RTF_RNH_LOCKED = 0x40000000
1191 RTF_STATIC = 0x800
1192 RTF_STICKY = 0x10000000
1193 RTF_UP = 0x1
1194 RTF_XRESOLVE = 0x200
1195 RTM_ADD = 0x1
1196 RTM_CHANGE = 0x3
1197 RTM_DELADDR = 0xd
1198 RTM_DELETE = 0x2
1199 RTM_DELMADDR = 0x10
1200 RTM_GET = 0x4
1201 RTM_IEEE80211 = 0x12
1202 RTM_IFANNOUNCE = 0x11
1203 RTM_IFINFO = 0xe
1204 RTM_LOCK = 0x8
1205 RTM_LOSING = 0x5
1206 RTM_MISS = 0x7
1207 RTM_NEWADDR = 0xc
1208 RTM_NEWMADDR = 0xf
1209 RTM_OLDADD = 0x9
1210 RTM_OLDDEL = 0xa
1211 RTM_REDIRECT = 0x6
1212 RTM_RESOLVE = 0xb
1213 RTM_RTTUNIT = 0xf4240
1214 RTM_VERSION = 0x5
1215 RTV_EXPIRE = 0x4
1216 RTV_HOPCOUNT = 0x2
1217 RTV_MTU = 0x1
1218 RTV_RPIPE = 0x8
1219 RTV_RTT = 0x40
1220 RTV_RTTVAR = 0x80
1221 RTV_SPIPE = 0x10
1222 RTV_SSTHRESH = 0x20
1223 RTV_WEIGHT = 0x100
1224 RT_ALL_FIBS = -0x1
1225 RT_CACHING_CONTEXT = 0x1
1226 RT_DEFAULT_FIB = 0x0
1227 RT_NORTREF = 0x2
1228 RUSAGE_CHILDREN = -0x1
1229 RUSAGE_SELF = 0x0
1230 RUSAGE_THREAD = 0x1
1231 SCM_BINTIME = 0x4
1232 SCM_CREDS = 0x3
1233 SCM_RIGHTS = 0x1
1234 SCM_TIMESTAMP = 0x2
1235 SHUT_RD = 0x0
1236 SHUT_RDWR = 0x2
1237 SHUT_WR = 0x1
1238 SIOCADDMULTI = 0x80206931
1239 SIOCADDRT = 0x8040720a
1240 SIOCAIFADDR = 0x8040691a
1241 SIOCAIFGROUP = 0x80286987
1242 SIOCALIFADDR = 0x8118691b
1243 SIOCATMARK = 0x40047307
1244 SIOCDELMULTI = 0x80206932
1245 SIOCDELRT = 0x8040720b
1246 SIOCDIFADDR = 0x80206919
1247 SIOCDIFGROUP = 0x80286989
1248 SIOCDIFPHYADDR = 0x80206949
1249 SIOCDLIFADDR = 0x8118691d
1250 SIOCGDRVSPEC = 0xc028697b
1251 SIOCGETSGCNT = 0xc0207210
1252 SIOCGETVIFCNT = 0xc028720f
1253 SIOCGHIWAT = 0x40047301
1254 SIOCGIFADDR = 0xc0206921
1255 SIOCGIFBRDADDR = 0xc0206923
1256 SIOCGIFCAP = 0xc020691f
1257 SIOCGIFCONF = 0xc0106924
1258 SIOCGIFDESCR = 0xc020692a
1259 SIOCGIFDSTADDR = 0xc0206922
1260 SIOCGIFFIB = 0xc020695c
1261 SIOCGIFFLAGS = 0xc0206911
1262 SIOCGIFGENERIC = 0xc020693a
1263 SIOCGIFGMEMB = 0xc028698a
1264 SIOCGIFGROUP = 0xc0286988
1265 SIOCGIFINDEX = 0xc0206920
1266 SIOCGIFMAC = 0xc0206926
1267 SIOCGIFMEDIA = 0xc0306938
1268 SIOCGIFMETRIC = 0xc0206917
1269 SIOCGIFMTU = 0xc0206933
1270 SIOCGIFNETMASK = 0xc0206925
1271 SIOCGIFPDSTADDR = 0xc0206948
1272 SIOCGIFPHYS = 0xc0206935
1273 SIOCGIFPSRCADDR = 0xc0206947
1274 SIOCGIFSTATUS = 0xc331693b
1275 SIOCGLIFADDR = 0xc118691c
1276 SIOCGLIFPHYADDR = 0xc118694b
1277 SIOCGLOWAT = 0x40047303
1278 SIOCGPGRP = 0x40047309
1279 SIOCGPRIVATE_0 = 0xc0206950
1280 SIOCGPRIVATE_1 = 0xc0206951
1281 SIOCIFCREATE = 0xc020697a
1282 SIOCIFCREATE2 = 0xc020697c
1283 SIOCIFDESTROY = 0x80206979
1284 SIOCIFGCLONERS = 0xc0106978
1285 SIOCSDRVSPEC = 0x8028697b
1286 SIOCSHIWAT = 0x80047300
1287 SIOCSIFADDR = 0x8020690c
1288 SIOCSIFBRDADDR = 0x80206913
1289 SIOCSIFCAP = 0x8020691e
1290 SIOCSIFDESCR = 0x80206929
1291 SIOCSIFDSTADDR = 0x8020690e
1292 SIOCSIFFIB = 0x8020695d
1293 SIOCSIFFLAGS = 0x80206910
1294 SIOCSIFGENERIC = 0x80206939
1295 SIOCSIFLLADDR = 0x8020693c
1296 SIOCSIFMAC = 0x80206927
1297 SIOCSIFMEDIA = 0xc0206937
1298 SIOCSIFMETRIC = 0x80206918
1299 SIOCSIFMTU = 0x80206934
1300 SIOCSIFNAME = 0x80206928
1301 SIOCSIFNETMASK = 0x80206916
1302 SIOCSIFPHYADDR = 0x80406946
1303 SIOCSIFPHYS = 0x80206936
1304 SIOCSIFRVNET = 0xc020695b
1305 SIOCSIFVNET = 0xc020695a
1306 SIOCSLIFPHYADDR = 0x8118694a
1307 SIOCSLOWAT = 0x80047302
1308 SIOCSPGRP = 0x80047308
1309 SOCK_CLOEXEC = 0x10000000
1310 SOCK_DGRAM = 0x2
1311 SOCK_MAXADDRLEN = 0xff
1312 SOCK_NONBLOCK = 0x20000000
1313 SOCK_RAW = 0x3
1314 SOCK_RDM = 0x4
1315 SOCK_SEQPACKET = 0x5
1316 SOCK_STREAM = 0x1
1317 SOL_SOCKET = 0xffff
1318 SOMAXCONN = 0x80
1319 SO_ACCEPTCONN = 0x2
1320 SO_ACCEPTFILTER = 0x1000
1321 SO_BINTIME = 0x2000
1322 SO_BROADCAST = 0x20
1323 SO_DEBUG = 0x1
1324 SO_DONTROUTE = 0x10
1325 SO_ERROR = 0x1007
1326 SO_KEEPALIVE = 0x8
1327 SO_LABEL = 0x1009
1328 SO_LINGER = 0x80
1329 SO_LISTENINCQLEN = 0x1013
1330 SO_LISTENQLEN = 0x1012
1331 SO_LISTENQLIMIT = 0x1011
1332 SO_NOSIGPIPE = 0x800
1333 SO_NO_DDP = 0x8000
1334 SO_NO_OFFLOAD = 0x4000
1335 SO_OOBINLINE = 0x100
1336 SO_PEERLABEL = 0x1010
1337 SO_PROTOCOL = 0x1016
1338 SO_PROTOTYPE = 0x1016
1339 SO_RCVBUF = 0x1002
1340 SO_RCVLOWAT = 0x1004
1341 SO_RCVTIMEO = 0x1006
1342 SO_REUSEADDR = 0x4
1343 SO_REUSEPORT = 0x200
1344 SO_SETFIB = 0x1014
1345 SO_SNDBUF = 0x1001
1346 SO_SNDLOWAT = 0x1003
1347 SO_SNDTIMEO = 0x1005
1348 SO_TIMESTAMP = 0x400
1349 SO_TYPE = 0x1008
1350 SO_USELOOPBACK = 0x40
1351 SO_USER_COOKIE = 0x1015
1352 SO_VENDOR = 0x80000000
1353 TCIFLUSH = 0x1
1354 TCIOFLUSH = 0x3
1355 TCOFLUSH = 0x2
1356 TCP_CA_NAME_MAX = 0x10
1357 TCP_CONGESTION = 0x40
1358 TCP_INFO = 0x20
1359 TCP_KEEPCNT = 0x400
1360 TCP_KEEPIDLE = 0x100
1361 TCP_KEEPINIT = 0x80
1362 TCP_KEEPINTVL = 0x200
1363 TCP_MAXBURST = 0x4
1364 TCP_MAXHLEN = 0x3c
1365 TCP_MAXOLEN = 0x28
1366 TCP_MAXSEG = 0x2
1367 TCP_MAXWIN = 0xffff
1368 TCP_MAX_SACK = 0x4
1369 TCP_MAX_WINSHIFT = 0xe
1370 TCP_MD5SIG = 0x10
1371 TCP_MINMSS = 0xd8
1372 TCP_MSS = 0x218
1373 TCP_NODELAY = 0x1
1374 TCP_NOOPT = 0x8
1375 TCP_NOPUSH = 0x4
1376 TCP_VENDOR = 0x80000000
1377 TCSAFLUSH = 0x2
1378 TIOCCBRK = 0x2000747a
1379 TIOCCDTR = 0x20007478
1380 TIOCCONS = 0x80047462
1381 TIOCDRAIN = 0x2000745e
1382 TIOCEXCL = 0x2000740d
1383 TIOCEXT = 0x80047460
1384 TIOCFLUSH = 0x80047410
1385 TIOCGDRAINWAIT = 0x40047456
1386 TIOCGETA = 0x402c7413
1387 TIOCGETD = 0x4004741a
1388 TIOCGPGRP = 0x40047477
1389 TIOCGPTN = 0x4004740f
1390 TIOCGSID = 0x40047463
1391 TIOCGWINSZ = 0x40087468
1392 TIOCMBIC = 0x8004746b
1393 TIOCMBIS = 0x8004746c
1394 TIOCMGDTRWAIT = 0x4004745a
1395 TIOCMGET = 0x4004746a
1396 TIOCMSDTRWAIT = 0x8004745b
1397 TIOCMSET = 0x8004746d
1398 TIOCM_CAR = 0x40
1399 TIOCM_CD = 0x40
1400 TIOCM_CTS = 0x20
1401 TIOCM_DCD = 0x40
1402 TIOCM_DSR = 0x100
1403 TIOCM_DTR = 0x2
1404 TIOCM_LE = 0x1
1405 TIOCM_RI = 0x80
1406 TIOCM_RNG = 0x80
1407 TIOCM_RTS = 0x4
1408 TIOCM_SR = 0x10
1409 TIOCM_ST = 0x8
1410 TIOCNOTTY = 0x20007471
1411 TIOCNXCL = 0x2000740e
1412 TIOCOUTQ = 0x40047473
1413 TIOCPKT = 0x80047470
1414 TIOCPKT_DATA = 0x0
1415 TIOCPKT_DOSTOP = 0x20
1416 TIOCPKT_FLUSHREAD = 0x1
1417 TIOCPKT_FLUSHWRITE = 0x2
1418 TIOCPKT_IOCTL = 0x40
1419 TIOCPKT_NOSTOP = 0x10
1420 TIOCPKT_START = 0x8
1421 TIOCPKT_STOP = 0x4
1422 TIOCPTMASTER = 0x2000741c
1423 TIOCSBRK = 0x2000747b
1424 TIOCSCTTY = 0x20007461
1425 TIOCSDRAINWAIT = 0x80047457
1426 TIOCSDTR = 0x20007479
1427 TIOCSETA = 0x802c7414
1428 TIOCSETAF = 0x802c7416
1429 TIOCSETAW = 0x802c7415
1430 TIOCSETD = 0x8004741b
1431 TIOCSIG = 0x2004745f
1432 TIOCSPGRP = 0x80047476
1433 TIOCSTART = 0x2000746e
1434 TIOCSTAT = 0x20007465
1435 TIOCSTI = 0x80017472
1436 TIOCSTOP = 0x2000746f
1437 TIOCSWINSZ = 0x80087467
1438 TIOCTIMESTAMP = 0x40107459
1439 TIOCUCNTL = 0x80047466
1440 TOSTOP = 0x400000
1441 VDISCARD = 0xf
1442 VDSUSP = 0xb
1443 VEOF = 0x0
1444 VEOL = 0x1
1445 VEOL2 = 0x2
1446 VERASE = 0x3
1447 VERASE2 = 0x7
1448 VINTR = 0x8
1449 VKILL = 0x5
1450 VLNEXT = 0xe
1451 VMIN = 0x10
1452 VQUIT = 0x9
1453 VREPRINT = 0x6
1454 VSTART = 0xc
1455 VSTATUS = 0x12
1456 VSTOP = 0xd
1457 VSUSP = 0xa
1458 VTIME = 0x11
1459 VWERASE = 0x4
1460 WCONTINUED = 0x4
1461 WCOREFLAG = 0x80
1462 WEXITED = 0x10
1463 WLINUXCLONE = 0x80000000
1464 WNOHANG = 0x1
1465 WNOWAIT = 0x8
1466 WSTOPPED = 0x2
1467 WTRAPPED = 0x20
1468 WUNTRACED = 0x2
1469)
1470
1471// Errors
1472const (
1473 E2BIG = syscall.Errno(0x7)
1474 EACCES = syscall.Errno(0xd)
1475 EADDRINUSE = syscall.Errno(0x30)
1476 EADDRNOTAVAIL = syscall.Errno(0x31)
1477 EAFNOSUPPORT = syscall.Errno(0x2f)
1478 EAGAIN = syscall.Errno(0x23)
1479 EALREADY = syscall.Errno(0x25)
1480 EAUTH = syscall.Errno(0x50)
1481 EBADF = syscall.Errno(0x9)
1482 EBADMSG = syscall.Errno(0x59)
1483 EBADRPC = syscall.Errno(0x48)
1484 EBUSY = syscall.Errno(0x10)
1485 ECANCELED = syscall.Errno(0x55)
1486 ECAPMODE = syscall.Errno(0x5e)
1487 ECHILD = syscall.Errno(0xa)
1488 ECONNABORTED = syscall.Errno(0x35)
1489 ECONNREFUSED = syscall.Errno(0x3d)
1490 ECONNRESET = syscall.Errno(0x36)
1491 EDEADLK = syscall.Errno(0xb)
1492 EDESTADDRREQ = syscall.Errno(0x27)
1493 EDOM = syscall.Errno(0x21)
1494 EDOOFUS = syscall.Errno(0x58)
1495 EDQUOT = syscall.Errno(0x45)
1496 EEXIST = syscall.Errno(0x11)
1497 EFAULT = syscall.Errno(0xe)
1498 EFBIG = syscall.Errno(0x1b)
1499 EFTYPE = syscall.Errno(0x4f)
1500 EHOSTDOWN = syscall.Errno(0x40)
1501 EHOSTUNREACH = syscall.Errno(0x41)
1502 EIDRM = syscall.Errno(0x52)
1503 EILSEQ = syscall.Errno(0x56)
1504 EINPROGRESS = syscall.Errno(0x24)
1505 EINTR = syscall.Errno(0x4)
1506 EINVAL = syscall.Errno(0x16)
1507 EIO = syscall.Errno(0x5)
1508 EISCONN = syscall.Errno(0x38)
1509 EISDIR = syscall.Errno(0x15)
1510 ELAST = syscall.Errno(0x60)
1511 ELOOP = syscall.Errno(0x3e)
1512 EMFILE = syscall.Errno(0x18)
1513 EMLINK = syscall.Errno(0x1f)
1514 EMSGSIZE = syscall.Errno(0x28)
1515 EMULTIHOP = syscall.Errno(0x5a)
1516 ENAMETOOLONG = syscall.Errno(0x3f)
1517 ENEEDAUTH = syscall.Errno(0x51)
1518 ENETDOWN = syscall.Errno(0x32)
1519 ENETRESET = syscall.Errno(0x34)
1520 ENETUNREACH = syscall.Errno(0x33)
1521 ENFILE = syscall.Errno(0x17)
1522 ENOATTR = syscall.Errno(0x57)
1523 ENOBUFS = syscall.Errno(0x37)
1524 ENODEV = syscall.Errno(0x13)
1525 ENOENT = syscall.Errno(0x2)
1526 ENOEXEC = syscall.Errno(0x8)
1527 ENOLCK = syscall.Errno(0x4d)
1528 ENOLINK = syscall.Errno(0x5b)
1529 ENOMEM = syscall.Errno(0xc)
1530 ENOMSG = syscall.Errno(0x53)
1531 ENOPROTOOPT = syscall.Errno(0x2a)
1532 ENOSPC = syscall.Errno(0x1c)
1533 ENOSYS = syscall.Errno(0x4e)
1534 ENOTBLK = syscall.Errno(0xf)
1535 ENOTCAPABLE = syscall.Errno(0x5d)
1536 ENOTCONN = syscall.Errno(0x39)
1537 ENOTDIR = syscall.Errno(0x14)
1538 ENOTEMPTY = syscall.Errno(0x42)
1539 ENOTRECOVERABLE = syscall.Errno(0x5f)
1540 ENOTSOCK = syscall.Errno(0x26)
1541 ENOTSUP = syscall.Errno(0x2d)
1542 ENOTTY = syscall.Errno(0x19)
1543 ENXIO = syscall.Errno(0x6)
1544 EOPNOTSUPP = syscall.Errno(0x2d)
1545 EOVERFLOW = syscall.Errno(0x54)
1546 EOWNERDEAD = syscall.Errno(0x60)
1547 EPERM = syscall.Errno(0x1)
1548 EPFNOSUPPORT = syscall.Errno(0x2e)
1549 EPIPE = syscall.Errno(0x20)
1550 EPROCLIM = syscall.Errno(0x43)
1551 EPROCUNAVAIL = syscall.Errno(0x4c)
1552 EPROGMISMATCH = syscall.Errno(0x4b)
1553 EPROGUNAVAIL = syscall.Errno(0x4a)
1554 EPROTO = syscall.Errno(0x5c)
1555 EPROTONOSUPPORT = syscall.Errno(0x2b)
1556 EPROTOTYPE = syscall.Errno(0x29)
1557 ERANGE = syscall.Errno(0x22)
1558 EREMOTE = syscall.Errno(0x47)
1559 EROFS = syscall.Errno(0x1e)
1560 ERPCMISMATCH = syscall.Errno(0x49)
1561 ESHUTDOWN = syscall.Errno(0x3a)
1562 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1563 ESPIPE = syscall.Errno(0x1d)
1564 ESRCH = syscall.Errno(0x3)
1565 ESTALE = syscall.Errno(0x46)
1566 ETIMEDOUT = syscall.Errno(0x3c)
1567 ETOOMANYREFS = syscall.Errno(0x3b)
1568 ETXTBSY = syscall.Errno(0x1a)
1569 EUSERS = syscall.Errno(0x44)
1570 EWOULDBLOCK = syscall.Errno(0x23)
1571 EXDEV = syscall.Errno(0x12)
1572)
1573
1574// Signals
1575const (
1576 SIGABRT = syscall.Signal(0x6)
1577 SIGALRM = syscall.Signal(0xe)
1578 SIGBUS = syscall.Signal(0xa)
1579 SIGCHLD = syscall.Signal(0x14)
1580 SIGCONT = syscall.Signal(0x13)
1581 SIGEMT = syscall.Signal(0x7)
1582 SIGFPE = syscall.Signal(0x8)
1583 SIGHUP = syscall.Signal(0x1)
1584 SIGILL = syscall.Signal(0x4)
1585 SIGINFO = syscall.Signal(0x1d)
1586 SIGINT = syscall.Signal(0x2)
1587 SIGIO = syscall.Signal(0x17)
1588 SIGIOT = syscall.Signal(0x6)
1589 SIGKILL = syscall.Signal(0x9)
1590 SIGLIBRT = syscall.Signal(0x21)
1591 SIGLWP = syscall.Signal(0x20)
1592 SIGPIPE = syscall.Signal(0xd)
1593 SIGPROF = syscall.Signal(0x1b)
1594 SIGQUIT = syscall.Signal(0x3)
1595 SIGSEGV = syscall.Signal(0xb)
1596 SIGSTOP = syscall.Signal(0x11)
1597 SIGSYS = syscall.Signal(0xc)
1598 SIGTERM = syscall.Signal(0xf)
1599 SIGTHR = syscall.Signal(0x20)
1600 SIGTRAP = syscall.Signal(0x5)
1601 SIGTSTP = syscall.Signal(0x12)
1602 SIGTTIN = syscall.Signal(0x15)
1603 SIGTTOU = syscall.Signal(0x16)
1604 SIGURG = syscall.Signal(0x10)
1605 SIGUSR1 = syscall.Signal(0x1e)
1606 SIGUSR2 = syscall.Signal(0x1f)
1607 SIGVTALRM = syscall.Signal(0x1a)
1608 SIGWINCH = syscall.Signal(0x1c)
1609 SIGXCPU = syscall.Signal(0x18)
1610 SIGXFSZ = syscall.Signal(0x19)
1611)
1612
1613// Error table
1614var errors = [...]string{
1615 1: "operation not permitted",
1616 2: "no such file or directory",
1617 3: "no such process",
1618 4: "interrupted system call",
1619 5: "input/output error",
1620 6: "device not configured",
1621 7: "argument list too long",
1622 8: "exec format error",
1623 9: "bad file descriptor",
1624 10: "no child processes",
1625 11: "resource deadlock avoided",
1626 12: "cannot allocate memory",
1627 13: "permission denied",
1628 14: "bad address",
1629 15: "block device required",
1630 16: "device busy",
1631 17: "file exists",
1632 18: "cross-device link",
1633 19: "operation not supported by device",
1634 20: "not a directory",
1635 21: "is a directory",
1636 22: "invalid argument",
1637 23: "too many open files in system",
1638 24: "too many open files",
1639 25: "inappropriate ioctl for device",
1640 26: "text file busy",
1641 27: "file too large",
1642 28: "no space left on device",
1643 29: "illegal seek",
1644 30: "read-only file system",
1645 31: "too many links",
1646 32: "broken pipe",
1647 33: "numerical argument out of domain",
1648 34: "result too large",
1649 35: "resource temporarily unavailable",
1650 36: "operation now in progress",
1651 37: "operation already in progress",
1652 38: "socket operation on non-socket",
1653 39: "destination address required",
1654 40: "message too long",
1655 41: "protocol wrong type for socket",
1656 42: "protocol not available",
1657 43: "protocol not supported",
1658 44: "socket type not supported",
1659 45: "operation not supported",
1660 46: "protocol family not supported",
1661 47: "address family not supported by protocol family",
1662 48: "address already in use",
1663 49: "can't assign requested address",
1664 50: "network is down",
1665 51: "network is unreachable",
1666 52: "network dropped connection on reset",
1667 53: "software caused connection abort",
1668 54: "connection reset by peer",
1669 55: "no buffer space available",
1670 56: "socket is already connected",
1671 57: "socket is not connected",
1672 58: "can't send after socket shutdown",
1673 59: "too many references: can't splice",
1674 60: "operation timed out",
1675 61: "connection refused",
1676 62: "too many levels of symbolic links",
1677 63: "file name too long",
1678 64: "host is down",
1679 65: "no route to host",
1680 66: "directory not empty",
1681 67: "too many processes",
1682 68: "too many users",
1683 69: "disc quota exceeded",
1684 70: "stale NFS file handle",
1685 71: "too many levels of remote in path",
1686 72: "RPC struct is bad",
1687 73: "RPC version wrong",
1688 74: "RPC prog. not avail",
1689 75: "program version wrong",
1690 76: "bad procedure for program",
1691 77: "no locks available",
1692 78: "function not implemented",
1693 79: "inappropriate file type or format",
1694 80: "authentication error",
1695 81: "need authenticator",
1696 82: "identifier removed",
1697 83: "no message of desired type",
1698 84: "value too large to be stored in data type",
1699 85: "operation canceled",
1700 86: "illegal byte sequence",
1701 87: "attribute not found",
1702 88: "programming error",
1703 89: "bad message",
1704 90: "multihop attempted",
1705 91: "link has been severed",
1706 92: "protocol error",
1707 93: "capabilities insufficient",
1708 94: "not permitted in capability mode",
1709 95: "state not recoverable",
1710 96: "previous owner died",
1711}
1712
1713// Signal table
1714var signals = [...]string{
1715 1: "hangup",
1716 2: "interrupt",
1717 3: "quit",
1718 4: "illegal instruction",
1719 5: "trace/BPT trap",
1720 6: "abort trap",
1721 7: "EMT trap",
1722 8: "floating point exception",
1723 9: "killed",
1724 10: "bus error",
1725 11: "segmentation fault",
1726 12: "bad system call",
1727 13: "broken pipe",
1728 14: "alarm clock",
1729 15: "terminated",
1730 16: "urgent I/O condition",
1731 17: "suspended (signal)",
1732 18: "suspended",
1733 19: "continued",
1734 20: "child exited",
1735 21: "stopped (tty input)",
1736 22: "stopped (tty output)",
1737 23: "I/O possible",
1738 24: "cputime limit exceeded",
1739 25: "filesize limit exceeded",
1740 26: "virtual timer expired",
1741 27: "profiling timer expired",
1742 28: "window size changes",
1743 29: "information request",
1744 30: "user defined signal 1",
1745 31: "user defined signal 2",
1746 32: "unknown signal",
1747 33: "unknown signal",
1748}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_arm.go
deleted file mode 100644
index 2afbe2d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_freebsd_arm.go
+++ /dev/null
@@ -1,1729 +0,0 @@
1// mkerrors.sh
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,freebsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x23
16 AF_ATM = 0x1e
17 AF_BLUETOOTH = 0x24
18 AF_CCITT = 0xa
19 AF_CHAOS = 0x5
20 AF_CNT = 0x15
21 AF_COIP = 0x14
22 AF_DATAKIT = 0x9
23 AF_DECnet = 0xc
24 AF_DLI = 0xd
25 AF_E164 = 0x1a
26 AF_ECMA = 0x8
27 AF_HYLINK = 0xf
28 AF_IEEE80211 = 0x25
29 AF_IMPLINK = 0x3
30 AF_INET = 0x2
31 AF_INET6 = 0x1c
32 AF_INET6_SDP = 0x2a
33 AF_INET_SDP = 0x28
34 AF_IPX = 0x17
35 AF_ISDN = 0x1a
36 AF_ISO = 0x7
37 AF_LAT = 0xe
38 AF_LINK = 0x12
39 AF_LOCAL = 0x1
40 AF_MAX = 0x2a
41 AF_NATM = 0x1d
42 AF_NETBIOS = 0x6
43 AF_NETGRAPH = 0x20
44 AF_OSI = 0x7
45 AF_PUP = 0x4
46 AF_ROUTE = 0x11
47 AF_SCLUSTER = 0x22
48 AF_SIP = 0x18
49 AF_SLOW = 0x21
50 AF_SNA = 0xb
51 AF_UNIX = 0x1
52 AF_UNSPEC = 0x0
53 AF_VENDOR00 = 0x27
54 AF_VENDOR01 = 0x29
55 AF_VENDOR02 = 0x2b
56 AF_VENDOR03 = 0x2d
57 AF_VENDOR04 = 0x2f
58 AF_VENDOR05 = 0x31
59 AF_VENDOR06 = 0x33
60 AF_VENDOR07 = 0x35
61 AF_VENDOR08 = 0x37
62 AF_VENDOR09 = 0x39
63 AF_VENDOR10 = 0x3b
64 AF_VENDOR11 = 0x3d
65 AF_VENDOR12 = 0x3f
66 AF_VENDOR13 = 0x41
67 AF_VENDOR14 = 0x43
68 AF_VENDOR15 = 0x45
69 AF_VENDOR16 = 0x47
70 AF_VENDOR17 = 0x49
71 AF_VENDOR18 = 0x4b
72 AF_VENDOR19 = 0x4d
73 AF_VENDOR20 = 0x4f
74 AF_VENDOR21 = 0x51
75 AF_VENDOR22 = 0x53
76 AF_VENDOR23 = 0x55
77 AF_VENDOR24 = 0x57
78 AF_VENDOR25 = 0x59
79 AF_VENDOR26 = 0x5b
80 AF_VENDOR27 = 0x5d
81 AF_VENDOR28 = 0x5f
82 AF_VENDOR29 = 0x61
83 AF_VENDOR30 = 0x63
84 AF_VENDOR31 = 0x65
85 AF_VENDOR32 = 0x67
86 AF_VENDOR33 = 0x69
87 AF_VENDOR34 = 0x6b
88 AF_VENDOR35 = 0x6d
89 AF_VENDOR36 = 0x6f
90 AF_VENDOR37 = 0x71
91 AF_VENDOR38 = 0x73
92 AF_VENDOR39 = 0x75
93 AF_VENDOR40 = 0x77
94 AF_VENDOR41 = 0x79
95 AF_VENDOR42 = 0x7b
96 AF_VENDOR43 = 0x7d
97 AF_VENDOR44 = 0x7f
98 AF_VENDOR45 = 0x81
99 AF_VENDOR46 = 0x83
100 AF_VENDOR47 = 0x85
101 B0 = 0x0
102 B110 = 0x6e
103 B115200 = 0x1c200
104 B1200 = 0x4b0
105 B134 = 0x86
106 B14400 = 0x3840
107 B150 = 0x96
108 B1800 = 0x708
109 B19200 = 0x4b00
110 B200 = 0xc8
111 B230400 = 0x38400
112 B2400 = 0x960
113 B28800 = 0x7080
114 B300 = 0x12c
115 B38400 = 0x9600
116 B460800 = 0x70800
117 B4800 = 0x12c0
118 B50 = 0x32
119 B57600 = 0xe100
120 B600 = 0x258
121 B7200 = 0x1c20
122 B75 = 0x4b
123 B76800 = 0x12c00
124 B921600 = 0xe1000
125 B9600 = 0x2580
126 BIOCFEEDBACK = 0x8004427c
127 BIOCFLUSH = 0x20004268
128 BIOCGBLEN = 0x40044266
129 BIOCGDIRECTION = 0x40044276
130 BIOCGDLT = 0x4004426a
131 BIOCGDLTLIST = 0xc0084279
132 BIOCGETBUFMODE = 0x4004427d
133 BIOCGETIF = 0x4020426b
134 BIOCGETZMAX = 0x4004427f
135 BIOCGHDRCMPLT = 0x40044274
136 BIOCGRSIG = 0x40044272
137 BIOCGRTIMEOUT = 0x4008426e
138 BIOCGSEESENT = 0x40044276
139 BIOCGSTATS = 0x4008426f
140 BIOCGTSTAMP = 0x40044283
141 BIOCIMMEDIATE = 0x80044270
142 BIOCLOCK = 0x2000427a
143 BIOCPROMISC = 0x20004269
144 BIOCROTZBUF = 0x400c4280
145 BIOCSBLEN = 0xc0044266
146 BIOCSDIRECTION = 0x80044277
147 BIOCSDLT = 0x80044278
148 BIOCSETBUFMODE = 0x8004427e
149 BIOCSETF = 0x80084267
150 BIOCSETFNR = 0x80084282
151 BIOCSETIF = 0x8020426c
152 BIOCSETWF = 0x8008427b
153 BIOCSETZBUF = 0x800c4281
154 BIOCSHDRCMPLT = 0x80044275
155 BIOCSRSIG = 0x80044273
156 BIOCSRTIMEOUT = 0x8008426d
157 BIOCSSEESENT = 0x80044277
158 BIOCSTSTAMP = 0x80044284
159 BIOCVERSION = 0x40044271
160 BPF_A = 0x10
161 BPF_ABS = 0x20
162 BPF_ADD = 0x0
163 BPF_ALIGNMENT = 0x4
164 BPF_ALU = 0x4
165 BPF_AND = 0x50
166 BPF_B = 0x10
167 BPF_BUFMODE_BUFFER = 0x1
168 BPF_BUFMODE_ZBUF = 0x2
169 BPF_DIV = 0x30
170 BPF_H = 0x8
171 BPF_IMM = 0x0
172 BPF_IND = 0x40
173 BPF_JA = 0x0
174 BPF_JEQ = 0x10
175 BPF_JGE = 0x30
176 BPF_JGT = 0x20
177 BPF_JMP = 0x5
178 BPF_JSET = 0x40
179 BPF_K = 0x0
180 BPF_LD = 0x0
181 BPF_LDX = 0x1
182 BPF_LEN = 0x80
183 BPF_LSH = 0x60
184 BPF_MAJOR_VERSION = 0x1
185 BPF_MAXBUFSIZE = 0x80000
186 BPF_MAXINSNS = 0x200
187 BPF_MEM = 0x60
188 BPF_MEMWORDS = 0x10
189 BPF_MINBUFSIZE = 0x20
190 BPF_MINOR_VERSION = 0x1
191 BPF_MISC = 0x7
192 BPF_MSH = 0xa0
193 BPF_MUL = 0x20
194 BPF_NEG = 0x80
195 BPF_OR = 0x40
196 BPF_RELEASE = 0x30bb6
197 BPF_RET = 0x6
198 BPF_RSH = 0x70
199 BPF_ST = 0x2
200 BPF_STX = 0x3
201 BPF_SUB = 0x10
202 BPF_TAX = 0x0
203 BPF_TXA = 0x80
204 BPF_T_BINTIME = 0x2
205 BPF_T_BINTIME_FAST = 0x102
206 BPF_T_BINTIME_MONOTONIC = 0x202
207 BPF_T_BINTIME_MONOTONIC_FAST = 0x302
208 BPF_T_FAST = 0x100
209 BPF_T_FLAG_MASK = 0x300
210 BPF_T_FORMAT_MASK = 0x3
211 BPF_T_MICROTIME = 0x0
212 BPF_T_MICROTIME_FAST = 0x100
213 BPF_T_MICROTIME_MONOTONIC = 0x200
214 BPF_T_MICROTIME_MONOTONIC_FAST = 0x300
215 BPF_T_MONOTONIC = 0x200
216 BPF_T_MONOTONIC_FAST = 0x300
217 BPF_T_NANOTIME = 0x1
218 BPF_T_NANOTIME_FAST = 0x101
219 BPF_T_NANOTIME_MONOTONIC = 0x201
220 BPF_T_NANOTIME_MONOTONIC_FAST = 0x301
221 BPF_T_NONE = 0x3
222 BPF_T_NORMAL = 0x0
223 BPF_W = 0x0
224 BPF_X = 0x8
225 BRKINT = 0x2
226 CFLUSH = 0xf
227 CLOCAL = 0x8000
228 CREAD = 0x800
229 CS5 = 0x0
230 CS6 = 0x100
231 CS7 = 0x200
232 CS8 = 0x300
233 CSIZE = 0x300
234 CSTART = 0x11
235 CSTATUS = 0x14
236 CSTOP = 0x13
237 CSTOPB = 0x400
238 CSUSP = 0x1a
239 CTL_MAXNAME = 0x18
240 CTL_NET = 0x4
241 DLT_A429 = 0xb8
242 DLT_A653_ICM = 0xb9
243 DLT_AIRONET_HEADER = 0x78
244 DLT_AOS = 0xde
245 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
246 DLT_ARCNET = 0x7
247 DLT_ARCNET_LINUX = 0x81
248 DLT_ATM_CLIP = 0x13
249 DLT_ATM_RFC1483 = 0xb
250 DLT_AURORA = 0x7e
251 DLT_AX25 = 0x3
252 DLT_AX25_KISS = 0xca
253 DLT_BACNET_MS_TP = 0xa5
254 DLT_BLUETOOTH_HCI_H4 = 0xbb
255 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
256 DLT_CAN20B = 0xbe
257 DLT_CAN_SOCKETCAN = 0xe3
258 DLT_CHAOS = 0x5
259 DLT_CHDLC = 0x68
260 DLT_CISCO_IOS = 0x76
261 DLT_C_HDLC = 0x68
262 DLT_C_HDLC_WITH_DIR = 0xcd
263 DLT_DBUS = 0xe7
264 DLT_DECT = 0xdd
265 DLT_DOCSIS = 0x8f
266 DLT_DVB_CI = 0xeb
267 DLT_ECONET = 0x73
268 DLT_EN10MB = 0x1
269 DLT_EN3MB = 0x2
270 DLT_ENC = 0x6d
271 DLT_ERF = 0xc5
272 DLT_ERF_ETH = 0xaf
273 DLT_ERF_POS = 0xb0
274 DLT_FC_2 = 0xe0
275 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
276 DLT_FDDI = 0xa
277 DLT_FLEXRAY = 0xd2
278 DLT_FRELAY = 0x6b
279 DLT_FRELAY_WITH_DIR = 0xce
280 DLT_GCOM_SERIAL = 0xad
281 DLT_GCOM_T1E1 = 0xac
282 DLT_GPF_F = 0xab
283 DLT_GPF_T = 0xaa
284 DLT_GPRS_LLC = 0xa9
285 DLT_GSMTAP_ABIS = 0xda
286 DLT_GSMTAP_UM = 0xd9
287 DLT_HHDLC = 0x79
288 DLT_IBM_SN = 0x92
289 DLT_IBM_SP = 0x91
290 DLT_IEEE802 = 0x6
291 DLT_IEEE802_11 = 0x69
292 DLT_IEEE802_11_RADIO = 0x7f
293 DLT_IEEE802_11_RADIO_AVS = 0xa3
294 DLT_IEEE802_15_4 = 0xc3
295 DLT_IEEE802_15_4_LINUX = 0xbf
296 DLT_IEEE802_15_4_NOFCS = 0xe6
297 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
298 DLT_IEEE802_16_MAC_CPS = 0xbc
299 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
300 DLT_IPFILTER = 0x74
301 DLT_IPMB = 0xc7
302 DLT_IPMB_LINUX = 0xd1
303 DLT_IPNET = 0xe2
304 DLT_IPOIB = 0xf2
305 DLT_IPV4 = 0xe4
306 DLT_IPV6 = 0xe5
307 DLT_IP_OVER_FC = 0x7a
308 DLT_JUNIPER_ATM1 = 0x89
309 DLT_JUNIPER_ATM2 = 0x87
310 DLT_JUNIPER_ATM_CEMIC = 0xee
311 DLT_JUNIPER_CHDLC = 0xb5
312 DLT_JUNIPER_ES = 0x84
313 DLT_JUNIPER_ETHER = 0xb2
314 DLT_JUNIPER_FIBRECHANNEL = 0xea
315 DLT_JUNIPER_FRELAY = 0xb4
316 DLT_JUNIPER_GGSN = 0x85
317 DLT_JUNIPER_ISM = 0xc2
318 DLT_JUNIPER_MFR = 0x86
319 DLT_JUNIPER_MLFR = 0x83
320 DLT_JUNIPER_MLPPP = 0x82
321 DLT_JUNIPER_MONITOR = 0xa4
322 DLT_JUNIPER_PIC_PEER = 0xae
323 DLT_JUNIPER_PPP = 0xb3
324 DLT_JUNIPER_PPPOE = 0xa7
325 DLT_JUNIPER_PPPOE_ATM = 0xa8
326 DLT_JUNIPER_SERVICES = 0x88
327 DLT_JUNIPER_SRX_E2E = 0xe9
328 DLT_JUNIPER_ST = 0xc8
329 DLT_JUNIPER_VP = 0xb7
330 DLT_JUNIPER_VS = 0xe8
331 DLT_LAPB_WITH_DIR = 0xcf
332 DLT_LAPD = 0xcb
333 DLT_LIN = 0xd4
334 DLT_LINUX_EVDEV = 0xd8
335 DLT_LINUX_IRDA = 0x90
336 DLT_LINUX_LAPD = 0xb1
337 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
338 DLT_LINUX_SLL = 0x71
339 DLT_LOOP = 0x6c
340 DLT_LTALK = 0x72
341 DLT_MATCHING_MAX = 0xf6
342 DLT_MATCHING_MIN = 0x68
343 DLT_MFR = 0xb6
344 DLT_MOST = 0xd3
345 DLT_MPEG_2_TS = 0xf3
346 DLT_MPLS = 0xdb
347 DLT_MTP2 = 0x8c
348 DLT_MTP2_WITH_PHDR = 0x8b
349 DLT_MTP3 = 0x8d
350 DLT_MUX27010 = 0xec
351 DLT_NETANALYZER = 0xf0
352 DLT_NETANALYZER_TRANSPARENT = 0xf1
353 DLT_NFC_LLCP = 0xf5
354 DLT_NFLOG = 0xef
355 DLT_NG40 = 0xf4
356 DLT_NULL = 0x0
357 DLT_PCI_EXP = 0x7d
358 DLT_PFLOG = 0x75
359 DLT_PFSYNC = 0x79
360 DLT_PPI = 0xc0
361 DLT_PPP = 0x9
362 DLT_PPP_BSDOS = 0x10
363 DLT_PPP_ETHER = 0x33
364 DLT_PPP_PPPD = 0xa6
365 DLT_PPP_SERIAL = 0x32
366 DLT_PPP_WITH_DIR = 0xcc
367 DLT_PPP_WITH_DIRECTION = 0xa6
368 DLT_PRISM_HEADER = 0x77
369 DLT_PRONET = 0x4
370 DLT_RAIF1 = 0xc6
371 DLT_RAW = 0xc
372 DLT_RIO = 0x7c
373 DLT_SCCP = 0x8e
374 DLT_SITA = 0xc4
375 DLT_SLIP = 0x8
376 DLT_SLIP_BSDOS = 0xf
377 DLT_STANAG_5066_D_PDU = 0xed
378 DLT_SUNATM = 0x7b
379 DLT_SYMANTEC_FIREWALL = 0x63
380 DLT_TZSP = 0x80
381 DLT_USB = 0xba
382 DLT_USB_LINUX = 0xbd
383 DLT_USB_LINUX_MMAPPED = 0xdc
384 DLT_USER0 = 0x93
385 DLT_USER1 = 0x94
386 DLT_USER10 = 0x9d
387 DLT_USER11 = 0x9e
388 DLT_USER12 = 0x9f
389 DLT_USER13 = 0xa0
390 DLT_USER14 = 0xa1
391 DLT_USER15 = 0xa2
392 DLT_USER2 = 0x95
393 DLT_USER3 = 0x96
394 DLT_USER4 = 0x97
395 DLT_USER5 = 0x98
396 DLT_USER6 = 0x99
397 DLT_USER7 = 0x9a
398 DLT_USER8 = 0x9b
399 DLT_USER9 = 0x9c
400 DLT_WIHART = 0xdf
401 DLT_X2E_SERIAL = 0xd5
402 DLT_X2E_XORAYA = 0xd6
403 DT_BLK = 0x6
404 DT_CHR = 0x2
405 DT_DIR = 0x4
406 DT_FIFO = 0x1
407 DT_LNK = 0xa
408 DT_REG = 0x8
409 DT_SOCK = 0xc
410 DT_UNKNOWN = 0x0
411 DT_WHT = 0xe
412 ECHO = 0x8
413 ECHOCTL = 0x40
414 ECHOE = 0x2
415 ECHOK = 0x4
416 ECHOKE = 0x1
417 ECHONL = 0x10
418 ECHOPRT = 0x20
419 EVFILT_AIO = -0x3
420 EVFILT_FS = -0x9
421 EVFILT_LIO = -0xa
422 EVFILT_PROC = -0x5
423 EVFILT_READ = -0x1
424 EVFILT_SIGNAL = -0x6
425 EVFILT_SYSCOUNT = 0xb
426 EVFILT_TIMER = -0x7
427 EVFILT_USER = -0xb
428 EVFILT_VNODE = -0x4
429 EVFILT_WRITE = -0x2
430 EV_ADD = 0x1
431 EV_CLEAR = 0x20
432 EV_DELETE = 0x2
433 EV_DISABLE = 0x8
434 EV_DISPATCH = 0x80
435 EV_DROP = 0x1000
436 EV_ENABLE = 0x4
437 EV_EOF = 0x8000
438 EV_ERROR = 0x4000
439 EV_FLAG1 = 0x2000
440 EV_ONESHOT = 0x10
441 EV_RECEIPT = 0x40
442 EV_SYSFLAGS = 0xf000
443 EXTA = 0x4b00
444 EXTATTR_NAMESPACE_EMPTY = 0x0
445 EXTATTR_NAMESPACE_SYSTEM = 0x2
446 EXTATTR_NAMESPACE_USER = 0x1
447 EXTB = 0x9600
448 EXTPROC = 0x800
449 FD_CLOEXEC = 0x1
450 FD_SETSIZE = 0x400
451 FLUSHO = 0x800000
452 F_CANCEL = 0x5
453 F_DUP2FD = 0xa
454 F_DUP2FD_CLOEXEC = 0x12
455 F_DUPFD = 0x0
456 F_DUPFD_CLOEXEC = 0x11
457 F_GETFD = 0x1
458 F_GETFL = 0x3
459 F_GETLK = 0xb
460 F_GETOWN = 0x5
461 F_OGETLK = 0x7
462 F_OK = 0x0
463 F_OSETLK = 0x8
464 F_OSETLKW = 0x9
465 F_RDAHEAD = 0x10
466 F_RDLCK = 0x1
467 F_READAHEAD = 0xf
468 F_SETFD = 0x2
469 F_SETFL = 0x4
470 F_SETLK = 0xc
471 F_SETLKW = 0xd
472 F_SETLK_REMOTE = 0xe
473 F_SETOWN = 0x6
474 F_UNLCK = 0x2
475 F_UNLCKSYS = 0x4
476 F_WRLCK = 0x3
477 HUPCL = 0x4000
478 ICANON = 0x100
479 ICMP6_FILTER = 0x12
480 ICRNL = 0x100
481 IEXTEN = 0x400
482 IFAN_ARRIVAL = 0x0
483 IFAN_DEPARTURE = 0x1
484 IFF_ALLMULTI = 0x200
485 IFF_ALTPHYS = 0x4000
486 IFF_BROADCAST = 0x2
487 IFF_CANTCHANGE = 0x218f72
488 IFF_CANTCONFIG = 0x10000
489 IFF_DEBUG = 0x4
490 IFF_DRV_OACTIVE = 0x400
491 IFF_DRV_RUNNING = 0x40
492 IFF_DYING = 0x200000
493 IFF_LINK0 = 0x1000
494 IFF_LINK1 = 0x2000
495 IFF_LINK2 = 0x4000
496 IFF_LOOPBACK = 0x8
497 IFF_MONITOR = 0x40000
498 IFF_MULTICAST = 0x8000
499 IFF_NOARP = 0x80
500 IFF_OACTIVE = 0x400
501 IFF_POINTOPOINT = 0x10
502 IFF_PPROMISC = 0x20000
503 IFF_PROMISC = 0x100
504 IFF_RENAMING = 0x400000
505 IFF_RUNNING = 0x40
506 IFF_SIMPLEX = 0x800
507 IFF_SMART = 0x20
508 IFF_STATICARP = 0x80000
509 IFF_UP = 0x1
510 IFNAMSIZ = 0x10
511 IFT_1822 = 0x2
512 IFT_A12MPPSWITCH = 0x82
513 IFT_AAL2 = 0xbb
514 IFT_AAL5 = 0x31
515 IFT_ADSL = 0x5e
516 IFT_AFLANE8023 = 0x3b
517 IFT_AFLANE8025 = 0x3c
518 IFT_ARAP = 0x58
519 IFT_ARCNET = 0x23
520 IFT_ARCNETPLUS = 0x24
521 IFT_ASYNC = 0x54
522 IFT_ATM = 0x25
523 IFT_ATMDXI = 0x69
524 IFT_ATMFUNI = 0x6a
525 IFT_ATMIMA = 0x6b
526 IFT_ATMLOGICAL = 0x50
527 IFT_ATMRADIO = 0xbd
528 IFT_ATMSUBINTERFACE = 0x86
529 IFT_ATMVCIENDPT = 0xc2
530 IFT_ATMVIRTUAL = 0x95
531 IFT_BGPPOLICYACCOUNTING = 0xa2
532 IFT_BRIDGE = 0xd1
533 IFT_BSC = 0x53
534 IFT_CARP = 0xf8
535 IFT_CCTEMUL = 0x3d
536 IFT_CEPT = 0x13
537 IFT_CES = 0x85
538 IFT_CHANNEL = 0x46
539 IFT_CNR = 0x55
540 IFT_COFFEE = 0x84
541 IFT_COMPOSITELINK = 0x9b
542 IFT_DCN = 0x8d
543 IFT_DIGITALPOWERLINE = 0x8a
544 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
545 IFT_DLSW = 0x4a
546 IFT_DOCSCABLEDOWNSTREAM = 0x80
547 IFT_DOCSCABLEMACLAYER = 0x7f
548 IFT_DOCSCABLEUPSTREAM = 0x81
549 IFT_DS0 = 0x51
550 IFT_DS0BUNDLE = 0x52
551 IFT_DS1FDL = 0xaa
552 IFT_DS3 = 0x1e
553 IFT_DTM = 0x8c
554 IFT_DVBASILN = 0xac
555 IFT_DVBASIOUT = 0xad
556 IFT_DVBRCCDOWNSTREAM = 0x93
557 IFT_DVBRCCMACLAYER = 0x92
558 IFT_DVBRCCUPSTREAM = 0x94
559 IFT_ENC = 0xf4
560 IFT_EON = 0x19
561 IFT_EPLRS = 0x57
562 IFT_ESCON = 0x49
563 IFT_ETHER = 0x6
564 IFT_FAITH = 0xf2
565 IFT_FAST = 0x7d
566 IFT_FASTETHER = 0x3e
567 IFT_FASTETHERFX = 0x45
568 IFT_FDDI = 0xf
569 IFT_FIBRECHANNEL = 0x38
570 IFT_FRAMERELAYINTERCONNECT = 0x3a
571 IFT_FRAMERELAYMPI = 0x5c
572 IFT_FRDLCIENDPT = 0xc1
573 IFT_FRELAY = 0x20
574 IFT_FRELAYDCE = 0x2c
575 IFT_FRF16MFRBUNDLE = 0xa3
576 IFT_FRFORWARD = 0x9e
577 IFT_G703AT2MB = 0x43
578 IFT_G703AT64K = 0x42
579 IFT_GIF = 0xf0
580 IFT_GIGABITETHERNET = 0x75
581 IFT_GR303IDT = 0xb2
582 IFT_GR303RDT = 0xb1
583 IFT_H323GATEKEEPER = 0xa4
584 IFT_H323PROXY = 0xa5
585 IFT_HDH1822 = 0x3
586 IFT_HDLC = 0x76
587 IFT_HDSL2 = 0xa8
588 IFT_HIPERLAN2 = 0xb7
589 IFT_HIPPI = 0x2f
590 IFT_HIPPIINTERFACE = 0x39
591 IFT_HOSTPAD = 0x5a
592 IFT_HSSI = 0x2e
593 IFT_HY = 0xe
594 IFT_IBM370PARCHAN = 0x48
595 IFT_IDSL = 0x9a
596 IFT_IEEE1394 = 0x90
597 IFT_IEEE80211 = 0x47
598 IFT_IEEE80212 = 0x37
599 IFT_IEEE8023ADLAG = 0xa1
600 IFT_IFGSN = 0x91
601 IFT_IMT = 0xbe
602 IFT_INFINIBAND = 0xc7
603 IFT_INTERLEAVE = 0x7c
604 IFT_IP = 0x7e
605 IFT_IPFORWARD = 0x8e
606 IFT_IPOVERATM = 0x72
607 IFT_IPOVERCDLC = 0x6d
608 IFT_IPOVERCLAW = 0x6e
609 IFT_IPSWITCH = 0x4e
610 IFT_IPXIP = 0xf9
611 IFT_ISDN = 0x3f
612 IFT_ISDNBASIC = 0x14
613 IFT_ISDNPRIMARY = 0x15
614 IFT_ISDNS = 0x4b
615 IFT_ISDNU = 0x4c
616 IFT_ISO88022LLC = 0x29
617 IFT_ISO88023 = 0x7
618 IFT_ISO88024 = 0x8
619 IFT_ISO88025 = 0x9
620 IFT_ISO88025CRFPINT = 0x62
621 IFT_ISO88025DTR = 0x56
622 IFT_ISO88025FIBER = 0x73
623 IFT_ISO88026 = 0xa
624 IFT_ISUP = 0xb3
625 IFT_L2VLAN = 0x87
626 IFT_L3IPVLAN = 0x88
627 IFT_L3IPXVLAN = 0x89
628 IFT_LAPB = 0x10
629 IFT_LAPD = 0x4d
630 IFT_LAPF = 0x77
631 IFT_LOCALTALK = 0x2a
632 IFT_LOOP = 0x18
633 IFT_MEDIAMAILOVERIP = 0x8b
634 IFT_MFSIGLINK = 0xa7
635 IFT_MIOX25 = 0x26
636 IFT_MODEM = 0x30
637 IFT_MPC = 0x71
638 IFT_MPLS = 0xa6
639 IFT_MPLSTUNNEL = 0x96
640 IFT_MSDSL = 0x8f
641 IFT_MVL = 0xbf
642 IFT_MYRINET = 0x63
643 IFT_NFAS = 0xaf
644 IFT_NSIP = 0x1b
645 IFT_OPTICALCHANNEL = 0xc3
646 IFT_OPTICALTRANSPORT = 0xc4
647 IFT_OTHER = 0x1
648 IFT_P10 = 0xc
649 IFT_P80 = 0xd
650 IFT_PARA = 0x22
651 IFT_PFLOG = 0xf6
652 IFT_PFSYNC = 0xf7
653 IFT_PLC = 0xae
654 IFT_POS = 0xab
655 IFT_PPP = 0x17
656 IFT_PPPMULTILINKBUNDLE = 0x6c
657 IFT_PROPBWAP2MP = 0xb8
658 IFT_PROPCNLS = 0x59
659 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
660 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
661 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
662 IFT_PROPMUX = 0x36
663 IFT_PROPVIRTUAL = 0x35
664 IFT_PROPWIRELESSP2P = 0x9d
665 IFT_PTPSERIAL = 0x16
666 IFT_PVC = 0xf1
667 IFT_QLLC = 0x44
668 IFT_RADIOMAC = 0xbc
669 IFT_RADSL = 0x5f
670 IFT_REACHDSL = 0xc0
671 IFT_RFC1483 = 0x9f
672 IFT_RS232 = 0x21
673 IFT_RSRB = 0x4f
674 IFT_SDLC = 0x11
675 IFT_SDSL = 0x60
676 IFT_SHDSL = 0xa9
677 IFT_SIP = 0x1f
678 IFT_SLIP = 0x1c
679 IFT_SMDSDXI = 0x2b
680 IFT_SMDSICIP = 0x34
681 IFT_SONET = 0x27
682 IFT_SONETOVERHEADCHANNEL = 0xb9
683 IFT_SONETPATH = 0x32
684 IFT_SONETVT = 0x33
685 IFT_SRP = 0x97
686 IFT_SS7SIGLINK = 0x9c
687 IFT_STACKTOSTACK = 0x6f
688 IFT_STARLAN = 0xb
689 IFT_STF = 0xd7
690 IFT_T1 = 0x12
691 IFT_TDLC = 0x74
692 IFT_TERMPAD = 0x5b
693 IFT_TR008 = 0xb0
694 IFT_TRANSPHDLC = 0x7b
695 IFT_TUNNEL = 0x83
696 IFT_ULTRA = 0x1d
697 IFT_USB = 0xa0
698 IFT_V11 = 0x40
699 IFT_V35 = 0x2d
700 IFT_V36 = 0x41
701 IFT_V37 = 0x78
702 IFT_VDSL = 0x61
703 IFT_VIRTUALIPADDRESS = 0x70
704 IFT_VOICEEM = 0x64
705 IFT_VOICEENCAP = 0x67
706 IFT_VOICEFXO = 0x65
707 IFT_VOICEFXS = 0x66
708 IFT_VOICEOVERATM = 0x98
709 IFT_VOICEOVERFRAMERELAY = 0x99
710 IFT_VOICEOVERIP = 0x68
711 IFT_X213 = 0x5d
712 IFT_X25 = 0x5
713 IFT_X25DDN = 0x4
714 IFT_X25HUNTGROUP = 0x7a
715 IFT_X25MLP = 0x79
716 IFT_X25PLE = 0x28
717 IFT_XETHER = 0x1a
718 IGNBRK = 0x1
719 IGNCR = 0x80
720 IGNPAR = 0x4
721 IMAXBEL = 0x2000
722 INLCR = 0x40
723 INPCK = 0x10
724 IN_CLASSA_HOST = 0xffffff
725 IN_CLASSA_MAX = 0x80
726 IN_CLASSA_NET = 0xff000000
727 IN_CLASSA_NSHIFT = 0x18
728 IN_CLASSB_HOST = 0xffff
729 IN_CLASSB_MAX = 0x10000
730 IN_CLASSB_NET = 0xffff0000
731 IN_CLASSB_NSHIFT = 0x10
732 IN_CLASSC_HOST = 0xff
733 IN_CLASSC_NET = 0xffffff00
734 IN_CLASSC_NSHIFT = 0x8
735 IN_CLASSD_HOST = 0xfffffff
736 IN_CLASSD_NET = 0xf0000000
737 IN_CLASSD_NSHIFT = 0x1c
738 IN_LOOPBACKNET = 0x7f
739 IN_RFC3021_MASK = 0xfffffffe
740 IPPROTO_3PC = 0x22
741 IPPROTO_ADFS = 0x44
742 IPPROTO_AH = 0x33
743 IPPROTO_AHIP = 0x3d
744 IPPROTO_APES = 0x63
745 IPPROTO_ARGUS = 0xd
746 IPPROTO_AX25 = 0x5d
747 IPPROTO_BHA = 0x31
748 IPPROTO_BLT = 0x1e
749 IPPROTO_BRSATMON = 0x4c
750 IPPROTO_CARP = 0x70
751 IPPROTO_CFTP = 0x3e
752 IPPROTO_CHAOS = 0x10
753 IPPROTO_CMTP = 0x26
754 IPPROTO_CPHB = 0x49
755 IPPROTO_CPNX = 0x48
756 IPPROTO_DDP = 0x25
757 IPPROTO_DGP = 0x56
758 IPPROTO_DIVERT = 0x102
759 IPPROTO_DONE = 0x101
760 IPPROTO_DSTOPTS = 0x3c
761 IPPROTO_EGP = 0x8
762 IPPROTO_EMCON = 0xe
763 IPPROTO_ENCAP = 0x62
764 IPPROTO_EON = 0x50
765 IPPROTO_ESP = 0x32
766 IPPROTO_ETHERIP = 0x61
767 IPPROTO_FRAGMENT = 0x2c
768 IPPROTO_GGP = 0x3
769 IPPROTO_GMTP = 0x64
770 IPPROTO_GRE = 0x2f
771 IPPROTO_HELLO = 0x3f
772 IPPROTO_HIP = 0x8b
773 IPPROTO_HMP = 0x14
774 IPPROTO_HOPOPTS = 0x0
775 IPPROTO_ICMP = 0x1
776 IPPROTO_ICMPV6 = 0x3a
777 IPPROTO_IDP = 0x16
778 IPPROTO_IDPR = 0x23
779 IPPROTO_IDRP = 0x2d
780 IPPROTO_IGMP = 0x2
781 IPPROTO_IGP = 0x55
782 IPPROTO_IGRP = 0x58
783 IPPROTO_IL = 0x28
784 IPPROTO_INLSP = 0x34
785 IPPROTO_INP = 0x20
786 IPPROTO_IP = 0x0
787 IPPROTO_IPCOMP = 0x6c
788 IPPROTO_IPCV = 0x47
789 IPPROTO_IPEIP = 0x5e
790 IPPROTO_IPIP = 0x4
791 IPPROTO_IPPC = 0x43
792 IPPROTO_IPV4 = 0x4
793 IPPROTO_IPV6 = 0x29
794 IPPROTO_IRTP = 0x1c
795 IPPROTO_KRYPTOLAN = 0x41
796 IPPROTO_LARP = 0x5b
797 IPPROTO_LEAF1 = 0x19
798 IPPROTO_LEAF2 = 0x1a
799 IPPROTO_MAX = 0x100
800 IPPROTO_MAXID = 0x34
801 IPPROTO_MEAS = 0x13
802 IPPROTO_MH = 0x87
803 IPPROTO_MHRP = 0x30
804 IPPROTO_MICP = 0x5f
805 IPPROTO_MOBILE = 0x37
806 IPPROTO_MPLS = 0x89
807 IPPROTO_MTP = 0x5c
808 IPPROTO_MUX = 0x12
809 IPPROTO_ND = 0x4d
810 IPPROTO_NHRP = 0x36
811 IPPROTO_NONE = 0x3b
812 IPPROTO_NSP = 0x1f
813 IPPROTO_NVPII = 0xb
814 IPPROTO_OLD_DIVERT = 0xfe
815 IPPROTO_OSPFIGP = 0x59
816 IPPROTO_PFSYNC = 0xf0
817 IPPROTO_PGM = 0x71
818 IPPROTO_PIGP = 0x9
819 IPPROTO_PIM = 0x67
820 IPPROTO_PRM = 0x15
821 IPPROTO_PUP = 0xc
822 IPPROTO_PVP = 0x4b
823 IPPROTO_RAW = 0xff
824 IPPROTO_RCCMON = 0xa
825 IPPROTO_RDP = 0x1b
826 IPPROTO_RESERVED_253 = 0xfd
827 IPPROTO_RESERVED_254 = 0xfe
828 IPPROTO_ROUTING = 0x2b
829 IPPROTO_RSVP = 0x2e
830 IPPROTO_RVD = 0x42
831 IPPROTO_SATEXPAK = 0x40
832 IPPROTO_SATMON = 0x45
833 IPPROTO_SCCSP = 0x60
834 IPPROTO_SCTP = 0x84
835 IPPROTO_SDRP = 0x2a
836 IPPROTO_SEND = 0x103
837 IPPROTO_SEP = 0x21
838 IPPROTO_SHIM6 = 0x8c
839 IPPROTO_SKIP = 0x39
840 IPPROTO_SPACER = 0x7fff
841 IPPROTO_SRPC = 0x5a
842 IPPROTO_ST = 0x7
843 IPPROTO_SVMTP = 0x52
844 IPPROTO_SWIPE = 0x35
845 IPPROTO_TCF = 0x57
846 IPPROTO_TCP = 0x6
847 IPPROTO_TLSP = 0x38
848 IPPROTO_TP = 0x1d
849 IPPROTO_TPXX = 0x27
850 IPPROTO_TRUNK1 = 0x17
851 IPPROTO_TRUNK2 = 0x18
852 IPPROTO_TTP = 0x54
853 IPPROTO_UDP = 0x11
854 IPPROTO_UDPLITE = 0x88
855 IPPROTO_VINES = 0x53
856 IPPROTO_VISA = 0x46
857 IPPROTO_VMTP = 0x51
858 IPPROTO_WBEXPAK = 0x4f
859 IPPROTO_WBMON = 0x4e
860 IPPROTO_WSN = 0x4a
861 IPPROTO_XNET = 0xf
862 IPPROTO_XTP = 0x24
863 IPV6_AUTOFLOWLABEL = 0x3b
864 IPV6_BINDANY = 0x40
865 IPV6_BINDV6ONLY = 0x1b
866 IPV6_CHECKSUM = 0x1a
867 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
868 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
869 IPV6_DEFHLIM = 0x40
870 IPV6_DONTFRAG = 0x3e
871 IPV6_DSTOPTS = 0x32
872 IPV6_FAITH = 0x1d
873 IPV6_FLOWINFO_MASK = 0xffffff0f
874 IPV6_FLOWLABEL_MASK = 0xffff0f00
875 IPV6_FRAGTTL = 0x78
876 IPV6_FW_ADD = 0x1e
877 IPV6_FW_DEL = 0x1f
878 IPV6_FW_FLUSH = 0x20
879 IPV6_FW_GET = 0x22
880 IPV6_FW_ZERO = 0x21
881 IPV6_HLIMDEC = 0x1
882 IPV6_HOPLIMIT = 0x2f
883 IPV6_HOPOPTS = 0x31
884 IPV6_IPSEC_POLICY = 0x1c
885 IPV6_JOIN_GROUP = 0xc
886 IPV6_LEAVE_GROUP = 0xd
887 IPV6_MAXHLIM = 0xff
888 IPV6_MAXOPTHDR = 0x800
889 IPV6_MAXPACKET = 0xffff
890 IPV6_MAX_GROUP_SRC_FILTER = 0x200
891 IPV6_MAX_MEMBERSHIPS = 0xfff
892 IPV6_MAX_SOCK_SRC_FILTER = 0x80
893 IPV6_MIN_MEMBERSHIPS = 0x1f
894 IPV6_MMTU = 0x500
895 IPV6_MSFILTER = 0x4a
896 IPV6_MULTICAST_HOPS = 0xa
897 IPV6_MULTICAST_IF = 0x9
898 IPV6_MULTICAST_LOOP = 0xb
899 IPV6_NEXTHOP = 0x30
900 IPV6_PATHMTU = 0x2c
901 IPV6_PKTINFO = 0x2e
902 IPV6_PORTRANGE = 0xe
903 IPV6_PORTRANGE_DEFAULT = 0x0
904 IPV6_PORTRANGE_HIGH = 0x1
905 IPV6_PORTRANGE_LOW = 0x2
906 IPV6_PREFER_TEMPADDR = 0x3f
907 IPV6_RECVDSTOPTS = 0x28
908 IPV6_RECVHOPLIMIT = 0x25
909 IPV6_RECVHOPOPTS = 0x27
910 IPV6_RECVPATHMTU = 0x2b
911 IPV6_RECVPKTINFO = 0x24
912 IPV6_RECVRTHDR = 0x26
913 IPV6_RECVTCLASS = 0x39
914 IPV6_RTHDR = 0x33
915 IPV6_RTHDRDSTOPTS = 0x23
916 IPV6_RTHDR_LOOSE = 0x0
917 IPV6_RTHDR_STRICT = 0x1
918 IPV6_RTHDR_TYPE_0 = 0x0
919 IPV6_SOCKOPT_RESERVED1 = 0x3
920 IPV6_TCLASS = 0x3d
921 IPV6_UNICAST_HOPS = 0x4
922 IPV6_USE_MIN_MTU = 0x2a
923 IPV6_V6ONLY = 0x1b
924 IPV6_VERSION = 0x60
925 IPV6_VERSION_MASK = 0xf0
926 IP_ADD_MEMBERSHIP = 0xc
927 IP_ADD_SOURCE_MEMBERSHIP = 0x46
928 IP_BINDANY = 0x18
929 IP_BLOCK_SOURCE = 0x48
930 IP_DEFAULT_MULTICAST_LOOP = 0x1
931 IP_DEFAULT_MULTICAST_TTL = 0x1
932 IP_DF = 0x4000
933 IP_DONTFRAG = 0x43
934 IP_DROP_MEMBERSHIP = 0xd
935 IP_DROP_SOURCE_MEMBERSHIP = 0x47
936 IP_DUMMYNET3 = 0x31
937 IP_DUMMYNET_CONFIGURE = 0x3c
938 IP_DUMMYNET_DEL = 0x3d
939 IP_DUMMYNET_FLUSH = 0x3e
940 IP_DUMMYNET_GET = 0x40
941 IP_FAITH = 0x16
942 IP_FW3 = 0x30
943 IP_FW_ADD = 0x32
944 IP_FW_DEL = 0x33
945 IP_FW_FLUSH = 0x34
946 IP_FW_GET = 0x36
947 IP_FW_NAT_CFG = 0x38
948 IP_FW_NAT_DEL = 0x39
949 IP_FW_NAT_GET_CONFIG = 0x3a
950 IP_FW_NAT_GET_LOG = 0x3b
951 IP_FW_RESETLOG = 0x37
952 IP_FW_TABLE_ADD = 0x28
953 IP_FW_TABLE_DEL = 0x29
954 IP_FW_TABLE_FLUSH = 0x2a
955 IP_FW_TABLE_GETSIZE = 0x2b
956 IP_FW_TABLE_LIST = 0x2c
957 IP_FW_ZERO = 0x35
958 IP_HDRINCL = 0x2
959 IP_IPSEC_POLICY = 0x15
960 IP_MAXPACKET = 0xffff
961 IP_MAX_GROUP_SRC_FILTER = 0x200
962 IP_MAX_MEMBERSHIPS = 0xfff
963 IP_MAX_SOCK_MUTE_FILTER = 0x80
964 IP_MAX_SOCK_SRC_FILTER = 0x80
965 IP_MAX_SOURCE_FILTER = 0x400
966 IP_MF = 0x2000
967 IP_MINTTL = 0x42
968 IP_MIN_MEMBERSHIPS = 0x1f
969 IP_MSFILTER = 0x4a
970 IP_MSS = 0x240
971 IP_MULTICAST_IF = 0x9
972 IP_MULTICAST_LOOP = 0xb
973 IP_MULTICAST_TTL = 0xa
974 IP_MULTICAST_VIF = 0xe
975 IP_OFFMASK = 0x1fff
976 IP_ONESBCAST = 0x17
977 IP_OPTIONS = 0x1
978 IP_PORTRANGE = 0x13
979 IP_PORTRANGE_DEFAULT = 0x0
980 IP_PORTRANGE_HIGH = 0x1
981 IP_PORTRANGE_LOW = 0x2
982 IP_RECVDSTADDR = 0x7
983 IP_RECVIF = 0x14
984 IP_RECVOPTS = 0x5
985 IP_RECVRETOPTS = 0x6
986 IP_RECVTOS = 0x44
987 IP_RECVTTL = 0x41
988 IP_RETOPTS = 0x8
989 IP_RF = 0x8000
990 IP_RSVP_OFF = 0x10
991 IP_RSVP_ON = 0xf
992 IP_RSVP_VIF_OFF = 0x12
993 IP_RSVP_VIF_ON = 0x11
994 IP_SENDSRCADDR = 0x7
995 IP_TOS = 0x3
996 IP_TTL = 0x4
997 IP_UNBLOCK_SOURCE = 0x49
998 ISIG = 0x80
999 ISTRIP = 0x20
1000 IXANY = 0x800
1001 IXOFF = 0x400
1002 IXON = 0x200
1003 LOCK_EX = 0x2
1004 LOCK_NB = 0x4
1005 LOCK_SH = 0x1
1006 LOCK_UN = 0x8
1007 MADV_AUTOSYNC = 0x7
1008 MADV_CORE = 0x9
1009 MADV_DONTNEED = 0x4
1010 MADV_FREE = 0x5
1011 MADV_NOCORE = 0x8
1012 MADV_NORMAL = 0x0
1013 MADV_NOSYNC = 0x6
1014 MADV_PROTECT = 0xa
1015 MADV_RANDOM = 0x1
1016 MADV_SEQUENTIAL = 0x2
1017 MADV_WILLNEED = 0x3
1018 MAP_ALIGNED_SUPER = 0x1000000
1019 MAP_ALIGNMENT_MASK = -0x1000000
1020 MAP_ALIGNMENT_SHIFT = 0x18
1021 MAP_ANON = 0x1000
1022 MAP_ANONYMOUS = 0x1000
1023 MAP_COPY = 0x2
1024 MAP_EXCL = 0x4000
1025 MAP_FILE = 0x0
1026 MAP_FIXED = 0x10
1027 MAP_HASSEMAPHORE = 0x200
1028 MAP_NOCORE = 0x20000
1029 MAP_NORESERVE = 0x40
1030 MAP_NOSYNC = 0x800
1031 MAP_PREFAULT_READ = 0x40000
1032 MAP_PRIVATE = 0x2
1033 MAP_RENAME = 0x20
1034 MAP_RESERVED0080 = 0x80
1035 MAP_RESERVED0100 = 0x100
1036 MAP_SHARED = 0x1
1037 MAP_STACK = 0x400
1038 MCL_CURRENT = 0x1
1039 MCL_FUTURE = 0x2
1040 MSG_CMSG_CLOEXEC = 0x40000
1041 MSG_COMPAT = 0x8000
1042 MSG_CTRUNC = 0x20
1043 MSG_DONTROUTE = 0x4
1044 MSG_DONTWAIT = 0x80
1045 MSG_EOF = 0x100
1046 MSG_EOR = 0x8
1047 MSG_NBIO = 0x4000
1048 MSG_NOSIGNAL = 0x20000
1049 MSG_NOTIFICATION = 0x2000
1050 MSG_OOB = 0x1
1051 MSG_PEEK = 0x2
1052 MSG_TRUNC = 0x10
1053 MSG_WAITALL = 0x40
1054 MS_ASYNC = 0x1
1055 MS_INVALIDATE = 0x2
1056 MS_SYNC = 0x0
1057 NAME_MAX = 0xff
1058 NET_RT_DUMP = 0x1
1059 NET_RT_FLAGS = 0x2
1060 NET_RT_IFLIST = 0x3
1061 NET_RT_IFLISTL = 0x5
1062 NET_RT_IFMALIST = 0x4
1063 NET_RT_MAXID = 0x6
1064 NOFLSH = 0x80000000
1065 NOTE_ATTRIB = 0x8
1066 NOTE_CHILD = 0x4
1067 NOTE_DELETE = 0x1
1068 NOTE_EXEC = 0x20000000
1069 NOTE_EXIT = 0x80000000
1070 NOTE_EXTEND = 0x4
1071 NOTE_FFAND = 0x40000000
1072 NOTE_FFCOPY = 0xc0000000
1073 NOTE_FFCTRLMASK = 0xc0000000
1074 NOTE_FFLAGSMASK = 0xffffff
1075 NOTE_FFNOP = 0x0
1076 NOTE_FFOR = 0x80000000
1077 NOTE_FORK = 0x40000000
1078 NOTE_LINK = 0x10
1079 NOTE_LOWAT = 0x1
1080 NOTE_PCTRLMASK = 0xf0000000
1081 NOTE_PDATAMASK = 0xfffff
1082 NOTE_RENAME = 0x20
1083 NOTE_REVOKE = 0x40
1084 NOTE_TRACK = 0x1
1085 NOTE_TRACKERR = 0x2
1086 NOTE_TRIGGER = 0x1000000
1087 NOTE_WRITE = 0x2
1088 OCRNL = 0x10
1089 ONLCR = 0x2
1090 ONLRET = 0x40
1091 ONOCR = 0x20
1092 ONOEOT = 0x8
1093 OPOST = 0x1
1094 O_ACCMODE = 0x3
1095 O_APPEND = 0x8
1096 O_ASYNC = 0x40
1097 O_CLOEXEC = 0x100000
1098 O_CREAT = 0x200
1099 O_DIRECT = 0x10000
1100 O_DIRECTORY = 0x20000
1101 O_EXCL = 0x800
1102 O_EXEC = 0x40000
1103 O_EXLOCK = 0x20
1104 O_FSYNC = 0x80
1105 O_NDELAY = 0x4
1106 O_NOCTTY = 0x8000
1107 O_NOFOLLOW = 0x100
1108 O_NONBLOCK = 0x4
1109 O_RDONLY = 0x0
1110 O_RDWR = 0x2
1111 O_SHLOCK = 0x10
1112 O_SYNC = 0x80
1113 O_TRUNC = 0x400
1114 O_TTY_INIT = 0x80000
1115 O_WRONLY = 0x1
1116 PARENB = 0x1000
1117 PARMRK = 0x8
1118 PARODD = 0x2000
1119 PENDIN = 0x20000000
1120 PRIO_PGRP = 0x1
1121 PRIO_PROCESS = 0x0
1122 PRIO_USER = 0x2
1123 PROT_EXEC = 0x4
1124 PROT_NONE = 0x0
1125 PROT_READ = 0x1
1126 PROT_WRITE = 0x2
1127 RLIMIT_AS = 0xa
1128 RLIMIT_CORE = 0x4
1129 RLIMIT_CPU = 0x0
1130 RLIMIT_DATA = 0x2
1131 RLIMIT_FSIZE = 0x1
1132 RLIMIT_NOFILE = 0x8
1133 RLIMIT_STACK = 0x3
1134 RLIM_INFINITY = 0x7fffffffffffffff
1135 RTAX_AUTHOR = 0x6
1136 RTAX_BRD = 0x7
1137 RTAX_DST = 0x0
1138 RTAX_GATEWAY = 0x1
1139 RTAX_GENMASK = 0x3
1140 RTAX_IFA = 0x5
1141 RTAX_IFP = 0x4
1142 RTAX_MAX = 0x8
1143 RTAX_NETMASK = 0x2
1144 RTA_AUTHOR = 0x40
1145 RTA_BRD = 0x80
1146 RTA_DST = 0x1
1147 RTA_GATEWAY = 0x2
1148 RTA_GENMASK = 0x8
1149 RTA_IFA = 0x20
1150 RTA_IFP = 0x10
1151 RTA_NETMASK = 0x4
1152 RTF_BLACKHOLE = 0x1000
1153 RTF_BROADCAST = 0x400000
1154 RTF_DONE = 0x40
1155 RTF_DYNAMIC = 0x10
1156 RTF_FMASK = 0x1004d808
1157 RTF_GATEWAY = 0x2
1158 RTF_GWFLAG_COMPAT = 0x80000000
1159 RTF_HOST = 0x4
1160 RTF_LLDATA = 0x400
1161 RTF_LLINFO = 0x400
1162 RTF_LOCAL = 0x200000
1163 RTF_MODIFIED = 0x20
1164 RTF_MULTICAST = 0x800000
1165 RTF_PINNED = 0x100000
1166 RTF_PRCLONING = 0x10000
1167 RTF_PROTO1 = 0x8000
1168 RTF_PROTO2 = 0x4000
1169 RTF_PROTO3 = 0x40000
1170 RTF_REJECT = 0x8
1171 RTF_RNH_LOCKED = 0x40000000
1172 RTF_STATIC = 0x800
1173 RTF_STICKY = 0x10000000
1174 RTF_UP = 0x1
1175 RTF_XRESOLVE = 0x200
1176 RTM_ADD = 0x1
1177 RTM_CHANGE = 0x3
1178 RTM_DELADDR = 0xd
1179 RTM_DELETE = 0x2
1180 RTM_DELMADDR = 0x10
1181 RTM_GET = 0x4
1182 RTM_IEEE80211 = 0x12
1183 RTM_IFANNOUNCE = 0x11
1184 RTM_IFINFO = 0xe
1185 RTM_LOCK = 0x8
1186 RTM_LOSING = 0x5
1187 RTM_MISS = 0x7
1188 RTM_NEWADDR = 0xc
1189 RTM_NEWMADDR = 0xf
1190 RTM_OLDADD = 0x9
1191 RTM_OLDDEL = 0xa
1192 RTM_REDIRECT = 0x6
1193 RTM_RESOLVE = 0xb
1194 RTM_RTTUNIT = 0xf4240
1195 RTM_VERSION = 0x5
1196 RTV_EXPIRE = 0x4
1197 RTV_HOPCOUNT = 0x2
1198 RTV_MTU = 0x1
1199 RTV_RPIPE = 0x8
1200 RTV_RTT = 0x40
1201 RTV_RTTVAR = 0x80
1202 RTV_SPIPE = 0x10
1203 RTV_SSTHRESH = 0x20
1204 RTV_WEIGHT = 0x100
1205 RT_ALL_FIBS = -0x1
1206 RT_CACHING_CONTEXT = 0x1
1207 RT_DEFAULT_FIB = 0x0
1208 RT_NORTREF = 0x2
1209 RUSAGE_CHILDREN = -0x1
1210 RUSAGE_SELF = 0x0
1211 RUSAGE_THREAD = 0x1
1212 SCM_BINTIME = 0x4
1213 SCM_CREDS = 0x3
1214 SCM_RIGHTS = 0x1
1215 SCM_TIMESTAMP = 0x2
1216 SHUT_RD = 0x0
1217 SHUT_RDWR = 0x2
1218 SHUT_WR = 0x1
1219 SIOCADDMULTI = 0x80206931
1220 SIOCADDRT = 0x8030720a
1221 SIOCAIFADDR = 0x8040691a
1222 SIOCAIFGROUP = 0x80246987
1223 SIOCALIFADDR = 0x8118691b
1224 SIOCATMARK = 0x40047307
1225 SIOCDELMULTI = 0x80206932
1226 SIOCDELRT = 0x8030720b
1227 SIOCDIFADDR = 0x80206919
1228 SIOCDIFGROUP = 0x80246989
1229 SIOCDIFPHYADDR = 0x80206949
1230 SIOCDLIFADDR = 0x8118691d
1231 SIOCGDRVSPEC = 0xc01c697b
1232 SIOCGETSGCNT = 0xc0147210
1233 SIOCGETVIFCNT = 0xc014720f
1234 SIOCGHIWAT = 0x40047301
1235 SIOCGIFADDR = 0xc0206921
1236 SIOCGIFBRDADDR = 0xc0206923
1237 SIOCGIFCAP = 0xc020691f
1238 SIOCGIFCONF = 0xc0086924
1239 SIOCGIFDESCR = 0xc020692a
1240 SIOCGIFDSTADDR = 0xc0206922
1241 SIOCGIFFIB = 0xc020695c
1242 SIOCGIFFLAGS = 0xc0206911
1243 SIOCGIFGENERIC = 0xc020693a
1244 SIOCGIFGMEMB = 0xc024698a
1245 SIOCGIFGROUP = 0xc0246988
1246 SIOCGIFINDEX = 0xc0206920
1247 SIOCGIFMAC = 0xc0206926
1248 SIOCGIFMEDIA = 0xc0286938
1249 SIOCGIFMETRIC = 0xc0206917
1250 SIOCGIFMTU = 0xc0206933
1251 SIOCGIFNETMASK = 0xc0206925
1252 SIOCGIFPDSTADDR = 0xc0206948
1253 SIOCGIFPHYS = 0xc0206935
1254 SIOCGIFPSRCADDR = 0xc0206947
1255 SIOCGIFSTATUS = 0xc331693b
1256 SIOCGLIFADDR = 0xc118691c
1257 SIOCGLIFPHYADDR = 0xc118694b
1258 SIOCGLOWAT = 0x40047303
1259 SIOCGPGRP = 0x40047309
1260 SIOCGPRIVATE_0 = 0xc0206950
1261 SIOCGPRIVATE_1 = 0xc0206951
1262 SIOCIFCREATE = 0xc020697a
1263 SIOCIFCREATE2 = 0xc020697c
1264 SIOCIFDESTROY = 0x80206979
1265 SIOCIFGCLONERS = 0xc00c6978
1266 SIOCSDRVSPEC = 0x801c697b
1267 SIOCSHIWAT = 0x80047300
1268 SIOCSIFADDR = 0x8020690c
1269 SIOCSIFBRDADDR = 0x80206913
1270 SIOCSIFCAP = 0x8020691e
1271 SIOCSIFDESCR = 0x80206929
1272 SIOCSIFDSTADDR = 0x8020690e
1273 SIOCSIFFIB = 0x8020695d
1274 SIOCSIFFLAGS = 0x80206910
1275 SIOCSIFGENERIC = 0x80206939
1276 SIOCSIFLLADDR = 0x8020693c
1277 SIOCSIFMAC = 0x80206927
1278 SIOCSIFMEDIA = 0xc0206937
1279 SIOCSIFMETRIC = 0x80206918
1280 SIOCSIFMTU = 0x80206934
1281 SIOCSIFNAME = 0x80206928
1282 SIOCSIFNETMASK = 0x80206916
1283 SIOCSIFPHYADDR = 0x80406946
1284 SIOCSIFPHYS = 0x80206936
1285 SIOCSIFRVNET = 0xc020695b
1286 SIOCSIFVNET = 0xc020695a
1287 SIOCSLIFPHYADDR = 0x8118694a
1288 SIOCSLOWAT = 0x80047302
1289 SIOCSPGRP = 0x80047308
1290 SOCK_CLOEXEC = 0x10000000
1291 SOCK_DGRAM = 0x2
1292 SOCK_MAXADDRLEN = 0xff
1293 SOCK_NONBLOCK = 0x20000000
1294 SOCK_RAW = 0x3
1295 SOCK_RDM = 0x4
1296 SOCK_SEQPACKET = 0x5
1297 SOCK_STREAM = 0x1
1298 SOL_SOCKET = 0xffff
1299 SOMAXCONN = 0x80
1300 SO_ACCEPTCONN = 0x2
1301 SO_ACCEPTFILTER = 0x1000
1302 SO_BINTIME = 0x2000
1303 SO_BROADCAST = 0x20
1304 SO_DEBUG = 0x1
1305 SO_DONTROUTE = 0x10
1306 SO_ERROR = 0x1007
1307 SO_KEEPALIVE = 0x8
1308 SO_LABEL = 0x1009
1309 SO_LINGER = 0x80
1310 SO_LISTENINCQLEN = 0x1013
1311 SO_LISTENQLEN = 0x1012
1312 SO_LISTENQLIMIT = 0x1011
1313 SO_NOSIGPIPE = 0x800
1314 SO_NO_DDP = 0x8000
1315 SO_NO_OFFLOAD = 0x4000
1316 SO_OOBINLINE = 0x100
1317 SO_PEERLABEL = 0x1010
1318 SO_PROTOCOL = 0x1016
1319 SO_PROTOTYPE = 0x1016
1320 SO_RCVBUF = 0x1002
1321 SO_RCVLOWAT = 0x1004
1322 SO_RCVTIMEO = 0x1006
1323 SO_REUSEADDR = 0x4
1324 SO_REUSEPORT = 0x200
1325 SO_SETFIB = 0x1014
1326 SO_SNDBUF = 0x1001
1327 SO_SNDLOWAT = 0x1003
1328 SO_SNDTIMEO = 0x1005
1329 SO_TIMESTAMP = 0x400
1330 SO_TYPE = 0x1008
1331 SO_USELOOPBACK = 0x40
1332 SO_USER_COOKIE = 0x1015
1333 SO_VENDOR = 0x80000000
1334 TCIFLUSH = 0x1
1335 TCIOFLUSH = 0x3
1336 TCOFLUSH = 0x2
1337 TCP_CA_NAME_MAX = 0x10
1338 TCP_CONGESTION = 0x40
1339 TCP_INFO = 0x20
1340 TCP_KEEPCNT = 0x400
1341 TCP_KEEPIDLE = 0x100
1342 TCP_KEEPINIT = 0x80
1343 TCP_KEEPINTVL = 0x200
1344 TCP_MAXBURST = 0x4
1345 TCP_MAXHLEN = 0x3c
1346 TCP_MAXOLEN = 0x28
1347 TCP_MAXSEG = 0x2
1348 TCP_MAXWIN = 0xffff
1349 TCP_MAX_SACK = 0x4
1350 TCP_MAX_WINSHIFT = 0xe
1351 TCP_MD5SIG = 0x10
1352 TCP_MINMSS = 0xd8
1353 TCP_MSS = 0x218
1354 TCP_NODELAY = 0x1
1355 TCP_NOOPT = 0x8
1356 TCP_NOPUSH = 0x4
1357 TCP_VENDOR = 0x80000000
1358 TCSAFLUSH = 0x2
1359 TIOCCBRK = 0x2000747a
1360 TIOCCDTR = 0x20007478
1361 TIOCCONS = 0x80047462
1362 TIOCDRAIN = 0x2000745e
1363 TIOCEXCL = 0x2000740d
1364 TIOCEXT = 0x80047460
1365 TIOCFLUSH = 0x80047410
1366 TIOCGDRAINWAIT = 0x40047456
1367 TIOCGETA = 0x402c7413
1368 TIOCGETD = 0x4004741a
1369 TIOCGPGRP = 0x40047477
1370 TIOCGPTN = 0x4004740f
1371 TIOCGSID = 0x40047463
1372 TIOCGWINSZ = 0x40087468
1373 TIOCMBIC = 0x8004746b
1374 TIOCMBIS = 0x8004746c
1375 TIOCMGDTRWAIT = 0x4004745a
1376 TIOCMGET = 0x4004746a
1377 TIOCMSDTRWAIT = 0x8004745b
1378 TIOCMSET = 0x8004746d
1379 TIOCM_CAR = 0x40
1380 TIOCM_CD = 0x40
1381 TIOCM_CTS = 0x20
1382 TIOCM_DCD = 0x40
1383 TIOCM_DSR = 0x100
1384 TIOCM_DTR = 0x2
1385 TIOCM_LE = 0x1
1386 TIOCM_RI = 0x80
1387 TIOCM_RNG = 0x80
1388 TIOCM_RTS = 0x4
1389 TIOCM_SR = 0x10
1390 TIOCM_ST = 0x8
1391 TIOCNOTTY = 0x20007471
1392 TIOCNXCL = 0x2000740e
1393 TIOCOUTQ = 0x40047473
1394 TIOCPKT = 0x80047470
1395 TIOCPKT_DATA = 0x0
1396 TIOCPKT_DOSTOP = 0x20
1397 TIOCPKT_FLUSHREAD = 0x1
1398 TIOCPKT_FLUSHWRITE = 0x2
1399 TIOCPKT_IOCTL = 0x40
1400 TIOCPKT_NOSTOP = 0x10
1401 TIOCPKT_START = 0x8
1402 TIOCPKT_STOP = 0x4
1403 TIOCPTMASTER = 0x2000741c
1404 TIOCSBRK = 0x2000747b
1405 TIOCSCTTY = 0x20007461
1406 TIOCSDRAINWAIT = 0x80047457
1407 TIOCSDTR = 0x20007479
1408 TIOCSETA = 0x802c7414
1409 TIOCSETAF = 0x802c7416
1410 TIOCSETAW = 0x802c7415
1411 TIOCSETD = 0x8004741b
1412 TIOCSIG = 0x2004745f
1413 TIOCSPGRP = 0x80047476
1414 TIOCSTART = 0x2000746e
1415 TIOCSTAT = 0x20007465
1416 TIOCSTI = 0x80017472
1417 TIOCSTOP = 0x2000746f
1418 TIOCSWINSZ = 0x80087467
1419 TIOCTIMESTAMP = 0x40087459
1420 TIOCUCNTL = 0x80047466
1421 TOSTOP = 0x400000
1422 VDISCARD = 0xf
1423 VDSUSP = 0xb
1424 VEOF = 0x0
1425 VEOL = 0x1
1426 VEOL2 = 0x2
1427 VERASE = 0x3
1428 VERASE2 = 0x7
1429 VINTR = 0x8
1430 VKILL = 0x5
1431 VLNEXT = 0xe
1432 VMIN = 0x10
1433 VQUIT = 0x9
1434 VREPRINT = 0x6
1435 VSTART = 0xc
1436 VSTATUS = 0x12
1437 VSTOP = 0xd
1438 VSUSP = 0xa
1439 VTIME = 0x11
1440 VWERASE = 0x4
1441 WCONTINUED = 0x4
1442 WCOREFLAG = 0x80
1443 WEXITED = 0x10
1444 WLINUXCLONE = 0x80000000
1445 WNOHANG = 0x1
1446 WNOWAIT = 0x8
1447 WSTOPPED = 0x2
1448 WTRAPPED = 0x20
1449 WUNTRACED = 0x2
1450)
1451
1452// Errors
1453const (
1454 E2BIG = syscall.Errno(0x7)
1455 EACCES = syscall.Errno(0xd)
1456 EADDRINUSE = syscall.Errno(0x30)
1457 EADDRNOTAVAIL = syscall.Errno(0x31)
1458 EAFNOSUPPORT = syscall.Errno(0x2f)
1459 EAGAIN = syscall.Errno(0x23)
1460 EALREADY = syscall.Errno(0x25)
1461 EAUTH = syscall.Errno(0x50)
1462 EBADF = syscall.Errno(0x9)
1463 EBADMSG = syscall.Errno(0x59)
1464 EBADRPC = syscall.Errno(0x48)
1465 EBUSY = syscall.Errno(0x10)
1466 ECANCELED = syscall.Errno(0x55)
1467 ECAPMODE = syscall.Errno(0x5e)
1468 ECHILD = syscall.Errno(0xa)
1469 ECONNABORTED = syscall.Errno(0x35)
1470 ECONNREFUSED = syscall.Errno(0x3d)
1471 ECONNRESET = syscall.Errno(0x36)
1472 EDEADLK = syscall.Errno(0xb)
1473 EDESTADDRREQ = syscall.Errno(0x27)
1474 EDOM = syscall.Errno(0x21)
1475 EDOOFUS = syscall.Errno(0x58)
1476 EDQUOT = syscall.Errno(0x45)
1477 EEXIST = syscall.Errno(0x11)
1478 EFAULT = syscall.Errno(0xe)
1479 EFBIG = syscall.Errno(0x1b)
1480 EFTYPE = syscall.Errno(0x4f)
1481 EHOSTDOWN = syscall.Errno(0x40)
1482 EHOSTUNREACH = syscall.Errno(0x41)
1483 EIDRM = syscall.Errno(0x52)
1484 EILSEQ = syscall.Errno(0x56)
1485 EINPROGRESS = syscall.Errno(0x24)
1486 EINTR = syscall.Errno(0x4)
1487 EINVAL = syscall.Errno(0x16)
1488 EIO = syscall.Errno(0x5)
1489 EISCONN = syscall.Errno(0x38)
1490 EISDIR = syscall.Errno(0x15)
1491 ELAST = syscall.Errno(0x60)
1492 ELOOP = syscall.Errno(0x3e)
1493 EMFILE = syscall.Errno(0x18)
1494 EMLINK = syscall.Errno(0x1f)
1495 EMSGSIZE = syscall.Errno(0x28)
1496 EMULTIHOP = syscall.Errno(0x5a)
1497 ENAMETOOLONG = syscall.Errno(0x3f)
1498 ENEEDAUTH = syscall.Errno(0x51)
1499 ENETDOWN = syscall.Errno(0x32)
1500 ENETRESET = syscall.Errno(0x34)
1501 ENETUNREACH = syscall.Errno(0x33)
1502 ENFILE = syscall.Errno(0x17)
1503 ENOATTR = syscall.Errno(0x57)
1504 ENOBUFS = syscall.Errno(0x37)
1505 ENODEV = syscall.Errno(0x13)
1506 ENOENT = syscall.Errno(0x2)
1507 ENOEXEC = syscall.Errno(0x8)
1508 ENOLCK = syscall.Errno(0x4d)
1509 ENOLINK = syscall.Errno(0x5b)
1510 ENOMEM = syscall.Errno(0xc)
1511 ENOMSG = syscall.Errno(0x53)
1512 ENOPROTOOPT = syscall.Errno(0x2a)
1513 ENOSPC = syscall.Errno(0x1c)
1514 ENOSYS = syscall.Errno(0x4e)
1515 ENOTBLK = syscall.Errno(0xf)
1516 ENOTCAPABLE = syscall.Errno(0x5d)
1517 ENOTCONN = syscall.Errno(0x39)
1518 ENOTDIR = syscall.Errno(0x14)
1519 ENOTEMPTY = syscall.Errno(0x42)
1520 ENOTRECOVERABLE = syscall.Errno(0x5f)
1521 ENOTSOCK = syscall.Errno(0x26)
1522 ENOTSUP = syscall.Errno(0x2d)
1523 ENOTTY = syscall.Errno(0x19)
1524 ENXIO = syscall.Errno(0x6)
1525 EOPNOTSUPP = syscall.Errno(0x2d)
1526 EOVERFLOW = syscall.Errno(0x54)
1527 EOWNERDEAD = syscall.Errno(0x60)
1528 EPERM = syscall.Errno(0x1)
1529 EPFNOSUPPORT = syscall.Errno(0x2e)
1530 EPIPE = syscall.Errno(0x20)
1531 EPROCLIM = syscall.Errno(0x43)
1532 EPROCUNAVAIL = syscall.Errno(0x4c)
1533 EPROGMISMATCH = syscall.Errno(0x4b)
1534 EPROGUNAVAIL = syscall.Errno(0x4a)
1535 EPROTO = syscall.Errno(0x5c)
1536 EPROTONOSUPPORT = syscall.Errno(0x2b)
1537 EPROTOTYPE = syscall.Errno(0x29)
1538 ERANGE = syscall.Errno(0x22)
1539 EREMOTE = syscall.Errno(0x47)
1540 EROFS = syscall.Errno(0x1e)
1541 ERPCMISMATCH = syscall.Errno(0x49)
1542 ESHUTDOWN = syscall.Errno(0x3a)
1543 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1544 ESPIPE = syscall.Errno(0x1d)
1545 ESRCH = syscall.Errno(0x3)
1546 ESTALE = syscall.Errno(0x46)
1547 ETIMEDOUT = syscall.Errno(0x3c)
1548 ETOOMANYREFS = syscall.Errno(0x3b)
1549 ETXTBSY = syscall.Errno(0x1a)
1550 EUSERS = syscall.Errno(0x44)
1551 EWOULDBLOCK = syscall.Errno(0x23)
1552 EXDEV = syscall.Errno(0x12)
1553)
1554
1555// Signals
1556const (
1557 SIGABRT = syscall.Signal(0x6)
1558 SIGALRM = syscall.Signal(0xe)
1559 SIGBUS = syscall.Signal(0xa)
1560 SIGCHLD = syscall.Signal(0x14)
1561 SIGCONT = syscall.Signal(0x13)
1562 SIGEMT = syscall.Signal(0x7)
1563 SIGFPE = syscall.Signal(0x8)
1564 SIGHUP = syscall.Signal(0x1)
1565 SIGILL = syscall.Signal(0x4)
1566 SIGINFO = syscall.Signal(0x1d)
1567 SIGINT = syscall.Signal(0x2)
1568 SIGIO = syscall.Signal(0x17)
1569 SIGIOT = syscall.Signal(0x6)
1570 SIGKILL = syscall.Signal(0x9)
1571 SIGLIBRT = syscall.Signal(0x21)
1572 SIGLWP = syscall.Signal(0x20)
1573 SIGPIPE = syscall.Signal(0xd)
1574 SIGPROF = syscall.Signal(0x1b)
1575 SIGQUIT = syscall.Signal(0x3)
1576 SIGSEGV = syscall.Signal(0xb)
1577 SIGSTOP = syscall.Signal(0x11)
1578 SIGSYS = syscall.Signal(0xc)
1579 SIGTERM = syscall.Signal(0xf)
1580 SIGTHR = syscall.Signal(0x20)
1581 SIGTRAP = syscall.Signal(0x5)
1582 SIGTSTP = syscall.Signal(0x12)
1583 SIGTTIN = syscall.Signal(0x15)
1584 SIGTTOU = syscall.Signal(0x16)
1585 SIGURG = syscall.Signal(0x10)
1586 SIGUSR1 = syscall.Signal(0x1e)
1587 SIGUSR2 = syscall.Signal(0x1f)
1588 SIGVTALRM = syscall.Signal(0x1a)
1589 SIGWINCH = syscall.Signal(0x1c)
1590 SIGXCPU = syscall.Signal(0x18)
1591 SIGXFSZ = syscall.Signal(0x19)
1592)
1593
1594// Error table
1595var errors = [...]string{
1596 1: "operation not permitted",
1597 2: "no such file or directory",
1598 3: "no such process",
1599 4: "interrupted system call",
1600 5: "input/output error",
1601 6: "device not configured",
1602 7: "argument list too long",
1603 8: "exec format error",
1604 9: "bad file descriptor",
1605 10: "no child processes",
1606 11: "resource deadlock avoided",
1607 12: "cannot allocate memory",
1608 13: "permission denied",
1609 14: "bad address",
1610 15: "block device required",
1611 16: "device busy",
1612 17: "file exists",
1613 18: "cross-device link",
1614 19: "operation not supported by device",
1615 20: "not a directory",
1616 21: "is a directory",
1617 22: "invalid argument",
1618 23: "too many open files in system",
1619 24: "too many open files",
1620 25: "inappropriate ioctl for device",
1621 26: "text file busy",
1622 27: "file too large",
1623 28: "no space left on device",
1624 29: "illegal seek",
1625 30: "read-only file system",
1626 31: "too many links",
1627 32: "broken pipe",
1628 33: "numerical argument out of domain",
1629 34: "result too large",
1630 35: "resource temporarily unavailable",
1631 36: "operation now in progress",
1632 37: "operation already in progress",
1633 38: "socket operation on non-socket",
1634 39: "destination address required",
1635 40: "message too long",
1636 41: "protocol wrong type for socket",
1637 42: "protocol not available",
1638 43: "protocol not supported",
1639 44: "socket type not supported",
1640 45: "operation not supported",
1641 46: "protocol family not supported",
1642 47: "address family not supported by protocol family",
1643 48: "address already in use",
1644 49: "can't assign requested address",
1645 50: "network is down",
1646 51: "network is unreachable",
1647 52: "network dropped connection on reset",
1648 53: "software caused connection abort",
1649 54: "connection reset by peer",
1650 55: "no buffer space available",
1651 56: "socket is already connected",
1652 57: "socket is not connected",
1653 58: "can't send after socket shutdown",
1654 59: "too many references: can't splice",
1655 60: "operation timed out",
1656 61: "connection refused",
1657 62: "too many levels of symbolic links",
1658 63: "file name too long",
1659 64: "host is down",
1660 65: "no route to host",
1661 66: "directory not empty",
1662 67: "too many processes",
1663 68: "too many users",
1664 69: "disc quota exceeded",
1665 70: "stale NFS file handle",
1666 71: "too many levels of remote in path",
1667 72: "RPC struct is bad",
1668 73: "RPC version wrong",
1669 74: "RPC prog. not avail",
1670 75: "program version wrong",
1671 76: "bad procedure for program",
1672 77: "no locks available",
1673 78: "function not implemented",
1674 79: "inappropriate file type or format",
1675 80: "authentication error",
1676 81: "need authenticator",
1677 82: "identifier removed",
1678 83: "no message of desired type",
1679 84: "value too large to be stored in data type",
1680 85: "operation canceled",
1681 86: "illegal byte sequence",
1682 87: "attribute not found",
1683 88: "programming error",
1684 89: "bad message",
1685 90: "multihop attempted",
1686 91: "link has been severed",
1687 92: "protocol error",
1688 93: "capabilities insufficient",
1689 94: "not permitted in capability mode",
1690 95: "state not recoverable",
1691 96: "previous owner died",
1692}
1693
1694// Signal table
1695var signals = [...]string{
1696 1: "hangup",
1697 2: "interrupt",
1698 3: "quit",
1699 4: "illegal instruction",
1700 5: "trace/BPT trap",
1701 6: "abort trap",
1702 7: "EMT trap",
1703 8: "floating point exception",
1704 9: "killed",
1705 10: "bus error",
1706 11: "segmentation fault",
1707 12: "bad system call",
1708 13: "broken pipe",
1709 14: "alarm clock",
1710 15: "terminated",
1711 16: "urgent I/O condition",
1712 17: "suspended (signal)",
1713 18: "suspended",
1714 19: "continued",
1715 20: "child exited",
1716 21: "stopped (tty input)",
1717 22: "stopped (tty output)",
1718 23: "I/O possible",
1719 24: "cputime limit exceeded",
1720 25: "filesize limit exceeded",
1721 26: "virtual timer expired",
1722 27: "profiling timer expired",
1723 28: "window size changes",
1724 29: "information request",
1725 30: "user defined signal 1",
1726 31: "user defined signal 2",
1727 32: "unknown signal",
1728 33: "unknown signal",
1729}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_386.go
deleted file mode 100644
index d370be0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_386.go
+++ /dev/null
@@ -1,1817 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x28
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_NFC = 0x27
42 AF_PACKET = 0x11
43 AF_PHONET = 0x23
44 AF_PPPOX = 0x18
45 AF_RDS = 0x15
46 AF_ROSE = 0xb
47 AF_ROUTE = 0x10
48 AF_RXRPC = 0x21
49 AF_SECURITY = 0xe
50 AF_SNA = 0x16
51 AF_TIPC = 0x1e
52 AF_UNIX = 0x1
53 AF_UNSPEC = 0x0
54 AF_WANPIPE = 0x19
55 AF_X25 = 0x9
56 ARPHRD_ADAPT = 0x108
57 ARPHRD_APPLETLK = 0x8
58 ARPHRD_ARCNET = 0x7
59 ARPHRD_ASH = 0x30d
60 ARPHRD_ATM = 0x13
61 ARPHRD_AX25 = 0x3
62 ARPHRD_BIF = 0x307
63 ARPHRD_CAIF = 0x336
64 ARPHRD_CAN = 0x118
65 ARPHRD_CHAOS = 0x5
66 ARPHRD_CISCO = 0x201
67 ARPHRD_CSLIP = 0x101
68 ARPHRD_CSLIP6 = 0x103
69 ARPHRD_DDCMP = 0x205
70 ARPHRD_DLCI = 0xf
71 ARPHRD_ECONET = 0x30e
72 ARPHRD_EETHER = 0x2
73 ARPHRD_ETHER = 0x1
74 ARPHRD_EUI64 = 0x1b
75 ARPHRD_FCAL = 0x311
76 ARPHRD_FCFABRIC = 0x313
77 ARPHRD_FCPL = 0x312
78 ARPHRD_FCPP = 0x310
79 ARPHRD_FDDI = 0x306
80 ARPHRD_FRAD = 0x302
81 ARPHRD_HDLC = 0x201
82 ARPHRD_HIPPI = 0x30c
83 ARPHRD_HWX25 = 0x110
84 ARPHRD_IEEE1394 = 0x18
85 ARPHRD_IEEE802 = 0x6
86 ARPHRD_IEEE80211 = 0x321
87 ARPHRD_IEEE80211_PRISM = 0x322
88 ARPHRD_IEEE80211_RADIOTAP = 0x323
89 ARPHRD_IEEE802154 = 0x324
90 ARPHRD_IEEE802_TR = 0x320
91 ARPHRD_INFINIBAND = 0x20
92 ARPHRD_IPDDP = 0x309
93 ARPHRD_IPGRE = 0x30a
94 ARPHRD_IRDA = 0x30f
95 ARPHRD_LAPB = 0x204
96 ARPHRD_LOCALTLK = 0x305
97 ARPHRD_LOOPBACK = 0x304
98 ARPHRD_METRICOM = 0x17
99 ARPHRD_NETROM = 0x0
100 ARPHRD_NONE = 0xfffe
101 ARPHRD_PHONET = 0x334
102 ARPHRD_PHONET_PIPE = 0x335
103 ARPHRD_PIMREG = 0x30b
104 ARPHRD_PPP = 0x200
105 ARPHRD_PRONET = 0x4
106 ARPHRD_RAWHDLC = 0x206
107 ARPHRD_ROSE = 0x10e
108 ARPHRD_RSRVD = 0x104
109 ARPHRD_SIT = 0x308
110 ARPHRD_SKIP = 0x303
111 ARPHRD_SLIP = 0x100
112 ARPHRD_SLIP6 = 0x102
113 ARPHRD_TUNNEL = 0x300
114 ARPHRD_TUNNEL6 = 0x301
115 ARPHRD_VOID = 0xffff
116 ARPHRD_X25 = 0x10f
117 B0 = 0x0
118 B1000000 = 0x1008
119 B110 = 0x3
120 B115200 = 0x1002
121 B1152000 = 0x1009
122 B1200 = 0x9
123 B134 = 0x4
124 B150 = 0x5
125 B1500000 = 0x100a
126 B1800 = 0xa
127 B19200 = 0xe
128 B200 = 0x6
129 B2000000 = 0x100b
130 B230400 = 0x1003
131 B2400 = 0xb
132 B2500000 = 0x100c
133 B300 = 0x7
134 B3000000 = 0x100d
135 B3500000 = 0x100e
136 B38400 = 0xf
137 B4000000 = 0x100f
138 B460800 = 0x1004
139 B4800 = 0xc
140 B50 = 0x1
141 B500000 = 0x1005
142 B57600 = 0x1001
143 B576000 = 0x1006
144 B600 = 0x8
145 B75 = 0x2
146 B921600 = 0x1007
147 B9600 = 0xd
148 BOTHER = 0x1000
149 BPF_A = 0x10
150 BPF_ABS = 0x20
151 BPF_ADD = 0x0
152 BPF_ALU = 0x4
153 BPF_AND = 0x50
154 BPF_B = 0x10
155 BPF_DIV = 0x30
156 BPF_H = 0x8
157 BPF_IMM = 0x0
158 BPF_IND = 0x40
159 BPF_JA = 0x0
160 BPF_JEQ = 0x10
161 BPF_JGE = 0x30
162 BPF_JGT = 0x20
163 BPF_JMP = 0x5
164 BPF_JSET = 0x40
165 BPF_K = 0x0
166 BPF_LD = 0x0
167 BPF_LDX = 0x1
168 BPF_LEN = 0x80
169 BPF_LSH = 0x60
170 BPF_MAJOR_VERSION = 0x1
171 BPF_MAXINSNS = 0x1000
172 BPF_MEM = 0x60
173 BPF_MEMWORDS = 0x10
174 BPF_MINOR_VERSION = 0x1
175 BPF_MISC = 0x7
176 BPF_MSH = 0xa0
177 BPF_MUL = 0x20
178 BPF_NEG = 0x80
179 BPF_OR = 0x40
180 BPF_RET = 0x6
181 BPF_RSH = 0x70
182 BPF_ST = 0x2
183 BPF_STX = 0x3
184 BPF_SUB = 0x10
185 BPF_TAX = 0x0
186 BPF_TXA = 0x80
187 BPF_W = 0x0
188 BPF_X = 0x8
189 BRKINT = 0x2
190 BS0 = 0x0
191 BS1 = 0x2000
192 BSDLY = 0x2000
193 CBAUD = 0x100f
194 CBAUDEX = 0x1000
195 CFLUSH = 0xf
196 CIBAUD = 0x100f0000
197 CLOCAL = 0x800
198 CLOCK_BOOTTIME = 0x7
199 CLOCK_BOOTTIME_ALARM = 0x9
200 CLOCK_DEFAULT = 0x0
201 CLOCK_EXT = 0x1
202 CLOCK_INT = 0x2
203 CLOCK_MONOTONIC = 0x1
204 CLOCK_MONOTONIC_COARSE = 0x6
205 CLOCK_MONOTONIC_RAW = 0x4
206 CLOCK_PROCESS_CPUTIME_ID = 0x2
207 CLOCK_REALTIME = 0x0
208 CLOCK_REALTIME_ALARM = 0x8
209 CLOCK_REALTIME_COARSE = 0x5
210 CLOCK_THREAD_CPUTIME_ID = 0x3
211 CLOCK_TXFROMRX = 0x4
212 CLOCK_TXINT = 0x3
213 CLONE_CHILD_CLEARTID = 0x200000
214 CLONE_CHILD_SETTID = 0x1000000
215 CLONE_DETACHED = 0x400000
216 CLONE_FILES = 0x400
217 CLONE_FS = 0x200
218 CLONE_IO = 0x80000000
219 CLONE_NEWIPC = 0x8000000
220 CLONE_NEWNET = 0x40000000
221 CLONE_NEWNS = 0x20000
222 CLONE_NEWPID = 0x20000000
223 CLONE_NEWUSER = 0x10000000
224 CLONE_NEWUTS = 0x4000000
225 CLONE_PARENT = 0x8000
226 CLONE_PARENT_SETTID = 0x100000
227 CLONE_PTRACE = 0x2000
228 CLONE_SETTLS = 0x80000
229 CLONE_SIGHAND = 0x800
230 CLONE_SYSVSEM = 0x40000
231 CLONE_THREAD = 0x10000
232 CLONE_UNTRACED = 0x800000
233 CLONE_VFORK = 0x4000
234 CLONE_VM = 0x100
235 CMSPAR = 0x40000000
236 CR0 = 0x0
237 CR1 = 0x200
238 CR2 = 0x400
239 CR3 = 0x600
240 CRDLY = 0x600
241 CREAD = 0x80
242 CRTSCTS = 0x80000000
243 CS5 = 0x0
244 CS6 = 0x10
245 CS7 = 0x20
246 CS8 = 0x30
247 CSIGNAL = 0xff
248 CSIZE = 0x30
249 CSTART = 0x11
250 CSTATUS = 0x0
251 CSTOP = 0x13
252 CSTOPB = 0x40
253 CSUSP = 0x1a
254 DT_BLK = 0x6
255 DT_CHR = 0x2
256 DT_DIR = 0x4
257 DT_FIFO = 0x1
258 DT_LNK = 0xa
259 DT_REG = 0x8
260 DT_SOCK = 0xc
261 DT_UNKNOWN = 0x0
262 DT_WHT = 0xe
263 ECHO = 0x8
264 ECHOCTL = 0x200
265 ECHOE = 0x10
266 ECHOK = 0x20
267 ECHOKE = 0x800
268 ECHONL = 0x40
269 ECHOPRT = 0x400
270 ENCODING_DEFAULT = 0x0
271 ENCODING_FM_MARK = 0x3
272 ENCODING_FM_SPACE = 0x4
273 ENCODING_MANCHESTER = 0x5
274 ENCODING_NRZ = 0x1
275 ENCODING_NRZI = 0x2
276 EPOLLERR = 0x8
277 EPOLLET = 0x80000000
278 EPOLLHUP = 0x10
279 EPOLLIN = 0x1
280 EPOLLMSG = 0x400
281 EPOLLONESHOT = 0x40000000
282 EPOLLOUT = 0x4
283 EPOLLPRI = 0x2
284 EPOLLRDBAND = 0x80
285 EPOLLRDHUP = 0x2000
286 EPOLLRDNORM = 0x40
287 EPOLLWRBAND = 0x200
288 EPOLLWRNORM = 0x100
289 EPOLL_CLOEXEC = 0x80000
290 EPOLL_CTL_ADD = 0x1
291 EPOLL_CTL_DEL = 0x2
292 EPOLL_CTL_MOD = 0x3
293 EPOLL_NONBLOCK = 0x800
294 ETH_P_1588 = 0x88f7
295 ETH_P_8021AD = 0x88a8
296 ETH_P_8021AH = 0x88e7
297 ETH_P_8021Q = 0x8100
298 ETH_P_802_2 = 0x4
299 ETH_P_802_3 = 0x1
300 ETH_P_AARP = 0x80f3
301 ETH_P_AF_IUCV = 0xfbfb
302 ETH_P_ALL = 0x3
303 ETH_P_AOE = 0x88a2
304 ETH_P_ARCNET = 0x1a
305 ETH_P_ARP = 0x806
306 ETH_P_ATALK = 0x809b
307 ETH_P_ATMFATE = 0x8884
308 ETH_P_ATMMPOA = 0x884c
309 ETH_P_AX25 = 0x2
310 ETH_P_BPQ = 0x8ff
311 ETH_P_CAIF = 0xf7
312 ETH_P_CAN = 0xc
313 ETH_P_CONTROL = 0x16
314 ETH_P_CUST = 0x6006
315 ETH_P_DDCMP = 0x6
316 ETH_P_DEC = 0x6000
317 ETH_P_DIAG = 0x6005
318 ETH_P_DNA_DL = 0x6001
319 ETH_P_DNA_RC = 0x6002
320 ETH_P_DNA_RT = 0x6003
321 ETH_P_DSA = 0x1b
322 ETH_P_ECONET = 0x18
323 ETH_P_EDSA = 0xdada
324 ETH_P_FCOE = 0x8906
325 ETH_P_FIP = 0x8914
326 ETH_P_HDLC = 0x19
327 ETH_P_IEEE802154 = 0xf6
328 ETH_P_IEEEPUP = 0xa00
329 ETH_P_IEEEPUPAT = 0xa01
330 ETH_P_IP = 0x800
331 ETH_P_IPV6 = 0x86dd
332 ETH_P_IPX = 0x8137
333 ETH_P_IRDA = 0x17
334 ETH_P_LAT = 0x6004
335 ETH_P_LINK_CTL = 0x886c
336 ETH_P_LOCALTALK = 0x9
337 ETH_P_LOOP = 0x60
338 ETH_P_MOBITEX = 0x15
339 ETH_P_MPLS_MC = 0x8848
340 ETH_P_MPLS_UC = 0x8847
341 ETH_P_PAE = 0x888e
342 ETH_P_PAUSE = 0x8808
343 ETH_P_PHONET = 0xf5
344 ETH_P_PPPTALK = 0x10
345 ETH_P_PPP_DISC = 0x8863
346 ETH_P_PPP_MP = 0x8
347 ETH_P_PPP_SES = 0x8864
348 ETH_P_PUP = 0x200
349 ETH_P_PUPAT = 0x201
350 ETH_P_QINQ1 = 0x9100
351 ETH_P_QINQ2 = 0x9200
352 ETH_P_QINQ3 = 0x9300
353 ETH_P_RARP = 0x8035
354 ETH_P_SCA = 0x6007
355 ETH_P_SLOW = 0x8809
356 ETH_P_SNAP = 0x5
357 ETH_P_TDLS = 0x890d
358 ETH_P_TEB = 0x6558
359 ETH_P_TIPC = 0x88ca
360 ETH_P_TRAILER = 0x1c
361 ETH_P_TR_802_2 = 0x11
362 ETH_P_WAN_PPP = 0x7
363 ETH_P_WCCP = 0x883e
364 ETH_P_X25 = 0x805
365 EXTA = 0xe
366 EXTB = 0xf
367 EXTPROC = 0x10000
368 FD_CLOEXEC = 0x1
369 FD_SETSIZE = 0x400
370 FF0 = 0x0
371 FF1 = 0x8000
372 FFDLY = 0x8000
373 FLUSHO = 0x1000
374 F_DUPFD = 0x0
375 F_DUPFD_CLOEXEC = 0x406
376 F_EXLCK = 0x4
377 F_GETFD = 0x1
378 F_GETFL = 0x3
379 F_GETLEASE = 0x401
380 F_GETLK = 0xc
381 F_GETLK64 = 0xc
382 F_GETOWN = 0x9
383 F_GETOWN_EX = 0x10
384 F_GETPIPE_SZ = 0x408
385 F_GETSIG = 0xb
386 F_LOCK = 0x1
387 F_NOTIFY = 0x402
388 F_OK = 0x0
389 F_RDLCK = 0x0
390 F_SETFD = 0x2
391 F_SETFL = 0x4
392 F_SETLEASE = 0x400
393 F_SETLK = 0xd
394 F_SETLK64 = 0xd
395 F_SETLKW = 0xe
396 F_SETLKW64 = 0xe
397 F_SETOWN = 0x8
398 F_SETOWN_EX = 0xf
399 F_SETPIPE_SZ = 0x407
400 F_SETSIG = 0xa
401 F_SHLCK = 0x8
402 F_TEST = 0x3
403 F_TLOCK = 0x2
404 F_ULOCK = 0x0
405 F_UNLCK = 0x2
406 F_WRLCK = 0x1
407 HUPCL = 0x400
408 IBSHIFT = 0x10
409 ICANON = 0x2
410 ICMPV6_FILTER = 0x1
411 ICRNL = 0x100
412 IEXTEN = 0x8000
413 IFA_F_DADFAILED = 0x8
414 IFA_F_DEPRECATED = 0x20
415 IFA_F_HOMEADDRESS = 0x10
416 IFA_F_NODAD = 0x2
417 IFA_F_OPTIMISTIC = 0x4
418 IFA_F_PERMANENT = 0x80
419 IFA_F_SECONDARY = 0x1
420 IFA_F_TEMPORARY = 0x1
421 IFA_F_TENTATIVE = 0x40
422 IFA_MAX = 0x7
423 IFF_802_1Q_VLAN = 0x1
424 IFF_ALLMULTI = 0x200
425 IFF_AUTOMEDIA = 0x4000
426 IFF_BONDING = 0x20
427 IFF_BRIDGE_PORT = 0x4000
428 IFF_BROADCAST = 0x2
429 IFF_DEBUG = 0x4
430 IFF_DISABLE_NETPOLL = 0x1000
431 IFF_DONT_BRIDGE = 0x800
432 IFF_DORMANT = 0x20000
433 IFF_DYNAMIC = 0x8000
434 IFF_EBRIDGE = 0x2
435 IFF_ECHO = 0x40000
436 IFF_ISATAP = 0x80
437 IFF_LOOPBACK = 0x8
438 IFF_LOWER_UP = 0x10000
439 IFF_MACVLAN_PORT = 0x2000
440 IFF_MASTER = 0x400
441 IFF_MASTER_8023AD = 0x8
442 IFF_MASTER_ALB = 0x10
443 IFF_MASTER_ARPMON = 0x100
444 IFF_MULTICAST = 0x1000
445 IFF_NOARP = 0x80
446 IFF_NOTRAILERS = 0x20
447 IFF_NO_PI = 0x1000
448 IFF_ONE_QUEUE = 0x2000
449 IFF_OVS_DATAPATH = 0x8000
450 IFF_POINTOPOINT = 0x10
451 IFF_PORTSEL = 0x2000
452 IFF_PROMISC = 0x100
453 IFF_RUNNING = 0x40
454 IFF_SLAVE = 0x800
455 IFF_SLAVE_INACTIVE = 0x4
456 IFF_SLAVE_NEEDARP = 0x40
457 IFF_TAP = 0x2
458 IFF_TUN = 0x1
459 IFF_TUN_EXCL = 0x8000
460 IFF_TX_SKB_SHARING = 0x10000
461 IFF_UNICAST_FLT = 0x20000
462 IFF_UP = 0x1
463 IFF_VNET_HDR = 0x4000
464 IFF_VOLATILE = 0x70c5a
465 IFF_WAN_HDLC = 0x200
466 IFF_XMIT_DST_RELEASE = 0x400
467 IFNAMSIZ = 0x10
468 IGNBRK = 0x1
469 IGNCR = 0x80
470 IGNPAR = 0x4
471 IMAXBEL = 0x2000
472 INLCR = 0x40
473 INPCK = 0x10
474 IN_ACCESS = 0x1
475 IN_ALL_EVENTS = 0xfff
476 IN_ATTRIB = 0x4
477 IN_CLASSA_HOST = 0xffffff
478 IN_CLASSA_MAX = 0x80
479 IN_CLASSA_NET = 0xff000000
480 IN_CLASSA_NSHIFT = 0x18
481 IN_CLASSB_HOST = 0xffff
482 IN_CLASSB_MAX = 0x10000
483 IN_CLASSB_NET = 0xffff0000
484 IN_CLASSB_NSHIFT = 0x10
485 IN_CLASSC_HOST = 0xff
486 IN_CLASSC_NET = 0xffffff00
487 IN_CLASSC_NSHIFT = 0x8
488 IN_CLOEXEC = 0x80000
489 IN_CLOSE = 0x18
490 IN_CLOSE_NOWRITE = 0x10
491 IN_CLOSE_WRITE = 0x8
492 IN_CREATE = 0x100
493 IN_DELETE = 0x200
494 IN_DELETE_SELF = 0x400
495 IN_DONT_FOLLOW = 0x2000000
496 IN_EXCL_UNLINK = 0x4000000
497 IN_IGNORED = 0x8000
498 IN_ISDIR = 0x40000000
499 IN_LOOPBACKNET = 0x7f
500 IN_MASK_ADD = 0x20000000
501 IN_MODIFY = 0x2
502 IN_MOVE = 0xc0
503 IN_MOVED_FROM = 0x40
504 IN_MOVED_TO = 0x80
505 IN_MOVE_SELF = 0x800
506 IN_NONBLOCK = 0x800
507 IN_ONESHOT = 0x80000000
508 IN_ONLYDIR = 0x1000000
509 IN_OPEN = 0x20
510 IN_Q_OVERFLOW = 0x4000
511 IN_UNMOUNT = 0x2000
512 IPPROTO_AH = 0x33
513 IPPROTO_COMP = 0x6c
514 IPPROTO_DCCP = 0x21
515 IPPROTO_DSTOPTS = 0x3c
516 IPPROTO_EGP = 0x8
517 IPPROTO_ENCAP = 0x62
518 IPPROTO_ESP = 0x32
519 IPPROTO_FRAGMENT = 0x2c
520 IPPROTO_GRE = 0x2f
521 IPPROTO_HOPOPTS = 0x0
522 IPPROTO_ICMP = 0x1
523 IPPROTO_ICMPV6 = 0x3a
524 IPPROTO_IDP = 0x16
525 IPPROTO_IGMP = 0x2
526 IPPROTO_IP = 0x0
527 IPPROTO_IPIP = 0x4
528 IPPROTO_IPV6 = 0x29
529 IPPROTO_MTP = 0x5c
530 IPPROTO_NONE = 0x3b
531 IPPROTO_PIM = 0x67
532 IPPROTO_PUP = 0xc
533 IPPROTO_RAW = 0xff
534 IPPROTO_ROUTING = 0x2b
535 IPPROTO_RSVP = 0x2e
536 IPPROTO_SCTP = 0x84
537 IPPROTO_TCP = 0x6
538 IPPROTO_TP = 0x1d
539 IPPROTO_UDP = 0x11
540 IPPROTO_UDPLITE = 0x88
541 IPV6_2292DSTOPTS = 0x4
542 IPV6_2292HOPLIMIT = 0x8
543 IPV6_2292HOPOPTS = 0x3
544 IPV6_2292PKTINFO = 0x2
545 IPV6_2292PKTOPTIONS = 0x6
546 IPV6_2292RTHDR = 0x5
547 IPV6_ADDRFORM = 0x1
548 IPV6_ADD_MEMBERSHIP = 0x14
549 IPV6_AUTHHDR = 0xa
550 IPV6_CHECKSUM = 0x7
551 IPV6_DROP_MEMBERSHIP = 0x15
552 IPV6_DSTOPTS = 0x3b
553 IPV6_HOPLIMIT = 0x34
554 IPV6_HOPOPTS = 0x36
555 IPV6_IPSEC_POLICY = 0x22
556 IPV6_JOIN_ANYCAST = 0x1b
557 IPV6_JOIN_GROUP = 0x14
558 IPV6_LEAVE_ANYCAST = 0x1c
559 IPV6_LEAVE_GROUP = 0x15
560 IPV6_MTU = 0x18
561 IPV6_MTU_DISCOVER = 0x17
562 IPV6_MULTICAST_HOPS = 0x12
563 IPV6_MULTICAST_IF = 0x11
564 IPV6_MULTICAST_LOOP = 0x13
565 IPV6_NEXTHOP = 0x9
566 IPV6_PKTINFO = 0x32
567 IPV6_PMTUDISC_DO = 0x2
568 IPV6_PMTUDISC_DONT = 0x0
569 IPV6_PMTUDISC_PROBE = 0x3
570 IPV6_PMTUDISC_WANT = 0x1
571 IPV6_RECVDSTOPTS = 0x3a
572 IPV6_RECVERR = 0x19
573 IPV6_RECVHOPLIMIT = 0x33
574 IPV6_RECVHOPOPTS = 0x35
575 IPV6_RECVPKTINFO = 0x31
576 IPV6_RECVRTHDR = 0x38
577 IPV6_RECVTCLASS = 0x42
578 IPV6_ROUTER_ALERT = 0x16
579 IPV6_RTHDR = 0x39
580 IPV6_RTHDRDSTOPTS = 0x37
581 IPV6_RTHDR_LOOSE = 0x0
582 IPV6_RTHDR_STRICT = 0x1
583 IPV6_RTHDR_TYPE_0 = 0x0
584 IPV6_RXDSTOPTS = 0x3b
585 IPV6_RXHOPOPTS = 0x36
586 IPV6_TCLASS = 0x43
587 IPV6_UNICAST_HOPS = 0x10
588 IPV6_V6ONLY = 0x1a
589 IPV6_XFRM_POLICY = 0x23
590 IP_ADD_MEMBERSHIP = 0x23
591 IP_ADD_SOURCE_MEMBERSHIP = 0x27
592 IP_BLOCK_SOURCE = 0x26
593 IP_DEFAULT_MULTICAST_LOOP = 0x1
594 IP_DEFAULT_MULTICAST_TTL = 0x1
595 IP_DF = 0x4000
596 IP_DROP_MEMBERSHIP = 0x24
597 IP_DROP_SOURCE_MEMBERSHIP = 0x28
598 IP_FREEBIND = 0xf
599 IP_HDRINCL = 0x3
600 IP_IPSEC_POLICY = 0x10
601 IP_MAXPACKET = 0xffff
602 IP_MAX_MEMBERSHIPS = 0x14
603 IP_MF = 0x2000
604 IP_MINTTL = 0x15
605 IP_MSFILTER = 0x29
606 IP_MSS = 0x240
607 IP_MTU = 0xe
608 IP_MTU_DISCOVER = 0xa
609 IP_MULTICAST_ALL = 0x31
610 IP_MULTICAST_IF = 0x20
611 IP_MULTICAST_LOOP = 0x22
612 IP_MULTICAST_TTL = 0x21
613 IP_OFFMASK = 0x1fff
614 IP_OPTIONS = 0x4
615 IP_ORIGDSTADDR = 0x14
616 IP_PASSSEC = 0x12
617 IP_PKTINFO = 0x8
618 IP_PKTOPTIONS = 0x9
619 IP_PMTUDISC = 0xa
620 IP_PMTUDISC_DO = 0x2
621 IP_PMTUDISC_DONT = 0x0
622 IP_PMTUDISC_PROBE = 0x3
623 IP_PMTUDISC_WANT = 0x1
624 IP_RECVERR = 0xb
625 IP_RECVOPTS = 0x6
626 IP_RECVORIGDSTADDR = 0x14
627 IP_RECVRETOPTS = 0x7
628 IP_RECVTOS = 0xd
629 IP_RECVTTL = 0xc
630 IP_RETOPTS = 0x7
631 IP_RF = 0x8000
632 IP_ROUTER_ALERT = 0x5
633 IP_TOS = 0x1
634 IP_TRANSPARENT = 0x13
635 IP_TTL = 0x2
636 IP_UNBLOCK_SOURCE = 0x25
637 IP_XFRM_POLICY = 0x11
638 ISIG = 0x1
639 ISTRIP = 0x20
640 IUCLC = 0x200
641 IUTF8 = 0x4000
642 IXANY = 0x800
643 IXOFF = 0x1000
644 IXON = 0x400
645 LINUX_REBOOT_CMD_CAD_OFF = 0x0
646 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
647 LINUX_REBOOT_CMD_HALT = 0xcdef0123
648 LINUX_REBOOT_CMD_KEXEC = 0x45584543
649 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
650 LINUX_REBOOT_CMD_RESTART = 0x1234567
651 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
652 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
653 LINUX_REBOOT_MAGIC1 = 0xfee1dead
654 LINUX_REBOOT_MAGIC2 = 0x28121969
655 LOCK_EX = 0x2
656 LOCK_NB = 0x4
657 LOCK_SH = 0x1
658 LOCK_UN = 0x8
659 MADV_DOFORK = 0xb
660 MADV_DONTFORK = 0xa
661 MADV_DONTNEED = 0x4
662 MADV_HUGEPAGE = 0xe
663 MADV_HWPOISON = 0x64
664 MADV_MERGEABLE = 0xc
665 MADV_NOHUGEPAGE = 0xf
666 MADV_NORMAL = 0x0
667 MADV_RANDOM = 0x1
668 MADV_REMOVE = 0x9
669 MADV_SEQUENTIAL = 0x2
670 MADV_UNMERGEABLE = 0xd
671 MADV_WILLNEED = 0x3
672 MAP_32BIT = 0x40
673 MAP_ANON = 0x20
674 MAP_ANONYMOUS = 0x20
675 MAP_DENYWRITE = 0x800
676 MAP_EXECUTABLE = 0x1000
677 MAP_FILE = 0x0
678 MAP_FIXED = 0x10
679 MAP_GROWSDOWN = 0x100
680 MAP_HUGETLB = 0x40000
681 MAP_LOCKED = 0x2000
682 MAP_NONBLOCK = 0x10000
683 MAP_NORESERVE = 0x4000
684 MAP_POPULATE = 0x8000
685 MAP_PRIVATE = 0x2
686 MAP_SHARED = 0x1
687 MAP_STACK = 0x20000
688 MAP_TYPE = 0xf
689 MCL_CURRENT = 0x1
690 MCL_FUTURE = 0x2
691 MNT_DETACH = 0x2
692 MNT_EXPIRE = 0x4
693 MNT_FORCE = 0x1
694 MSG_CMSG_CLOEXEC = 0x40000000
695 MSG_CONFIRM = 0x800
696 MSG_CTRUNC = 0x8
697 MSG_DONTROUTE = 0x4
698 MSG_DONTWAIT = 0x40
699 MSG_EOR = 0x80
700 MSG_ERRQUEUE = 0x2000
701 MSG_FASTOPEN = 0x20000000
702 MSG_FIN = 0x200
703 MSG_MORE = 0x8000
704 MSG_NOSIGNAL = 0x4000
705 MSG_OOB = 0x1
706 MSG_PEEK = 0x2
707 MSG_PROXY = 0x10
708 MSG_RST = 0x1000
709 MSG_SYN = 0x400
710 MSG_TRUNC = 0x20
711 MSG_TRYHARD = 0x4
712 MSG_WAITALL = 0x100
713 MSG_WAITFORONE = 0x10000
714 MS_ACTIVE = 0x40000000
715 MS_ASYNC = 0x1
716 MS_BIND = 0x1000
717 MS_DIRSYNC = 0x80
718 MS_INVALIDATE = 0x2
719 MS_I_VERSION = 0x800000
720 MS_KERNMOUNT = 0x400000
721 MS_MANDLOCK = 0x40
722 MS_MGC_MSK = 0xffff0000
723 MS_MGC_VAL = 0xc0ed0000
724 MS_MOVE = 0x2000
725 MS_NOATIME = 0x400
726 MS_NODEV = 0x4
727 MS_NODIRATIME = 0x800
728 MS_NOEXEC = 0x8
729 MS_NOSUID = 0x2
730 MS_NOUSER = -0x80000000
731 MS_POSIXACL = 0x10000
732 MS_PRIVATE = 0x40000
733 MS_RDONLY = 0x1
734 MS_REC = 0x4000
735 MS_RELATIME = 0x200000
736 MS_REMOUNT = 0x20
737 MS_RMT_MASK = 0x800051
738 MS_SHARED = 0x100000
739 MS_SILENT = 0x8000
740 MS_SLAVE = 0x80000
741 MS_STRICTATIME = 0x1000000
742 MS_SYNC = 0x4
743 MS_SYNCHRONOUS = 0x10
744 MS_UNBINDABLE = 0x20000
745 NAME_MAX = 0xff
746 NETLINK_ADD_MEMBERSHIP = 0x1
747 NETLINK_AUDIT = 0x9
748 NETLINK_BROADCAST_ERROR = 0x4
749 NETLINK_CONNECTOR = 0xb
750 NETLINK_CRYPTO = 0x15
751 NETLINK_DNRTMSG = 0xe
752 NETLINK_DROP_MEMBERSHIP = 0x2
753 NETLINK_ECRYPTFS = 0x13
754 NETLINK_FIB_LOOKUP = 0xa
755 NETLINK_FIREWALL = 0x3
756 NETLINK_GENERIC = 0x10
757 NETLINK_INET_DIAG = 0x4
758 NETLINK_IP6_FW = 0xd
759 NETLINK_ISCSI = 0x8
760 NETLINK_KOBJECT_UEVENT = 0xf
761 NETLINK_NETFILTER = 0xc
762 NETLINK_NFLOG = 0x5
763 NETLINK_NO_ENOBUFS = 0x5
764 NETLINK_PKTINFO = 0x3
765 NETLINK_RDMA = 0x14
766 NETLINK_ROUTE = 0x0
767 NETLINK_SCSITRANSPORT = 0x12
768 NETLINK_SELINUX = 0x7
769 NETLINK_UNUSED = 0x1
770 NETLINK_USERSOCK = 0x2
771 NETLINK_XFRM = 0x6
772 NL0 = 0x0
773 NL1 = 0x100
774 NLA_ALIGNTO = 0x4
775 NLA_F_NESTED = 0x8000
776 NLA_F_NET_BYTEORDER = 0x4000
777 NLA_HDRLEN = 0x4
778 NLDLY = 0x100
779 NLMSG_ALIGNTO = 0x4
780 NLMSG_DONE = 0x3
781 NLMSG_ERROR = 0x2
782 NLMSG_HDRLEN = 0x10
783 NLMSG_MIN_TYPE = 0x10
784 NLMSG_NOOP = 0x1
785 NLMSG_OVERRUN = 0x4
786 NLM_F_ACK = 0x4
787 NLM_F_APPEND = 0x800
788 NLM_F_ATOMIC = 0x400
789 NLM_F_CREATE = 0x400
790 NLM_F_DUMP = 0x300
791 NLM_F_DUMP_INTR = 0x10
792 NLM_F_ECHO = 0x8
793 NLM_F_EXCL = 0x200
794 NLM_F_MATCH = 0x200
795 NLM_F_MULTI = 0x2
796 NLM_F_REPLACE = 0x100
797 NLM_F_REQUEST = 0x1
798 NLM_F_ROOT = 0x100
799 NOFLSH = 0x80
800 OCRNL = 0x8
801 OFDEL = 0x80
802 OFILL = 0x40
803 OLCUC = 0x2
804 ONLCR = 0x4
805 ONLRET = 0x20
806 ONOCR = 0x10
807 OPOST = 0x1
808 O_ACCMODE = 0x3
809 O_APPEND = 0x400
810 O_ASYNC = 0x2000
811 O_CLOEXEC = 0x80000
812 O_CREAT = 0x40
813 O_DIRECT = 0x4000
814 O_DIRECTORY = 0x10000
815 O_DSYNC = 0x1000
816 O_EXCL = 0x80
817 O_FSYNC = 0x101000
818 O_LARGEFILE = 0x8000
819 O_NDELAY = 0x800
820 O_NOATIME = 0x40000
821 O_NOCTTY = 0x100
822 O_NOFOLLOW = 0x20000
823 O_NONBLOCK = 0x800
824 O_PATH = 0x200000
825 O_RDONLY = 0x0
826 O_RDWR = 0x2
827 O_RSYNC = 0x101000
828 O_SYNC = 0x101000
829 O_TRUNC = 0x200
830 O_WRONLY = 0x1
831 PACKET_ADD_MEMBERSHIP = 0x1
832 PACKET_AUXDATA = 0x8
833 PACKET_BROADCAST = 0x1
834 PACKET_COPY_THRESH = 0x7
835 PACKET_DROP_MEMBERSHIP = 0x2
836 PACKET_FANOUT = 0x12
837 PACKET_FANOUT_CPU = 0x2
838 PACKET_FANOUT_FLAG_DEFRAG = 0x8000
839 PACKET_FANOUT_HASH = 0x0
840 PACKET_FANOUT_LB = 0x1
841 PACKET_FASTROUTE = 0x6
842 PACKET_HDRLEN = 0xb
843 PACKET_HOST = 0x0
844 PACKET_LOOPBACK = 0x5
845 PACKET_LOSS = 0xe
846 PACKET_MR_ALLMULTI = 0x2
847 PACKET_MR_MULTICAST = 0x0
848 PACKET_MR_PROMISC = 0x1
849 PACKET_MR_UNICAST = 0x3
850 PACKET_MULTICAST = 0x2
851 PACKET_ORIGDEV = 0x9
852 PACKET_OTHERHOST = 0x3
853 PACKET_OUTGOING = 0x4
854 PACKET_RECV_OUTPUT = 0x3
855 PACKET_RESERVE = 0xc
856 PACKET_RX_RING = 0x5
857 PACKET_STATISTICS = 0x6
858 PACKET_TIMESTAMP = 0x11
859 PACKET_TX_RING = 0xd
860 PACKET_TX_TIMESTAMP = 0x10
861 PACKET_VERSION = 0xa
862 PACKET_VNET_HDR = 0xf
863 PARENB = 0x100
864 PARITY_CRC16_PR0 = 0x2
865 PARITY_CRC16_PR0_CCITT = 0x4
866 PARITY_CRC16_PR1 = 0x3
867 PARITY_CRC16_PR1_CCITT = 0x5
868 PARITY_CRC32_PR0_CCITT = 0x6
869 PARITY_CRC32_PR1_CCITT = 0x7
870 PARITY_DEFAULT = 0x0
871 PARITY_NONE = 0x1
872 PARMRK = 0x8
873 PARODD = 0x200
874 PENDIN = 0x4000
875 PRIO_PGRP = 0x1
876 PRIO_PROCESS = 0x0
877 PRIO_USER = 0x2
878 PROT_EXEC = 0x4
879 PROT_GROWSDOWN = 0x1000000
880 PROT_GROWSUP = 0x2000000
881 PROT_NONE = 0x0
882 PROT_READ = 0x1
883 PROT_WRITE = 0x2
884 PR_CAPBSET_DROP = 0x18
885 PR_CAPBSET_READ = 0x17
886 PR_ENDIAN_BIG = 0x0
887 PR_ENDIAN_LITTLE = 0x1
888 PR_ENDIAN_PPC_LITTLE = 0x2
889 PR_FPEMU_NOPRINT = 0x1
890 PR_FPEMU_SIGFPE = 0x2
891 PR_FP_EXC_ASYNC = 0x2
892 PR_FP_EXC_DISABLED = 0x0
893 PR_FP_EXC_DIV = 0x10000
894 PR_FP_EXC_INV = 0x100000
895 PR_FP_EXC_NONRECOV = 0x1
896 PR_FP_EXC_OVF = 0x20000
897 PR_FP_EXC_PRECISE = 0x3
898 PR_FP_EXC_RES = 0x80000
899 PR_FP_EXC_SW_ENABLE = 0x80
900 PR_FP_EXC_UND = 0x40000
901 PR_GET_DUMPABLE = 0x3
902 PR_GET_ENDIAN = 0x13
903 PR_GET_FPEMU = 0x9
904 PR_GET_FPEXC = 0xb
905 PR_GET_KEEPCAPS = 0x7
906 PR_GET_NAME = 0x10
907 PR_GET_NO_NEW_PRIVS = 0x27
908 PR_GET_PDEATHSIG = 0x2
909 PR_GET_SECCOMP = 0x15
910 PR_GET_SECUREBITS = 0x1b
911 PR_GET_TIMERSLACK = 0x1e
912 PR_GET_TIMING = 0xd
913 PR_GET_TSC = 0x19
914 PR_GET_UNALIGN = 0x5
915 PR_MCE_KILL = 0x21
916 PR_MCE_KILL_CLEAR = 0x0
917 PR_MCE_KILL_DEFAULT = 0x2
918 PR_MCE_KILL_EARLY = 0x1
919 PR_MCE_KILL_GET = 0x22
920 PR_MCE_KILL_LATE = 0x0
921 PR_MCE_KILL_SET = 0x1
922 PR_SET_DUMPABLE = 0x4
923 PR_SET_ENDIAN = 0x14
924 PR_SET_FPEMU = 0xa
925 PR_SET_FPEXC = 0xc
926 PR_SET_KEEPCAPS = 0x8
927 PR_SET_MM = 0x23
928 PR_SET_MM_BRK = 0x7
929 PR_SET_MM_END_CODE = 0x2
930 PR_SET_MM_END_DATA = 0x4
931 PR_SET_MM_START_BRK = 0x6
932 PR_SET_MM_START_CODE = 0x1
933 PR_SET_MM_START_DATA = 0x3
934 PR_SET_MM_START_STACK = 0x5
935 PR_SET_NAME = 0xf
936 PR_SET_NO_NEW_PRIVS = 0x26
937 PR_SET_PDEATHSIG = 0x1
938 PR_SET_PTRACER = 0x59616d61
939 PR_SET_PTRACER_ANY = 0xffffffff
940 PR_SET_SECCOMP = 0x16
941 PR_SET_SECUREBITS = 0x1c
942 PR_SET_TIMERSLACK = 0x1d
943 PR_SET_TIMING = 0xe
944 PR_SET_TSC = 0x1a
945 PR_SET_UNALIGN = 0x6
946 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
947 PR_TASK_PERF_EVENTS_ENABLE = 0x20
948 PR_TIMING_STATISTICAL = 0x0
949 PR_TIMING_TIMESTAMP = 0x1
950 PR_TSC_ENABLE = 0x1
951 PR_TSC_SIGSEGV = 0x2
952 PR_UNALIGN_NOPRINT = 0x1
953 PR_UNALIGN_SIGBUS = 0x2
954 PTRACE_ATTACH = 0x10
955 PTRACE_CONT = 0x7
956 PTRACE_DETACH = 0x11
957 PTRACE_EVENT_CLONE = 0x3
958 PTRACE_EVENT_EXEC = 0x4
959 PTRACE_EVENT_EXIT = 0x6
960 PTRACE_EVENT_FORK = 0x1
961 PTRACE_EVENT_SECCOMP = 0x7
962 PTRACE_EVENT_STOP = 0x80
963 PTRACE_EVENT_VFORK = 0x2
964 PTRACE_EVENT_VFORK_DONE = 0x5
965 PTRACE_GETEVENTMSG = 0x4201
966 PTRACE_GETFPREGS = 0xe
967 PTRACE_GETFPXREGS = 0x12
968 PTRACE_GETREGS = 0xc
969 PTRACE_GETREGSET = 0x4204
970 PTRACE_GETSIGINFO = 0x4202
971 PTRACE_GET_THREAD_AREA = 0x19
972 PTRACE_INTERRUPT = 0x4207
973 PTRACE_KILL = 0x8
974 PTRACE_LISTEN = 0x4208
975 PTRACE_OLDSETOPTIONS = 0x15
976 PTRACE_O_MASK = 0xff
977 PTRACE_O_TRACECLONE = 0x8
978 PTRACE_O_TRACEEXEC = 0x10
979 PTRACE_O_TRACEEXIT = 0x40
980 PTRACE_O_TRACEFORK = 0x2
981 PTRACE_O_TRACESECCOMP = 0x80
982 PTRACE_O_TRACESYSGOOD = 0x1
983 PTRACE_O_TRACEVFORK = 0x4
984 PTRACE_O_TRACEVFORKDONE = 0x20
985 PTRACE_PEEKDATA = 0x2
986 PTRACE_PEEKTEXT = 0x1
987 PTRACE_PEEKUSR = 0x3
988 PTRACE_POKEDATA = 0x5
989 PTRACE_POKETEXT = 0x4
990 PTRACE_POKEUSR = 0x6
991 PTRACE_SEIZE = 0x4206
992 PTRACE_SEIZE_DEVEL = 0x80000000
993 PTRACE_SETFPREGS = 0xf
994 PTRACE_SETFPXREGS = 0x13
995 PTRACE_SETOPTIONS = 0x4200
996 PTRACE_SETREGS = 0xd
997 PTRACE_SETREGSET = 0x4205
998 PTRACE_SETSIGINFO = 0x4203
999 PTRACE_SET_THREAD_AREA = 0x1a
1000 PTRACE_SINGLEBLOCK = 0x21
1001 PTRACE_SINGLESTEP = 0x9
1002 PTRACE_SYSCALL = 0x18
1003 PTRACE_SYSEMU = 0x1f
1004 PTRACE_SYSEMU_SINGLESTEP = 0x20
1005 PTRACE_TRACEME = 0x0
1006 RLIMIT_AS = 0x9
1007 RLIMIT_CORE = 0x4
1008 RLIMIT_CPU = 0x0
1009 RLIMIT_DATA = 0x2
1010 RLIMIT_FSIZE = 0x1
1011 RLIMIT_NOFILE = 0x7
1012 RLIMIT_STACK = 0x3
1013 RLIM_INFINITY = -0x1
1014 RTAX_ADVMSS = 0x8
1015 RTAX_CWND = 0x7
1016 RTAX_FEATURES = 0xc
1017 RTAX_FEATURE_ALLFRAG = 0x8
1018 RTAX_FEATURE_ECN = 0x1
1019 RTAX_FEATURE_SACK = 0x2
1020 RTAX_FEATURE_TIMESTAMP = 0x4
1021 RTAX_HOPLIMIT = 0xa
1022 RTAX_INITCWND = 0xb
1023 RTAX_INITRWND = 0xe
1024 RTAX_LOCK = 0x1
1025 RTAX_MAX = 0xe
1026 RTAX_MTU = 0x2
1027 RTAX_REORDERING = 0x9
1028 RTAX_RTO_MIN = 0xd
1029 RTAX_RTT = 0x4
1030 RTAX_RTTVAR = 0x5
1031 RTAX_SSTHRESH = 0x6
1032 RTAX_UNSPEC = 0x0
1033 RTAX_WINDOW = 0x3
1034 RTA_ALIGNTO = 0x4
1035 RTA_MAX = 0x10
1036 RTCF_DIRECTSRC = 0x4000000
1037 RTCF_DOREDIRECT = 0x1000000
1038 RTCF_LOG = 0x2000000
1039 RTCF_MASQ = 0x400000
1040 RTCF_NAT = 0x800000
1041 RTCF_VALVE = 0x200000
1042 RTF_ADDRCLASSMASK = 0xf8000000
1043 RTF_ADDRCONF = 0x40000
1044 RTF_ALLONLINK = 0x20000
1045 RTF_BROADCAST = 0x10000000
1046 RTF_CACHE = 0x1000000
1047 RTF_DEFAULT = 0x10000
1048 RTF_DYNAMIC = 0x10
1049 RTF_FLOW = 0x2000000
1050 RTF_GATEWAY = 0x2
1051 RTF_HOST = 0x4
1052 RTF_INTERFACE = 0x40000000
1053 RTF_IRTT = 0x100
1054 RTF_LINKRT = 0x100000
1055 RTF_LOCAL = 0x80000000
1056 RTF_MODIFIED = 0x20
1057 RTF_MSS = 0x40
1058 RTF_MTU = 0x40
1059 RTF_MULTICAST = 0x20000000
1060 RTF_NAT = 0x8000000
1061 RTF_NOFORWARD = 0x1000
1062 RTF_NONEXTHOP = 0x200000
1063 RTF_NOPMTUDISC = 0x4000
1064 RTF_POLICY = 0x4000000
1065 RTF_REINSTATE = 0x8
1066 RTF_REJECT = 0x200
1067 RTF_STATIC = 0x400
1068 RTF_THROW = 0x2000
1069 RTF_UP = 0x1
1070 RTF_WINDOW = 0x80
1071 RTF_XRESOLVE = 0x800
1072 RTM_BASE = 0x10
1073 RTM_DELACTION = 0x31
1074 RTM_DELADDR = 0x15
1075 RTM_DELADDRLABEL = 0x49
1076 RTM_DELLINK = 0x11
1077 RTM_DELNEIGH = 0x1d
1078 RTM_DELQDISC = 0x25
1079 RTM_DELROUTE = 0x19
1080 RTM_DELRULE = 0x21
1081 RTM_DELTCLASS = 0x29
1082 RTM_DELTFILTER = 0x2d
1083 RTM_F_CLONED = 0x200
1084 RTM_F_EQUALIZE = 0x400
1085 RTM_F_NOTIFY = 0x100
1086 RTM_F_PREFIX = 0x800
1087 RTM_GETACTION = 0x32
1088 RTM_GETADDR = 0x16
1089 RTM_GETADDRLABEL = 0x4a
1090 RTM_GETANYCAST = 0x3e
1091 RTM_GETDCB = 0x4e
1092 RTM_GETLINK = 0x12
1093 RTM_GETMULTICAST = 0x3a
1094 RTM_GETNEIGH = 0x1e
1095 RTM_GETNEIGHTBL = 0x42
1096 RTM_GETQDISC = 0x26
1097 RTM_GETROUTE = 0x1a
1098 RTM_GETRULE = 0x22
1099 RTM_GETTCLASS = 0x2a
1100 RTM_GETTFILTER = 0x2e
1101 RTM_MAX = 0x4f
1102 RTM_NEWACTION = 0x30
1103 RTM_NEWADDR = 0x14
1104 RTM_NEWADDRLABEL = 0x48
1105 RTM_NEWLINK = 0x10
1106 RTM_NEWNDUSEROPT = 0x44
1107 RTM_NEWNEIGH = 0x1c
1108 RTM_NEWNEIGHTBL = 0x40
1109 RTM_NEWPREFIX = 0x34
1110 RTM_NEWQDISC = 0x24
1111 RTM_NEWROUTE = 0x18
1112 RTM_NEWRULE = 0x20
1113 RTM_NEWTCLASS = 0x28
1114 RTM_NEWTFILTER = 0x2c
1115 RTM_NR_FAMILIES = 0x10
1116 RTM_NR_MSGTYPES = 0x40
1117 RTM_SETDCB = 0x4f
1118 RTM_SETLINK = 0x13
1119 RTM_SETNEIGHTBL = 0x43
1120 RTNH_ALIGNTO = 0x4
1121 RTNH_F_DEAD = 0x1
1122 RTNH_F_ONLINK = 0x4
1123 RTNH_F_PERVASIVE = 0x2
1124 RTN_MAX = 0xb
1125 RTPROT_BIRD = 0xc
1126 RTPROT_BOOT = 0x3
1127 RTPROT_DHCP = 0x10
1128 RTPROT_DNROUTED = 0xd
1129 RTPROT_GATED = 0x8
1130 RTPROT_KERNEL = 0x2
1131 RTPROT_MRT = 0xa
1132 RTPROT_NTK = 0xf
1133 RTPROT_RA = 0x9
1134 RTPROT_REDIRECT = 0x1
1135 RTPROT_STATIC = 0x4
1136 RTPROT_UNSPEC = 0x0
1137 RTPROT_XORP = 0xe
1138 RTPROT_ZEBRA = 0xb
1139 RT_CLASS_DEFAULT = 0xfd
1140 RT_CLASS_LOCAL = 0xff
1141 RT_CLASS_MAIN = 0xfe
1142 RT_CLASS_MAX = 0xff
1143 RT_CLASS_UNSPEC = 0x0
1144 RUSAGE_CHILDREN = -0x1
1145 RUSAGE_SELF = 0x0
1146 RUSAGE_THREAD = 0x1
1147 SCM_CREDENTIALS = 0x2
1148 SCM_RIGHTS = 0x1
1149 SCM_TIMESTAMP = 0x1d
1150 SCM_TIMESTAMPING = 0x25
1151 SCM_TIMESTAMPNS = 0x23
1152 SHUT_RD = 0x0
1153 SHUT_RDWR = 0x2
1154 SHUT_WR = 0x1
1155 SIOCADDDLCI = 0x8980
1156 SIOCADDMULTI = 0x8931
1157 SIOCADDRT = 0x890b
1158 SIOCATMARK = 0x8905
1159 SIOCDARP = 0x8953
1160 SIOCDELDLCI = 0x8981
1161 SIOCDELMULTI = 0x8932
1162 SIOCDELRT = 0x890c
1163 SIOCDEVPRIVATE = 0x89f0
1164 SIOCDIFADDR = 0x8936
1165 SIOCDRARP = 0x8960
1166 SIOCGARP = 0x8954
1167 SIOCGIFADDR = 0x8915
1168 SIOCGIFBR = 0x8940
1169 SIOCGIFBRDADDR = 0x8919
1170 SIOCGIFCONF = 0x8912
1171 SIOCGIFCOUNT = 0x8938
1172 SIOCGIFDSTADDR = 0x8917
1173 SIOCGIFENCAP = 0x8925
1174 SIOCGIFFLAGS = 0x8913
1175 SIOCGIFHWADDR = 0x8927
1176 SIOCGIFINDEX = 0x8933
1177 SIOCGIFMAP = 0x8970
1178 SIOCGIFMEM = 0x891f
1179 SIOCGIFMETRIC = 0x891d
1180 SIOCGIFMTU = 0x8921
1181 SIOCGIFNAME = 0x8910
1182 SIOCGIFNETMASK = 0x891b
1183 SIOCGIFPFLAGS = 0x8935
1184 SIOCGIFSLAVE = 0x8929
1185 SIOCGIFTXQLEN = 0x8942
1186 SIOCGPGRP = 0x8904
1187 SIOCGRARP = 0x8961
1188 SIOCGSTAMP = 0x8906
1189 SIOCGSTAMPNS = 0x8907
1190 SIOCPROTOPRIVATE = 0x89e0
1191 SIOCRTMSG = 0x890d
1192 SIOCSARP = 0x8955
1193 SIOCSIFADDR = 0x8916
1194 SIOCSIFBR = 0x8941
1195 SIOCSIFBRDADDR = 0x891a
1196 SIOCSIFDSTADDR = 0x8918
1197 SIOCSIFENCAP = 0x8926
1198 SIOCSIFFLAGS = 0x8914
1199 SIOCSIFHWADDR = 0x8924
1200 SIOCSIFHWBROADCAST = 0x8937
1201 SIOCSIFLINK = 0x8911
1202 SIOCSIFMAP = 0x8971
1203 SIOCSIFMEM = 0x8920
1204 SIOCSIFMETRIC = 0x891e
1205 SIOCSIFMTU = 0x8922
1206 SIOCSIFNAME = 0x8923
1207 SIOCSIFNETMASK = 0x891c
1208 SIOCSIFPFLAGS = 0x8934
1209 SIOCSIFSLAVE = 0x8930
1210 SIOCSIFTXQLEN = 0x8943
1211 SIOCSPGRP = 0x8902
1212 SIOCSRARP = 0x8962
1213 SOCK_CLOEXEC = 0x80000
1214 SOCK_DCCP = 0x6
1215 SOCK_DGRAM = 0x2
1216 SOCK_NONBLOCK = 0x800
1217 SOCK_PACKET = 0xa
1218 SOCK_RAW = 0x3
1219 SOCK_RDM = 0x4
1220 SOCK_SEQPACKET = 0x5
1221 SOCK_STREAM = 0x1
1222 SOL_AAL = 0x109
1223 SOL_ATM = 0x108
1224 SOL_DECNET = 0x105
1225 SOL_ICMPV6 = 0x3a
1226 SOL_IP = 0x0
1227 SOL_IPV6 = 0x29
1228 SOL_IRDA = 0x10a
1229 SOL_PACKET = 0x107
1230 SOL_RAW = 0xff
1231 SOL_SOCKET = 0x1
1232 SOL_TCP = 0x6
1233 SOL_X25 = 0x106
1234 SOMAXCONN = 0x80
1235 SO_ACCEPTCONN = 0x1e
1236 SO_ATTACH_FILTER = 0x1a
1237 SO_BINDTODEVICE = 0x19
1238 SO_BROADCAST = 0x6
1239 SO_BSDCOMPAT = 0xe
1240 SO_DEBUG = 0x1
1241 SO_DETACH_FILTER = 0x1b
1242 SO_DOMAIN = 0x27
1243 SO_DONTROUTE = 0x5
1244 SO_ERROR = 0x4
1245 SO_KEEPALIVE = 0x9
1246 SO_LINGER = 0xd
1247 SO_MARK = 0x24
1248 SO_NO_CHECK = 0xb
1249 SO_OOBINLINE = 0xa
1250 SO_PASSCRED = 0x10
1251 SO_PASSSEC = 0x22
1252 SO_PEERCRED = 0x11
1253 SO_PEERNAME = 0x1c
1254 SO_PEERSEC = 0x1f
1255 SO_PRIORITY = 0xc
1256 SO_PROTOCOL = 0x26
1257 SO_RCVBUF = 0x8
1258 SO_RCVBUFFORCE = 0x21
1259 SO_RCVLOWAT = 0x12
1260 SO_RCVTIMEO = 0x14
1261 SO_REUSEADDR = 0x2
1262 SO_RXQ_OVFL = 0x28
1263 SO_SECURITY_AUTHENTICATION = 0x16
1264 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1265 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1266 SO_SNDBUF = 0x7
1267 SO_SNDBUFFORCE = 0x20
1268 SO_SNDLOWAT = 0x13
1269 SO_SNDTIMEO = 0x15
1270 SO_TIMESTAMP = 0x1d
1271 SO_TIMESTAMPING = 0x25
1272 SO_TIMESTAMPNS = 0x23
1273 SO_TYPE = 0x3
1274 S_BLKSIZE = 0x200
1275 S_IEXEC = 0x40
1276 S_IFBLK = 0x6000
1277 S_IFCHR = 0x2000
1278 S_IFDIR = 0x4000
1279 S_IFIFO = 0x1000
1280 S_IFLNK = 0xa000
1281 S_IFMT = 0xf000
1282 S_IFREG = 0x8000
1283 S_IFSOCK = 0xc000
1284 S_IREAD = 0x100
1285 S_IRGRP = 0x20
1286 S_IROTH = 0x4
1287 S_IRUSR = 0x100
1288 S_IRWXG = 0x38
1289 S_IRWXO = 0x7
1290 S_IRWXU = 0x1c0
1291 S_ISGID = 0x400
1292 S_ISUID = 0x800
1293 S_ISVTX = 0x200
1294 S_IWGRP = 0x10
1295 S_IWOTH = 0x2
1296 S_IWRITE = 0x80
1297 S_IWUSR = 0x80
1298 S_IXGRP = 0x8
1299 S_IXOTH = 0x1
1300 S_IXUSR = 0x40
1301 TAB0 = 0x0
1302 TAB1 = 0x800
1303 TAB2 = 0x1000
1304 TAB3 = 0x1800
1305 TABDLY = 0x1800
1306 TCFLSH = 0x540b
1307 TCGETA = 0x5405
1308 TCGETS = 0x5401
1309 TCGETS2 = 0x802c542a
1310 TCGETX = 0x5432
1311 TCIFLUSH = 0x0
1312 TCIOFF = 0x2
1313 TCIOFLUSH = 0x2
1314 TCION = 0x3
1315 TCOFLUSH = 0x1
1316 TCOOFF = 0x0
1317 TCOON = 0x1
1318 TCP_CONGESTION = 0xd
1319 TCP_CORK = 0x3
1320 TCP_DEFER_ACCEPT = 0x9
1321 TCP_INFO = 0xb
1322 TCP_KEEPCNT = 0x6
1323 TCP_KEEPIDLE = 0x4
1324 TCP_KEEPINTVL = 0x5
1325 TCP_LINGER2 = 0x8
1326 TCP_MAXSEG = 0x2
1327 TCP_MAXWIN = 0xffff
1328 TCP_MAX_WINSHIFT = 0xe
1329 TCP_MD5SIG = 0xe
1330 TCP_MD5SIG_MAXKEYLEN = 0x50
1331 TCP_MSS = 0x200
1332 TCP_NODELAY = 0x1
1333 TCP_QUICKACK = 0xc
1334 TCP_SYNCNT = 0x7
1335 TCP_WINDOW_CLAMP = 0xa
1336 TCSAFLUSH = 0x2
1337 TCSBRK = 0x5409
1338 TCSBRKP = 0x5425
1339 TCSETA = 0x5406
1340 TCSETAF = 0x5408
1341 TCSETAW = 0x5407
1342 TCSETS = 0x5402
1343 TCSETS2 = 0x402c542b
1344 TCSETSF = 0x5404
1345 TCSETSF2 = 0x402c542d
1346 TCSETSW = 0x5403
1347 TCSETSW2 = 0x402c542c
1348 TCSETX = 0x5433
1349 TCSETXF = 0x5434
1350 TCSETXW = 0x5435
1351 TCXONC = 0x540a
1352 TIOCCBRK = 0x5428
1353 TIOCCONS = 0x541d
1354 TIOCEXCL = 0x540c
1355 TIOCGDEV = 0x80045432
1356 TIOCGETD = 0x5424
1357 TIOCGEXCL = 0x80045440
1358 TIOCGICOUNT = 0x545d
1359 TIOCGLCKTRMIOS = 0x5456
1360 TIOCGPGRP = 0x540f
1361 TIOCGPKT = 0x80045438
1362 TIOCGPTLCK = 0x80045439
1363 TIOCGPTN = 0x80045430
1364 TIOCGRS485 = 0x542e
1365 TIOCGSERIAL = 0x541e
1366 TIOCGSID = 0x5429
1367 TIOCGSOFTCAR = 0x5419
1368 TIOCGWINSZ = 0x5413
1369 TIOCINQ = 0x541b
1370 TIOCLINUX = 0x541c
1371 TIOCMBIC = 0x5417
1372 TIOCMBIS = 0x5416
1373 TIOCMGET = 0x5415
1374 TIOCMIWAIT = 0x545c
1375 TIOCMSET = 0x5418
1376 TIOCM_CAR = 0x40
1377 TIOCM_CD = 0x40
1378 TIOCM_CTS = 0x20
1379 TIOCM_DSR = 0x100
1380 TIOCM_DTR = 0x2
1381 TIOCM_LE = 0x1
1382 TIOCM_RI = 0x80
1383 TIOCM_RNG = 0x80
1384 TIOCM_RTS = 0x4
1385 TIOCM_SR = 0x10
1386 TIOCM_ST = 0x8
1387 TIOCNOTTY = 0x5422
1388 TIOCNXCL = 0x540d
1389 TIOCOUTQ = 0x5411
1390 TIOCPKT = 0x5420
1391 TIOCPKT_DATA = 0x0
1392 TIOCPKT_DOSTOP = 0x20
1393 TIOCPKT_FLUSHREAD = 0x1
1394 TIOCPKT_FLUSHWRITE = 0x2
1395 TIOCPKT_IOCTL = 0x40
1396 TIOCPKT_NOSTOP = 0x10
1397 TIOCPKT_START = 0x8
1398 TIOCPKT_STOP = 0x4
1399 TIOCSBRK = 0x5427
1400 TIOCSCTTY = 0x540e
1401 TIOCSERCONFIG = 0x5453
1402 TIOCSERGETLSR = 0x5459
1403 TIOCSERGETMULTI = 0x545a
1404 TIOCSERGSTRUCT = 0x5458
1405 TIOCSERGWILD = 0x5454
1406 TIOCSERSETMULTI = 0x545b
1407 TIOCSERSWILD = 0x5455
1408 TIOCSER_TEMT = 0x1
1409 TIOCSETD = 0x5423
1410 TIOCSIG = 0x40045436
1411 TIOCSLCKTRMIOS = 0x5457
1412 TIOCSPGRP = 0x5410
1413 TIOCSPTLCK = 0x40045431
1414 TIOCSRS485 = 0x542f
1415 TIOCSSERIAL = 0x541f
1416 TIOCSSOFTCAR = 0x541a
1417 TIOCSTI = 0x5412
1418 TIOCSWINSZ = 0x5414
1419 TIOCVHANGUP = 0x5437
1420 TOSTOP = 0x100
1421 TUNATTACHFILTER = 0x400854d5
1422 TUNDETACHFILTER = 0x400854d6
1423 TUNGETFEATURES = 0x800454cf
1424 TUNGETIFF = 0x800454d2
1425 TUNGETSNDBUF = 0x800454d3
1426 TUNGETVNETHDRSZ = 0x800454d7
1427 TUNSETDEBUG = 0x400454c9
1428 TUNSETGROUP = 0x400454ce
1429 TUNSETIFF = 0x400454ca
1430 TUNSETLINK = 0x400454cd
1431 TUNSETNOCSUM = 0x400454c8
1432 TUNSETOFFLOAD = 0x400454d0
1433 TUNSETOWNER = 0x400454cc
1434 TUNSETPERSIST = 0x400454cb
1435 TUNSETSNDBUF = 0x400454d4
1436 TUNSETTXFILTER = 0x400454d1
1437 TUNSETVNETHDRSZ = 0x400454d8
1438 VDISCARD = 0xd
1439 VEOF = 0x4
1440 VEOL = 0xb
1441 VEOL2 = 0x10
1442 VERASE = 0x2
1443 VINTR = 0x0
1444 VKILL = 0x3
1445 VLNEXT = 0xf
1446 VMIN = 0x6
1447 VQUIT = 0x1
1448 VREPRINT = 0xc
1449 VSTART = 0x8
1450 VSTOP = 0x9
1451 VSUSP = 0xa
1452 VSWTC = 0x7
1453 VT0 = 0x0
1454 VT1 = 0x4000
1455 VTDLY = 0x4000
1456 VTIME = 0x5
1457 VWERASE = 0xe
1458 WALL = 0x40000000
1459 WCLONE = 0x80000000
1460 WCONTINUED = 0x8
1461 WEXITED = 0x4
1462 WNOHANG = 0x1
1463 WNOTHREAD = 0x20000000
1464 WNOWAIT = 0x1000000
1465 WORDSIZE = 0x20
1466 WSTOPPED = 0x2
1467 WUNTRACED = 0x2
1468 XCASE = 0x4
1469 XTABS = 0x1800
1470)
1471
1472// Errors
1473const (
1474 E2BIG = syscall.Errno(0x7)
1475 EACCES = syscall.Errno(0xd)
1476 EADDRINUSE = syscall.Errno(0x62)
1477 EADDRNOTAVAIL = syscall.Errno(0x63)
1478 EADV = syscall.Errno(0x44)
1479 EAFNOSUPPORT = syscall.Errno(0x61)
1480 EAGAIN = syscall.Errno(0xb)
1481 EALREADY = syscall.Errno(0x72)
1482 EBADE = syscall.Errno(0x34)
1483 EBADF = syscall.Errno(0x9)
1484 EBADFD = syscall.Errno(0x4d)
1485 EBADMSG = syscall.Errno(0x4a)
1486 EBADR = syscall.Errno(0x35)
1487 EBADRQC = syscall.Errno(0x38)
1488 EBADSLT = syscall.Errno(0x39)
1489 EBFONT = syscall.Errno(0x3b)
1490 EBUSY = syscall.Errno(0x10)
1491 ECANCELED = syscall.Errno(0x7d)
1492 ECHILD = syscall.Errno(0xa)
1493 ECHRNG = syscall.Errno(0x2c)
1494 ECOMM = syscall.Errno(0x46)
1495 ECONNABORTED = syscall.Errno(0x67)
1496 ECONNREFUSED = syscall.Errno(0x6f)
1497 ECONNRESET = syscall.Errno(0x68)
1498 EDEADLK = syscall.Errno(0x23)
1499 EDEADLOCK = syscall.Errno(0x23)
1500 EDESTADDRREQ = syscall.Errno(0x59)
1501 EDOM = syscall.Errno(0x21)
1502 EDOTDOT = syscall.Errno(0x49)
1503 EDQUOT = syscall.Errno(0x7a)
1504 EEXIST = syscall.Errno(0x11)
1505 EFAULT = syscall.Errno(0xe)
1506 EFBIG = syscall.Errno(0x1b)
1507 EHOSTDOWN = syscall.Errno(0x70)
1508 EHOSTUNREACH = syscall.Errno(0x71)
1509 EHWPOISON = syscall.Errno(0x85)
1510 EIDRM = syscall.Errno(0x2b)
1511 EILSEQ = syscall.Errno(0x54)
1512 EINPROGRESS = syscall.Errno(0x73)
1513 EINTR = syscall.Errno(0x4)
1514 EINVAL = syscall.Errno(0x16)
1515 EIO = syscall.Errno(0x5)
1516 EISCONN = syscall.Errno(0x6a)
1517 EISDIR = syscall.Errno(0x15)
1518 EISNAM = syscall.Errno(0x78)
1519 EKEYEXPIRED = syscall.Errno(0x7f)
1520 EKEYREJECTED = syscall.Errno(0x81)
1521 EKEYREVOKED = syscall.Errno(0x80)
1522 EL2HLT = syscall.Errno(0x33)
1523 EL2NSYNC = syscall.Errno(0x2d)
1524 EL3HLT = syscall.Errno(0x2e)
1525 EL3RST = syscall.Errno(0x2f)
1526 ELIBACC = syscall.Errno(0x4f)
1527 ELIBBAD = syscall.Errno(0x50)
1528 ELIBEXEC = syscall.Errno(0x53)
1529 ELIBMAX = syscall.Errno(0x52)
1530 ELIBSCN = syscall.Errno(0x51)
1531 ELNRNG = syscall.Errno(0x30)
1532 ELOOP = syscall.Errno(0x28)
1533 EMEDIUMTYPE = syscall.Errno(0x7c)
1534 EMFILE = syscall.Errno(0x18)
1535 EMLINK = syscall.Errno(0x1f)
1536 EMSGSIZE = syscall.Errno(0x5a)
1537 EMULTIHOP = syscall.Errno(0x48)
1538 ENAMETOOLONG = syscall.Errno(0x24)
1539 ENAVAIL = syscall.Errno(0x77)
1540 ENETDOWN = syscall.Errno(0x64)
1541 ENETRESET = syscall.Errno(0x66)
1542 ENETUNREACH = syscall.Errno(0x65)
1543 ENFILE = syscall.Errno(0x17)
1544 ENOANO = syscall.Errno(0x37)
1545 ENOBUFS = syscall.Errno(0x69)
1546 ENOCSI = syscall.Errno(0x32)
1547 ENODATA = syscall.Errno(0x3d)
1548 ENODEV = syscall.Errno(0x13)
1549 ENOENT = syscall.Errno(0x2)
1550 ENOEXEC = syscall.Errno(0x8)
1551 ENOKEY = syscall.Errno(0x7e)
1552 ENOLCK = syscall.Errno(0x25)
1553 ENOLINK = syscall.Errno(0x43)
1554 ENOMEDIUM = syscall.Errno(0x7b)
1555 ENOMEM = syscall.Errno(0xc)
1556 ENOMSG = syscall.Errno(0x2a)
1557 ENONET = syscall.Errno(0x40)
1558 ENOPKG = syscall.Errno(0x41)
1559 ENOPROTOOPT = syscall.Errno(0x5c)
1560 ENOSPC = syscall.Errno(0x1c)
1561 ENOSR = syscall.Errno(0x3f)
1562 ENOSTR = syscall.Errno(0x3c)
1563 ENOSYS = syscall.Errno(0x26)
1564 ENOTBLK = syscall.Errno(0xf)
1565 ENOTCONN = syscall.Errno(0x6b)
1566 ENOTDIR = syscall.Errno(0x14)
1567 ENOTEMPTY = syscall.Errno(0x27)
1568 ENOTNAM = syscall.Errno(0x76)
1569 ENOTRECOVERABLE = syscall.Errno(0x83)
1570 ENOTSOCK = syscall.Errno(0x58)
1571 ENOTSUP = syscall.Errno(0x5f)
1572 ENOTTY = syscall.Errno(0x19)
1573 ENOTUNIQ = syscall.Errno(0x4c)
1574 ENXIO = syscall.Errno(0x6)
1575 EOPNOTSUPP = syscall.Errno(0x5f)
1576 EOVERFLOW = syscall.Errno(0x4b)
1577 EOWNERDEAD = syscall.Errno(0x82)
1578 EPERM = syscall.Errno(0x1)
1579 EPFNOSUPPORT = syscall.Errno(0x60)
1580 EPIPE = syscall.Errno(0x20)
1581 EPROTO = syscall.Errno(0x47)
1582 EPROTONOSUPPORT = syscall.Errno(0x5d)
1583 EPROTOTYPE = syscall.Errno(0x5b)
1584 ERANGE = syscall.Errno(0x22)
1585 EREMCHG = syscall.Errno(0x4e)
1586 EREMOTE = syscall.Errno(0x42)
1587 EREMOTEIO = syscall.Errno(0x79)
1588 ERESTART = syscall.Errno(0x55)
1589 ERFKILL = syscall.Errno(0x84)
1590 EROFS = syscall.Errno(0x1e)
1591 ESHUTDOWN = syscall.Errno(0x6c)
1592 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1593 ESPIPE = syscall.Errno(0x1d)
1594 ESRCH = syscall.Errno(0x3)
1595 ESRMNT = syscall.Errno(0x45)
1596 ESTALE = syscall.Errno(0x74)
1597 ESTRPIPE = syscall.Errno(0x56)
1598 ETIME = syscall.Errno(0x3e)
1599 ETIMEDOUT = syscall.Errno(0x6e)
1600 ETOOMANYREFS = syscall.Errno(0x6d)
1601 ETXTBSY = syscall.Errno(0x1a)
1602 EUCLEAN = syscall.Errno(0x75)
1603 EUNATCH = syscall.Errno(0x31)
1604 EUSERS = syscall.Errno(0x57)
1605 EWOULDBLOCK = syscall.Errno(0xb)
1606 EXDEV = syscall.Errno(0x12)
1607 EXFULL = syscall.Errno(0x36)
1608)
1609
1610// Signals
1611const (
1612 SIGABRT = syscall.Signal(0x6)
1613 SIGALRM = syscall.Signal(0xe)
1614 SIGBUS = syscall.Signal(0x7)
1615 SIGCHLD = syscall.Signal(0x11)
1616 SIGCLD = syscall.Signal(0x11)
1617 SIGCONT = syscall.Signal(0x12)
1618 SIGFPE = syscall.Signal(0x8)
1619 SIGHUP = syscall.Signal(0x1)
1620 SIGILL = syscall.Signal(0x4)
1621 SIGINT = syscall.Signal(0x2)
1622 SIGIO = syscall.Signal(0x1d)
1623 SIGIOT = syscall.Signal(0x6)
1624 SIGKILL = syscall.Signal(0x9)
1625 SIGPIPE = syscall.Signal(0xd)
1626 SIGPOLL = syscall.Signal(0x1d)
1627 SIGPROF = syscall.Signal(0x1b)
1628 SIGPWR = syscall.Signal(0x1e)
1629 SIGQUIT = syscall.Signal(0x3)
1630 SIGSEGV = syscall.Signal(0xb)
1631 SIGSTKFLT = syscall.Signal(0x10)
1632 SIGSTOP = syscall.Signal(0x13)
1633 SIGSYS = syscall.Signal(0x1f)
1634 SIGTERM = syscall.Signal(0xf)
1635 SIGTRAP = syscall.Signal(0x5)
1636 SIGTSTP = syscall.Signal(0x14)
1637 SIGTTIN = syscall.Signal(0x15)
1638 SIGTTOU = syscall.Signal(0x16)
1639 SIGUNUSED = syscall.Signal(0x1f)
1640 SIGURG = syscall.Signal(0x17)
1641 SIGUSR1 = syscall.Signal(0xa)
1642 SIGUSR2 = syscall.Signal(0xc)
1643 SIGVTALRM = syscall.Signal(0x1a)
1644 SIGWINCH = syscall.Signal(0x1c)
1645 SIGXCPU = syscall.Signal(0x18)
1646 SIGXFSZ = syscall.Signal(0x19)
1647)
1648
1649// Error table
1650var errors = [...]string{
1651 1: "operation not permitted",
1652 2: "no such file or directory",
1653 3: "no such process",
1654 4: "interrupted system call",
1655 5: "input/output error",
1656 6: "no such device or address",
1657 7: "argument list too long",
1658 8: "exec format error",
1659 9: "bad file descriptor",
1660 10: "no child processes",
1661 11: "resource temporarily unavailable",
1662 12: "cannot allocate memory",
1663 13: "permission denied",
1664 14: "bad address",
1665 15: "block device required",
1666 16: "device or resource busy",
1667 17: "file exists",
1668 18: "invalid cross-device link",
1669 19: "no such device",
1670 20: "not a directory",
1671 21: "is a directory",
1672 22: "invalid argument",
1673 23: "too many open files in system",
1674 24: "too many open files",
1675 25: "inappropriate ioctl for device",
1676 26: "text file busy",
1677 27: "file too large",
1678 28: "no space left on device",
1679 29: "illegal seek",
1680 30: "read-only file system",
1681 31: "too many links",
1682 32: "broken pipe",
1683 33: "numerical argument out of domain",
1684 34: "numerical result out of range",
1685 35: "resource deadlock avoided",
1686 36: "file name too long",
1687 37: "no locks available",
1688 38: "function not implemented",
1689 39: "directory not empty",
1690 40: "too many levels of symbolic links",
1691 42: "no message of desired type",
1692 43: "identifier removed",
1693 44: "channel number out of range",
1694 45: "level 2 not synchronized",
1695 46: "level 3 halted",
1696 47: "level 3 reset",
1697 48: "link number out of range",
1698 49: "protocol driver not attached",
1699 50: "no CSI structure available",
1700 51: "level 2 halted",
1701 52: "invalid exchange",
1702 53: "invalid request descriptor",
1703 54: "exchange full",
1704 55: "no anode",
1705 56: "invalid request code",
1706 57: "invalid slot",
1707 59: "bad font file format",
1708 60: "device not a stream",
1709 61: "no data available",
1710 62: "timer expired",
1711 63: "out of streams resources",
1712 64: "machine is not on the network",
1713 65: "package not installed",
1714 66: "object is remote",
1715 67: "link has been severed",
1716 68: "advertise error",
1717 69: "srmount error",
1718 70: "communication error on send",
1719 71: "protocol error",
1720 72: "multihop attempted",
1721 73: "RFS specific error",
1722 74: "bad message",
1723 75: "value too large for defined data type",
1724 76: "name not unique on network",
1725 77: "file descriptor in bad state",
1726 78: "remote address changed",
1727 79: "can not access a needed shared library",
1728 80: "accessing a corrupted shared library",
1729 81: ".lib section in a.out corrupted",
1730 82: "attempting to link in too many shared libraries",
1731 83: "cannot exec a shared library directly",
1732 84: "invalid or incomplete multibyte or wide character",
1733 85: "interrupted system call should be restarted",
1734 86: "streams pipe error",
1735 87: "too many users",
1736 88: "socket operation on non-socket",
1737 89: "destination address required",
1738 90: "message too long",
1739 91: "protocol wrong type for socket",
1740 92: "protocol not available",
1741 93: "protocol not supported",
1742 94: "socket type not supported",
1743 95: "operation not supported",
1744 96: "protocol family not supported",
1745 97: "address family not supported by protocol",
1746 98: "address already in use",
1747 99: "cannot assign requested address",
1748 100: "network is down",
1749 101: "network is unreachable",
1750 102: "network dropped connection on reset",
1751 103: "software caused connection abort",
1752 104: "connection reset by peer",
1753 105: "no buffer space available",
1754 106: "transport endpoint is already connected",
1755 107: "transport endpoint is not connected",
1756 108: "cannot send after transport endpoint shutdown",
1757 109: "too many references: cannot splice",
1758 110: "connection timed out",
1759 111: "connection refused",
1760 112: "host is down",
1761 113: "no route to host",
1762 114: "operation already in progress",
1763 115: "operation now in progress",
1764 116: "stale NFS file handle",
1765 117: "structure needs cleaning",
1766 118: "not a XENIX named type file",
1767 119: "no XENIX semaphores available",
1768 120: "is a named type file",
1769 121: "remote I/O error",
1770 122: "disk quota exceeded",
1771 123: "no medium found",
1772 124: "wrong medium type",
1773 125: "operation canceled",
1774 126: "required key not available",
1775 127: "key has expired",
1776 128: "key has been revoked",
1777 129: "key was rejected by service",
1778 130: "owner died",
1779 131: "state not recoverable",
1780 132: "operation not possible due to RF-kill",
1781 133: "unknown error 133",
1782}
1783
1784// Signal table
1785var signals = [...]string{
1786 1: "hangup",
1787 2: "interrupt",
1788 3: "quit",
1789 4: "illegal instruction",
1790 5: "trace/breakpoint trap",
1791 6: "aborted",
1792 7: "bus error",
1793 8: "floating point exception",
1794 9: "killed",
1795 10: "user defined signal 1",
1796 11: "segmentation fault",
1797 12: "user defined signal 2",
1798 13: "broken pipe",
1799 14: "alarm clock",
1800 15: "terminated",
1801 16: "stack fault",
1802 17: "child exited",
1803 18: "continued",
1804 19: "stopped (signal)",
1805 20: "stopped",
1806 21: "stopped (tty input)",
1807 22: "stopped (tty output)",
1808 23: "urgent I/O condition",
1809 24: "CPU time limit exceeded",
1810 25: "file size limit exceeded",
1811 26: "virtual timer expired",
1812 27: "profiling timer expired",
1813 28: "window changed",
1814 29: "I/O possible",
1815 30: "power failure",
1816 31: "bad system call",
1817}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_amd64.go
deleted file mode 100644
index b83fb40..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_amd64.go
+++ /dev/null
@@ -1,1818 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x28
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_NFC = 0x27
42 AF_PACKET = 0x11
43 AF_PHONET = 0x23
44 AF_PPPOX = 0x18
45 AF_RDS = 0x15
46 AF_ROSE = 0xb
47 AF_ROUTE = 0x10
48 AF_RXRPC = 0x21
49 AF_SECURITY = 0xe
50 AF_SNA = 0x16
51 AF_TIPC = 0x1e
52 AF_UNIX = 0x1
53 AF_UNSPEC = 0x0
54 AF_WANPIPE = 0x19
55 AF_X25 = 0x9
56 ARPHRD_ADAPT = 0x108
57 ARPHRD_APPLETLK = 0x8
58 ARPHRD_ARCNET = 0x7
59 ARPHRD_ASH = 0x30d
60 ARPHRD_ATM = 0x13
61 ARPHRD_AX25 = 0x3
62 ARPHRD_BIF = 0x307
63 ARPHRD_CAIF = 0x336
64 ARPHRD_CAN = 0x118
65 ARPHRD_CHAOS = 0x5
66 ARPHRD_CISCO = 0x201
67 ARPHRD_CSLIP = 0x101
68 ARPHRD_CSLIP6 = 0x103
69 ARPHRD_DDCMP = 0x205
70 ARPHRD_DLCI = 0xf
71 ARPHRD_ECONET = 0x30e
72 ARPHRD_EETHER = 0x2
73 ARPHRD_ETHER = 0x1
74 ARPHRD_EUI64 = 0x1b
75 ARPHRD_FCAL = 0x311
76 ARPHRD_FCFABRIC = 0x313
77 ARPHRD_FCPL = 0x312
78 ARPHRD_FCPP = 0x310
79 ARPHRD_FDDI = 0x306
80 ARPHRD_FRAD = 0x302
81 ARPHRD_HDLC = 0x201
82 ARPHRD_HIPPI = 0x30c
83 ARPHRD_HWX25 = 0x110
84 ARPHRD_IEEE1394 = 0x18
85 ARPHRD_IEEE802 = 0x6
86 ARPHRD_IEEE80211 = 0x321
87 ARPHRD_IEEE80211_PRISM = 0x322
88 ARPHRD_IEEE80211_RADIOTAP = 0x323
89 ARPHRD_IEEE802154 = 0x324
90 ARPHRD_IEEE802_TR = 0x320
91 ARPHRD_INFINIBAND = 0x20
92 ARPHRD_IPDDP = 0x309
93 ARPHRD_IPGRE = 0x30a
94 ARPHRD_IRDA = 0x30f
95 ARPHRD_LAPB = 0x204
96 ARPHRD_LOCALTLK = 0x305
97 ARPHRD_LOOPBACK = 0x304
98 ARPHRD_METRICOM = 0x17
99 ARPHRD_NETROM = 0x0
100 ARPHRD_NONE = 0xfffe
101 ARPHRD_PHONET = 0x334
102 ARPHRD_PHONET_PIPE = 0x335
103 ARPHRD_PIMREG = 0x30b
104 ARPHRD_PPP = 0x200
105 ARPHRD_PRONET = 0x4
106 ARPHRD_RAWHDLC = 0x206
107 ARPHRD_ROSE = 0x10e
108 ARPHRD_RSRVD = 0x104
109 ARPHRD_SIT = 0x308
110 ARPHRD_SKIP = 0x303
111 ARPHRD_SLIP = 0x100
112 ARPHRD_SLIP6 = 0x102
113 ARPHRD_TUNNEL = 0x300
114 ARPHRD_TUNNEL6 = 0x301
115 ARPHRD_VOID = 0xffff
116 ARPHRD_X25 = 0x10f
117 B0 = 0x0
118 B1000000 = 0x1008
119 B110 = 0x3
120 B115200 = 0x1002
121 B1152000 = 0x1009
122 B1200 = 0x9
123 B134 = 0x4
124 B150 = 0x5
125 B1500000 = 0x100a
126 B1800 = 0xa
127 B19200 = 0xe
128 B200 = 0x6
129 B2000000 = 0x100b
130 B230400 = 0x1003
131 B2400 = 0xb
132 B2500000 = 0x100c
133 B300 = 0x7
134 B3000000 = 0x100d
135 B3500000 = 0x100e
136 B38400 = 0xf
137 B4000000 = 0x100f
138 B460800 = 0x1004
139 B4800 = 0xc
140 B50 = 0x1
141 B500000 = 0x1005
142 B57600 = 0x1001
143 B576000 = 0x1006
144 B600 = 0x8
145 B75 = 0x2
146 B921600 = 0x1007
147 B9600 = 0xd
148 BOTHER = 0x1000
149 BPF_A = 0x10
150 BPF_ABS = 0x20
151 BPF_ADD = 0x0
152 BPF_ALU = 0x4
153 BPF_AND = 0x50
154 BPF_B = 0x10
155 BPF_DIV = 0x30
156 BPF_H = 0x8
157 BPF_IMM = 0x0
158 BPF_IND = 0x40
159 BPF_JA = 0x0
160 BPF_JEQ = 0x10
161 BPF_JGE = 0x30
162 BPF_JGT = 0x20
163 BPF_JMP = 0x5
164 BPF_JSET = 0x40
165 BPF_K = 0x0
166 BPF_LD = 0x0
167 BPF_LDX = 0x1
168 BPF_LEN = 0x80
169 BPF_LSH = 0x60
170 BPF_MAJOR_VERSION = 0x1
171 BPF_MAXINSNS = 0x1000
172 BPF_MEM = 0x60
173 BPF_MEMWORDS = 0x10
174 BPF_MINOR_VERSION = 0x1
175 BPF_MISC = 0x7
176 BPF_MSH = 0xa0
177 BPF_MUL = 0x20
178 BPF_NEG = 0x80
179 BPF_OR = 0x40
180 BPF_RET = 0x6
181 BPF_RSH = 0x70
182 BPF_ST = 0x2
183 BPF_STX = 0x3
184 BPF_SUB = 0x10
185 BPF_TAX = 0x0
186 BPF_TXA = 0x80
187 BPF_W = 0x0
188 BPF_X = 0x8
189 BRKINT = 0x2
190 BS0 = 0x0
191 BS1 = 0x2000
192 BSDLY = 0x2000
193 CBAUD = 0x100f
194 CBAUDEX = 0x1000
195 CFLUSH = 0xf
196 CIBAUD = 0x100f0000
197 CLOCAL = 0x800
198 CLOCK_BOOTTIME = 0x7
199 CLOCK_BOOTTIME_ALARM = 0x9
200 CLOCK_DEFAULT = 0x0
201 CLOCK_EXT = 0x1
202 CLOCK_INT = 0x2
203 CLOCK_MONOTONIC = 0x1
204 CLOCK_MONOTONIC_COARSE = 0x6
205 CLOCK_MONOTONIC_RAW = 0x4
206 CLOCK_PROCESS_CPUTIME_ID = 0x2
207 CLOCK_REALTIME = 0x0
208 CLOCK_REALTIME_ALARM = 0x8
209 CLOCK_REALTIME_COARSE = 0x5
210 CLOCK_THREAD_CPUTIME_ID = 0x3
211 CLOCK_TXFROMRX = 0x4
212 CLOCK_TXINT = 0x3
213 CLONE_CHILD_CLEARTID = 0x200000
214 CLONE_CHILD_SETTID = 0x1000000
215 CLONE_DETACHED = 0x400000
216 CLONE_FILES = 0x400
217 CLONE_FS = 0x200
218 CLONE_IO = 0x80000000
219 CLONE_NEWIPC = 0x8000000
220 CLONE_NEWNET = 0x40000000
221 CLONE_NEWNS = 0x20000
222 CLONE_NEWPID = 0x20000000
223 CLONE_NEWUSER = 0x10000000
224 CLONE_NEWUTS = 0x4000000
225 CLONE_PARENT = 0x8000
226 CLONE_PARENT_SETTID = 0x100000
227 CLONE_PTRACE = 0x2000
228 CLONE_SETTLS = 0x80000
229 CLONE_SIGHAND = 0x800
230 CLONE_SYSVSEM = 0x40000
231 CLONE_THREAD = 0x10000
232 CLONE_UNTRACED = 0x800000
233 CLONE_VFORK = 0x4000
234 CLONE_VM = 0x100
235 CMSPAR = 0x40000000
236 CR0 = 0x0
237 CR1 = 0x200
238 CR2 = 0x400
239 CR3 = 0x600
240 CRDLY = 0x600
241 CREAD = 0x80
242 CRTSCTS = 0x80000000
243 CS5 = 0x0
244 CS6 = 0x10
245 CS7 = 0x20
246 CS8 = 0x30
247 CSIGNAL = 0xff
248 CSIZE = 0x30
249 CSTART = 0x11
250 CSTATUS = 0x0
251 CSTOP = 0x13
252 CSTOPB = 0x40
253 CSUSP = 0x1a
254 DT_BLK = 0x6
255 DT_CHR = 0x2
256 DT_DIR = 0x4
257 DT_FIFO = 0x1
258 DT_LNK = 0xa
259 DT_REG = 0x8
260 DT_SOCK = 0xc
261 DT_UNKNOWN = 0x0
262 DT_WHT = 0xe
263 ECHO = 0x8
264 ECHOCTL = 0x200
265 ECHOE = 0x10
266 ECHOK = 0x20
267 ECHOKE = 0x800
268 ECHONL = 0x40
269 ECHOPRT = 0x400
270 ENCODING_DEFAULT = 0x0
271 ENCODING_FM_MARK = 0x3
272 ENCODING_FM_SPACE = 0x4
273 ENCODING_MANCHESTER = 0x5
274 ENCODING_NRZ = 0x1
275 ENCODING_NRZI = 0x2
276 EPOLLERR = 0x8
277 EPOLLET = 0x80000000
278 EPOLLHUP = 0x10
279 EPOLLIN = 0x1
280 EPOLLMSG = 0x400
281 EPOLLONESHOT = 0x40000000
282 EPOLLOUT = 0x4
283 EPOLLPRI = 0x2
284 EPOLLRDBAND = 0x80
285 EPOLLRDHUP = 0x2000
286 EPOLLRDNORM = 0x40
287 EPOLLWRBAND = 0x200
288 EPOLLWRNORM = 0x100
289 EPOLL_CLOEXEC = 0x80000
290 EPOLL_CTL_ADD = 0x1
291 EPOLL_CTL_DEL = 0x2
292 EPOLL_CTL_MOD = 0x3
293 EPOLL_NONBLOCK = 0x800
294 ETH_P_1588 = 0x88f7
295 ETH_P_8021AD = 0x88a8
296 ETH_P_8021AH = 0x88e7
297 ETH_P_8021Q = 0x8100
298 ETH_P_802_2 = 0x4
299 ETH_P_802_3 = 0x1
300 ETH_P_AARP = 0x80f3
301 ETH_P_AF_IUCV = 0xfbfb
302 ETH_P_ALL = 0x3
303 ETH_P_AOE = 0x88a2
304 ETH_P_ARCNET = 0x1a
305 ETH_P_ARP = 0x806
306 ETH_P_ATALK = 0x809b
307 ETH_P_ATMFATE = 0x8884
308 ETH_P_ATMMPOA = 0x884c
309 ETH_P_AX25 = 0x2
310 ETH_P_BPQ = 0x8ff
311 ETH_P_CAIF = 0xf7
312 ETH_P_CAN = 0xc
313 ETH_P_CONTROL = 0x16
314 ETH_P_CUST = 0x6006
315 ETH_P_DDCMP = 0x6
316 ETH_P_DEC = 0x6000
317 ETH_P_DIAG = 0x6005
318 ETH_P_DNA_DL = 0x6001
319 ETH_P_DNA_RC = 0x6002
320 ETH_P_DNA_RT = 0x6003
321 ETH_P_DSA = 0x1b
322 ETH_P_ECONET = 0x18
323 ETH_P_EDSA = 0xdada
324 ETH_P_FCOE = 0x8906
325 ETH_P_FIP = 0x8914
326 ETH_P_HDLC = 0x19
327 ETH_P_IEEE802154 = 0xf6
328 ETH_P_IEEEPUP = 0xa00
329 ETH_P_IEEEPUPAT = 0xa01
330 ETH_P_IP = 0x800
331 ETH_P_IPV6 = 0x86dd
332 ETH_P_IPX = 0x8137
333 ETH_P_IRDA = 0x17
334 ETH_P_LAT = 0x6004
335 ETH_P_LINK_CTL = 0x886c
336 ETH_P_LOCALTALK = 0x9
337 ETH_P_LOOP = 0x60
338 ETH_P_MOBITEX = 0x15
339 ETH_P_MPLS_MC = 0x8848
340 ETH_P_MPLS_UC = 0x8847
341 ETH_P_PAE = 0x888e
342 ETH_P_PAUSE = 0x8808
343 ETH_P_PHONET = 0xf5
344 ETH_P_PPPTALK = 0x10
345 ETH_P_PPP_DISC = 0x8863
346 ETH_P_PPP_MP = 0x8
347 ETH_P_PPP_SES = 0x8864
348 ETH_P_PUP = 0x200
349 ETH_P_PUPAT = 0x201
350 ETH_P_QINQ1 = 0x9100
351 ETH_P_QINQ2 = 0x9200
352 ETH_P_QINQ3 = 0x9300
353 ETH_P_RARP = 0x8035
354 ETH_P_SCA = 0x6007
355 ETH_P_SLOW = 0x8809
356 ETH_P_SNAP = 0x5
357 ETH_P_TDLS = 0x890d
358 ETH_P_TEB = 0x6558
359 ETH_P_TIPC = 0x88ca
360 ETH_P_TRAILER = 0x1c
361 ETH_P_TR_802_2 = 0x11
362 ETH_P_WAN_PPP = 0x7
363 ETH_P_WCCP = 0x883e
364 ETH_P_X25 = 0x805
365 EXTA = 0xe
366 EXTB = 0xf
367 EXTPROC = 0x10000
368 FD_CLOEXEC = 0x1
369 FD_SETSIZE = 0x400
370 FF0 = 0x0
371 FF1 = 0x8000
372 FFDLY = 0x8000
373 FLUSHO = 0x1000
374 F_DUPFD = 0x0
375 F_DUPFD_CLOEXEC = 0x406
376 F_EXLCK = 0x4
377 F_GETFD = 0x1
378 F_GETFL = 0x3
379 F_GETLEASE = 0x401
380 F_GETLK = 0x5
381 F_GETLK64 = 0x5
382 F_GETOWN = 0x9
383 F_GETOWN_EX = 0x10
384 F_GETPIPE_SZ = 0x408
385 F_GETSIG = 0xb
386 F_LOCK = 0x1
387 F_NOTIFY = 0x402
388 F_OK = 0x0
389 F_RDLCK = 0x0
390 F_SETFD = 0x2
391 F_SETFL = 0x4
392 F_SETLEASE = 0x400
393 F_SETLK = 0x6
394 F_SETLK64 = 0x6
395 F_SETLKW = 0x7
396 F_SETLKW64 = 0x7
397 F_SETOWN = 0x8
398 F_SETOWN_EX = 0xf
399 F_SETPIPE_SZ = 0x407
400 F_SETSIG = 0xa
401 F_SHLCK = 0x8
402 F_TEST = 0x3
403 F_TLOCK = 0x2
404 F_ULOCK = 0x0
405 F_UNLCK = 0x2
406 F_WRLCK = 0x1
407 HUPCL = 0x400
408 IBSHIFT = 0x10
409 ICANON = 0x2
410 ICMPV6_FILTER = 0x1
411 ICRNL = 0x100
412 IEXTEN = 0x8000
413 IFA_F_DADFAILED = 0x8
414 IFA_F_DEPRECATED = 0x20
415 IFA_F_HOMEADDRESS = 0x10
416 IFA_F_NODAD = 0x2
417 IFA_F_OPTIMISTIC = 0x4
418 IFA_F_PERMANENT = 0x80
419 IFA_F_SECONDARY = 0x1
420 IFA_F_TEMPORARY = 0x1
421 IFA_F_TENTATIVE = 0x40
422 IFA_MAX = 0x7
423 IFF_802_1Q_VLAN = 0x1
424 IFF_ALLMULTI = 0x200
425 IFF_AUTOMEDIA = 0x4000
426 IFF_BONDING = 0x20
427 IFF_BRIDGE_PORT = 0x4000
428 IFF_BROADCAST = 0x2
429 IFF_DEBUG = 0x4
430 IFF_DISABLE_NETPOLL = 0x1000
431 IFF_DONT_BRIDGE = 0x800
432 IFF_DORMANT = 0x20000
433 IFF_DYNAMIC = 0x8000
434 IFF_EBRIDGE = 0x2
435 IFF_ECHO = 0x40000
436 IFF_ISATAP = 0x80
437 IFF_LOOPBACK = 0x8
438 IFF_LOWER_UP = 0x10000
439 IFF_MACVLAN_PORT = 0x2000
440 IFF_MASTER = 0x400
441 IFF_MASTER_8023AD = 0x8
442 IFF_MASTER_ALB = 0x10
443 IFF_MASTER_ARPMON = 0x100
444 IFF_MULTICAST = 0x1000
445 IFF_NOARP = 0x80
446 IFF_NOTRAILERS = 0x20
447 IFF_NO_PI = 0x1000
448 IFF_ONE_QUEUE = 0x2000
449 IFF_OVS_DATAPATH = 0x8000
450 IFF_POINTOPOINT = 0x10
451 IFF_PORTSEL = 0x2000
452 IFF_PROMISC = 0x100
453 IFF_RUNNING = 0x40
454 IFF_SLAVE = 0x800
455 IFF_SLAVE_INACTIVE = 0x4
456 IFF_SLAVE_NEEDARP = 0x40
457 IFF_TAP = 0x2
458 IFF_TUN = 0x1
459 IFF_TUN_EXCL = 0x8000
460 IFF_TX_SKB_SHARING = 0x10000
461 IFF_UNICAST_FLT = 0x20000
462 IFF_UP = 0x1
463 IFF_VNET_HDR = 0x4000
464 IFF_VOLATILE = 0x70c5a
465 IFF_WAN_HDLC = 0x200
466 IFF_XMIT_DST_RELEASE = 0x400
467 IFNAMSIZ = 0x10
468 IGNBRK = 0x1
469 IGNCR = 0x80
470 IGNPAR = 0x4
471 IMAXBEL = 0x2000
472 INLCR = 0x40
473 INPCK = 0x10
474 IN_ACCESS = 0x1
475 IN_ALL_EVENTS = 0xfff
476 IN_ATTRIB = 0x4
477 IN_CLASSA_HOST = 0xffffff
478 IN_CLASSA_MAX = 0x80
479 IN_CLASSA_NET = 0xff000000
480 IN_CLASSA_NSHIFT = 0x18
481 IN_CLASSB_HOST = 0xffff
482 IN_CLASSB_MAX = 0x10000
483 IN_CLASSB_NET = 0xffff0000
484 IN_CLASSB_NSHIFT = 0x10
485 IN_CLASSC_HOST = 0xff
486 IN_CLASSC_NET = 0xffffff00
487 IN_CLASSC_NSHIFT = 0x8
488 IN_CLOEXEC = 0x80000
489 IN_CLOSE = 0x18
490 IN_CLOSE_NOWRITE = 0x10
491 IN_CLOSE_WRITE = 0x8
492 IN_CREATE = 0x100
493 IN_DELETE = 0x200
494 IN_DELETE_SELF = 0x400
495 IN_DONT_FOLLOW = 0x2000000
496 IN_EXCL_UNLINK = 0x4000000
497 IN_IGNORED = 0x8000
498 IN_ISDIR = 0x40000000
499 IN_LOOPBACKNET = 0x7f
500 IN_MASK_ADD = 0x20000000
501 IN_MODIFY = 0x2
502 IN_MOVE = 0xc0
503 IN_MOVED_FROM = 0x40
504 IN_MOVED_TO = 0x80
505 IN_MOVE_SELF = 0x800
506 IN_NONBLOCK = 0x800
507 IN_ONESHOT = 0x80000000
508 IN_ONLYDIR = 0x1000000
509 IN_OPEN = 0x20
510 IN_Q_OVERFLOW = 0x4000
511 IN_UNMOUNT = 0x2000
512 IPPROTO_AH = 0x33
513 IPPROTO_COMP = 0x6c
514 IPPROTO_DCCP = 0x21
515 IPPROTO_DSTOPTS = 0x3c
516 IPPROTO_EGP = 0x8
517 IPPROTO_ENCAP = 0x62
518 IPPROTO_ESP = 0x32
519 IPPROTO_FRAGMENT = 0x2c
520 IPPROTO_GRE = 0x2f
521 IPPROTO_HOPOPTS = 0x0
522 IPPROTO_ICMP = 0x1
523 IPPROTO_ICMPV6 = 0x3a
524 IPPROTO_IDP = 0x16
525 IPPROTO_IGMP = 0x2
526 IPPROTO_IP = 0x0
527 IPPROTO_IPIP = 0x4
528 IPPROTO_IPV6 = 0x29
529 IPPROTO_MTP = 0x5c
530 IPPROTO_NONE = 0x3b
531 IPPROTO_PIM = 0x67
532 IPPROTO_PUP = 0xc
533 IPPROTO_RAW = 0xff
534 IPPROTO_ROUTING = 0x2b
535 IPPROTO_RSVP = 0x2e
536 IPPROTO_SCTP = 0x84
537 IPPROTO_TCP = 0x6
538 IPPROTO_TP = 0x1d
539 IPPROTO_UDP = 0x11
540 IPPROTO_UDPLITE = 0x88
541 IPV6_2292DSTOPTS = 0x4
542 IPV6_2292HOPLIMIT = 0x8
543 IPV6_2292HOPOPTS = 0x3
544 IPV6_2292PKTINFO = 0x2
545 IPV6_2292PKTOPTIONS = 0x6
546 IPV6_2292RTHDR = 0x5
547 IPV6_ADDRFORM = 0x1
548 IPV6_ADD_MEMBERSHIP = 0x14
549 IPV6_AUTHHDR = 0xa
550 IPV6_CHECKSUM = 0x7
551 IPV6_DROP_MEMBERSHIP = 0x15
552 IPV6_DSTOPTS = 0x3b
553 IPV6_HOPLIMIT = 0x34
554 IPV6_HOPOPTS = 0x36
555 IPV6_IPSEC_POLICY = 0x22
556 IPV6_JOIN_ANYCAST = 0x1b
557 IPV6_JOIN_GROUP = 0x14
558 IPV6_LEAVE_ANYCAST = 0x1c
559 IPV6_LEAVE_GROUP = 0x15
560 IPV6_MTU = 0x18
561 IPV6_MTU_DISCOVER = 0x17
562 IPV6_MULTICAST_HOPS = 0x12
563 IPV6_MULTICAST_IF = 0x11
564 IPV6_MULTICAST_LOOP = 0x13
565 IPV6_NEXTHOP = 0x9
566 IPV6_PKTINFO = 0x32
567 IPV6_PMTUDISC_DO = 0x2
568 IPV6_PMTUDISC_DONT = 0x0
569 IPV6_PMTUDISC_PROBE = 0x3
570 IPV6_PMTUDISC_WANT = 0x1
571 IPV6_RECVDSTOPTS = 0x3a
572 IPV6_RECVERR = 0x19
573 IPV6_RECVHOPLIMIT = 0x33
574 IPV6_RECVHOPOPTS = 0x35
575 IPV6_RECVPKTINFO = 0x31
576 IPV6_RECVRTHDR = 0x38
577 IPV6_RECVTCLASS = 0x42
578 IPV6_ROUTER_ALERT = 0x16
579 IPV6_RTHDR = 0x39
580 IPV6_RTHDRDSTOPTS = 0x37
581 IPV6_RTHDR_LOOSE = 0x0
582 IPV6_RTHDR_STRICT = 0x1
583 IPV6_RTHDR_TYPE_0 = 0x0
584 IPV6_RXDSTOPTS = 0x3b
585 IPV6_RXHOPOPTS = 0x36
586 IPV6_TCLASS = 0x43
587 IPV6_UNICAST_HOPS = 0x10
588 IPV6_V6ONLY = 0x1a
589 IPV6_XFRM_POLICY = 0x23
590 IP_ADD_MEMBERSHIP = 0x23
591 IP_ADD_SOURCE_MEMBERSHIP = 0x27
592 IP_BLOCK_SOURCE = 0x26
593 IP_DEFAULT_MULTICAST_LOOP = 0x1
594 IP_DEFAULT_MULTICAST_TTL = 0x1
595 IP_DF = 0x4000
596 IP_DROP_MEMBERSHIP = 0x24
597 IP_DROP_SOURCE_MEMBERSHIP = 0x28
598 IP_FREEBIND = 0xf
599 IP_HDRINCL = 0x3
600 IP_IPSEC_POLICY = 0x10
601 IP_MAXPACKET = 0xffff
602 IP_MAX_MEMBERSHIPS = 0x14
603 IP_MF = 0x2000
604 IP_MINTTL = 0x15
605 IP_MSFILTER = 0x29
606 IP_MSS = 0x240
607 IP_MTU = 0xe
608 IP_MTU_DISCOVER = 0xa
609 IP_MULTICAST_ALL = 0x31
610 IP_MULTICAST_IF = 0x20
611 IP_MULTICAST_LOOP = 0x22
612 IP_MULTICAST_TTL = 0x21
613 IP_OFFMASK = 0x1fff
614 IP_OPTIONS = 0x4
615 IP_ORIGDSTADDR = 0x14
616 IP_PASSSEC = 0x12
617 IP_PKTINFO = 0x8
618 IP_PKTOPTIONS = 0x9
619 IP_PMTUDISC = 0xa
620 IP_PMTUDISC_DO = 0x2
621 IP_PMTUDISC_DONT = 0x0
622 IP_PMTUDISC_PROBE = 0x3
623 IP_PMTUDISC_WANT = 0x1
624 IP_RECVERR = 0xb
625 IP_RECVOPTS = 0x6
626 IP_RECVORIGDSTADDR = 0x14
627 IP_RECVRETOPTS = 0x7
628 IP_RECVTOS = 0xd
629 IP_RECVTTL = 0xc
630 IP_RETOPTS = 0x7
631 IP_RF = 0x8000
632 IP_ROUTER_ALERT = 0x5
633 IP_TOS = 0x1
634 IP_TRANSPARENT = 0x13
635 IP_TTL = 0x2
636 IP_UNBLOCK_SOURCE = 0x25
637 IP_XFRM_POLICY = 0x11
638 ISIG = 0x1
639 ISTRIP = 0x20
640 IUCLC = 0x200
641 IUTF8 = 0x4000
642 IXANY = 0x800
643 IXOFF = 0x1000
644 IXON = 0x400
645 LINUX_REBOOT_CMD_CAD_OFF = 0x0
646 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
647 LINUX_REBOOT_CMD_HALT = 0xcdef0123
648 LINUX_REBOOT_CMD_KEXEC = 0x45584543
649 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
650 LINUX_REBOOT_CMD_RESTART = 0x1234567
651 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
652 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
653 LINUX_REBOOT_MAGIC1 = 0xfee1dead
654 LINUX_REBOOT_MAGIC2 = 0x28121969
655 LOCK_EX = 0x2
656 LOCK_NB = 0x4
657 LOCK_SH = 0x1
658 LOCK_UN = 0x8
659 MADV_DOFORK = 0xb
660 MADV_DONTFORK = 0xa
661 MADV_DONTNEED = 0x4
662 MADV_HUGEPAGE = 0xe
663 MADV_HWPOISON = 0x64
664 MADV_MERGEABLE = 0xc
665 MADV_NOHUGEPAGE = 0xf
666 MADV_NORMAL = 0x0
667 MADV_RANDOM = 0x1
668 MADV_REMOVE = 0x9
669 MADV_SEQUENTIAL = 0x2
670 MADV_UNMERGEABLE = 0xd
671 MADV_WILLNEED = 0x3
672 MAP_32BIT = 0x40
673 MAP_ANON = 0x20
674 MAP_ANONYMOUS = 0x20
675 MAP_DENYWRITE = 0x800
676 MAP_EXECUTABLE = 0x1000
677 MAP_FILE = 0x0
678 MAP_FIXED = 0x10
679 MAP_GROWSDOWN = 0x100
680 MAP_HUGETLB = 0x40000
681 MAP_LOCKED = 0x2000
682 MAP_NONBLOCK = 0x10000
683 MAP_NORESERVE = 0x4000
684 MAP_POPULATE = 0x8000
685 MAP_PRIVATE = 0x2
686 MAP_SHARED = 0x1
687 MAP_STACK = 0x20000
688 MAP_TYPE = 0xf
689 MCL_CURRENT = 0x1
690 MCL_FUTURE = 0x2
691 MNT_DETACH = 0x2
692 MNT_EXPIRE = 0x4
693 MNT_FORCE = 0x1
694 MSG_CMSG_CLOEXEC = 0x40000000
695 MSG_CONFIRM = 0x800
696 MSG_CTRUNC = 0x8
697 MSG_DONTROUTE = 0x4
698 MSG_DONTWAIT = 0x40
699 MSG_EOR = 0x80
700 MSG_ERRQUEUE = 0x2000
701 MSG_FASTOPEN = 0x20000000
702 MSG_FIN = 0x200
703 MSG_MORE = 0x8000
704 MSG_NOSIGNAL = 0x4000
705 MSG_OOB = 0x1
706 MSG_PEEK = 0x2
707 MSG_PROXY = 0x10
708 MSG_RST = 0x1000
709 MSG_SYN = 0x400
710 MSG_TRUNC = 0x20
711 MSG_TRYHARD = 0x4
712 MSG_WAITALL = 0x100
713 MSG_WAITFORONE = 0x10000
714 MS_ACTIVE = 0x40000000
715 MS_ASYNC = 0x1
716 MS_BIND = 0x1000
717 MS_DIRSYNC = 0x80
718 MS_INVALIDATE = 0x2
719 MS_I_VERSION = 0x800000
720 MS_KERNMOUNT = 0x400000
721 MS_MANDLOCK = 0x40
722 MS_MGC_MSK = 0xffff0000
723 MS_MGC_VAL = 0xc0ed0000
724 MS_MOVE = 0x2000
725 MS_NOATIME = 0x400
726 MS_NODEV = 0x4
727 MS_NODIRATIME = 0x800
728 MS_NOEXEC = 0x8
729 MS_NOSUID = 0x2
730 MS_NOUSER = -0x80000000
731 MS_POSIXACL = 0x10000
732 MS_PRIVATE = 0x40000
733 MS_RDONLY = 0x1
734 MS_REC = 0x4000
735 MS_RELATIME = 0x200000
736 MS_REMOUNT = 0x20
737 MS_RMT_MASK = 0x800051
738 MS_SHARED = 0x100000
739 MS_SILENT = 0x8000
740 MS_SLAVE = 0x80000
741 MS_STRICTATIME = 0x1000000
742 MS_SYNC = 0x4
743 MS_SYNCHRONOUS = 0x10
744 MS_UNBINDABLE = 0x20000
745 NAME_MAX = 0xff
746 NETLINK_ADD_MEMBERSHIP = 0x1
747 NETLINK_AUDIT = 0x9
748 NETLINK_BROADCAST_ERROR = 0x4
749 NETLINK_CONNECTOR = 0xb
750 NETLINK_CRYPTO = 0x15
751 NETLINK_DNRTMSG = 0xe
752 NETLINK_DROP_MEMBERSHIP = 0x2
753 NETLINK_ECRYPTFS = 0x13
754 NETLINK_FIB_LOOKUP = 0xa
755 NETLINK_FIREWALL = 0x3
756 NETLINK_GENERIC = 0x10
757 NETLINK_INET_DIAG = 0x4
758 NETLINK_IP6_FW = 0xd
759 NETLINK_ISCSI = 0x8
760 NETLINK_KOBJECT_UEVENT = 0xf
761 NETLINK_NETFILTER = 0xc
762 NETLINK_NFLOG = 0x5
763 NETLINK_NO_ENOBUFS = 0x5
764 NETLINK_PKTINFO = 0x3
765 NETLINK_RDMA = 0x14
766 NETLINK_ROUTE = 0x0
767 NETLINK_SCSITRANSPORT = 0x12
768 NETLINK_SELINUX = 0x7
769 NETLINK_UNUSED = 0x1
770 NETLINK_USERSOCK = 0x2
771 NETLINK_XFRM = 0x6
772 NL0 = 0x0
773 NL1 = 0x100
774 NLA_ALIGNTO = 0x4
775 NLA_F_NESTED = 0x8000
776 NLA_F_NET_BYTEORDER = 0x4000
777 NLA_HDRLEN = 0x4
778 NLDLY = 0x100
779 NLMSG_ALIGNTO = 0x4
780 NLMSG_DONE = 0x3
781 NLMSG_ERROR = 0x2
782 NLMSG_HDRLEN = 0x10
783 NLMSG_MIN_TYPE = 0x10
784 NLMSG_NOOP = 0x1
785 NLMSG_OVERRUN = 0x4
786 NLM_F_ACK = 0x4
787 NLM_F_APPEND = 0x800
788 NLM_F_ATOMIC = 0x400
789 NLM_F_CREATE = 0x400
790 NLM_F_DUMP = 0x300
791 NLM_F_DUMP_INTR = 0x10
792 NLM_F_ECHO = 0x8
793 NLM_F_EXCL = 0x200
794 NLM_F_MATCH = 0x200
795 NLM_F_MULTI = 0x2
796 NLM_F_REPLACE = 0x100
797 NLM_F_REQUEST = 0x1
798 NLM_F_ROOT = 0x100
799 NOFLSH = 0x80
800 OCRNL = 0x8
801 OFDEL = 0x80
802 OFILL = 0x40
803 OLCUC = 0x2
804 ONLCR = 0x4
805 ONLRET = 0x20
806 ONOCR = 0x10
807 OPOST = 0x1
808 O_ACCMODE = 0x3
809 O_APPEND = 0x400
810 O_ASYNC = 0x2000
811 O_CLOEXEC = 0x80000
812 O_CREAT = 0x40
813 O_DIRECT = 0x4000
814 O_DIRECTORY = 0x10000
815 O_DSYNC = 0x1000
816 O_EXCL = 0x80
817 O_FSYNC = 0x101000
818 O_LARGEFILE = 0x0
819 O_NDELAY = 0x800
820 O_NOATIME = 0x40000
821 O_NOCTTY = 0x100
822 O_NOFOLLOW = 0x20000
823 O_NONBLOCK = 0x800
824 O_PATH = 0x200000
825 O_RDONLY = 0x0
826 O_RDWR = 0x2
827 O_RSYNC = 0x101000
828 O_SYNC = 0x101000
829 O_TRUNC = 0x200
830 O_WRONLY = 0x1
831 PACKET_ADD_MEMBERSHIP = 0x1
832 PACKET_AUXDATA = 0x8
833 PACKET_BROADCAST = 0x1
834 PACKET_COPY_THRESH = 0x7
835 PACKET_DROP_MEMBERSHIP = 0x2
836 PACKET_FANOUT = 0x12
837 PACKET_FANOUT_CPU = 0x2
838 PACKET_FANOUT_FLAG_DEFRAG = 0x8000
839 PACKET_FANOUT_HASH = 0x0
840 PACKET_FANOUT_LB = 0x1
841 PACKET_FASTROUTE = 0x6
842 PACKET_HDRLEN = 0xb
843 PACKET_HOST = 0x0
844 PACKET_LOOPBACK = 0x5
845 PACKET_LOSS = 0xe
846 PACKET_MR_ALLMULTI = 0x2
847 PACKET_MR_MULTICAST = 0x0
848 PACKET_MR_PROMISC = 0x1
849 PACKET_MR_UNICAST = 0x3
850 PACKET_MULTICAST = 0x2
851 PACKET_ORIGDEV = 0x9
852 PACKET_OTHERHOST = 0x3
853 PACKET_OUTGOING = 0x4
854 PACKET_RECV_OUTPUT = 0x3
855 PACKET_RESERVE = 0xc
856 PACKET_RX_RING = 0x5
857 PACKET_STATISTICS = 0x6
858 PACKET_TIMESTAMP = 0x11
859 PACKET_TX_RING = 0xd
860 PACKET_TX_TIMESTAMP = 0x10
861 PACKET_VERSION = 0xa
862 PACKET_VNET_HDR = 0xf
863 PARENB = 0x100
864 PARITY_CRC16_PR0 = 0x2
865 PARITY_CRC16_PR0_CCITT = 0x4
866 PARITY_CRC16_PR1 = 0x3
867 PARITY_CRC16_PR1_CCITT = 0x5
868 PARITY_CRC32_PR0_CCITT = 0x6
869 PARITY_CRC32_PR1_CCITT = 0x7
870 PARITY_DEFAULT = 0x0
871 PARITY_NONE = 0x1
872 PARMRK = 0x8
873 PARODD = 0x200
874 PENDIN = 0x4000
875 PRIO_PGRP = 0x1
876 PRIO_PROCESS = 0x0
877 PRIO_USER = 0x2
878 PROT_EXEC = 0x4
879 PROT_GROWSDOWN = 0x1000000
880 PROT_GROWSUP = 0x2000000
881 PROT_NONE = 0x0
882 PROT_READ = 0x1
883 PROT_WRITE = 0x2
884 PR_CAPBSET_DROP = 0x18
885 PR_CAPBSET_READ = 0x17
886 PR_ENDIAN_BIG = 0x0
887 PR_ENDIAN_LITTLE = 0x1
888 PR_ENDIAN_PPC_LITTLE = 0x2
889 PR_FPEMU_NOPRINT = 0x1
890 PR_FPEMU_SIGFPE = 0x2
891 PR_FP_EXC_ASYNC = 0x2
892 PR_FP_EXC_DISABLED = 0x0
893 PR_FP_EXC_DIV = 0x10000
894 PR_FP_EXC_INV = 0x100000
895 PR_FP_EXC_NONRECOV = 0x1
896 PR_FP_EXC_OVF = 0x20000
897 PR_FP_EXC_PRECISE = 0x3
898 PR_FP_EXC_RES = 0x80000
899 PR_FP_EXC_SW_ENABLE = 0x80
900 PR_FP_EXC_UND = 0x40000
901 PR_GET_DUMPABLE = 0x3
902 PR_GET_ENDIAN = 0x13
903 PR_GET_FPEMU = 0x9
904 PR_GET_FPEXC = 0xb
905 PR_GET_KEEPCAPS = 0x7
906 PR_GET_NAME = 0x10
907 PR_GET_NO_NEW_PRIVS = 0x27
908 PR_GET_PDEATHSIG = 0x2
909 PR_GET_SECCOMP = 0x15
910 PR_GET_SECUREBITS = 0x1b
911 PR_GET_TIMERSLACK = 0x1e
912 PR_GET_TIMING = 0xd
913 PR_GET_TSC = 0x19
914 PR_GET_UNALIGN = 0x5
915 PR_MCE_KILL = 0x21
916 PR_MCE_KILL_CLEAR = 0x0
917 PR_MCE_KILL_DEFAULT = 0x2
918 PR_MCE_KILL_EARLY = 0x1
919 PR_MCE_KILL_GET = 0x22
920 PR_MCE_KILL_LATE = 0x0
921 PR_MCE_KILL_SET = 0x1
922 PR_SET_DUMPABLE = 0x4
923 PR_SET_ENDIAN = 0x14
924 PR_SET_FPEMU = 0xa
925 PR_SET_FPEXC = 0xc
926 PR_SET_KEEPCAPS = 0x8
927 PR_SET_MM = 0x23
928 PR_SET_MM_BRK = 0x7
929 PR_SET_MM_END_CODE = 0x2
930 PR_SET_MM_END_DATA = 0x4
931 PR_SET_MM_START_BRK = 0x6
932 PR_SET_MM_START_CODE = 0x1
933 PR_SET_MM_START_DATA = 0x3
934 PR_SET_MM_START_STACK = 0x5
935 PR_SET_NAME = 0xf
936 PR_SET_NO_NEW_PRIVS = 0x26
937 PR_SET_PDEATHSIG = 0x1
938 PR_SET_PTRACER = 0x59616d61
939 PR_SET_PTRACER_ANY = -0x1
940 PR_SET_SECCOMP = 0x16
941 PR_SET_SECUREBITS = 0x1c
942 PR_SET_TIMERSLACK = 0x1d
943 PR_SET_TIMING = 0xe
944 PR_SET_TSC = 0x1a
945 PR_SET_UNALIGN = 0x6
946 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
947 PR_TASK_PERF_EVENTS_ENABLE = 0x20
948 PR_TIMING_STATISTICAL = 0x0
949 PR_TIMING_TIMESTAMP = 0x1
950 PR_TSC_ENABLE = 0x1
951 PR_TSC_SIGSEGV = 0x2
952 PR_UNALIGN_NOPRINT = 0x1
953 PR_UNALIGN_SIGBUS = 0x2
954 PTRACE_ARCH_PRCTL = 0x1e
955 PTRACE_ATTACH = 0x10
956 PTRACE_CONT = 0x7
957 PTRACE_DETACH = 0x11
958 PTRACE_EVENT_CLONE = 0x3
959 PTRACE_EVENT_EXEC = 0x4
960 PTRACE_EVENT_EXIT = 0x6
961 PTRACE_EVENT_FORK = 0x1
962 PTRACE_EVENT_SECCOMP = 0x7
963 PTRACE_EVENT_STOP = 0x80
964 PTRACE_EVENT_VFORK = 0x2
965 PTRACE_EVENT_VFORK_DONE = 0x5
966 PTRACE_GETEVENTMSG = 0x4201
967 PTRACE_GETFPREGS = 0xe
968 PTRACE_GETFPXREGS = 0x12
969 PTRACE_GETREGS = 0xc
970 PTRACE_GETREGSET = 0x4204
971 PTRACE_GETSIGINFO = 0x4202
972 PTRACE_GET_THREAD_AREA = 0x19
973 PTRACE_INTERRUPT = 0x4207
974 PTRACE_KILL = 0x8
975 PTRACE_LISTEN = 0x4208
976 PTRACE_OLDSETOPTIONS = 0x15
977 PTRACE_O_MASK = 0xff
978 PTRACE_O_TRACECLONE = 0x8
979 PTRACE_O_TRACEEXEC = 0x10
980 PTRACE_O_TRACEEXIT = 0x40
981 PTRACE_O_TRACEFORK = 0x2
982 PTRACE_O_TRACESECCOMP = 0x80
983 PTRACE_O_TRACESYSGOOD = 0x1
984 PTRACE_O_TRACEVFORK = 0x4
985 PTRACE_O_TRACEVFORKDONE = 0x20
986 PTRACE_PEEKDATA = 0x2
987 PTRACE_PEEKTEXT = 0x1
988 PTRACE_PEEKUSR = 0x3
989 PTRACE_POKEDATA = 0x5
990 PTRACE_POKETEXT = 0x4
991 PTRACE_POKEUSR = 0x6
992 PTRACE_SEIZE = 0x4206
993 PTRACE_SEIZE_DEVEL = 0x80000000
994 PTRACE_SETFPREGS = 0xf
995 PTRACE_SETFPXREGS = 0x13
996 PTRACE_SETOPTIONS = 0x4200
997 PTRACE_SETREGS = 0xd
998 PTRACE_SETREGSET = 0x4205
999 PTRACE_SETSIGINFO = 0x4203
1000 PTRACE_SET_THREAD_AREA = 0x1a
1001 PTRACE_SINGLEBLOCK = 0x21
1002 PTRACE_SINGLESTEP = 0x9
1003 PTRACE_SYSCALL = 0x18
1004 PTRACE_SYSEMU = 0x1f
1005 PTRACE_SYSEMU_SINGLESTEP = 0x20
1006 PTRACE_TRACEME = 0x0
1007 RLIMIT_AS = 0x9
1008 RLIMIT_CORE = 0x4
1009 RLIMIT_CPU = 0x0
1010 RLIMIT_DATA = 0x2
1011 RLIMIT_FSIZE = 0x1
1012 RLIMIT_NOFILE = 0x7
1013 RLIMIT_STACK = 0x3
1014 RLIM_INFINITY = -0x1
1015 RTAX_ADVMSS = 0x8
1016 RTAX_CWND = 0x7
1017 RTAX_FEATURES = 0xc
1018 RTAX_FEATURE_ALLFRAG = 0x8
1019 RTAX_FEATURE_ECN = 0x1
1020 RTAX_FEATURE_SACK = 0x2
1021 RTAX_FEATURE_TIMESTAMP = 0x4
1022 RTAX_HOPLIMIT = 0xa
1023 RTAX_INITCWND = 0xb
1024 RTAX_INITRWND = 0xe
1025 RTAX_LOCK = 0x1
1026 RTAX_MAX = 0xe
1027 RTAX_MTU = 0x2
1028 RTAX_REORDERING = 0x9
1029 RTAX_RTO_MIN = 0xd
1030 RTAX_RTT = 0x4
1031 RTAX_RTTVAR = 0x5
1032 RTAX_SSTHRESH = 0x6
1033 RTAX_UNSPEC = 0x0
1034 RTAX_WINDOW = 0x3
1035 RTA_ALIGNTO = 0x4
1036 RTA_MAX = 0x10
1037 RTCF_DIRECTSRC = 0x4000000
1038 RTCF_DOREDIRECT = 0x1000000
1039 RTCF_LOG = 0x2000000
1040 RTCF_MASQ = 0x400000
1041 RTCF_NAT = 0x800000
1042 RTCF_VALVE = 0x200000
1043 RTF_ADDRCLASSMASK = 0xf8000000
1044 RTF_ADDRCONF = 0x40000
1045 RTF_ALLONLINK = 0x20000
1046 RTF_BROADCAST = 0x10000000
1047 RTF_CACHE = 0x1000000
1048 RTF_DEFAULT = 0x10000
1049 RTF_DYNAMIC = 0x10
1050 RTF_FLOW = 0x2000000
1051 RTF_GATEWAY = 0x2
1052 RTF_HOST = 0x4
1053 RTF_INTERFACE = 0x40000000
1054 RTF_IRTT = 0x100
1055 RTF_LINKRT = 0x100000
1056 RTF_LOCAL = 0x80000000
1057 RTF_MODIFIED = 0x20
1058 RTF_MSS = 0x40
1059 RTF_MTU = 0x40
1060 RTF_MULTICAST = 0x20000000
1061 RTF_NAT = 0x8000000
1062 RTF_NOFORWARD = 0x1000
1063 RTF_NONEXTHOP = 0x200000
1064 RTF_NOPMTUDISC = 0x4000
1065 RTF_POLICY = 0x4000000
1066 RTF_REINSTATE = 0x8
1067 RTF_REJECT = 0x200
1068 RTF_STATIC = 0x400
1069 RTF_THROW = 0x2000
1070 RTF_UP = 0x1
1071 RTF_WINDOW = 0x80
1072 RTF_XRESOLVE = 0x800
1073 RTM_BASE = 0x10
1074 RTM_DELACTION = 0x31
1075 RTM_DELADDR = 0x15
1076 RTM_DELADDRLABEL = 0x49
1077 RTM_DELLINK = 0x11
1078 RTM_DELNEIGH = 0x1d
1079 RTM_DELQDISC = 0x25
1080 RTM_DELROUTE = 0x19
1081 RTM_DELRULE = 0x21
1082 RTM_DELTCLASS = 0x29
1083 RTM_DELTFILTER = 0x2d
1084 RTM_F_CLONED = 0x200
1085 RTM_F_EQUALIZE = 0x400
1086 RTM_F_NOTIFY = 0x100
1087 RTM_F_PREFIX = 0x800
1088 RTM_GETACTION = 0x32
1089 RTM_GETADDR = 0x16
1090 RTM_GETADDRLABEL = 0x4a
1091 RTM_GETANYCAST = 0x3e
1092 RTM_GETDCB = 0x4e
1093 RTM_GETLINK = 0x12
1094 RTM_GETMULTICAST = 0x3a
1095 RTM_GETNEIGH = 0x1e
1096 RTM_GETNEIGHTBL = 0x42
1097 RTM_GETQDISC = 0x26
1098 RTM_GETROUTE = 0x1a
1099 RTM_GETRULE = 0x22
1100 RTM_GETTCLASS = 0x2a
1101 RTM_GETTFILTER = 0x2e
1102 RTM_MAX = 0x4f
1103 RTM_NEWACTION = 0x30
1104 RTM_NEWADDR = 0x14
1105 RTM_NEWADDRLABEL = 0x48
1106 RTM_NEWLINK = 0x10
1107 RTM_NEWNDUSEROPT = 0x44
1108 RTM_NEWNEIGH = 0x1c
1109 RTM_NEWNEIGHTBL = 0x40
1110 RTM_NEWPREFIX = 0x34
1111 RTM_NEWQDISC = 0x24
1112 RTM_NEWROUTE = 0x18
1113 RTM_NEWRULE = 0x20
1114 RTM_NEWTCLASS = 0x28
1115 RTM_NEWTFILTER = 0x2c
1116 RTM_NR_FAMILIES = 0x10
1117 RTM_NR_MSGTYPES = 0x40
1118 RTM_SETDCB = 0x4f
1119 RTM_SETLINK = 0x13
1120 RTM_SETNEIGHTBL = 0x43
1121 RTNH_ALIGNTO = 0x4
1122 RTNH_F_DEAD = 0x1
1123 RTNH_F_ONLINK = 0x4
1124 RTNH_F_PERVASIVE = 0x2
1125 RTN_MAX = 0xb
1126 RTPROT_BIRD = 0xc
1127 RTPROT_BOOT = 0x3
1128 RTPROT_DHCP = 0x10
1129 RTPROT_DNROUTED = 0xd
1130 RTPROT_GATED = 0x8
1131 RTPROT_KERNEL = 0x2
1132 RTPROT_MRT = 0xa
1133 RTPROT_NTK = 0xf
1134 RTPROT_RA = 0x9
1135 RTPROT_REDIRECT = 0x1
1136 RTPROT_STATIC = 0x4
1137 RTPROT_UNSPEC = 0x0
1138 RTPROT_XORP = 0xe
1139 RTPROT_ZEBRA = 0xb
1140 RT_CLASS_DEFAULT = 0xfd
1141 RT_CLASS_LOCAL = 0xff
1142 RT_CLASS_MAIN = 0xfe
1143 RT_CLASS_MAX = 0xff
1144 RT_CLASS_UNSPEC = 0x0
1145 RUSAGE_CHILDREN = -0x1
1146 RUSAGE_SELF = 0x0
1147 RUSAGE_THREAD = 0x1
1148 SCM_CREDENTIALS = 0x2
1149 SCM_RIGHTS = 0x1
1150 SCM_TIMESTAMP = 0x1d
1151 SCM_TIMESTAMPING = 0x25
1152 SCM_TIMESTAMPNS = 0x23
1153 SHUT_RD = 0x0
1154 SHUT_RDWR = 0x2
1155 SHUT_WR = 0x1
1156 SIOCADDDLCI = 0x8980
1157 SIOCADDMULTI = 0x8931
1158 SIOCADDRT = 0x890b
1159 SIOCATMARK = 0x8905
1160 SIOCDARP = 0x8953
1161 SIOCDELDLCI = 0x8981
1162 SIOCDELMULTI = 0x8932
1163 SIOCDELRT = 0x890c
1164 SIOCDEVPRIVATE = 0x89f0
1165 SIOCDIFADDR = 0x8936
1166 SIOCDRARP = 0x8960
1167 SIOCGARP = 0x8954
1168 SIOCGIFADDR = 0x8915
1169 SIOCGIFBR = 0x8940
1170 SIOCGIFBRDADDR = 0x8919
1171 SIOCGIFCONF = 0x8912
1172 SIOCGIFCOUNT = 0x8938
1173 SIOCGIFDSTADDR = 0x8917
1174 SIOCGIFENCAP = 0x8925
1175 SIOCGIFFLAGS = 0x8913
1176 SIOCGIFHWADDR = 0x8927
1177 SIOCGIFINDEX = 0x8933
1178 SIOCGIFMAP = 0x8970
1179 SIOCGIFMEM = 0x891f
1180 SIOCGIFMETRIC = 0x891d
1181 SIOCGIFMTU = 0x8921
1182 SIOCGIFNAME = 0x8910
1183 SIOCGIFNETMASK = 0x891b
1184 SIOCGIFPFLAGS = 0x8935
1185 SIOCGIFSLAVE = 0x8929
1186 SIOCGIFTXQLEN = 0x8942
1187 SIOCGPGRP = 0x8904
1188 SIOCGRARP = 0x8961
1189 SIOCGSTAMP = 0x8906
1190 SIOCGSTAMPNS = 0x8907
1191 SIOCPROTOPRIVATE = 0x89e0
1192 SIOCRTMSG = 0x890d
1193 SIOCSARP = 0x8955
1194 SIOCSIFADDR = 0x8916
1195 SIOCSIFBR = 0x8941
1196 SIOCSIFBRDADDR = 0x891a
1197 SIOCSIFDSTADDR = 0x8918
1198 SIOCSIFENCAP = 0x8926
1199 SIOCSIFFLAGS = 0x8914
1200 SIOCSIFHWADDR = 0x8924
1201 SIOCSIFHWBROADCAST = 0x8937
1202 SIOCSIFLINK = 0x8911
1203 SIOCSIFMAP = 0x8971
1204 SIOCSIFMEM = 0x8920
1205 SIOCSIFMETRIC = 0x891e
1206 SIOCSIFMTU = 0x8922
1207 SIOCSIFNAME = 0x8923
1208 SIOCSIFNETMASK = 0x891c
1209 SIOCSIFPFLAGS = 0x8934
1210 SIOCSIFSLAVE = 0x8930
1211 SIOCSIFTXQLEN = 0x8943
1212 SIOCSPGRP = 0x8902
1213 SIOCSRARP = 0x8962
1214 SOCK_CLOEXEC = 0x80000
1215 SOCK_DCCP = 0x6
1216 SOCK_DGRAM = 0x2
1217 SOCK_NONBLOCK = 0x800
1218 SOCK_PACKET = 0xa
1219 SOCK_RAW = 0x3
1220 SOCK_RDM = 0x4
1221 SOCK_SEQPACKET = 0x5
1222 SOCK_STREAM = 0x1
1223 SOL_AAL = 0x109
1224 SOL_ATM = 0x108
1225 SOL_DECNET = 0x105
1226 SOL_ICMPV6 = 0x3a
1227 SOL_IP = 0x0
1228 SOL_IPV6 = 0x29
1229 SOL_IRDA = 0x10a
1230 SOL_PACKET = 0x107
1231 SOL_RAW = 0xff
1232 SOL_SOCKET = 0x1
1233 SOL_TCP = 0x6
1234 SOL_X25 = 0x106
1235 SOMAXCONN = 0x80
1236 SO_ACCEPTCONN = 0x1e
1237 SO_ATTACH_FILTER = 0x1a
1238 SO_BINDTODEVICE = 0x19
1239 SO_BROADCAST = 0x6
1240 SO_BSDCOMPAT = 0xe
1241 SO_DEBUG = 0x1
1242 SO_DETACH_FILTER = 0x1b
1243 SO_DOMAIN = 0x27
1244 SO_DONTROUTE = 0x5
1245 SO_ERROR = 0x4
1246 SO_KEEPALIVE = 0x9
1247 SO_LINGER = 0xd
1248 SO_MARK = 0x24
1249 SO_NO_CHECK = 0xb
1250 SO_OOBINLINE = 0xa
1251 SO_PASSCRED = 0x10
1252 SO_PASSSEC = 0x22
1253 SO_PEERCRED = 0x11
1254 SO_PEERNAME = 0x1c
1255 SO_PEERSEC = 0x1f
1256 SO_PRIORITY = 0xc
1257 SO_PROTOCOL = 0x26
1258 SO_RCVBUF = 0x8
1259 SO_RCVBUFFORCE = 0x21
1260 SO_RCVLOWAT = 0x12
1261 SO_RCVTIMEO = 0x14
1262 SO_REUSEADDR = 0x2
1263 SO_RXQ_OVFL = 0x28
1264 SO_SECURITY_AUTHENTICATION = 0x16
1265 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1266 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1267 SO_SNDBUF = 0x7
1268 SO_SNDBUFFORCE = 0x20
1269 SO_SNDLOWAT = 0x13
1270 SO_SNDTIMEO = 0x15
1271 SO_TIMESTAMP = 0x1d
1272 SO_TIMESTAMPING = 0x25
1273 SO_TIMESTAMPNS = 0x23
1274 SO_TYPE = 0x3
1275 S_BLKSIZE = 0x200
1276 S_IEXEC = 0x40
1277 S_IFBLK = 0x6000
1278 S_IFCHR = 0x2000
1279 S_IFDIR = 0x4000
1280 S_IFIFO = 0x1000
1281 S_IFLNK = 0xa000
1282 S_IFMT = 0xf000
1283 S_IFREG = 0x8000
1284 S_IFSOCK = 0xc000
1285 S_IREAD = 0x100
1286 S_IRGRP = 0x20
1287 S_IROTH = 0x4
1288 S_IRUSR = 0x100
1289 S_IRWXG = 0x38
1290 S_IRWXO = 0x7
1291 S_IRWXU = 0x1c0
1292 S_ISGID = 0x400
1293 S_ISUID = 0x800
1294 S_ISVTX = 0x200
1295 S_IWGRP = 0x10
1296 S_IWOTH = 0x2
1297 S_IWRITE = 0x80
1298 S_IWUSR = 0x80
1299 S_IXGRP = 0x8
1300 S_IXOTH = 0x1
1301 S_IXUSR = 0x40
1302 TAB0 = 0x0
1303 TAB1 = 0x800
1304 TAB2 = 0x1000
1305 TAB3 = 0x1800
1306 TABDLY = 0x1800
1307 TCFLSH = 0x540b
1308 TCGETA = 0x5405
1309 TCGETS = 0x5401
1310 TCGETS2 = 0x802c542a
1311 TCGETX = 0x5432
1312 TCIFLUSH = 0x0
1313 TCIOFF = 0x2
1314 TCIOFLUSH = 0x2
1315 TCION = 0x3
1316 TCOFLUSH = 0x1
1317 TCOOFF = 0x0
1318 TCOON = 0x1
1319 TCP_CONGESTION = 0xd
1320 TCP_CORK = 0x3
1321 TCP_DEFER_ACCEPT = 0x9
1322 TCP_INFO = 0xb
1323 TCP_KEEPCNT = 0x6
1324 TCP_KEEPIDLE = 0x4
1325 TCP_KEEPINTVL = 0x5
1326 TCP_LINGER2 = 0x8
1327 TCP_MAXSEG = 0x2
1328 TCP_MAXWIN = 0xffff
1329 TCP_MAX_WINSHIFT = 0xe
1330 TCP_MD5SIG = 0xe
1331 TCP_MD5SIG_MAXKEYLEN = 0x50
1332 TCP_MSS = 0x200
1333 TCP_NODELAY = 0x1
1334 TCP_QUICKACK = 0xc
1335 TCP_SYNCNT = 0x7
1336 TCP_WINDOW_CLAMP = 0xa
1337 TCSAFLUSH = 0x2
1338 TCSBRK = 0x5409
1339 TCSBRKP = 0x5425
1340 TCSETA = 0x5406
1341 TCSETAF = 0x5408
1342 TCSETAW = 0x5407
1343 TCSETS = 0x5402
1344 TCSETS2 = 0x402c542b
1345 TCSETSF = 0x5404
1346 TCSETSF2 = 0x402c542d
1347 TCSETSW = 0x5403
1348 TCSETSW2 = 0x402c542c
1349 TCSETX = 0x5433
1350 TCSETXF = 0x5434
1351 TCSETXW = 0x5435
1352 TCXONC = 0x540a
1353 TIOCCBRK = 0x5428
1354 TIOCCONS = 0x541d
1355 TIOCEXCL = 0x540c
1356 TIOCGDEV = 0x80045432
1357 TIOCGETD = 0x5424
1358 TIOCGEXCL = 0x80045440
1359 TIOCGICOUNT = 0x545d
1360 TIOCGLCKTRMIOS = 0x5456
1361 TIOCGPGRP = 0x540f
1362 TIOCGPKT = 0x80045438
1363 TIOCGPTLCK = 0x80045439
1364 TIOCGPTN = 0x80045430
1365 TIOCGRS485 = 0x542e
1366 TIOCGSERIAL = 0x541e
1367 TIOCGSID = 0x5429
1368 TIOCGSOFTCAR = 0x5419
1369 TIOCGWINSZ = 0x5413
1370 TIOCINQ = 0x541b
1371 TIOCLINUX = 0x541c
1372 TIOCMBIC = 0x5417
1373 TIOCMBIS = 0x5416
1374 TIOCMGET = 0x5415
1375 TIOCMIWAIT = 0x545c
1376 TIOCMSET = 0x5418
1377 TIOCM_CAR = 0x40
1378 TIOCM_CD = 0x40
1379 TIOCM_CTS = 0x20
1380 TIOCM_DSR = 0x100
1381 TIOCM_DTR = 0x2
1382 TIOCM_LE = 0x1
1383 TIOCM_RI = 0x80
1384 TIOCM_RNG = 0x80
1385 TIOCM_RTS = 0x4
1386 TIOCM_SR = 0x10
1387 TIOCM_ST = 0x8
1388 TIOCNOTTY = 0x5422
1389 TIOCNXCL = 0x540d
1390 TIOCOUTQ = 0x5411
1391 TIOCPKT = 0x5420
1392 TIOCPKT_DATA = 0x0
1393 TIOCPKT_DOSTOP = 0x20
1394 TIOCPKT_FLUSHREAD = 0x1
1395 TIOCPKT_FLUSHWRITE = 0x2
1396 TIOCPKT_IOCTL = 0x40
1397 TIOCPKT_NOSTOP = 0x10
1398 TIOCPKT_START = 0x8
1399 TIOCPKT_STOP = 0x4
1400 TIOCSBRK = 0x5427
1401 TIOCSCTTY = 0x540e
1402 TIOCSERCONFIG = 0x5453
1403 TIOCSERGETLSR = 0x5459
1404 TIOCSERGETMULTI = 0x545a
1405 TIOCSERGSTRUCT = 0x5458
1406 TIOCSERGWILD = 0x5454
1407 TIOCSERSETMULTI = 0x545b
1408 TIOCSERSWILD = 0x5455
1409 TIOCSER_TEMT = 0x1
1410 TIOCSETD = 0x5423
1411 TIOCSIG = 0x40045436
1412 TIOCSLCKTRMIOS = 0x5457
1413 TIOCSPGRP = 0x5410
1414 TIOCSPTLCK = 0x40045431
1415 TIOCSRS485 = 0x542f
1416 TIOCSSERIAL = 0x541f
1417 TIOCSSOFTCAR = 0x541a
1418 TIOCSTI = 0x5412
1419 TIOCSWINSZ = 0x5414
1420 TIOCVHANGUP = 0x5437
1421 TOSTOP = 0x100
1422 TUNATTACHFILTER = 0x401054d5
1423 TUNDETACHFILTER = 0x401054d6
1424 TUNGETFEATURES = 0x800454cf
1425 TUNGETIFF = 0x800454d2
1426 TUNGETSNDBUF = 0x800454d3
1427 TUNGETVNETHDRSZ = 0x800454d7
1428 TUNSETDEBUG = 0x400454c9
1429 TUNSETGROUP = 0x400454ce
1430 TUNSETIFF = 0x400454ca
1431 TUNSETLINK = 0x400454cd
1432 TUNSETNOCSUM = 0x400454c8
1433 TUNSETOFFLOAD = 0x400454d0
1434 TUNSETOWNER = 0x400454cc
1435 TUNSETPERSIST = 0x400454cb
1436 TUNSETSNDBUF = 0x400454d4
1437 TUNSETTXFILTER = 0x400454d1
1438 TUNSETVNETHDRSZ = 0x400454d8
1439 VDISCARD = 0xd
1440 VEOF = 0x4
1441 VEOL = 0xb
1442 VEOL2 = 0x10
1443 VERASE = 0x2
1444 VINTR = 0x0
1445 VKILL = 0x3
1446 VLNEXT = 0xf
1447 VMIN = 0x6
1448 VQUIT = 0x1
1449 VREPRINT = 0xc
1450 VSTART = 0x8
1451 VSTOP = 0x9
1452 VSUSP = 0xa
1453 VSWTC = 0x7
1454 VT0 = 0x0
1455 VT1 = 0x4000
1456 VTDLY = 0x4000
1457 VTIME = 0x5
1458 VWERASE = 0xe
1459 WALL = 0x40000000
1460 WCLONE = 0x80000000
1461 WCONTINUED = 0x8
1462 WEXITED = 0x4
1463 WNOHANG = 0x1
1464 WNOTHREAD = 0x20000000
1465 WNOWAIT = 0x1000000
1466 WORDSIZE = 0x40
1467 WSTOPPED = 0x2
1468 WUNTRACED = 0x2
1469 XCASE = 0x4
1470 XTABS = 0x1800
1471)
1472
1473// Errors
1474const (
1475 E2BIG = syscall.Errno(0x7)
1476 EACCES = syscall.Errno(0xd)
1477 EADDRINUSE = syscall.Errno(0x62)
1478 EADDRNOTAVAIL = syscall.Errno(0x63)
1479 EADV = syscall.Errno(0x44)
1480 EAFNOSUPPORT = syscall.Errno(0x61)
1481 EAGAIN = syscall.Errno(0xb)
1482 EALREADY = syscall.Errno(0x72)
1483 EBADE = syscall.Errno(0x34)
1484 EBADF = syscall.Errno(0x9)
1485 EBADFD = syscall.Errno(0x4d)
1486 EBADMSG = syscall.Errno(0x4a)
1487 EBADR = syscall.Errno(0x35)
1488 EBADRQC = syscall.Errno(0x38)
1489 EBADSLT = syscall.Errno(0x39)
1490 EBFONT = syscall.Errno(0x3b)
1491 EBUSY = syscall.Errno(0x10)
1492 ECANCELED = syscall.Errno(0x7d)
1493 ECHILD = syscall.Errno(0xa)
1494 ECHRNG = syscall.Errno(0x2c)
1495 ECOMM = syscall.Errno(0x46)
1496 ECONNABORTED = syscall.Errno(0x67)
1497 ECONNREFUSED = syscall.Errno(0x6f)
1498 ECONNRESET = syscall.Errno(0x68)
1499 EDEADLK = syscall.Errno(0x23)
1500 EDEADLOCK = syscall.Errno(0x23)
1501 EDESTADDRREQ = syscall.Errno(0x59)
1502 EDOM = syscall.Errno(0x21)
1503 EDOTDOT = syscall.Errno(0x49)
1504 EDQUOT = syscall.Errno(0x7a)
1505 EEXIST = syscall.Errno(0x11)
1506 EFAULT = syscall.Errno(0xe)
1507 EFBIG = syscall.Errno(0x1b)
1508 EHOSTDOWN = syscall.Errno(0x70)
1509 EHOSTUNREACH = syscall.Errno(0x71)
1510 EHWPOISON = syscall.Errno(0x85)
1511 EIDRM = syscall.Errno(0x2b)
1512 EILSEQ = syscall.Errno(0x54)
1513 EINPROGRESS = syscall.Errno(0x73)
1514 EINTR = syscall.Errno(0x4)
1515 EINVAL = syscall.Errno(0x16)
1516 EIO = syscall.Errno(0x5)
1517 EISCONN = syscall.Errno(0x6a)
1518 EISDIR = syscall.Errno(0x15)
1519 EISNAM = syscall.Errno(0x78)
1520 EKEYEXPIRED = syscall.Errno(0x7f)
1521 EKEYREJECTED = syscall.Errno(0x81)
1522 EKEYREVOKED = syscall.Errno(0x80)
1523 EL2HLT = syscall.Errno(0x33)
1524 EL2NSYNC = syscall.Errno(0x2d)
1525 EL3HLT = syscall.Errno(0x2e)
1526 EL3RST = syscall.Errno(0x2f)
1527 ELIBACC = syscall.Errno(0x4f)
1528 ELIBBAD = syscall.Errno(0x50)
1529 ELIBEXEC = syscall.Errno(0x53)
1530 ELIBMAX = syscall.Errno(0x52)
1531 ELIBSCN = syscall.Errno(0x51)
1532 ELNRNG = syscall.Errno(0x30)
1533 ELOOP = syscall.Errno(0x28)
1534 EMEDIUMTYPE = syscall.Errno(0x7c)
1535 EMFILE = syscall.Errno(0x18)
1536 EMLINK = syscall.Errno(0x1f)
1537 EMSGSIZE = syscall.Errno(0x5a)
1538 EMULTIHOP = syscall.Errno(0x48)
1539 ENAMETOOLONG = syscall.Errno(0x24)
1540 ENAVAIL = syscall.Errno(0x77)
1541 ENETDOWN = syscall.Errno(0x64)
1542 ENETRESET = syscall.Errno(0x66)
1543 ENETUNREACH = syscall.Errno(0x65)
1544 ENFILE = syscall.Errno(0x17)
1545 ENOANO = syscall.Errno(0x37)
1546 ENOBUFS = syscall.Errno(0x69)
1547 ENOCSI = syscall.Errno(0x32)
1548 ENODATA = syscall.Errno(0x3d)
1549 ENODEV = syscall.Errno(0x13)
1550 ENOENT = syscall.Errno(0x2)
1551 ENOEXEC = syscall.Errno(0x8)
1552 ENOKEY = syscall.Errno(0x7e)
1553 ENOLCK = syscall.Errno(0x25)
1554 ENOLINK = syscall.Errno(0x43)
1555 ENOMEDIUM = syscall.Errno(0x7b)
1556 ENOMEM = syscall.Errno(0xc)
1557 ENOMSG = syscall.Errno(0x2a)
1558 ENONET = syscall.Errno(0x40)
1559 ENOPKG = syscall.Errno(0x41)
1560 ENOPROTOOPT = syscall.Errno(0x5c)
1561 ENOSPC = syscall.Errno(0x1c)
1562 ENOSR = syscall.Errno(0x3f)
1563 ENOSTR = syscall.Errno(0x3c)
1564 ENOSYS = syscall.Errno(0x26)
1565 ENOTBLK = syscall.Errno(0xf)
1566 ENOTCONN = syscall.Errno(0x6b)
1567 ENOTDIR = syscall.Errno(0x14)
1568 ENOTEMPTY = syscall.Errno(0x27)
1569 ENOTNAM = syscall.Errno(0x76)
1570 ENOTRECOVERABLE = syscall.Errno(0x83)
1571 ENOTSOCK = syscall.Errno(0x58)
1572 ENOTSUP = syscall.Errno(0x5f)
1573 ENOTTY = syscall.Errno(0x19)
1574 ENOTUNIQ = syscall.Errno(0x4c)
1575 ENXIO = syscall.Errno(0x6)
1576 EOPNOTSUPP = syscall.Errno(0x5f)
1577 EOVERFLOW = syscall.Errno(0x4b)
1578 EOWNERDEAD = syscall.Errno(0x82)
1579 EPERM = syscall.Errno(0x1)
1580 EPFNOSUPPORT = syscall.Errno(0x60)
1581 EPIPE = syscall.Errno(0x20)
1582 EPROTO = syscall.Errno(0x47)
1583 EPROTONOSUPPORT = syscall.Errno(0x5d)
1584 EPROTOTYPE = syscall.Errno(0x5b)
1585 ERANGE = syscall.Errno(0x22)
1586 EREMCHG = syscall.Errno(0x4e)
1587 EREMOTE = syscall.Errno(0x42)
1588 EREMOTEIO = syscall.Errno(0x79)
1589 ERESTART = syscall.Errno(0x55)
1590 ERFKILL = syscall.Errno(0x84)
1591 EROFS = syscall.Errno(0x1e)
1592 ESHUTDOWN = syscall.Errno(0x6c)
1593 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1594 ESPIPE = syscall.Errno(0x1d)
1595 ESRCH = syscall.Errno(0x3)
1596 ESRMNT = syscall.Errno(0x45)
1597 ESTALE = syscall.Errno(0x74)
1598 ESTRPIPE = syscall.Errno(0x56)
1599 ETIME = syscall.Errno(0x3e)
1600 ETIMEDOUT = syscall.Errno(0x6e)
1601 ETOOMANYREFS = syscall.Errno(0x6d)
1602 ETXTBSY = syscall.Errno(0x1a)
1603 EUCLEAN = syscall.Errno(0x75)
1604 EUNATCH = syscall.Errno(0x31)
1605 EUSERS = syscall.Errno(0x57)
1606 EWOULDBLOCK = syscall.Errno(0xb)
1607 EXDEV = syscall.Errno(0x12)
1608 EXFULL = syscall.Errno(0x36)
1609)
1610
1611// Signals
1612const (
1613 SIGABRT = syscall.Signal(0x6)
1614 SIGALRM = syscall.Signal(0xe)
1615 SIGBUS = syscall.Signal(0x7)
1616 SIGCHLD = syscall.Signal(0x11)
1617 SIGCLD = syscall.Signal(0x11)
1618 SIGCONT = syscall.Signal(0x12)
1619 SIGFPE = syscall.Signal(0x8)
1620 SIGHUP = syscall.Signal(0x1)
1621 SIGILL = syscall.Signal(0x4)
1622 SIGINT = syscall.Signal(0x2)
1623 SIGIO = syscall.Signal(0x1d)
1624 SIGIOT = syscall.Signal(0x6)
1625 SIGKILL = syscall.Signal(0x9)
1626 SIGPIPE = syscall.Signal(0xd)
1627 SIGPOLL = syscall.Signal(0x1d)
1628 SIGPROF = syscall.Signal(0x1b)
1629 SIGPWR = syscall.Signal(0x1e)
1630 SIGQUIT = syscall.Signal(0x3)
1631 SIGSEGV = syscall.Signal(0xb)
1632 SIGSTKFLT = syscall.Signal(0x10)
1633 SIGSTOP = syscall.Signal(0x13)
1634 SIGSYS = syscall.Signal(0x1f)
1635 SIGTERM = syscall.Signal(0xf)
1636 SIGTRAP = syscall.Signal(0x5)
1637 SIGTSTP = syscall.Signal(0x14)
1638 SIGTTIN = syscall.Signal(0x15)
1639 SIGTTOU = syscall.Signal(0x16)
1640 SIGUNUSED = syscall.Signal(0x1f)
1641 SIGURG = syscall.Signal(0x17)
1642 SIGUSR1 = syscall.Signal(0xa)
1643 SIGUSR2 = syscall.Signal(0xc)
1644 SIGVTALRM = syscall.Signal(0x1a)
1645 SIGWINCH = syscall.Signal(0x1c)
1646 SIGXCPU = syscall.Signal(0x18)
1647 SIGXFSZ = syscall.Signal(0x19)
1648)
1649
1650// Error table
1651var errors = [...]string{
1652 1: "operation not permitted",
1653 2: "no such file or directory",
1654 3: "no such process",
1655 4: "interrupted system call",
1656 5: "input/output error",
1657 6: "no such device or address",
1658 7: "argument list too long",
1659 8: "exec format error",
1660 9: "bad file descriptor",
1661 10: "no child processes",
1662 11: "resource temporarily unavailable",
1663 12: "cannot allocate memory",
1664 13: "permission denied",
1665 14: "bad address",
1666 15: "block device required",
1667 16: "device or resource busy",
1668 17: "file exists",
1669 18: "invalid cross-device link",
1670 19: "no such device",
1671 20: "not a directory",
1672 21: "is a directory",
1673 22: "invalid argument",
1674 23: "too many open files in system",
1675 24: "too many open files",
1676 25: "inappropriate ioctl for device",
1677 26: "text file busy",
1678 27: "file too large",
1679 28: "no space left on device",
1680 29: "illegal seek",
1681 30: "read-only file system",
1682 31: "too many links",
1683 32: "broken pipe",
1684 33: "numerical argument out of domain",
1685 34: "numerical result out of range",
1686 35: "resource deadlock avoided",
1687 36: "file name too long",
1688 37: "no locks available",
1689 38: "function not implemented",
1690 39: "directory not empty",
1691 40: "too many levels of symbolic links",
1692 42: "no message of desired type",
1693 43: "identifier removed",
1694 44: "channel number out of range",
1695 45: "level 2 not synchronized",
1696 46: "level 3 halted",
1697 47: "level 3 reset",
1698 48: "link number out of range",
1699 49: "protocol driver not attached",
1700 50: "no CSI structure available",
1701 51: "level 2 halted",
1702 52: "invalid exchange",
1703 53: "invalid request descriptor",
1704 54: "exchange full",
1705 55: "no anode",
1706 56: "invalid request code",
1707 57: "invalid slot",
1708 59: "bad font file format",
1709 60: "device not a stream",
1710 61: "no data available",
1711 62: "timer expired",
1712 63: "out of streams resources",
1713 64: "machine is not on the network",
1714 65: "package not installed",
1715 66: "object is remote",
1716 67: "link has been severed",
1717 68: "advertise error",
1718 69: "srmount error",
1719 70: "communication error on send",
1720 71: "protocol error",
1721 72: "multihop attempted",
1722 73: "RFS specific error",
1723 74: "bad message",
1724 75: "value too large for defined data type",
1725 76: "name not unique on network",
1726 77: "file descriptor in bad state",
1727 78: "remote address changed",
1728 79: "can not access a needed shared library",
1729 80: "accessing a corrupted shared library",
1730 81: ".lib section in a.out corrupted",
1731 82: "attempting to link in too many shared libraries",
1732 83: "cannot exec a shared library directly",
1733 84: "invalid or incomplete multibyte or wide character",
1734 85: "interrupted system call should be restarted",
1735 86: "streams pipe error",
1736 87: "too many users",
1737 88: "socket operation on non-socket",
1738 89: "destination address required",
1739 90: "message too long",
1740 91: "protocol wrong type for socket",
1741 92: "protocol not available",
1742 93: "protocol not supported",
1743 94: "socket type not supported",
1744 95: "operation not supported",
1745 96: "protocol family not supported",
1746 97: "address family not supported by protocol",
1747 98: "address already in use",
1748 99: "cannot assign requested address",
1749 100: "network is down",
1750 101: "network is unreachable",
1751 102: "network dropped connection on reset",
1752 103: "software caused connection abort",
1753 104: "connection reset by peer",
1754 105: "no buffer space available",
1755 106: "transport endpoint is already connected",
1756 107: "transport endpoint is not connected",
1757 108: "cannot send after transport endpoint shutdown",
1758 109: "too many references: cannot splice",
1759 110: "connection timed out",
1760 111: "connection refused",
1761 112: "host is down",
1762 113: "no route to host",
1763 114: "operation already in progress",
1764 115: "operation now in progress",
1765 116: "stale NFS file handle",
1766 117: "structure needs cleaning",
1767 118: "not a XENIX named type file",
1768 119: "no XENIX semaphores available",
1769 120: "is a named type file",
1770 121: "remote I/O error",
1771 122: "disk quota exceeded",
1772 123: "no medium found",
1773 124: "wrong medium type",
1774 125: "operation canceled",
1775 126: "required key not available",
1776 127: "key has expired",
1777 128: "key has been revoked",
1778 129: "key was rejected by service",
1779 130: "owner died",
1780 131: "state not recoverable",
1781 132: "operation not possible due to RF-kill",
1782 133: "unknown error 133",
1783}
1784
1785// Signal table
1786var signals = [...]string{
1787 1: "hangup",
1788 2: "interrupt",
1789 3: "quit",
1790 4: "illegal instruction",
1791 5: "trace/breakpoint trap",
1792 6: "aborted",
1793 7: "bus error",
1794 8: "floating point exception",
1795 9: "killed",
1796 10: "user defined signal 1",
1797 11: "segmentation fault",
1798 12: "user defined signal 2",
1799 13: "broken pipe",
1800 14: "alarm clock",
1801 15: "terminated",
1802 16: "stack fault",
1803 17: "child exited",
1804 18: "continued",
1805 19: "stopped (signal)",
1806 20: "stopped",
1807 21: "stopped (tty input)",
1808 22: "stopped (tty output)",
1809 23: "urgent I/O condition",
1810 24: "CPU time limit exceeded",
1811 25: "file size limit exceeded",
1812 26: "virtual timer expired",
1813 27: "profiling timer expired",
1814 28: "window changed",
1815 29: "I/O possible",
1816 30: "power failure",
1817 31: "bad system call",
1818}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm.go
deleted file mode 100644
index 1cc76a7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm.go
+++ /dev/null
@@ -1,1742 +0,0 @@
1// mkerrors.sh
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x27
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_PACKET = 0x11
42 AF_PHONET = 0x23
43 AF_PPPOX = 0x18
44 AF_RDS = 0x15
45 AF_ROSE = 0xb
46 AF_ROUTE = 0x10
47 AF_RXRPC = 0x21
48 AF_SECURITY = 0xe
49 AF_SNA = 0x16
50 AF_TIPC = 0x1e
51 AF_UNIX = 0x1
52 AF_UNSPEC = 0x0
53 AF_WANPIPE = 0x19
54 AF_X25 = 0x9
55 ARPHRD_ADAPT = 0x108
56 ARPHRD_APPLETLK = 0x8
57 ARPHRD_ARCNET = 0x7
58 ARPHRD_ASH = 0x30d
59 ARPHRD_ATM = 0x13
60 ARPHRD_AX25 = 0x3
61 ARPHRD_BIF = 0x307
62 ARPHRD_CHAOS = 0x5
63 ARPHRD_CISCO = 0x201
64 ARPHRD_CSLIP = 0x101
65 ARPHRD_CSLIP6 = 0x103
66 ARPHRD_DDCMP = 0x205
67 ARPHRD_DLCI = 0xf
68 ARPHRD_ECONET = 0x30e
69 ARPHRD_EETHER = 0x2
70 ARPHRD_ETHER = 0x1
71 ARPHRD_EUI64 = 0x1b
72 ARPHRD_FCAL = 0x311
73 ARPHRD_FCFABRIC = 0x313
74 ARPHRD_FCPL = 0x312
75 ARPHRD_FCPP = 0x310
76 ARPHRD_FDDI = 0x306
77 ARPHRD_FRAD = 0x302
78 ARPHRD_HDLC = 0x201
79 ARPHRD_HIPPI = 0x30c
80 ARPHRD_HWX25 = 0x110
81 ARPHRD_IEEE1394 = 0x18
82 ARPHRD_IEEE802 = 0x6
83 ARPHRD_IEEE80211 = 0x321
84 ARPHRD_IEEE80211_PRISM = 0x322
85 ARPHRD_IEEE80211_RADIOTAP = 0x323
86 ARPHRD_IEEE802154 = 0x324
87 ARPHRD_IEEE802154_PHY = 0x325
88 ARPHRD_IEEE802_TR = 0x320
89 ARPHRD_INFINIBAND = 0x20
90 ARPHRD_IPDDP = 0x309
91 ARPHRD_IPGRE = 0x30a
92 ARPHRD_IRDA = 0x30f
93 ARPHRD_LAPB = 0x204
94 ARPHRD_LOCALTLK = 0x305
95 ARPHRD_LOOPBACK = 0x304
96 ARPHRD_METRICOM = 0x17
97 ARPHRD_NETROM = 0x0
98 ARPHRD_NONE = 0xfffe
99 ARPHRD_PIMREG = 0x30b
100 ARPHRD_PPP = 0x200
101 ARPHRD_PRONET = 0x4
102 ARPHRD_RAWHDLC = 0x206
103 ARPHRD_ROSE = 0x10e
104 ARPHRD_RSRVD = 0x104
105 ARPHRD_SIT = 0x308
106 ARPHRD_SKIP = 0x303
107 ARPHRD_SLIP = 0x100
108 ARPHRD_SLIP6 = 0x102
109 ARPHRD_TUNNEL = 0x300
110 ARPHRD_TUNNEL6 = 0x301
111 ARPHRD_VOID = 0xffff
112 ARPHRD_X25 = 0x10f
113 B0 = 0x0
114 B1000000 = 0x1008
115 B110 = 0x3
116 B115200 = 0x1002
117 B1152000 = 0x1009
118 B1200 = 0x9
119 B134 = 0x4
120 B150 = 0x5
121 B1500000 = 0x100a
122 B1800 = 0xa
123 B19200 = 0xe
124 B200 = 0x6
125 B2000000 = 0x100b
126 B230400 = 0x1003
127 B2400 = 0xb
128 B2500000 = 0x100c
129 B300 = 0x7
130 B3000000 = 0x100d
131 B3500000 = 0x100e
132 B38400 = 0xf
133 B4000000 = 0x100f
134 B460800 = 0x1004
135 B4800 = 0xc
136 B50 = 0x1
137 B500000 = 0x1005
138 B57600 = 0x1001
139 B576000 = 0x1006
140 B600 = 0x8
141 B75 = 0x2
142 B921600 = 0x1007
143 B9600 = 0xd
144 BOTHER = 0x1000
145 BPF_A = 0x10
146 BPF_ABS = 0x20
147 BPF_ADD = 0x0
148 BPF_ALU = 0x4
149 BPF_AND = 0x50
150 BPF_B = 0x10
151 BPF_DIV = 0x30
152 BPF_H = 0x8
153 BPF_IMM = 0x0
154 BPF_IND = 0x40
155 BPF_JA = 0x0
156 BPF_JEQ = 0x10
157 BPF_JGE = 0x30
158 BPF_JGT = 0x20
159 BPF_JMP = 0x5
160 BPF_JSET = 0x40
161 BPF_K = 0x0
162 BPF_LD = 0x0
163 BPF_LDX = 0x1
164 BPF_LEN = 0x80
165 BPF_LSH = 0x60
166 BPF_MAJOR_VERSION = 0x1
167 BPF_MAXINSNS = 0x1000
168 BPF_MEM = 0x60
169 BPF_MEMWORDS = 0x10
170 BPF_MINOR_VERSION = 0x1
171 BPF_MISC = 0x7
172 BPF_MSH = 0xa0
173 BPF_MUL = 0x20
174 BPF_NEG = 0x80
175 BPF_OR = 0x40
176 BPF_RET = 0x6
177 BPF_RSH = 0x70
178 BPF_ST = 0x2
179 BPF_STX = 0x3
180 BPF_SUB = 0x10
181 BPF_TAX = 0x0
182 BPF_TXA = 0x80
183 BPF_W = 0x0
184 BPF_X = 0x8
185 BRKINT = 0x2
186 BS0 = 0x0
187 BS1 = 0x2000
188 BSDLY = 0x2000
189 CBAUD = 0x100f
190 CBAUDEX = 0x1000
191 CFLUSH = 0xf
192 CIBAUD = 0x100f0000
193 CLOCAL = 0x800
194 CLOCK_BOOTTIME = 0x7
195 CLOCK_BOOTTIME_ALARM = 0x9
196 CLOCK_DEFAULT = 0x0
197 CLOCK_EXT = 0x1
198 CLOCK_INT = 0x2
199 CLOCK_MONOTONIC = 0x1
200 CLOCK_MONOTONIC_COARSE = 0x6
201 CLOCK_MONOTONIC_RAW = 0x4
202 CLOCK_PROCESS_CPUTIME_ID = 0x2
203 CLOCK_REALTIME = 0x0
204 CLOCK_REALTIME_ALARM = 0x8
205 CLOCK_REALTIME_COARSE = 0x5
206 CLOCK_THREAD_CPUTIME_ID = 0x3
207 CLOCK_TXFROMRX = 0x4
208 CLOCK_TXINT = 0x3
209 CLONE_CHILD_CLEARTID = 0x200000
210 CLONE_CHILD_SETTID = 0x1000000
211 CLONE_DETACHED = 0x400000
212 CLONE_FILES = 0x400
213 CLONE_FS = 0x200
214 CLONE_IO = 0x80000000
215 CLONE_NEWIPC = 0x8000000
216 CLONE_NEWNET = 0x40000000
217 CLONE_NEWNS = 0x20000
218 CLONE_NEWPID = 0x20000000
219 CLONE_NEWUSER = 0x10000000
220 CLONE_NEWUTS = 0x4000000
221 CLONE_PARENT = 0x8000
222 CLONE_PARENT_SETTID = 0x100000
223 CLONE_PTRACE = 0x2000
224 CLONE_SETTLS = 0x80000
225 CLONE_SIGHAND = 0x800
226 CLONE_SYSVSEM = 0x40000
227 CLONE_THREAD = 0x10000
228 CLONE_UNTRACED = 0x800000
229 CLONE_VFORK = 0x4000
230 CLONE_VM = 0x100
231 CMSPAR = 0x40000000
232 CR0 = 0x0
233 CR1 = 0x200
234 CR2 = 0x400
235 CR3 = 0x600
236 CRDLY = 0x600
237 CREAD = 0x80
238 CRTSCTS = 0x80000000
239 CS5 = 0x0
240 CS6 = 0x10
241 CS7 = 0x20
242 CS8 = 0x30
243 CSIGNAL = 0xff
244 CSIZE = 0x30
245 CSTART = 0x11
246 CSTATUS = 0x0
247 CSTOP = 0x13
248 CSTOPB = 0x40
249 CSUSP = 0x1a
250 DT_BLK = 0x6
251 DT_CHR = 0x2
252 DT_DIR = 0x4
253 DT_FIFO = 0x1
254 DT_LNK = 0xa
255 DT_REG = 0x8
256 DT_SOCK = 0xc
257 DT_UNKNOWN = 0x0
258 DT_WHT = 0xe
259 ELF_NGREG = 0x12
260 ELF_PRARGSZ = 0x50
261 ECHO = 0x8
262 ECHOCTL = 0x200
263 ECHOE = 0x10
264 ECHOK = 0x20
265 ECHOKE = 0x800
266 ECHONL = 0x40
267 ECHOPRT = 0x400
268 EPOLLERR = 0x8
269 EPOLLET = -0x80000000
270 EPOLLHUP = 0x10
271 EPOLLIN = 0x1
272 EPOLLMSG = 0x400
273 EPOLLONESHOT = 0x40000000
274 EPOLLOUT = 0x4
275 EPOLLPRI = 0x2
276 EPOLLRDBAND = 0x80
277 EPOLLRDHUP = 0x2000
278 EPOLLRDNORM = 0x40
279 EPOLLWRBAND = 0x200
280 EPOLLWRNORM = 0x100
281 EPOLL_CLOEXEC = 0x80000
282 EPOLL_CTL_ADD = 0x1
283 EPOLL_CTL_DEL = 0x2
284 EPOLL_CTL_MOD = 0x3
285 EPOLL_NONBLOCK = 0x800
286 ETH_P_1588 = 0x88f7
287 ETH_P_8021Q = 0x8100
288 ETH_P_802_2 = 0x4
289 ETH_P_802_3 = 0x1
290 ETH_P_AARP = 0x80f3
291 ETH_P_ALL = 0x3
292 ETH_P_AOE = 0x88a2
293 ETH_P_ARCNET = 0x1a
294 ETH_P_ARP = 0x806
295 ETH_P_ATALK = 0x809b
296 ETH_P_ATMFATE = 0x8884
297 ETH_P_ATMMPOA = 0x884c
298 ETH_P_AX25 = 0x2
299 ETH_P_BPQ = 0x8ff
300 ETH_P_CAIF = 0xf7
301 ETH_P_CAN = 0xc
302 ETH_P_CONTROL = 0x16
303 ETH_P_CUST = 0x6006
304 ETH_P_DDCMP = 0x6
305 ETH_P_DEC = 0x6000
306 ETH_P_DIAG = 0x6005
307 ETH_P_DNA_DL = 0x6001
308 ETH_P_DNA_RC = 0x6002
309 ETH_P_DNA_RT = 0x6003
310 ETH_P_DSA = 0x1b
311 ETH_P_ECONET = 0x18
312 ETH_P_EDSA = 0xdada
313 ETH_P_FCOE = 0x8906
314 ETH_P_FIP = 0x8914
315 ETH_P_HDLC = 0x19
316 ETH_P_IEEE802154 = 0xf6
317 ETH_P_IEEEPUP = 0xa00
318 ETH_P_IEEEPUPAT = 0xa01
319 ETH_P_IP = 0x800
320 ETH_P_IPV6 = 0x86dd
321 ETH_P_IPX = 0x8137
322 ETH_P_IRDA = 0x17
323 ETH_P_LAT = 0x6004
324 ETH_P_LINK_CTL = 0x886c
325 ETH_P_LOCALTALK = 0x9
326 ETH_P_LOOP = 0x60
327 ETH_P_MOBITEX = 0x15
328 ETH_P_MPLS_MC = 0x8848
329 ETH_P_MPLS_UC = 0x8847
330 ETH_P_PAE = 0x888e
331 ETH_P_PAUSE = 0x8808
332 ETH_P_PHONET = 0xf5
333 ETH_P_PPPTALK = 0x10
334 ETH_P_PPP_DISC = 0x8863
335 ETH_P_PPP_MP = 0x8
336 ETH_P_PPP_SES = 0x8864
337 ETH_P_PUP = 0x200
338 ETH_P_PUPAT = 0x201
339 ETH_P_RARP = 0x8035
340 ETH_P_SCA = 0x6007
341 ETH_P_SLOW = 0x8809
342 ETH_P_SNAP = 0x5
343 ETH_P_TEB = 0x6558
344 ETH_P_TIPC = 0x88ca
345 ETH_P_TRAILER = 0x1c
346 ETH_P_TR_802_2 = 0x11
347 ETH_P_WAN_PPP = 0x7
348 ETH_P_WCCP = 0x883e
349 ETH_P_X25 = 0x805
350 EXTA = 0xe
351 EXTB = 0xf
352 EXTPROC = 0x10000
353 FD_CLOEXEC = 0x1
354 FD_SETSIZE = 0x400
355 FF0 = 0x0
356 FF1 = 0x8000
357 FFDLY = 0x8000
358 FLUSHO = 0x1000
359 F_DUPFD = 0x0
360 F_DUPFD_CLOEXEC = 0x406
361 F_EXLCK = 0x4
362 F_GETFD = 0x1
363 F_GETFL = 0x3
364 F_GETLEASE = 0x401
365 F_GETLK = 0xc
366 F_GETLK64 = 0xc
367 F_GETOWN = 0x9
368 F_GETOWN_EX = 0x10
369 F_GETPIPE_SZ = 0x408
370 F_GETSIG = 0xb
371 F_LOCK = 0x1
372 F_NOTIFY = 0x402
373 F_OK = 0x0
374 F_RDLCK = 0x0
375 F_SETFD = 0x2
376 F_SETFL = 0x4
377 F_SETLEASE = 0x400
378 F_SETLK = 0xd
379 F_SETLK64 = 0xd
380 F_SETLKW = 0xe
381 F_SETLKW64 = 0xe
382 F_SETOWN = 0x8
383 F_SETOWN_EX = 0xf
384 F_SETPIPE_SZ = 0x407
385 F_SETSIG = 0xa
386 F_SHLCK = 0x8
387 F_TEST = 0x3
388 F_TLOCK = 0x2
389 F_ULOCK = 0x0
390 F_UNLCK = 0x2
391 F_WRLCK = 0x1
392 HUPCL = 0x400
393 IBSHIFT = 0x10
394 ICANON = 0x2
395 ICMPV6_FILTER = 0x1
396 ICRNL = 0x100
397 IEXTEN = 0x8000
398 IFA_F_DADFAILED = 0x8
399 IFA_F_DEPRECATED = 0x20
400 IFA_F_HOMEADDRESS = 0x10
401 IFA_F_NODAD = 0x2
402 IFA_F_OPTIMISTIC = 0x4
403 IFA_F_PERMANENT = 0x80
404 IFA_F_SECONDARY = 0x1
405 IFA_F_TEMPORARY = 0x1
406 IFA_F_TENTATIVE = 0x40
407 IFA_MAX = 0x7
408 IFF_ALLMULTI = 0x200
409 IFF_AUTOMEDIA = 0x4000
410 IFF_BROADCAST = 0x2
411 IFF_DEBUG = 0x4
412 IFF_DYNAMIC = 0x8000
413 IFF_LOOPBACK = 0x8
414 IFF_MASTER = 0x400
415 IFF_MULTICAST = 0x1000
416 IFF_NOARP = 0x80
417 IFF_NOTRAILERS = 0x20
418 IFF_NO_PI = 0x1000
419 IFF_ONE_QUEUE = 0x2000
420 IFF_POINTOPOINT = 0x10
421 IFF_PORTSEL = 0x2000
422 IFF_PROMISC = 0x100
423 IFF_RUNNING = 0x40
424 IFF_SLAVE = 0x800
425 IFF_TAP = 0x2
426 IFF_TUN = 0x1
427 IFF_TUN_EXCL = 0x8000
428 IFF_UP = 0x1
429 IFF_VNET_HDR = 0x4000
430 IFNAMSIZ = 0x10
431 IGNBRK = 0x1
432 IGNCR = 0x80
433 IGNPAR = 0x4
434 IMAXBEL = 0x2000
435 INLCR = 0x40
436 INPCK = 0x10
437 IN_ACCESS = 0x1
438 IN_ALL_EVENTS = 0xfff
439 IN_ATTRIB = 0x4
440 IN_CLASSA_HOST = 0xffffff
441 IN_CLASSA_MAX = 0x80
442 IN_CLASSA_NET = 0xff000000
443 IN_CLASSA_NSHIFT = 0x18
444 IN_CLASSB_HOST = 0xffff
445 IN_CLASSB_MAX = 0x10000
446 IN_CLASSB_NET = 0xffff0000
447 IN_CLASSB_NSHIFT = 0x10
448 IN_CLASSC_HOST = 0xff
449 IN_CLASSC_NET = 0xffffff00
450 IN_CLASSC_NSHIFT = 0x8
451 IN_CLOEXEC = 0x80000
452 IN_CLOSE = 0x18
453 IN_CLOSE_NOWRITE = 0x10
454 IN_CLOSE_WRITE = 0x8
455 IN_CREATE = 0x100
456 IN_DELETE = 0x200
457 IN_DELETE_SELF = 0x400
458 IN_DONT_FOLLOW = 0x2000000
459 IN_EXCL_UNLINK = 0x4000000
460 IN_IGNORED = 0x8000
461 IN_ISDIR = 0x40000000
462 IN_LOOPBACKNET = 0x7f
463 IN_MASK_ADD = 0x20000000
464 IN_MODIFY = 0x2
465 IN_MOVE = 0xc0
466 IN_MOVED_FROM = 0x40
467 IN_MOVED_TO = 0x80
468 IN_MOVE_SELF = 0x800
469 IN_NONBLOCK = 0x800
470 IN_ONESHOT = 0x80000000
471 IN_ONLYDIR = 0x1000000
472 IN_OPEN = 0x20
473 IN_Q_OVERFLOW = 0x4000
474 IN_UNMOUNT = 0x2000
475 IPPROTO_AH = 0x33
476 IPPROTO_COMP = 0x6c
477 IPPROTO_DCCP = 0x21
478 IPPROTO_DSTOPTS = 0x3c
479 IPPROTO_EGP = 0x8
480 IPPROTO_ENCAP = 0x62
481 IPPROTO_ESP = 0x32
482 IPPROTO_FRAGMENT = 0x2c
483 IPPROTO_GRE = 0x2f
484 IPPROTO_HOPOPTS = 0x0
485 IPPROTO_ICMP = 0x1
486 IPPROTO_ICMPV6 = 0x3a
487 IPPROTO_IDP = 0x16
488 IPPROTO_IGMP = 0x2
489 IPPROTO_IP = 0x0
490 IPPROTO_IPIP = 0x4
491 IPPROTO_IPV6 = 0x29
492 IPPROTO_MTP = 0x5c
493 IPPROTO_NONE = 0x3b
494 IPPROTO_PIM = 0x67
495 IPPROTO_PUP = 0xc
496 IPPROTO_RAW = 0xff
497 IPPROTO_ROUTING = 0x2b
498 IPPROTO_RSVP = 0x2e
499 IPPROTO_SCTP = 0x84
500 IPPROTO_TCP = 0x6
501 IPPROTO_TP = 0x1d
502 IPPROTO_UDP = 0x11
503 IPPROTO_UDPLITE = 0x88
504 IPV6_2292DSTOPTS = 0x4
505 IPV6_2292HOPLIMIT = 0x8
506 IPV6_2292HOPOPTS = 0x3
507 IPV6_2292PKTINFO = 0x2
508 IPV6_2292PKTOPTIONS = 0x6
509 IPV6_2292RTHDR = 0x5
510 IPV6_ADDRFORM = 0x1
511 IPV6_ADD_MEMBERSHIP = 0x14
512 IPV6_AUTHHDR = 0xa
513 IPV6_CHECKSUM = 0x7
514 IPV6_DROP_MEMBERSHIP = 0x15
515 IPV6_DSTOPTS = 0x3b
516 IPV6_HOPLIMIT = 0x34
517 IPV6_HOPOPTS = 0x36
518 IPV6_IPSEC_POLICY = 0x22
519 IPV6_JOIN_ANYCAST = 0x1b
520 IPV6_JOIN_GROUP = 0x14
521 IPV6_LEAVE_ANYCAST = 0x1c
522 IPV6_LEAVE_GROUP = 0x15
523 IPV6_MTU = 0x18
524 IPV6_MTU_DISCOVER = 0x17
525 IPV6_MULTICAST_HOPS = 0x12
526 IPV6_MULTICAST_IF = 0x11
527 IPV6_MULTICAST_LOOP = 0x13
528 IPV6_NEXTHOP = 0x9
529 IPV6_PKTINFO = 0x32
530 IPV6_PMTUDISC_DO = 0x2
531 IPV6_PMTUDISC_DONT = 0x0
532 IPV6_PMTUDISC_PROBE = 0x3
533 IPV6_PMTUDISC_WANT = 0x1
534 IPV6_RECVDSTOPTS = 0x3a
535 IPV6_RECVERR = 0x19
536 IPV6_RECVHOPLIMIT = 0x33
537 IPV6_RECVHOPOPTS = 0x35
538 IPV6_RECVPKTINFO = 0x31
539 IPV6_RECVRTHDR = 0x38
540 IPV6_RECVTCLASS = 0x42
541 IPV6_ROUTER_ALERT = 0x16
542 IPV6_RTHDR = 0x39
543 IPV6_RTHDRDSTOPTS = 0x37
544 IPV6_RTHDR_LOOSE = 0x0
545 IPV6_RTHDR_STRICT = 0x1
546 IPV6_RTHDR_TYPE_0 = 0x0
547 IPV6_RXDSTOPTS = 0x3b
548 IPV6_RXHOPOPTS = 0x36
549 IPV6_TCLASS = 0x43
550 IPV6_UNICAST_HOPS = 0x10
551 IPV6_V6ONLY = 0x1a
552 IPV6_XFRM_POLICY = 0x23
553 IP_ADD_MEMBERSHIP = 0x23
554 IP_ADD_SOURCE_MEMBERSHIP = 0x27
555 IP_BLOCK_SOURCE = 0x26
556 IP_DEFAULT_MULTICAST_LOOP = 0x1
557 IP_DEFAULT_MULTICAST_TTL = 0x1
558 IP_DF = 0x4000
559 IP_DROP_MEMBERSHIP = 0x24
560 IP_DROP_SOURCE_MEMBERSHIP = 0x28
561 IP_FREEBIND = 0xf
562 IP_HDRINCL = 0x3
563 IP_IPSEC_POLICY = 0x10
564 IP_MAXPACKET = 0xffff
565 IP_MAX_MEMBERSHIPS = 0x14
566 IP_MF = 0x2000
567 IP_MINTTL = 0x15
568 IP_MSFILTER = 0x29
569 IP_MSS = 0x240
570 IP_MTU = 0xe
571 IP_MTU_DISCOVER = 0xa
572 IP_MULTICAST_IF = 0x20
573 IP_MULTICAST_LOOP = 0x22
574 IP_MULTICAST_TTL = 0x21
575 IP_OFFMASK = 0x1fff
576 IP_OPTIONS = 0x4
577 IP_ORIGDSTADDR = 0x14
578 IP_PASSSEC = 0x12
579 IP_PKTINFO = 0x8
580 IP_PKTOPTIONS = 0x9
581 IP_PMTUDISC = 0xa
582 IP_PMTUDISC_DO = 0x2
583 IP_PMTUDISC_DONT = 0x0
584 IP_PMTUDISC_PROBE = 0x3
585 IP_PMTUDISC_WANT = 0x1
586 IP_RECVERR = 0xb
587 IP_RECVOPTS = 0x6
588 IP_RECVORIGDSTADDR = 0x14
589 IP_RECVRETOPTS = 0x7
590 IP_RECVTOS = 0xd
591 IP_RECVTTL = 0xc
592 IP_RETOPTS = 0x7
593 IP_RF = 0x8000
594 IP_ROUTER_ALERT = 0x5
595 IP_TOS = 0x1
596 IP_TRANSPARENT = 0x13
597 IP_TTL = 0x2
598 IP_UNBLOCK_SOURCE = 0x25
599 IP_XFRM_POLICY = 0x11
600 ISIG = 0x1
601 ISTRIP = 0x20
602 IUCLC = 0x200
603 IUTF8 = 0x4000
604 IXANY = 0x800
605 IXOFF = 0x1000
606 IXON = 0x400
607 LINUX_REBOOT_CMD_CAD_OFF = 0x0
608 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
609 LINUX_REBOOT_CMD_HALT = 0xcdef0123
610 LINUX_REBOOT_CMD_KEXEC = 0x45584543
611 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
612 LINUX_REBOOT_CMD_RESTART = 0x1234567
613 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
614 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
615 LINUX_REBOOT_MAGIC1 = 0xfee1dead
616 LINUX_REBOOT_MAGIC2 = 0x28121969
617 LOCK_EX = 0x2
618 LOCK_NB = 0x4
619 LOCK_SH = 0x1
620 LOCK_UN = 0x8
621 MADV_DOFORK = 0xb
622 MADV_DONTFORK = 0xa
623 MADV_DONTNEED = 0x4
624 MADV_HUGEPAGE = 0xe
625 MADV_HWPOISON = 0x64
626 MADV_MERGEABLE = 0xc
627 MADV_NOHUGEPAGE = 0xf
628 MADV_NORMAL = 0x0
629 MADV_RANDOM = 0x1
630 MADV_REMOVE = 0x9
631 MADV_SEQUENTIAL = 0x2
632 MADV_UNMERGEABLE = 0xd
633 MADV_WILLNEED = 0x3
634 MAP_ANON = 0x20
635 MAP_ANONYMOUS = 0x20
636 MAP_DENYWRITE = 0x800
637 MAP_EXECUTABLE = 0x1000
638 MAP_FILE = 0x0
639 MAP_FIXED = 0x10
640 MAP_GROWSDOWN = 0x100
641 MAP_LOCKED = 0x2000
642 MAP_NONBLOCK = 0x10000
643 MAP_NORESERVE = 0x4000
644 MAP_POPULATE = 0x8000
645 MAP_PRIVATE = 0x2
646 MAP_SHARED = 0x1
647 MAP_TYPE = 0xf
648 MCL_CURRENT = 0x1
649 MCL_FUTURE = 0x2
650 MNT_DETACH = 0x2
651 MNT_EXPIRE = 0x4
652 MNT_FORCE = 0x1
653 MSG_CMSG_CLOEXEC = 0x40000000
654 MSG_CONFIRM = 0x800
655 MSG_CTRUNC = 0x8
656 MSG_DONTROUTE = 0x4
657 MSG_DONTWAIT = 0x40
658 MSG_EOR = 0x80
659 MSG_ERRQUEUE = 0x2000
660 MSG_FASTOPEN = 0x20000000
661 MSG_FIN = 0x200
662 MSG_MORE = 0x8000
663 MSG_NOSIGNAL = 0x4000
664 MSG_OOB = 0x1
665 MSG_PEEK = 0x2
666 MSG_PROXY = 0x10
667 MSG_RST = 0x1000
668 MSG_SYN = 0x400
669 MSG_TRUNC = 0x20
670 MSG_TRYHARD = 0x4
671 MSG_WAITALL = 0x100
672 MSG_WAITFORONE = 0x10000
673 MS_ACTIVE = 0x40000000
674 MS_ASYNC = 0x1
675 MS_BIND = 0x1000
676 MS_DIRSYNC = 0x80
677 MS_INVALIDATE = 0x2
678 MS_I_VERSION = 0x800000
679 MS_KERNMOUNT = 0x400000
680 MS_MANDLOCK = 0x40
681 MS_MGC_MSK = 0xffff0000
682 MS_MGC_VAL = 0xc0ed0000
683 MS_MOVE = 0x2000
684 MS_NOATIME = 0x400
685 MS_NODEV = 0x4
686 MS_NODIRATIME = 0x800
687 MS_NOEXEC = 0x8
688 MS_NOSUID = 0x2
689 MS_NOUSER = -0x80000000
690 MS_POSIXACL = 0x10000
691 MS_PRIVATE = 0x40000
692 MS_RDONLY = 0x1
693 MS_REC = 0x4000
694 MS_RELATIME = 0x200000
695 MS_REMOUNT = 0x20
696 MS_RMT_MASK = 0x800051
697 MS_SHARED = 0x100000
698 MS_SILENT = 0x8000
699 MS_SLAVE = 0x80000
700 MS_STRICTATIME = 0x1000000
701 MS_SYNC = 0x4
702 MS_SYNCHRONOUS = 0x10
703 MS_UNBINDABLE = 0x20000
704 NAME_MAX = 0xff
705 NETLINK_ADD_MEMBERSHIP = 0x1
706 NETLINK_AUDIT = 0x9
707 NETLINK_BROADCAST_ERROR = 0x4
708 NETLINK_CONNECTOR = 0xb
709 NETLINK_DNRTMSG = 0xe
710 NETLINK_DROP_MEMBERSHIP = 0x2
711 NETLINK_ECRYPTFS = 0x13
712 NETLINK_FIB_LOOKUP = 0xa
713 NETLINK_FIREWALL = 0x3
714 NETLINK_GENERIC = 0x10
715 NETLINK_INET_DIAG = 0x4
716 NETLINK_IP6_FW = 0xd
717 NETLINK_ISCSI = 0x8
718 NETLINK_KOBJECT_UEVENT = 0xf
719 NETLINK_NETFILTER = 0xc
720 NETLINK_NFLOG = 0x5
721 NETLINK_NO_ENOBUFS = 0x5
722 NETLINK_PKTINFO = 0x3
723 NETLINK_RDMA = 0x14
724 NETLINK_ROUTE = 0x0
725 NETLINK_SCSITRANSPORT = 0x12
726 NETLINK_SELINUX = 0x7
727 NETLINK_UNUSED = 0x1
728 NETLINK_USERSOCK = 0x2
729 NETLINK_XFRM = 0x6
730 NL0 = 0x0
731 NL1 = 0x100
732 NLA_ALIGNTO = 0x4
733 NLA_F_NESTED = 0x8000
734 NLA_F_NET_BYTEORDER = 0x4000
735 NLA_HDRLEN = 0x4
736 NLDLY = 0x100
737 NLMSG_ALIGNTO = 0x4
738 NLMSG_DONE = 0x3
739 NLMSG_ERROR = 0x2
740 NLMSG_HDRLEN = 0x10
741 NLMSG_MIN_TYPE = 0x10
742 NLMSG_NOOP = 0x1
743 NLMSG_OVERRUN = 0x4
744 NLM_F_ACK = 0x4
745 NLM_F_APPEND = 0x800
746 NLM_F_ATOMIC = 0x400
747 NLM_F_CREATE = 0x400
748 NLM_F_DUMP = 0x300
749 NLM_F_ECHO = 0x8
750 NLM_F_EXCL = 0x200
751 NLM_F_MATCH = 0x200
752 NLM_F_MULTI = 0x2
753 NLM_F_REPLACE = 0x100
754 NLM_F_REQUEST = 0x1
755 NLM_F_ROOT = 0x100
756 NOFLSH = 0x80
757 OCRNL = 0x8
758 OFDEL = 0x80
759 OFILL = 0x40
760 OLCUC = 0x2
761 ONLCR = 0x4
762 ONLRET = 0x20
763 ONOCR = 0x10
764 OPOST = 0x1
765 O_ACCMODE = 0x3
766 O_APPEND = 0x400
767 O_ASYNC = 0x2000
768 O_CLOEXEC = 0x80000
769 O_CREAT = 0x40
770 O_DIRECT = 0x10000
771 O_DIRECTORY = 0x4000
772 O_DSYNC = 0x1000
773 O_EXCL = 0x80
774 O_FSYNC = 0x1000
775 O_LARGEFILE = 0x20000
776 O_NDELAY = 0x800
777 O_NOATIME = 0x40000
778 O_NOCTTY = 0x100
779 O_NOFOLLOW = 0x8000
780 O_NONBLOCK = 0x800
781 O_PATH = 0x200000
782 O_RDONLY = 0x0
783 O_RDWR = 0x2
784 O_RSYNC = 0x1000
785 O_SYNC = 0x1000
786 O_TRUNC = 0x200
787 O_WRONLY = 0x1
788 PACKET_ADD_MEMBERSHIP = 0x1
789 PACKET_BROADCAST = 0x1
790 PACKET_DROP_MEMBERSHIP = 0x2
791 PACKET_FASTROUTE = 0x6
792 PACKET_HOST = 0x0
793 PACKET_LOOPBACK = 0x5
794 PACKET_MR_ALLMULTI = 0x2
795 PACKET_MR_MULTICAST = 0x0
796 PACKET_MR_PROMISC = 0x1
797 PACKET_MULTICAST = 0x2
798 PACKET_OTHERHOST = 0x3
799 PACKET_OUTGOING = 0x4
800 PACKET_RECV_OUTPUT = 0x3
801 PACKET_RX_RING = 0x5
802 PACKET_STATISTICS = 0x6
803 PARENB = 0x100
804 PARMRK = 0x8
805 PARODD = 0x200
806 PENDIN = 0x4000
807 PRIO_PGRP = 0x1
808 PRIO_PROCESS = 0x0
809 PRIO_USER = 0x2
810 PROT_EXEC = 0x4
811 PROT_GROWSDOWN = 0x1000000
812 PROT_GROWSUP = 0x2000000
813 PROT_NONE = 0x0
814 PROT_READ = 0x1
815 PROT_WRITE = 0x2
816 PR_CAPBSET_DROP = 0x18
817 PR_CAPBSET_READ = 0x17
818 PR_CLEAR_SECCOMP_FILTER = 0x25
819 PR_ENDIAN_BIG = 0x0
820 PR_ENDIAN_LITTLE = 0x1
821 PR_ENDIAN_PPC_LITTLE = 0x2
822 PR_FPEMU_NOPRINT = 0x1
823 PR_FPEMU_SIGFPE = 0x2
824 PR_FP_EXC_ASYNC = 0x2
825 PR_FP_EXC_DISABLED = 0x0
826 PR_FP_EXC_DIV = 0x10000
827 PR_FP_EXC_INV = 0x100000
828 PR_FP_EXC_NONRECOV = 0x1
829 PR_FP_EXC_OVF = 0x20000
830 PR_FP_EXC_PRECISE = 0x3
831 PR_FP_EXC_RES = 0x80000
832 PR_FP_EXC_SW_ENABLE = 0x80
833 PR_FP_EXC_UND = 0x40000
834 PR_GET_DUMPABLE = 0x3
835 PR_GET_ENDIAN = 0x13
836 PR_GET_FPEMU = 0x9
837 PR_GET_FPEXC = 0xb
838 PR_GET_KEEPCAPS = 0x7
839 PR_GET_NAME = 0x10
840 PR_GET_PDEATHSIG = 0x2
841 PR_GET_SECCOMP = 0x15
842 PR_GET_SECCOMP_FILTER = 0x23
843 PR_GET_SECUREBITS = 0x1b
844 PR_GET_TIMERSLACK = 0x1e
845 PR_GET_TIMING = 0xd
846 PR_GET_TSC = 0x19
847 PR_GET_UNALIGN = 0x5
848 PR_MCE_KILL = 0x21
849 PR_MCE_KILL_CLEAR = 0x0
850 PR_MCE_KILL_DEFAULT = 0x2
851 PR_MCE_KILL_EARLY = 0x1
852 PR_MCE_KILL_GET = 0x22
853 PR_MCE_KILL_LATE = 0x0
854 PR_MCE_KILL_SET = 0x1
855 PR_SECCOMP_FILTER_EVENT = 0x1
856 PR_SECCOMP_FILTER_SYSCALL = 0x0
857 PR_SET_DUMPABLE = 0x4
858 PR_SET_ENDIAN = 0x14
859 PR_SET_FPEMU = 0xa
860 PR_SET_FPEXC = 0xc
861 PR_SET_KEEPCAPS = 0x8
862 PR_SET_NAME = 0xf
863 PR_SET_PDEATHSIG = 0x1
864 PR_SET_PTRACER = 0x59616d61
865 PR_SET_SECCOMP = 0x16
866 PR_SET_SECCOMP_FILTER = 0x24
867 PR_SET_SECUREBITS = 0x1c
868 PR_SET_TIMERSLACK = 0x1d
869 PR_SET_TIMING = 0xe
870 PR_SET_TSC = 0x1a
871 PR_SET_UNALIGN = 0x6
872 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
873 PR_TASK_PERF_EVENTS_ENABLE = 0x20
874 PR_TIMING_STATISTICAL = 0x0
875 PR_TIMING_TIMESTAMP = 0x1
876 PR_TSC_ENABLE = 0x1
877 PR_TSC_SIGSEGV = 0x2
878 PR_UNALIGN_NOPRINT = 0x1
879 PR_UNALIGN_SIGBUS = 0x2
880 PTRACE_ATTACH = 0x10
881 PTRACE_CONT = 0x7
882 PTRACE_DETACH = 0x11
883 PTRACE_EVENT_CLONE = 0x3
884 PTRACE_EVENT_EXEC = 0x4
885 PTRACE_EVENT_EXIT = 0x6
886 PTRACE_EVENT_FORK = 0x1
887 PTRACE_EVENT_VFORK = 0x2
888 PTRACE_EVENT_VFORK_DONE = 0x5
889 PTRACE_GETCRUNCHREGS = 0x19
890 PTRACE_GETEVENTMSG = 0x4201
891 PTRACE_GETFPREGS = 0xe
892 PTRACE_GETHBPREGS = 0x1d
893 PTRACE_GETREGS = 0xc
894 PTRACE_GETREGSET = 0x4204
895 PTRACE_GETSIGINFO = 0x4202
896 PTRACE_GETVFPREGS = 0x1b
897 PTRACE_GETWMMXREGS = 0x12
898 PTRACE_GET_THREAD_AREA = 0x16
899 PTRACE_KILL = 0x8
900 PTRACE_OLDSETOPTIONS = 0x15
901 PTRACE_O_MASK = 0x7f
902 PTRACE_O_TRACECLONE = 0x8
903 PTRACE_O_TRACEEXEC = 0x10
904 PTRACE_O_TRACEEXIT = 0x40
905 PTRACE_O_TRACEFORK = 0x2
906 PTRACE_O_TRACESYSGOOD = 0x1
907 PTRACE_O_TRACEVFORK = 0x4
908 PTRACE_O_TRACEVFORKDONE = 0x20
909 PTRACE_PEEKDATA = 0x2
910 PTRACE_PEEKTEXT = 0x1
911 PTRACE_PEEKUSR = 0x3
912 PTRACE_POKEDATA = 0x5
913 PTRACE_POKETEXT = 0x4
914 PTRACE_POKEUSR = 0x6
915 PTRACE_SETCRUNCHREGS = 0x1a
916 PTRACE_SETFPREGS = 0xf
917 PTRACE_SETHBPREGS = 0x1e
918 PTRACE_SETOPTIONS = 0x4200
919 PTRACE_SETREGS = 0xd
920 PTRACE_SETREGSET = 0x4205
921 PTRACE_SETSIGINFO = 0x4203
922 PTRACE_SETVFPREGS = 0x1c
923 PTRACE_SETWMMXREGS = 0x13
924 PTRACE_SET_SYSCALL = 0x17
925 PTRACE_SINGLESTEP = 0x9
926 PTRACE_SYSCALL = 0x18
927 PTRACE_TRACEME = 0x0
928 PT_DATA_ADDR = 0x10004
929 PT_TEXT_ADDR = 0x10000
930 PT_TEXT_END_ADDR = 0x10008
931 RLIMIT_AS = 0x9
932 RLIMIT_CORE = 0x4
933 RLIMIT_CPU = 0x0
934 RLIMIT_DATA = 0x2
935 RLIMIT_FSIZE = 0x1
936 RLIMIT_NOFILE = 0x7
937 RLIMIT_STACK = 0x3
938 RLIM_INFINITY = -0x1
939 RTAX_ADVMSS = 0x8
940 RTAX_CWND = 0x7
941 RTAX_FEATURES = 0xc
942 RTAX_FEATURE_ALLFRAG = 0x8
943 RTAX_FEATURE_ECN = 0x1
944 RTAX_FEATURE_SACK = 0x2
945 RTAX_FEATURE_TIMESTAMP = 0x4
946 RTAX_HOPLIMIT = 0xa
947 RTAX_INITCWND = 0xb
948 RTAX_INITRWND = 0xe
949 RTAX_LOCK = 0x1
950 RTAX_MAX = 0xe
951 RTAX_MTU = 0x2
952 RTAX_REORDERING = 0x9
953 RTAX_RTO_MIN = 0xd
954 RTAX_RTT = 0x4
955 RTAX_RTTVAR = 0x5
956 RTAX_SSTHRESH = 0x6
957 RTAX_UNSPEC = 0x0
958 RTAX_WINDOW = 0x3
959 RTA_ALIGNTO = 0x4
960 RTA_MAX = 0x10
961 RTCF_DIRECTSRC = 0x4000000
962 RTCF_DOREDIRECT = 0x1000000
963 RTCF_LOG = 0x2000000
964 RTCF_MASQ = 0x400000
965 RTCF_NAT = 0x800000
966 RTCF_VALVE = 0x200000
967 RTF_ADDRCLASSMASK = 0xf8000000
968 RTF_ADDRCONF = 0x40000
969 RTF_ALLONLINK = 0x20000
970 RTF_BROADCAST = 0x10000000
971 RTF_CACHE = 0x1000000
972 RTF_DEFAULT = 0x10000
973 RTF_DYNAMIC = 0x10
974 RTF_FLOW = 0x2000000
975 RTF_GATEWAY = 0x2
976 RTF_HOST = 0x4
977 RTF_INTERFACE = 0x40000000
978 RTF_IRTT = 0x100
979 RTF_LINKRT = 0x100000
980 RTF_LOCAL = 0x80000000
981 RTF_MODIFIED = 0x20
982 RTF_MSS = 0x40
983 RTF_MTU = 0x40
984 RTF_MULTICAST = 0x20000000
985 RTF_NAT = 0x8000000
986 RTF_NOFORWARD = 0x1000
987 RTF_NONEXTHOP = 0x200000
988 RTF_NOPMTUDISC = 0x4000
989 RTF_POLICY = 0x4000000
990 RTF_REINSTATE = 0x8
991 RTF_REJECT = 0x200
992 RTF_STATIC = 0x400
993 RTF_THROW = 0x2000
994 RTF_UP = 0x1
995 RTF_WINDOW = 0x80
996 RTF_XRESOLVE = 0x800
997 RTM_BASE = 0x10
998 RTM_DELACTION = 0x31
999 RTM_DELADDR = 0x15
1000 RTM_DELADDRLABEL = 0x49
1001 RTM_DELLINK = 0x11
1002 RTM_DELNEIGH = 0x1d
1003 RTM_DELQDISC = 0x25
1004 RTM_DELROUTE = 0x19
1005 RTM_DELRULE = 0x21
1006 RTM_DELTCLASS = 0x29
1007 RTM_DELTFILTER = 0x2d
1008 RTM_F_CLONED = 0x200
1009 RTM_F_EQUALIZE = 0x400
1010 RTM_F_NOTIFY = 0x100
1011 RTM_F_PREFIX = 0x800
1012 RTM_GETACTION = 0x32
1013 RTM_GETADDR = 0x16
1014 RTM_GETADDRLABEL = 0x4a
1015 RTM_GETANYCAST = 0x3e
1016 RTM_GETDCB = 0x4e
1017 RTM_GETLINK = 0x12
1018 RTM_GETMULTICAST = 0x3a
1019 RTM_GETNEIGH = 0x1e
1020 RTM_GETNEIGHTBL = 0x42
1021 RTM_GETQDISC = 0x26
1022 RTM_GETROUTE = 0x1a
1023 RTM_GETRULE = 0x22
1024 RTM_GETTCLASS = 0x2a
1025 RTM_GETTFILTER = 0x2e
1026 RTM_MAX = 0x4f
1027 RTM_NEWACTION = 0x30
1028 RTM_NEWADDR = 0x14
1029 RTM_NEWADDRLABEL = 0x48
1030 RTM_NEWLINK = 0x10
1031 RTM_NEWNDUSEROPT = 0x44
1032 RTM_NEWNEIGH = 0x1c
1033 RTM_NEWNEIGHTBL = 0x40
1034 RTM_NEWPREFIX = 0x34
1035 RTM_NEWQDISC = 0x24
1036 RTM_NEWROUTE = 0x18
1037 RTM_NEWRULE = 0x20
1038 RTM_NEWTCLASS = 0x28
1039 RTM_NEWTFILTER = 0x2c
1040 RTM_NR_FAMILIES = 0x10
1041 RTM_NR_MSGTYPES = 0x40
1042 RTM_SETDCB = 0x4f
1043 RTM_SETLINK = 0x13
1044 RTM_SETNEIGHTBL = 0x43
1045 RTNH_ALIGNTO = 0x4
1046 RTNH_F_DEAD = 0x1
1047 RTNH_F_ONLINK = 0x4
1048 RTNH_F_PERVASIVE = 0x2
1049 RTN_MAX = 0xb
1050 RTPROT_BIRD = 0xc
1051 RTPROT_BOOT = 0x3
1052 RTPROT_DHCP = 0x10
1053 RTPROT_DNROUTED = 0xd
1054 RTPROT_GATED = 0x8
1055 RTPROT_KERNEL = 0x2
1056 RTPROT_MRT = 0xa
1057 RTPROT_NTK = 0xf
1058 RTPROT_RA = 0x9
1059 RTPROT_REDIRECT = 0x1
1060 RTPROT_STATIC = 0x4
1061 RTPROT_UNSPEC = 0x0
1062 RTPROT_XORP = 0xe
1063 RTPROT_ZEBRA = 0xb
1064 RT_CLASS_DEFAULT = 0xfd
1065 RT_CLASS_LOCAL = 0xff
1066 RT_CLASS_MAIN = 0xfe
1067 RT_CLASS_MAX = 0xff
1068 RT_CLASS_UNSPEC = 0x0
1069 RUSAGE_CHILDREN = -0x1
1070 RUSAGE_SELF = 0x0
1071 RUSAGE_THREAD = 0x1
1072 SCM_CREDENTIALS = 0x2
1073 SCM_RIGHTS = 0x1
1074 SCM_TIMESTAMP = 0x1d
1075 SCM_TIMESTAMPING = 0x25
1076 SCM_TIMESTAMPNS = 0x23
1077 SHUT_RD = 0x0
1078 SHUT_RDWR = 0x2
1079 SHUT_WR = 0x1
1080 SIOCADDDLCI = 0x8980
1081 SIOCADDMULTI = 0x8931
1082 SIOCADDRT = 0x890b
1083 SIOCATMARK = 0x8905
1084 SIOCDARP = 0x8953
1085 SIOCDELDLCI = 0x8981
1086 SIOCDELMULTI = 0x8932
1087 SIOCDELRT = 0x890c
1088 SIOCDEVPRIVATE = 0x89f0
1089 SIOCDIFADDR = 0x8936
1090 SIOCDRARP = 0x8960
1091 SIOCGARP = 0x8954
1092 SIOCGIFADDR = 0x8915
1093 SIOCGIFBR = 0x8940
1094 SIOCGIFBRDADDR = 0x8919
1095 SIOCGIFCONF = 0x8912
1096 SIOCGIFCOUNT = 0x8938
1097 SIOCGIFDSTADDR = 0x8917
1098 SIOCGIFENCAP = 0x8925
1099 SIOCGIFFLAGS = 0x8913
1100 SIOCGIFHWADDR = 0x8927
1101 SIOCGIFINDEX = 0x8933
1102 SIOCGIFMAP = 0x8970
1103 SIOCGIFMEM = 0x891f
1104 SIOCGIFMETRIC = 0x891d
1105 SIOCGIFMTU = 0x8921
1106 SIOCGIFNAME = 0x8910
1107 SIOCGIFNETMASK = 0x891b
1108 SIOCGIFPFLAGS = 0x8935
1109 SIOCGIFSLAVE = 0x8929
1110 SIOCGIFTXQLEN = 0x8942
1111 SIOCGPGRP = 0x8904
1112 SIOCGRARP = 0x8961
1113 SIOCGSTAMP = 0x8906
1114 SIOCGSTAMPNS = 0x8907
1115 SIOCPROTOPRIVATE = 0x89e0
1116 SIOCRTMSG = 0x890d
1117 SIOCSARP = 0x8955
1118 SIOCSIFADDR = 0x8916
1119 SIOCSIFBR = 0x8941
1120 SIOCSIFBRDADDR = 0x891a
1121 SIOCSIFDSTADDR = 0x8918
1122 SIOCSIFENCAP = 0x8926
1123 SIOCSIFFLAGS = 0x8914
1124 SIOCSIFHWADDR = 0x8924
1125 SIOCSIFHWBROADCAST = 0x8937
1126 SIOCSIFLINK = 0x8911
1127 SIOCSIFMAP = 0x8971
1128 SIOCSIFMEM = 0x8920
1129 SIOCSIFMETRIC = 0x891e
1130 SIOCSIFMTU = 0x8922
1131 SIOCSIFNAME = 0x8923
1132 SIOCSIFNETMASK = 0x891c
1133 SIOCSIFPFLAGS = 0x8934
1134 SIOCSIFSLAVE = 0x8930
1135 SIOCSIFTXQLEN = 0x8943
1136 SIOCSPGRP = 0x8902
1137 SIOCSRARP = 0x8962
1138 SOCK_CLOEXEC = 0x80000
1139 SOCK_DCCP = 0x6
1140 SOCK_DGRAM = 0x2
1141 SOCK_NONBLOCK = 0x800
1142 SOCK_PACKET = 0xa
1143 SOCK_RAW = 0x3
1144 SOCK_RDM = 0x4
1145 SOCK_SEQPACKET = 0x5
1146 SOCK_STREAM = 0x1
1147 SOL_AAL = 0x109
1148 SOL_ATM = 0x108
1149 SOL_DECNET = 0x105
1150 SOL_ICMPV6 = 0x3a
1151 SOL_IP = 0x0
1152 SOL_IPV6 = 0x29
1153 SOL_IRDA = 0x10a
1154 SOL_PACKET = 0x107
1155 SOL_RAW = 0xff
1156 SOL_SOCKET = 0x1
1157 SOL_TCP = 0x6
1158 SOL_X25 = 0x106
1159 SOMAXCONN = 0x80
1160 SO_ACCEPTCONN = 0x1e
1161 SO_ATTACH_FILTER = 0x1a
1162 SO_BINDTODEVICE = 0x19
1163 SO_BROADCAST = 0x6
1164 SO_BSDCOMPAT = 0xe
1165 SO_DEBUG = 0x1
1166 SO_DETACH_FILTER = 0x1b
1167 SO_DOMAIN = 0x27
1168 SO_DONTROUTE = 0x5
1169 SO_ERROR = 0x4
1170 SO_KEEPALIVE = 0x9
1171 SO_LINGER = 0xd
1172 SO_MARK = 0x24
1173 SO_NO_CHECK = 0xb
1174 SO_OOBINLINE = 0xa
1175 SO_PASSCRED = 0x10
1176 SO_PASSSEC = 0x22
1177 SO_PEERCRED = 0x11
1178 SO_PEERNAME = 0x1c
1179 SO_PEERSEC = 0x1f
1180 SO_PRIORITY = 0xc
1181 SO_PROTOCOL = 0x26
1182 SO_RCVBUF = 0x8
1183 SO_RCVBUFFORCE = 0x21
1184 SO_RCVLOWAT = 0x12
1185 SO_RCVTIMEO = 0x14
1186 SO_REUSEADDR = 0x2
1187 SO_RXQ_OVFL = 0x28
1188 SO_SECURITY_AUTHENTICATION = 0x16
1189 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1190 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1191 SO_SNDBUF = 0x7
1192 SO_SNDBUFFORCE = 0x20
1193 SO_SNDLOWAT = 0x13
1194 SO_SNDTIMEO = 0x15
1195 SO_TIMESTAMP = 0x1d
1196 SO_TIMESTAMPING = 0x25
1197 SO_TIMESTAMPNS = 0x23
1198 SO_TYPE = 0x3
1199 S_BLKSIZE = 0x200
1200 S_IEXEC = 0x40
1201 S_IFBLK = 0x6000
1202 S_IFCHR = 0x2000
1203 S_IFDIR = 0x4000
1204 S_IFIFO = 0x1000
1205 S_IFLNK = 0xa000
1206 S_IFMT = 0xf000
1207 S_IFREG = 0x8000
1208 S_IFSOCK = 0xc000
1209 S_IREAD = 0x100
1210 S_IRGRP = 0x20
1211 S_IROTH = 0x4
1212 S_IRUSR = 0x100
1213 S_IRWXG = 0x38
1214 S_IRWXO = 0x7
1215 S_IRWXU = 0x1c0
1216 S_ISGID = 0x400
1217 S_ISUID = 0x800
1218 S_ISVTX = 0x200
1219 S_IWGRP = 0x10
1220 S_IWOTH = 0x2
1221 S_IWRITE = 0x80
1222 S_IWUSR = 0x80
1223 S_IXGRP = 0x8
1224 S_IXOTH = 0x1
1225 S_IXUSR = 0x40
1226 TAB0 = 0x0
1227 TAB1 = 0x800
1228 TAB2 = 0x1000
1229 TAB3 = 0x1800
1230 TABDLY = 0x1800
1231 TCFLSH = 0x540b
1232 TCGETA = 0x5405
1233 TCGETS = 0x5401
1234 TCGETS2 = 0x802c542a
1235 TCGETX = 0x5432
1236 TCIFLUSH = 0x0
1237 TCIOFF = 0x2
1238 TCIOFLUSH = 0x2
1239 TCION = 0x3
1240 TCOFLUSH = 0x1
1241 TCOOFF = 0x0
1242 TCOON = 0x1
1243 TCP_CONGESTION = 0xd
1244 TCP_CORK = 0x3
1245 TCP_DEFER_ACCEPT = 0x9
1246 TCP_INFO = 0xb
1247 TCP_KEEPCNT = 0x6
1248 TCP_KEEPIDLE = 0x4
1249 TCP_KEEPINTVL = 0x5
1250 TCP_LINGER2 = 0x8
1251 TCP_MAXSEG = 0x2
1252 TCP_MAXWIN = 0xffff
1253 TCP_MAX_WINSHIFT = 0xe
1254 TCP_MD5SIG = 0xe
1255 TCP_MD5SIG_MAXKEYLEN = 0x50
1256 TCP_MSS = 0x200
1257 TCP_NODELAY = 0x1
1258 TCP_QUICKACK = 0xc
1259 TCP_SYNCNT = 0x7
1260 TCP_WINDOW_CLAMP = 0xa
1261 TCSAFLUSH = 0x2
1262 TCSBRK = 0x5409
1263 TCSBRKP = 0x5425
1264 TCSETA = 0x5406
1265 TCSETAF = 0x5408
1266 TCSETAW = 0x5407
1267 TCSETS = 0x5402
1268 TCSETS2 = 0x402c542b
1269 TCSETSF = 0x5404
1270 TCSETSF2 = 0x402c542d
1271 TCSETSW = 0x5403
1272 TCSETSW2 = 0x402c542c
1273 TCSETX = 0x5433
1274 TCSETXF = 0x5434
1275 TCSETXW = 0x5435
1276 TCXONC = 0x540a
1277 TIOCCBRK = 0x5428
1278 TIOCCONS = 0x541d
1279 TIOCEXCL = 0x540c
1280 TIOCGDEV = 0x80045432
1281 TIOCGETD = 0x5424
1282 TIOCGEXCL = 0x80045440
1283 TIOCGICOUNT = 0x545d
1284 TIOCGLCKTRMIOS = 0x5456
1285 TIOCGPGRP = 0x540f
1286 TIOCGPKT = 0x80045438
1287 TIOCGPTLCK = 0x80045439
1288 TIOCGPTN = 0x80045430
1289 TIOCGRS485 = 0x542e
1290 TIOCGSERIAL = 0x541e
1291 TIOCGSID = 0x5429
1292 TIOCGSOFTCAR = 0x5419
1293 TIOCGWINSZ = 0x5413
1294 TIOCINQ = 0x541b
1295 TIOCLINUX = 0x541c
1296 TIOCMBIC = 0x5417
1297 TIOCMBIS = 0x5416
1298 TIOCMGET = 0x5415
1299 TIOCMIWAIT = 0x545c
1300 TIOCMSET = 0x5418
1301 TIOCM_CAR = 0x40
1302 TIOCM_CD = 0x40
1303 TIOCM_CTS = 0x20
1304 TIOCM_DSR = 0x100
1305 TIOCM_DTR = 0x2
1306 TIOCM_LE = 0x1
1307 TIOCM_RI = 0x80
1308 TIOCM_RNG = 0x80
1309 TIOCM_RTS = 0x4
1310 TIOCM_SR = 0x10
1311 TIOCM_ST = 0x8
1312 TIOCNOTTY = 0x5422
1313 TIOCNXCL = 0x540d
1314 TIOCOUTQ = 0x5411
1315 TIOCPKT = 0x5420
1316 TIOCPKT_DATA = 0x0
1317 TIOCPKT_DOSTOP = 0x20
1318 TIOCPKT_FLUSHREAD = 0x1
1319 TIOCPKT_FLUSHWRITE = 0x2
1320 TIOCPKT_IOCTL = 0x40
1321 TIOCPKT_NOSTOP = 0x10
1322 TIOCPKT_START = 0x8
1323 TIOCPKT_STOP = 0x4
1324 TIOCSBRK = 0x5427
1325 TIOCSCTTY = 0x540e
1326 TIOCSERCONFIG = 0x5453
1327 TIOCSERGETLSR = 0x5459
1328 TIOCSERGETMULTI = 0x545a
1329 TIOCSERGSTRUCT = 0x5458
1330 TIOCSERGWILD = 0x5454
1331 TIOCSERSETMULTI = 0x545b
1332 TIOCSERSWILD = 0x5455
1333 TIOCSER_TEMT = 0x1
1334 TIOCSETD = 0x5423
1335 TIOCSIG = 0x40045436
1336 TIOCSLCKTRMIOS = 0x5457
1337 TIOCSPGRP = 0x5410
1338 TIOCSPTLCK = 0x40045431
1339 TIOCSRS485 = 0x542f
1340 TIOCSSERIAL = 0x541f
1341 TIOCSSOFTCAR = 0x541a
1342 TIOCSTI = 0x5412
1343 TIOCSWINSZ = 0x5414
1344 TIOCVHANGUP = 0x5437
1345 TOSTOP = 0x100
1346 TUNATTACHFILTER = 0x400854d5
1347 TUNDETACHFILTER = 0x400854d6
1348 TUNGETFEATURES = 0x800454cf
1349 TUNGETIFF = 0x800454d2
1350 TUNGETSNDBUF = 0x800454d3
1351 TUNGETVNETHDRSZ = 0x800454d7
1352 TUNSETDEBUG = 0x400454c9
1353 TUNSETGROUP = 0x400454ce
1354 TUNSETIFF = 0x400454ca
1355 TUNSETLINK = 0x400454cd
1356 TUNSETNOCSUM = 0x400454c8
1357 TUNSETOFFLOAD = 0x400454d0
1358 TUNSETOWNER = 0x400454cc
1359 TUNSETPERSIST = 0x400454cb
1360 TUNSETSNDBUF = 0x400454d4
1361 TUNSETTXFILTER = 0x400454d1
1362 TUNSETVNETHDRSZ = 0x400454d8
1363 VDISCARD = 0xd
1364 VEOF = 0x4
1365 VEOL = 0xb
1366 VEOL2 = 0x10
1367 VERASE = 0x2
1368 VINTR = 0x0
1369 VKILL = 0x3
1370 VLNEXT = 0xf
1371 VMIN = 0x6
1372 VQUIT = 0x1
1373 VREPRINT = 0xc
1374 VSTART = 0x8
1375 VSTOP = 0x9
1376 VSUSP = 0xa
1377 VSWTC = 0x7
1378 VT0 = 0x0
1379 VT1 = 0x4000
1380 VTDLY = 0x4000
1381 VTIME = 0x5
1382 VWERASE = 0xe
1383 WALL = 0x40000000
1384 WCLONE = 0x80000000
1385 WCONTINUED = 0x8
1386 WEXITED = 0x4
1387 WNOHANG = 0x1
1388 WNOTHREAD = 0x20000000
1389 WNOWAIT = 0x1000000
1390 WORDSIZE = 0x20
1391 WSTOPPED = 0x2
1392 WUNTRACED = 0x2
1393 XCASE = 0x4
1394 XTABS = 0x1800
1395)
1396
1397// Errors
1398const (
1399 E2BIG = syscall.Errno(0x7)
1400 EACCES = syscall.Errno(0xd)
1401 EADDRINUSE = syscall.Errno(0x62)
1402 EADDRNOTAVAIL = syscall.Errno(0x63)
1403 EADV = syscall.Errno(0x44)
1404 EAFNOSUPPORT = syscall.Errno(0x61)
1405 EAGAIN = syscall.Errno(0xb)
1406 EALREADY = syscall.Errno(0x72)
1407 EBADE = syscall.Errno(0x34)
1408 EBADF = syscall.Errno(0x9)
1409 EBADFD = syscall.Errno(0x4d)
1410 EBADMSG = syscall.Errno(0x4a)
1411 EBADR = syscall.Errno(0x35)
1412 EBADRQC = syscall.Errno(0x38)
1413 EBADSLT = syscall.Errno(0x39)
1414 EBFONT = syscall.Errno(0x3b)
1415 EBUSY = syscall.Errno(0x10)
1416 ECANCELED = syscall.Errno(0x7d)
1417 ECHILD = syscall.Errno(0xa)
1418 ECHRNG = syscall.Errno(0x2c)
1419 ECOMM = syscall.Errno(0x46)
1420 ECONNABORTED = syscall.Errno(0x67)
1421 ECONNREFUSED = syscall.Errno(0x6f)
1422 ECONNRESET = syscall.Errno(0x68)
1423 EDEADLK = syscall.Errno(0x23)
1424 EDEADLOCK = syscall.Errno(0x23)
1425 EDESTADDRREQ = syscall.Errno(0x59)
1426 EDOM = syscall.Errno(0x21)
1427 EDOTDOT = syscall.Errno(0x49)
1428 EDQUOT = syscall.Errno(0x7a)
1429 EEXIST = syscall.Errno(0x11)
1430 EFAULT = syscall.Errno(0xe)
1431 EFBIG = syscall.Errno(0x1b)
1432 EHOSTDOWN = syscall.Errno(0x70)
1433 EHOSTUNREACH = syscall.Errno(0x71)
1434 EHWPOISON = syscall.Errno(0x85)
1435 EIDRM = syscall.Errno(0x2b)
1436 EILSEQ = syscall.Errno(0x54)
1437 EINPROGRESS = syscall.Errno(0x73)
1438 EINTR = syscall.Errno(0x4)
1439 EINVAL = syscall.Errno(0x16)
1440 EIO = syscall.Errno(0x5)
1441 EISCONN = syscall.Errno(0x6a)
1442 EISDIR = syscall.Errno(0x15)
1443 EISNAM = syscall.Errno(0x78)
1444 EKEYEXPIRED = syscall.Errno(0x7f)
1445 EKEYREJECTED = syscall.Errno(0x81)
1446 EKEYREVOKED = syscall.Errno(0x80)
1447 EL2HLT = syscall.Errno(0x33)
1448 EL2NSYNC = syscall.Errno(0x2d)
1449 EL3HLT = syscall.Errno(0x2e)
1450 EL3RST = syscall.Errno(0x2f)
1451 ELIBACC = syscall.Errno(0x4f)
1452 ELIBBAD = syscall.Errno(0x50)
1453 ELIBEXEC = syscall.Errno(0x53)
1454 ELIBMAX = syscall.Errno(0x52)
1455 ELIBSCN = syscall.Errno(0x51)
1456 ELNRNG = syscall.Errno(0x30)
1457 ELOOP = syscall.Errno(0x28)
1458 EMEDIUMTYPE = syscall.Errno(0x7c)
1459 EMFILE = syscall.Errno(0x18)
1460 EMLINK = syscall.Errno(0x1f)
1461 EMSGSIZE = syscall.Errno(0x5a)
1462 EMULTIHOP = syscall.Errno(0x48)
1463 ENAMETOOLONG = syscall.Errno(0x24)
1464 ENAVAIL = syscall.Errno(0x77)
1465 ENETDOWN = syscall.Errno(0x64)
1466 ENETRESET = syscall.Errno(0x66)
1467 ENETUNREACH = syscall.Errno(0x65)
1468 ENFILE = syscall.Errno(0x17)
1469 ENOANO = syscall.Errno(0x37)
1470 ENOBUFS = syscall.Errno(0x69)
1471 ENOCSI = syscall.Errno(0x32)
1472 ENODATA = syscall.Errno(0x3d)
1473 ENODEV = syscall.Errno(0x13)
1474 ENOENT = syscall.Errno(0x2)
1475 ENOEXEC = syscall.Errno(0x8)
1476 ENOKEY = syscall.Errno(0x7e)
1477 ENOLCK = syscall.Errno(0x25)
1478 ENOLINK = syscall.Errno(0x43)
1479 ENOMEDIUM = syscall.Errno(0x7b)
1480 ENOMEM = syscall.Errno(0xc)
1481 ENOMSG = syscall.Errno(0x2a)
1482 ENONET = syscall.Errno(0x40)
1483 ENOPKG = syscall.Errno(0x41)
1484 ENOPROTOOPT = syscall.Errno(0x5c)
1485 ENOSPC = syscall.Errno(0x1c)
1486 ENOSR = syscall.Errno(0x3f)
1487 ENOSTR = syscall.Errno(0x3c)
1488 ENOSYS = syscall.Errno(0x26)
1489 ENOTBLK = syscall.Errno(0xf)
1490 ENOTCONN = syscall.Errno(0x6b)
1491 ENOTDIR = syscall.Errno(0x14)
1492 ENOTEMPTY = syscall.Errno(0x27)
1493 ENOTNAM = syscall.Errno(0x76)
1494 ENOTRECOVERABLE = syscall.Errno(0x83)
1495 ENOTSOCK = syscall.Errno(0x58)
1496 ENOTSUP = syscall.Errno(0x5f)
1497 ENOTTY = syscall.Errno(0x19)
1498 ENOTUNIQ = syscall.Errno(0x4c)
1499 ENXIO = syscall.Errno(0x6)
1500 EOPNOTSUPP = syscall.Errno(0x5f)
1501 EOVERFLOW = syscall.Errno(0x4b)
1502 EOWNERDEAD = syscall.Errno(0x82)
1503 EPERM = syscall.Errno(0x1)
1504 EPFNOSUPPORT = syscall.Errno(0x60)
1505 EPIPE = syscall.Errno(0x20)
1506 EPROTO = syscall.Errno(0x47)
1507 EPROTONOSUPPORT = syscall.Errno(0x5d)
1508 EPROTOTYPE = syscall.Errno(0x5b)
1509 ERANGE = syscall.Errno(0x22)
1510 EREMCHG = syscall.Errno(0x4e)
1511 EREMOTE = syscall.Errno(0x42)
1512 EREMOTEIO = syscall.Errno(0x79)
1513 ERESTART = syscall.Errno(0x55)
1514 ERFKILL = syscall.Errno(0x84)
1515 EROFS = syscall.Errno(0x1e)
1516 ESHUTDOWN = syscall.Errno(0x6c)
1517 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1518 ESPIPE = syscall.Errno(0x1d)
1519 ESRCH = syscall.Errno(0x3)
1520 ESRMNT = syscall.Errno(0x45)
1521 ESTALE = syscall.Errno(0x74)
1522 ESTRPIPE = syscall.Errno(0x56)
1523 ETIME = syscall.Errno(0x3e)
1524 ETIMEDOUT = syscall.Errno(0x6e)
1525 ETOOMANYREFS = syscall.Errno(0x6d)
1526 ETXTBSY = syscall.Errno(0x1a)
1527 EUCLEAN = syscall.Errno(0x75)
1528 EUNATCH = syscall.Errno(0x31)
1529 EUSERS = syscall.Errno(0x57)
1530 EWOULDBLOCK = syscall.Errno(0xb)
1531 EXDEV = syscall.Errno(0x12)
1532 EXFULL = syscall.Errno(0x36)
1533)
1534
1535// Signals
1536const (
1537 SIGABRT = syscall.Signal(0x6)
1538 SIGALRM = syscall.Signal(0xe)
1539 SIGBUS = syscall.Signal(0x7)
1540 SIGCHLD = syscall.Signal(0x11)
1541 SIGCLD = syscall.Signal(0x11)
1542 SIGCONT = syscall.Signal(0x12)
1543 SIGFPE = syscall.Signal(0x8)
1544 SIGHUP = syscall.Signal(0x1)
1545 SIGILL = syscall.Signal(0x4)
1546 SIGINT = syscall.Signal(0x2)
1547 SIGIO = syscall.Signal(0x1d)
1548 SIGIOT = syscall.Signal(0x6)
1549 SIGKILL = syscall.Signal(0x9)
1550 SIGPIPE = syscall.Signal(0xd)
1551 SIGPOLL = syscall.Signal(0x1d)
1552 SIGPROF = syscall.Signal(0x1b)
1553 SIGPWR = syscall.Signal(0x1e)
1554 SIGQUIT = syscall.Signal(0x3)
1555 SIGSEGV = syscall.Signal(0xb)
1556 SIGSTKFLT = syscall.Signal(0x10)
1557 SIGSTOP = syscall.Signal(0x13)
1558 SIGSYS = syscall.Signal(0x1f)
1559 SIGTERM = syscall.Signal(0xf)
1560 SIGTRAP = syscall.Signal(0x5)
1561 SIGTSTP = syscall.Signal(0x14)
1562 SIGTTIN = syscall.Signal(0x15)
1563 SIGTTOU = syscall.Signal(0x16)
1564 SIGUNUSED = syscall.Signal(0x1f)
1565 SIGURG = syscall.Signal(0x17)
1566 SIGUSR1 = syscall.Signal(0xa)
1567 SIGUSR2 = syscall.Signal(0xc)
1568 SIGVTALRM = syscall.Signal(0x1a)
1569 SIGWINCH = syscall.Signal(0x1c)
1570 SIGXCPU = syscall.Signal(0x18)
1571 SIGXFSZ = syscall.Signal(0x19)
1572)
1573
1574// Error table
1575var errors = [...]string{
1576 1: "operation not permitted",
1577 2: "no such file or directory",
1578 3: "no such process",
1579 4: "interrupted system call",
1580 5: "input/output error",
1581 6: "no such device or address",
1582 7: "argument list too long",
1583 8: "exec format error",
1584 9: "bad file descriptor",
1585 10: "no child processes",
1586 11: "resource temporarily unavailable",
1587 12: "cannot allocate memory",
1588 13: "permission denied",
1589 14: "bad address",
1590 15: "block device required",
1591 16: "device or resource busy",
1592 17: "file exists",
1593 18: "invalid cross-device link",
1594 19: "no such device",
1595 20: "not a directory",
1596 21: "is a directory",
1597 22: "invalid argument",
1598 23: "too many open files in system",
1599 24: "too many open files",
1600 25: "inappropriate ioctl for device",
1601 26: "text file busy",
1602 27: "file too large",
1603 28: "no space left on device",
1604 29: "illegal seek",
1605 30: "read-only file system",
1606 31: "too many links",
1607 32: "broken pipe",
1608 33: "numerical argument out of domain",
1609 34: "numerical result out of range",
1610 35: "resource deadlock avoided",
1611 36: "file name too long",
1612 37: "no locks available",
1613 38: "function not implemented",
1614 39: "directory not empty",
1615 40: "too many levels of symbolic links",
1616 42: "no message of desired type",
1617 43: "identifier removed",
1618 44: "channel number out of range",
1619 45: "level 2 not synchronized",
1620 46: "level 3 halted",
1621 47: "level 3 reset",
1622 48: "link number out of range",
1623 49: "protocol driver not attached",
1624 50: "no CSI structure available",
1625 51: "level 2 halted",
1626 52: "invalid exchange",
1627 53: "invalid request descriptor",
1628 54: "exchange full",
1629 55: "no anode",
1630 56: "invalid request code",
1631 57: "invalid slot",
1632 59: "bad font file format",
1633 60: "device not a stream",
1634 61: "no data available",
1635 62: "timer expired",
1636 63: "out of streams resources",
1637 64: "machine is not on the network",
1638 65: "package not installed",
1639 66: "object is remote",
1640 67: "link has been severed",
1641 68: "advertise error",
1642 69: "srmount error",
1643 70: "communication error on send",
1644 71: "protocol error",
1645 72: "multihop attempted",
1646 73: "RFS specific error",
1647 74: "bad message",
1648 75: "value too large for defined data type",
1649 76: "name not unique on network",
1650 77: "file descriptor in bad state",
1651 78: "remote address changed",
1652 79: "can not access a needed shared library",
1653 80: "accessing a corrupted shared library",
1654 81: ".lib section in a.out corrupted",
1655 82: "attempting to link in too many shared libraries",
1656 83: "cannot exec a shared library directly",
1657 84: "invalid or incomplete multibyte or wide character",
1658 85: "interrupted system call should be restarted",
1659 86: "streams pipe error",
1660 87: "too many users",
1661 88: "socket operation on non-socket",
1662 89: "destination address required",
1663 90: "message too long",
1664 91: "protocol wrong type for socket",
1665 92: "protocol not available",
1666 93: "protocol not supported",
1667 94: "socket type not supported",
1668 95: "operation not supported",
1669 96: "protocol family not supported",
1670 97: "address family not supported by protocol",
1671 98: "address already in use",
1672 99: "cannot assign requested address",
1673 100: "network is down",
1674 101: "network is unreachable",
1675 102: "network dropped connection on reset",
1676 103: "software caused connection abort",
1677 104: "connection reset by peer",
1678 105: "no buffer space available",
1679 106: "transport endpoint is already connected",
1680 107: "transport endpoint is not connected",
1681 108: "cannot send after transport endpoint shutdown",
1682 109: "too many references: cannot splice",
1683 110: "connection timed out",
1684 111: "connection refused",
1685 112: "host is down",
1686 113: "no route to host",
1687 114: "operation already in progress",
1688 115: "operation now in progress",
1689 116: "stale NFS file handle",
1690 117: "structure needs cleaning",
1691 118: "not a XENIX named type file",
1692 119: "no XENIX semaphores available",
1693 120: "is a named type file",
1694 121: "remote I/O error",
1695 122: "disk quota exceeded",
1696 123: "no medium found",
1697 124: "wrong medium type",
1698 125: "operation canceled",
1699 126: "required key not available",
1700 127: "key has expired",
1701 128: "key has been revoked",
1702 129: "key was rejected by service",
1703 130: "owner died",
1704 131: "state not recoverable",
1705 132: "operation not possible due to RF-kill",
1706 133: "unknown error 133",
1707}
1708
1709// Signal table
1710var signals = [...]string{
1711 1: "hangup",
1712 2: "interrupt",
1713 3: "quit",
1714 4: "illegal instruction",
1715 5: "trace/breakpoint trap",
1716 6: "aborted",
1717 7: "bus error",
1718 8: "floating point exception",
1719 9: "killed",
1720 10: "user defined signal 1",
1721 11: "segmentation fault",
1722 12: "user defined signal 2",
1723 13: "broken pipe",
1724 14: "alarm clock",
1725 15: "terminated",
1726 16: "stack fault",
1727 17: "child exited",
1728 18: "continued",
1729 19: "stopped (signal)",
1730 20: "stopped",
1731 21: "stopped (tty input)",
1732 22: "stopped (tty output)",
1733 23: "urgent I/O condition",
1734 24: "CPU time limit exceeded",
1735 25: "file size limit exceeded",
1736 26: "virtual timer expired",
1737 27: "profiling timer expired",
1738 28: "window changed",
1739 29: "I/O possible",
1740 30: "power failure",
1741 31: "bad system call",
1742}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm64.go
deleted file mode 100644
index 47027b7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_arm64.go
+++ /dev/null
@@ -1,1896 +0,0 @@
1// mkerrors.sh
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm64,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x29
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_NFC = 0x27
42 AF_PACKET = 0x11
43 AF_PHONET = 0x23
44 AF_PPPOX = 0x18
45 AF_RDS = 0x15
46 AF_ROSE = 0xb
47 AF_ROUTE = 0x10
48 AF_RXRPC = 0x21
49 AF_SECURITY = 0xe
50 AF_SNA = 0x16
51 AF_TIPC = 0x1e
52 AF_UNIX = 0x1
53 AF_UNSPEC = 0x0
54 AF_VSOCK = 0x28
55 AF_WANPIPE = 0x19
56 AF_X25 = 0x9
57 ARPHRD_ADAPT = 0x108
58 ARPHRD_APPLETLK = 0x8
59 ARPHRD_ARCNET = 0x7
60 ARPHRD_ASH = 0x30d
61 ARPHRD_ATM = 0x13
62 ARPHRD_AX25 = 0x3
63 ARPHRD_BIF = 0x307
64 ARPHRD_CAIF = 0x336
65 ARPHRD_CAN = 0x118
66 ARPHRD_CHAOS = 0x5
67 ARPHRD_CISCO = 0x201
68 ARPHRD_CSLIP = 0x101
69 ARPHRD_CSLIP6 = 0x103
70 ARPHRD_DDCMP = 0x205
71 ARPHRD_DLCI = 0xf
72 ARPHRD_ECONET = 0x30e
73 ARPHRD_EETHER = 0x2
74 ARPHRD_ETHER = 0x1
75 ARPHRD_EUI64 = 0x1b
76 ARPHRD_FCAL = 0x311
77 ARPHRD_FCFABRIC = 0x313
78 ARPHRD_FCPL = 0x312
79 ARPHRD_FCPP = 0x310
80 ARPHRD_FDDI = 0x306
81 ARPHRD_FRAD = 0x302
82 ARPHRD_HDLC = 0x201
83 ARPHRD_HIPPI = 0x30c
84 ARPHRD_HWX25 = 0x110
85 ARPHRD_IEEE1394 = 0x18
86 ARPHRD_IEEE802 = 0x6
87 ARPHRD_IEEE80211 = 0x321
88 ARPHRD_IEEE80211_PRISM = 0x322
89 ARPHRD_IEEE80211_RADIOTAP = 0x323
90 ARPHRD_IEEE802154 = 0x324
91 ARPHRD_IEEE802154_MONITOR = 0x325
92 ARPHRD_IEEE802_TR = 0x320
93 ARPHRD_INFINIBAND = 0x20
94 ARPHRD_IP6GRE = 0x337
95 ARPHRD_IPDDP = 0x309
96 ARPHRD_IPGRE = 0x30a
97 ARPHRD_IRDA = 0x30f
98 ARPHRD_LAPB = 0x204
99 ARPHRD_LOCALTLK = 0x305
100 ARPHRD_LOOPBACK = 0x304
101 ARPHRD_METRICOM = 0x17
102 ARPHRD_NETLINK = 0x338
103 ARPHRD_NETROM = 0x0
104 ARPHRD_NONE = 0xfffe
105 ARPHRD_PHONET = 0x334
106 ARPHRD_PHONET_PIPE = 0x335
107 ARPHRD_PIMREG = 0x30b
108 ARPHRD_PPP = 0x200
109 ARPHRD_PRONET = 0x4
110 ARPHRD_RAWHDLC = 0x206
111 ARPHRD_ROSE = 0x10e
112 ARPHRD_RSRVD = 0x104
113 ARPHRD_SIT = 0x308
114 ARPHRD_SKIP = 0x303
115 ARPHRD_SLIP = 0x100
116 ARPHRD_SLIP6 = 0x102
117 ARPHRD_TUNNEL = 0x300
118 ARPHRD_TUNNEL6 = 0x301
119 ARPHRD_VOID = 0xffff
120 ARPHRD_X25 = 0x10f
121 B0 = 0x0
122 B1000000 = 0x1008
123 B110 = 0x3
124 B115200 = 0x1002
125 B1152000 = 0x1009
126 B1200 = 0x9
127 B134 = 0x4
128 B150 = 0x5
129 B1500000 = 0x100a
130 B1800 = 0xa
131 B19200 = 0xe
132 B200 = 0x6
133 B2000000 = 0x100b
134 B230400 = 0x1003
135 B2400 = 0xb
136 B2500000 = 0x100c
137 B300 = 0x7
138 B3000000 = 0x100d
139 B3500000 = 0x100e
140 B38400 = 0xf
141 B4000000 = 0x100f
142 B460800 = 0x1004
143 B4800 = 0xc
144 B50 = 0x1
145 B500000 = 0x1005
146 B57600 = 0x1001
147 B576000 = 0x1006
148 B600 = 0x8
149 B75 = 0x2
150 B921600 = 0x1007
151 B9600 = 0xd
152 BOTHER = 0x1000
153 BPF_A = 0x10
154 BPF_ABS = 0x20
155 BPF_ADD = 0x0
156 BPF_ALU = 0x4
157 BPF_AND = 0x50
158 BPF_B = 0x10
159 BPF_DIV = 0x30
160 BPF_H = 0x8
161 BPF_IMM = 0x0
162 BPF_IND = 0x40
163 BPF_JA = 0x0
164 BPF_JEQ = 0x10
165 BPF_JGE = 0x30
166 BPF_JGT = 0x20
167 BPF_JMP = 0x5
168 BPF_JSET = 0x40
169 BPF_K = 0x0
170 BPF_LD = 0x0
171 BPF_LDX = 0x1
172 BPF_LEN = 0x80
173 BPF_LSH = 0x60
174 BPF_MAJOR_VERSION = 0x1
175 BPF_MAXINSNS = 0x1000
176 BPF_MEM = 0x60
177 BPF_MEMWORDS = 0x10
178 BPF_MINOR_VERSION = 0x1
179 BPF_MISC = 0x7
180 BPF_MOD = 0x90
181 BPF_MSH = 0xa0
182 BPF_MUL = 0x20
183 BPF_NEG = 0x80
184 BPF_OR = 0x40
185 BPF_RET = 0x6
186 BPF_RSH = 0x70
187 BPF_ST = 0x2
188 BPF_STX = 0x3
189 BPF_SUB = 0x10
190 BPF_TAX = 0x0
191 BPF_TXA = 0x80
192 BPF_W = 0x0
193 BPF_X = 0x8
194 BPF_XOR = 0xa0
195 BRKINT = 0x2
196 BS0 = 0x0
197 BS1 = 0x2000
198 BSDLY = 0x2000
199 CBAUD = 0x100f
200 CBAUDEX = 0x1000
201 CFLUSH = 0xf
202 CIBAUD = 0x100f0000
203 CLOCAL = 0x800
204 CLOCK_BOOTTIME = 0x7
205 CLOCK_BOOTTIME_ALARM = 0x9
206 CLOCK_DEFAULT = 0x0
207 CLOCK_EXT = 0x1
208 CLOCK_INT = 0x2
209 CLOCK_MONOTONIC = 0x1
210 CLOCK_MONOTONIC_COARSE = 0x6
211 CLOCK_MONOTONIC_RAW = 0x4
212 CLOCK_PROCESS_CPUTIME_ID = 0x2
213 CLOCK_REALTIME = 0x0
214 CLOCK_REALTIME_ALARM = 0x8
215 CLOCK_REALTIME_COARSE = 0x5
216 CLOCK_THREAD_CPUTIME_ID = 0x3
217 CLOCK_TXFROMRX = 0x4
218 CLOCK_TXINT = 0x3
219 CLONE_CHILD_CLEARTID = 0x200000
220 CLONE_CHILD_SETTID = 0x1000000
221 CLONE_DETACHED = 0x400000
222 CLONE_FILES = 0x400
223 CLONE_FS = 0x200
224 CLONE_IO = 0x80000000
225 CLONE_NEWIPC = 0x8000000
226 CLONE_NEWNET = 0x40000000
227 CLONE_NEWNS = 0x20000
228 CLONE_NEWPID = 0x20000000
229 CLONE_NEWUSER = 0x10000000
230 CLONE_NEWUTS = 0x4000000
231 CLONE_PARENT = 0x8000
232 CLONE_PARENT_SETTID = 0x100000
233 CLONE_PTRACE = 0x2000
234 CLONE_SETTLS = 0x80000
235 CLONE_SIGHAND = 0x800
236 CLONE_SYSVSEM = 0x40000
237 CLONE_THREAD = 0x10000
238 CLONE_UNTRACED = 0x800000
239 CLONE_VFORK = 0x4000
240 CLONE_VM = 0x100
241 CMSPAR = 0x40000000
242 CR0 = 0x0
243 CR1 = 0x200
244 CR2 = 0x400
245 CR3 = 0x600
246 CRDLY = 0x600
247 CREAD = 0x80
248 CRTSCTS = 0x80000000
249 CS5 = 0x0
250 CS6 = 0x10
251 CS7 = 0x20
252 CS8 = 0x30
253 CSIGNAL = 0xff
254 CSIZE = 0x30
255 CSTART = 0x11
256 CSTATUS = 0x0
257 CSTOP = 0x13
258 CSTOPB = 0x40
259 CSUSP = 0x1a
260 DT_BLK = 0x6
261 DT_CHR = 0x2
262 DT_DIR = 0x4
263 DT_FIFO = 0x1
264 DT_LNK = 0xa
265 DT_REG = 0x8
266 DT_SOCK = 0xc
267 DT_UNKNOWN = 0x0
268 DT_WHT = 0xe
269 ECHO = 0x8
270 ECHOCTL = 0x200
271 ECHOE = 0x10
272 ECHOK = 0x20
273 ECHOKE = 0x800
274 ECHONL = 0x40
275 ECHOPRT = 0x400
276 ELF_NGREG = 0x22
277 ELF_PRARGSZ = 0x50
278 ENCODING_DEFAULT = 0x0
279 ENCODING_FM_MARK = 0x3
280 ENCODING_FM_SPACE = 0x4
281 ENCODING_MANCHESTER = 0x5
282 ENCODING_NRZ = 0x1
283 ENCODING_NRZI = 0x2
284 EPOLLERR = 0x8
285 EPOLLET = 0x80000000
286 EPOLLHUP = 0x10
287 EPOLLIN = 0x1
288 EPOLLMSG = 0x400
289 EPOLLONESHOT = 0x40000000
290 EPOLLOUT = 0x4
291 EPOLLPRI = 0x2
292 EPOLLRDBAND = 0x80
293 EPOLLRDHUP = 0x2000
294 EPOLLRDNORM = 0x40
295 EPOLLWAKEUP = 0x20000000
296 EPOLLWRBAND = 0x200
297 EPOLLWRNORM = 0x100
298 EPOLL_CLOEXEC = 0x80000
299 EPOLL_CTL_ADD = 0x1
300 EPOLL_CTL_DEL = 0x2
301 EPOLL_CTL_MOD = 0x3
302 ETH_P_1588 = 0x88f7
303 ETH_P_8021AD = 0x88a8
304 ETH_P_8021AH = 0x88e7
305 ETH_P_8021Q = 0x8100
306 ETH_P_802_2 = 0x4
307 ETH_P_802_3 = 0x1
308 ETH_P_802_3_MIN = 0x600
309 ETH_P_802_EX1 = 0x88b5
310 ETH_P_AARP = 0x80f3
311 ETH_P_AF_IUCV = 0xfbfb
312 ETH_P_ALL = 0x3
313 ETH_P_AOE = 0x88a2
314 ETH_P_ARCNET = 0x1a
315 ETH_P_ARP = 0x806
316 ETH_P_ATALK = 0x809b
317 ETH_P_ATMFATE = 0x8884
318 ETH_P_ATMMPOA = 0x884c
319 ETH_P_AX25 = 0x2
320 ETH_P_BATMAN = 0x4305
321 ETH_P_BPQ = 0x8ff
322 ETH_P_CAIF = 0xf7
323 ETH_P_CAN = 0xc
324 ETH_P_CANFD = 0xd
325 ETH_P_CONTROL = 0x16
326 ETH_P_CUST = 0x6006
327 ETH_P_DDCMP = 0x6
328 ETH_P_DEC = 0x6000
329 ETH_P_DIAG = 0x6005
330 ETH_P_DNA_DL = 0x6001
331 ETH_P_DNA_RC = 0x6002
332 ETH_P_DNA_RT = 0x6003
333 ETH_P_DSA = 0x1b
334 ETH_P_ECONET = 0x18
335 ETH_P_EDSA = 0xdada
336 ETH_P_FCOE = 0x8906
337 ETH_P_FIP = 0x8914
338 ETH_P_HDLC = 0x19
339 ETH_P_IEEE802154 = 0xf6
340 ETH_P_IEEEPUP = 0xa00
341 ETH_P_IEEEPUPAT = 0xa01
342 ETH_P_IP = 0x800
343 ETH_P_IPV6 = 0x86dd
344 ETH_P_IPX = 0x8137
345 ETH_P_IRDA = 0x17
346 ETH_P_LAT = 0x6004
347 ETH_P_LINK_CTL = 0x886c
348 ETH_P_LOCALTALK = 0x9
349 ETH_P_LOOP = 0x60
350 ETH_P_MOBITEX = 0x15
351 ETH_P_MPLS_MC = 0x8848
352 ETH_P_MPLS_UC = 0x8847
353 ETH_P_MVRP = 0x88f5
354 ETH_P_PAE = 0x888e
355 ETH_P_PAUSE = 0x8808
356 ETH_P_PHONET = 0xf5
357 ETH_P_PPPTALK = 0x10
358 ETH_P_PPP_DISC = 0x8863
359 ETH_P_PPP_MP = 0x8
360 ETH_P_PPP_SES = 0x8864
361 ETH_P_PRP = 0x88fb
362 ETH_P_PUP = 0x200
363 ETH_P_PUPAT = 0x201
364 ETH_P_QINQ1 = 0x9100
365 ETH_P_QINQ2 = 0x9200
366 ETH_P_QINQ3 = 0x9300
367 ETH_P_RARP = 0x8035
368 ETH_P_SCA = 0x6007
369 ETH_P_SLOW = 0x8809
370 ETH_P_SNAP = 0x5
371 ETH_P_TDLS = 0x890d
372 ETH_P_TEB = 0x6558
373 ETH_P_TIPC = 0x88ca
374 ETH_P_TRAILER = 0x1c
375 ETH_P_TR_802_2 = 0x11
376 ETH_P_WAN_PPP = 0x7
377 ETH_P_WCCP = 0x883e
378 ETH_P_X25 = 0x805
379 EXTA = 0xe
380 EXTB = 0xf
381 EXTPROC = 0x10000
382 FD_CLOEXEC = 0x1
383 FD_SETSIZE = 0x400
384 FF0 = 0x0
385 FF1 = 0x8000
386 FFDLY = 0x8000
387 FLUSHO = 0x1000
388 F_DUPFD = 0x0
389 F_DUPFD_CLOEXEC = 0x406
390 F_EXLCK = 0x4
391 F_GETFD = 0x1
392 F_GETFL = 0x3
393 F_GETLEASE = 0x401
394 F_GETLK = 0x5
395 F_GETLK64 = 0x5
396 F_GETOWN = 0x9
397 F_GETOWN_EX = 0x10
398 F_GETPIPE_SZ = 0x408
399 F_GETSIG = 0xb
400 F_LOCK = 0x1
401 F_NOTIFY = 0x402
402 F_OK = 0x0
403 F_RDLCK = 0x0
404 F_SETFD = 0x2
405 F_SETFL = 0x4
406 F_SETLEASE = 0x400
407 F_SETLK = 0x6
408 F_SETLK64 = 0x6
409 F_SETLKW = 0x7
410 F_SETLKW64 = 0x7
411 F_SETOWN = 0x8
412 F_SETOWN_EX = 0xf
413 F_SETPIPE_SZ = 0x407
414 F_SETSIG = 0xa
415 F_SHLCK = 0x8
416 F_TEST = 0x3
417 F_TLOCK = 0x2
418 F_ULOCK = 0x0
419 F_UNLCK = 0x2
420 F_WRLCK = 0x1
421 HUPCL = 0x400
422 IBSHIFT = 0x10
423 ICANON = 0x2
424 ICMPV6_FILTER = 0x1
425 ICRNL = 0x100
426 IEXTEN = 0x8000
427 IFA_F_DADFAILED = 0x8
428 IFA_F_DEPRECATED = 0x20
429 IFA_F_HOMEADDRESS = 0x10
430 IFA_F_NODAD = 0x2
431 IFA_F_OPTIMISTIC = 0x4
432 IFA_F_PERMANENT = 0x80
433 IFA_F_SECONDARY = 0x1
434 IFA_F_TEMPORARY = 0x1
435 IFA_F_TENTATIVE = 0x40
436 IFA_MAX = 0x7
437 IFF_802_1Q_VLAN = 0x1
438 IFF_ALLMULTI = 0x200
439 IFF_ATTACH_QUEUE = 0x200
440 IFF_AUTOMEDIA = 0x4000
441 IFF_BONDING = 0x20
442 IFF_BRIDGE_PORT = 0x4000
443 IFF_BROADCAST = 0x2
444 IFF_DEBUG = 0x4
445 IFF_DETACH_QUEUE = 0x400
446 IFF_DISABLE_NETPOLL = 0x1000
447 IFF_DONT_BRIDGE = 0x800
448 IFF_DORMANT = 0x20000
449 IFF_DYNAMIC = 0x8000
450 IFF_EBRIDGE = 0x2
451 IFF_ECHO = 0x40000
452 IFF_ISATAP = 0x80
453 IFF_LIVE_ADDR_CHANGE = 0x100000
454 IFF_LOOPBACK = 0x8
455 IFF_LOWER_UP = 0x10000
456 IFF_MACVLAN = 0x200000
457 IFF_MACVLAN_PORT = 0x2000
458 IFF_MASTER = 0x400
459 IFF_MASTER_8023AD = 0x8
460 IFF_MASTER_ALB = 0x10
461 IFF_MASTER_ARPMON = 0x100
462 IFF_MULTICAST = 0x1000
463 IFF_MULTI_QUEUE = 0x100
464 IFF_NOARP = 0x80
465 IFF_NOFILTER = 0x1000
466 IFF_NOTRAILERS = 0x20
467 IFF_NO_PI = 0x1000
468 IFF_ONE_QUEUE = 0x2000
469 IFF_OVS_DATAPATH = 0x8000
470 IFF_PERSIST = 0x800
471 IFF_POINTOPOINT = 0x10
472 IFF_PORTSEL = 0x2000
473 IFF_PROMISC = 0x100
474 IFF_RUNNING = 0x40
475 IFF_SLAVE = 0x800
476 IFF_SLAVE_INACTIVE = 0x4
477 IFF_SLAVE_NEEDARP = 0x40
478 IFF_SUPP_NOFCS = 0x80000
479 IFF_TAP = 0x2
480 IFF_TEAM_PORT = 0x40000
481 IFF_TUN = 0x1
482 IFF_TUN_EXCL = 0x8000
483 IFF_TX_SKB_SHARING = 0x10000
484 IFF_UNICAST_FLT = 0x20000
485 IFF_UP = 0x1
486 IFF_VNET_HDR = 0x4000
487 IFF_VOLATILE = 0x70c5a
488 IFF_WAN_HDLC = 0x200
489 IFF_XMIT_DST_RELEASE = 0x400
490 IFNAMSIZ = 0x10
491 IGNBRK = 0x1
492 IGNCR = 0x80
493 IGNPAR = 0x4
494 IMAXBEL = 0x2000
495 INLCR = 0x40
496 INPCK = 0x10
497 IN_ACCESS = 0x1
498 IN_ALL_EVENTS = 0xfff
499 IN_ATTRIB = 0x4
500 IN_CLASSA_HOST = 0xffffff
501 IN_CLASSA_MAX = 0x80
502 IN_CLASSA_NET = 0xff000000
503 IN_CLASSA_NSHIFT = 0x18
504 IN_CLASSB_HOST = 0xffff
505 IN_CLASSB_MAX = 0x10000
506 IN_CLASSB_NET = 0xffff0000
507 IN_CLASSB_NSHIFT = 0x10
508 IN_CLASSC_HOST = 0xff
509 IN_CLASSC_NET = 0xffffff00
510 IN_CLASSC_NSHIFT = 0x8
511 IN_CLOEXEC = 0x80000
512 IN_CLOSE = 0x18
513 IN_CLOSE_NOWRITE = 0x10
514 IN_CLOSE_WRITE = 0x8
515 IN_CREATE = 0x100
516 IN_DELETE = 0x200
517 IN_DELETE_SELF = 0x400
518 IN_DONT_FOLLOW = 0x2000000
519 IN_EXCL_UNLINK = 0x4000000
520 IN_IGNORED = 0x8000
521 IN_ISDIR = 0x40000000
522 IN_LOOPBACKNET = 0x7f
523 IN_MASK_ADD = 0x20000000
524 IN_MODIFY = 0x2
525 IN_MOVE = 0xc0
526 IN_MOVED_FROM = 0x40
527 IN_MOVED_TO = 0x80
528 IN_MOVE_SELF = 0x800
529 IN_NONBLOCK = 0x800
530 IN_ONESHOT = 0x80000000
531 IN_ONLYDIR = 0x1000000
532 IN_OPEN = 0x20
533 IN_Q_OVERFLOW = 0x4000
534 IN_UNMOUNT = 0x2000
535 IPPROTO_AH = 0x33
536 IPPROTO_BEETPH = 0x5e
537 IPPROTO_COMP = 0x6c
538 IPPROTO_DCCP = 0x21
539 IPPROTO_DSTOPTS = 0x3c
540 IPPROTO_EGP = 0x8
541 IPPROTO_ENCAP = 0x62
542 IPPROTO_ESP = 0x32
543 IPPROTO_FRAGMENT = 0x2c
544 IPPROTO_GRE = 0x2f
545 IPPROTO_HOPOPTS = 0x0
546 IPPROTO_ICMP = 0x1
547 IPPROTO_ICMPV6 = 0x3a
548 IPPROTO_IDP = 0x16
549 IPPROTO_IGMP = 0x2
550 IPPROTO_IP = 0x0
551 IPPROTO_IPIP = 0x4
552 IPPROTO_IPV6 = 0x29
553 IPPROTO_MH = 0x87
554 IPPROTO_MTP = 0x5c
555 IPPROTO_NONE = 0x3b
556 IPPROTO_PIM = 0x67
557 IPPROTO_PUP = 0xc
558 IPPROTO_RAW = 0xff
559 IPPROTO_ROUTING = 0x2b
560 IPPROTO_RSVP = 0x2e
561 IPPROTO_SCTP = 0x84
562 IPPROTO_TCP = 0x6
563 IPPROTO_TP = 0x1d
564 IPPROTO_UDP = 0x11
565 IPPROTO_UDPLITE = 0x88
566 IPV6_2292DSTOPTS = 0x4
567 IPV6_2292HOPLIMIT = 0x8
568 IPV6_2292HOPOPTS = 0x3
569 IPV6_2292PKTINFO = 0x2
570 IPV6_2292PKTOPTIONS = 0x6
571 IPV6_2292RTHDR = 0x5
572 IPV6_ADDRFORM = 0x1
573 IPV6_ADD_MEMBERSHIP = 0x14
574 IPV6_AUTHHDR = 0xa
575 IPV6_CHECKSUM = 0x7
576 IPV6_DROP_MEMBERSHIP = 0x15
577 IPV6_DSTOPTS = 0x3b
578 IPV6_HOPLIMIT = 0x34
579 IPV6_HOPOPTS = 0x36
580 IPV6_IPSEC_POLICY = 0x22
581 IPV6_JOIN_ANYCAST = 0x1b
582 IPV6_JOIN_GROUP = 0x14
583 IPV6_LEAVE_ANYCAST = 0x1c
584 IPV6_LEAVE_GROUP = 0x15
585 IPV6_MTU = 0x18
586 IPV6_MTU_DISCOVER = 0x17
587 IPV6_MULTICAST_HOPS = 0x12
588 IPV6_MULTICAST_IF = 0x11
589 IPV6_MULTICAST_LOOP = 0x13
590 IPV6_NEXTHOP = 0x9
591 IPV6_PKTINFO = 0x32
592 IPV6_PMTUDISC_DO = 0x2
593 IPV6_PMTUDISC_DONT = 0x0
594 IPV6_PMTUDISC_PROBE = 0x3
595 IPV6_PMTUDISC_WANT = 0x1
596 IPV6_RECVDSTOPTS = 0x3a
597 IPV6_RECVERR = 0x19
598 IPV6_RECVHOPLIMIT = 0x33
599 IPV6_RECVHOPOPTS = 0x35
600 IPV6_RECVPKTINFO = 0x31
601 IPV6_RECVRTHDR = 0x38
602 IPV6_RECVTCLASS = 0x42
603 IPV6_ROUTER_ALERT = 0x16
604 IPV6_RTHDR = 0x39
605 IPV6_RTHDRDSTOPTS = 0x37
606 IPV6_RTHDR_LOOSE = 0x0
607 IPV6_RTHDR_STRICT = 0x1
608 IPV6_RTHDR_TYPE_0 = 0x0
609 IPV6_RXDSTOPTS = 0x3b
610 IPV6_RXHOPOPTS = 0x36
611 IPV6_TCLASS = 0x43
612 IPV6_UNICAST_HOPS = 0x10
613 IPV6_V6ONLY = 0x1a
614 IPV6_XFRM_POLICY = 0x23
615 IP_ADD_MEMBERSHIP = 0x23
616 IP_ADD_SOURCE_MEMBERSHIP = 0x27
617 IP_BLOCK_SOURCE = 0x26
618 IP_DEFAULT_MULTICAST_LOOP = 0x1
619 IP_DEFAULT_MULTICAST_TTL = 0x1
620 IP_DF = 0x4000
621 IP_DROP_MEMBERSHIP = 0x24
622 IP_DROP_SOURCE_MEMBERSHIP = 0x28
623 IP_FREEBIND = 0xf
624 IP_HDRINCL = 0x3
625 IP_IPSEC_POLICY = 0x10
626 IP_MAXPACKET = 0xffff
627 IP_MAX_MEMBERSHIPS = 0x14
628 IP_MF = 0x2000
629 IP_MINTTL = 0x15
630 IP_MSFILTER = 0x29
631 IP_MSS = 0x240
632 IP_MTU = 0xe
633 IP_MTU_DISCOVER = 0xa
634 IP_MULTICAST_ALL = 0x31
635 IP_MULTICAST_IF = 0x20
636 IP_MULTICAST_LOOP = 0x22
637 IP_MULTICAST_TTL = 0x21
638 IP_OFFMASK = 0x1fff
639 IP_OPTIONS = 0x4
640 IP_ORIGDSTADDR = 0x14
641 IP_PASSSEC = 0x12
642 IP_PKTINFO = 0x8
643 IP_PKTOPTIONS = 0x9
644 IP_PMTUDISC = 0xa
645 IP_PMTUDISC_DO = 0x2
646 IP_PMTUDISC_DONT = 0x0
647 IP_PMTUDISC_PROBE = 0x3
648 IP_PMTUDISC_WANT = 0x1
649 IP_RECVERR = 0xb
650 IP_RECVOPTS = 0x6
651 IP_RECVORIGDSTADDR = 0x14
652 IP_RECVRETOPTS = 0x7
653 IP_RECVTOS = 0xd
654 IP_RECVTTL = 0xc
655 IP_RETOPTS = 0x7
656 IP_RF = 0x8000
657 IP_ROUTER_ALERT = 0x5
658 IP_TOS = 0x1
659 IP_TRANSPARENT = 0x13
660 IP_TTL = 0x2
661 IP_UNBLOCK_SOURCE = 0x25
662 IP_UNICAST_IF = 0x32
663 IP_XFRM_POLICY = 0x11
664 ISIG = 0x1
665 ISTRIP = 0x20
666 IUCLC = 0x200
667 IUTF8 = 0x4000
668 IXANY = 0x800
669 IXOFF = 0x1000
670 IXON = 0x400
671 LINUX_REBOOT_CMD_CAD_OFF = 0x0
672 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
673 LINUX_REBOOT_CMD_HALT = 0xcdef0123
674 LINUX_REBOOT_CMD_KEXEC = 0x45584543
675 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
676 LINUX_REBOOT_CMD_RESTART = 0x1234567
677 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
678 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
679 LINUX_REBOOT_MAGIC1 = 0xfee1dead
680 LINUX_REBOOT_MAGIC2 = 0x28121969
681 LOCK_EX = 0x2
682 LOCK_NB = 0x4
683 LOCK_SH = 0x1
684 LOCK_UN = 0x8
685 MADV_DODUMP = 0x11
686 MADV_DOFORK = 0xb
687 MADV_DONTDUMP = 0x10
688 MADV_DONTFORK = 0xa
689 MADV_DONTNEED = 0x4
690 MADV_HUGEPAGE = 0xe
691 MADV_HWPOISON = 0x64
692 MADV_MERGEABLE = 0xc
693 MADV_NOHUGEPAGE = 0xf
694 MADV_NORMAL = 0x0
695 MADV_RANDOM = 0x1
696 MADV_REMOVE = 0x9
697 MADV_SEQUENTIAL = 0x2
698 MADV_UNMERGEABLE = 0xd
699 MADV_WILLNEED = 0x3
700 MAP_ANON = 0x20
701 MAP_ANONYMOUS = 0x20
702 MAP_DENYWRITE = 0x800
703 MAP_EXECUTABLE = 0x1000
704 MAP_FILE = 0x0
705 MAP_FIXED = 0x10
706 MAP_GROWSDOWN = 0x100
707 MAP_HUGETLB = 0x40000
708 MAP_HUGE_MASK = 0x3f
709 MAP_HUGE_SHIFT = 0x1a
710 MAP_LOCKED = 0x2000
711 MAP_NONBLOCK = 0x10000
712 MAP_NORESERVE = 0x4000
713 MAP_POPULATE = 0x8000
714 MAP_PRIVATE = 0x2
715 MAP_SHARED = 0x1
716 MAP_STACK = 0x20000
717 MAP_TYPE = 0xf
718 MCL_CURRENT = 0x1
719 MCL_FUTURE = 0x2
720 MNT_DETACH = 0x2
721 MNT_EXPIRE = 0x4
722 MNT_FORCE = 0x1
723 MSG_CMSG_CLOEXEC = 0x40000000
724 MSG_CONFIRM = 0x800
725 MSG_CTRUNC = 0x8
726 MSG_DONTROUTE = 0x4
727 MSG_DONTWAIT = 0x40
728 MSG_EOR = 0x80
729 MSG_ERRQUEUE = 0x2000
730 MSG_FASTOPEN = 0x20000000
731 MSG_FIN = 0x200
732 MSG_MORE = 0x8000
733 MSG_NOSIGNAL = 0x4000
734 MSG_OOB = 0x1
735 MSG_PEEK = 0x2
736 MSG_PROXY = 0x10
737 MSG_RST = 0x1000
738 MSG_SYN = 0x400
739 MSG_TRUNC = 0x20
740 MSG_TRYHARD = 0x4
741 MSG_WAITALL = 0x100
742 MSG_WAITFORONE = 0x10000
743 MS_ACTIVE = 0x40000000
744 MS_ASYNC = 0x1
745 MS_BIND = 0x1000
746 MS_DIRSYNC = 0x80
747 MS_INVALIDATE = 0x2
748 MS_I_VERSION = 0x800000
749 MS_KERNMOUNT = 0x400000
750 MS_MANDLOCK = 0x40
751 MS_MGC_MSK = 0xffff0000
752 MS_MGC_VAL = 0xc0ed0000
753 MS_MOVE = 0x2000
754 MS_NOATIME = 0x400
755 MS_NODEV = 0x4
756 MS_NODIRATIME = 0x800
757 MS_NOEXEC = 0x8
758 MS_NOSUID = 0x2
759 MS_NOUSER = -0x80000000
760 MS_POSIXACL = 0x10000
761 MS_PRIVATE = 0x40000
762 MS_RDONLY = 0x1
763 MS_REC = 0x4000
764 MS_RELATIME = 0x200000
765 MS_REMOUNT = 0x20
766 MS_RMT_MASK = 0x800051
767 MS_SHARED = 0x100000
768 MS_SILENT = 0x8000
769 MS_SLAVE = 0x80000
770 MS_STRICTATIME = 0x1000000
771 MS_SYNC = 0x4
772 MS_SYNCHRONOUS = 0x10
773 MS_UNBINDABLE = 0x20000
774 NAME_MAX = 0xff
775 NETLINK_ADD_MEMBERSHIP = 0x1
776 NETLINK_AUDIT = 0x9
777 NETLINK_BROADCAST_ERROR = 0x4
778 NETLINK_CONNECTOR = 0xb
779 NETLINK_CRYPTO = 0x15
780 NETLINK_DNRTMSG = 0xe
781 NETLINK_DROP_MEMBERSHIP = 0x2
782 NETLINK_ECRYPTFS = 0x13
783 NETLINK_FIB_LOOKUP = 0xa
784 NETLINK_FIREWALL = 0x3
785 NETLINK_GENERIC = 0x10
786 NETLINK_INET_DIAG = 0x4
787 NETLINK_IP6_FW = 0xd
788 NETLINK_ISCSI = 0x8
789 NETLINK_KOBJECT_UEVENT = 0xf
790 NETLINK_NETFILTER = 0xc
791 NETLINK_NFLOG = 0x5
792 NETLINK_NO_ENOBUFS = 0x5
793 NETLINK_PKTINFO = 0x3
794 NETLINK_RDMA = 0x14
795 NETLINK_ROUTE = 0x0
796 NETLINK_RX_RING = 0x6
797 NETLINK_SCSITRANSPORT = 0x12
798 NETLINK_SELINUX = 0x7
799 NETLINK_SOCK_DIAG = 0x4
800 NETLINK_TX_RING = 0x7
801 NETLINK_UNUSED = 0x1
802 NETLINK_USERSOCK = 0x2
803 NETLINK_XFRM = 0x6
804 NL0 = 0x0
805 NL1 = 0x100
806 NLA_ALIGNTO = 0x4
807 NLA_F_NESTED = 0x8000
808 NLA_F_NET_BYTEORDER = 0x4000
809 NLA_HDRLEN = 0x4
810 NLDLY = 0x100
811 NLMSG_ALIGNTO = 0x4
812 NLMSG_DONE = 0x3
813 NLMSG_ERROR = 0x2
814 NLMSG_HDRLEN = 0x10
815 NLMSG_MIN_TYPE = 0x10
816 NLMSG_NOOP = 0x1
817 NLMSG_OVERRUN = 0x4
818 NLM_F_ACK = 0x4
819 NLM_F_APPEND = 0x800
820 NLM_F_ATOMIC = 0x400
821 NLM_F_CREATE = 0x400
822 NLM_F_DUMP = 0x300
823 NLM_F_DUMP_INTR = 0x10
824 NLM_F_ECHO = 0x8
825 NLM_F_EXCL = 0x200
826 NLM_F_MATCH = 0x200
827 NLM_F_MULTI = 0x2
828 NLM_F_REPLACE = 0x100
829 NLM_F_REQUEST = 0x1
830 NLM_F_ROOT = 0x100
831 NOFLSH = 0x80
832 OCRNL = 0x8
833 OFDEL = 0x80
834 OFILL = 0x40
835 OLCUC = 0x2
836 ONLCR = 0x4
837 ONLRET = 0x20
838 ONOCR = 0x10
839 OPOST = 0x1
840 O_ACCMODE = 0x3
841 O_APPEND = 0x400
842 O_ASYNC = 0x2000
843 O_CLOEXEC = 0x80000
844 O_CREAT = 0x40
845 O_DIRECT = 0x10000
846 O_DIRECTORY = 0x4000
847 O_DSYNC = 0x1000
848 O_EXCL = 0x80
849 O_FSYNC = 0x101000
850 O_LARGEFILE = 0x0
851 O_NDELAY = 0x800
852 O_NOATIME = 0x40000
853 O_NOCTTY = 0x100
854 O_NOFOLLOW = 0x8000
855 O_NONBLOCK = 0x800
856 O_PATH = 0x200000
857 O_RDONLY = 0x0
858 O_RDWR = 0x2
859 O_RSYNC = 0x101000
860 O_SYNC = 0x101000
861 O_TMPFILE = 0x410000
862 O_TRUNC = 0x200
863 O_WRONLY = 0x1
864 PACKET_ADD_MEMBERSHIP = 0x1
865 PACKET_AUXDATA = 0x8
866 PACKET_BROADCAST = 0x1
867 PACKET_COPY_THRESH = 0x7
868 PACKET_DROP_MEMBERSHIP = 0x2
869 PACKET_FANOUT = 0x12
870 PACKET_FANOUT_CPU = 0x2
871 PACKET_FANOUT_FLAG_DEFRAG = 0x8000
872 PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
873 PACKET_FANOUT_HASH = 0x0
874 PACKET_FANOUT_LB = 0x1
875 PACKET_FANOUT_RND = 0x4
876 PACKET_FANOUT_ROLLOVER = 0x3
877 PACKET_FASTROUTE = 0x6
878 PACKET_HDRLEN = 0xb
879 PACKET_HOST = 0x0
880 PACKET_LOOPBACK = 0x5
881 PACKET_LOSS = 0xe
882 PACKET_MR_ALLMULTI = 0x2
883 PACKET_MR_MULTICAST = 0x0
884 PACKET_MR_PROMISC = 0x1
885 PACKET_MR_UNICAST = 0x3
886 PACKET_MULTICAST = 0x2
887 PACKET_ORIGDEV = 0x9
888 PACKET_OTHERHOST = 0x3
889 PACKET_OUTGOING = 0x4
890 PACKET_RECV_OUTPUT = 0x3
891 PACKET_RESERVE = 0xc
892 PACKET_RX_RING = 0x5
893 PACKET_STATISTICS = 0x6
894 PACKET_TIMESTAMP = 0x11
895 PACKET_TX_HAS_OFF = 0x13
896 PACKET_TX_RING = 0xd
897 PACKET_TX_TIMESTAMP = 0x10
898 PACKET_VERSION = 0xa
899 PACKET_VNET_HDR = 0xf
900 PARENB = 0x100
901 PARITY_CRC16_PR0 = 0x2
902 PARITY_CRC16_PR0_CCITT = 0x4
903 PARITY_CRC16_PR1 = 0x3
904 PARITY_CRC16_PR1_CCITT = 0x5
905 PARITY_CRC32_PR0_CCITT = 0x6
906 PARITY_CRC32_PR1_CCITT = 0x7
907 PARITY_DEFAULT = 0x0
908 PARITY_NONE = 0x1
909 PARMRK = 0x8
910 PARODD = 0x200
911 PENDIN = 0x4000
912 PRIO_PGRP = 0x1
913 PRIO_PROCESS = 0x0
914 PRIO_USER = 0x2
915 PROT_EXEC = 0x4
916 PROT_GROWSDOWN = 0x1000000
917 PROT_GROWSUP = 0x2000000
918 PROT_NONE = 0x0
919 PROT_READ = 0x1
920 PROT_WRITE = 0x2
921 PR_CAPBSET_DROP = 0x18
922 PR_CAPBSET_READ = 0x17
923 PR_ENDIAN_BIG = 0x0
924 PR_ENDIAN_LITTLE = 0x1
925 PR_ENDIAN_PPC_LITTLE = 0x2
926 PR_FPEMU_NOPRINT = 0x1
927 PR_FPEMU_SIGFPE = 0x2
928 PR_FP_EXC_ASYNC = 0x2
929 PR_FP_EXC_DISABLED = 0x0
930 PR_FP_EXC_DIV = 0x10000
931 PR_FP_EXC_INV = 0x100000
932 PR_FP_EXC_NONRECOV = 0x1
933 PR_FP_EXC_OVF = 0x20000
934 PR_FP_EXC_PRECISE = 0x3
935 PR_FP_EXC_RES = 0x80000
936 PR_FP_EXC_SW_ENABLE = 0x80
937 PR_FP_EXC_UND = 0x40000
938 PR_GET_CHILD_SUBREAPER = 0x25
939 PR_GET_DUMPABLE = 0x3
940 PR_GET_ENDIAN = 0x13
941 PR_GET_FPEMU = 0x9
942 PR_GET_FPEXC = 0xb
943 PR_GET_KEEPCAPS = 0x7
944 PR_GET_NAME = 0x10
945 PR_GET_NO_NEW_PRIVS = 0x27
946 PR_GET_PDEATHSIG = 0x2
947 PR_GET_SECCOMP = 0x15
948 PR_GET_SECUREBITS = 0x1b
949 PR_GET_TID_ADDRESS = 0x28
950 PR_GET_TIMERSLACK = 0x1e
951 PR_GET_TIMING = 0xd
952 PR_GET_TSC = 0x19
953 PR_GET_UNALIGN = 0x5
954 PR_MCE_KILL = 0x21
955 PR_MCE_KILL_CLEAR = 0x0
956 PR_MCE_KILL_DEFAULT = 0x2
957 PR_MCE_KILL_EARLY = 0x1
958 PR_MCE_KILL_GET = 0x22
959 PR_MCE_KILL_LATE = 0x0
960 PR_MCE_KILL_SET = 0x1
961 PR_SET_CHILD_SUBREAPER = 0x24
962 PR_SET_DUMPABLE = 0x4
963 PR_SET_ENDIAN = 0x14
964 PR_SET_FPEMU = 0xa
965 PR_SET_FPEXC = 0xc
966 PR_SET_KEEPCAPS = 0x8
967 PR_SET_MM = 0x23
968 PR_SET_MM_ARG_END = 0x9
969 PR_SET_MM_ARG_START = 0x8
970 PR_SET_MM_AUXV = 0xc
971 PR_SET_MM_BRK = 0x7
972 PR_SET_MM_END_CODE = 0x2
973 PR_SET_MM_END_DATA = 0x4
974 PR_SET_MM_ENV_END = 0xb
975 PR_SET_MM_ENV_START = 0xa
976 PR_SET_MM_EXE_FILE = 0xd
977 PR_SET_MM_START_BRK = 0x6
978 PR_SET_MM_START_CODE = 0x1
979 PR_SET_MM_START_DATA = 0x3
980 PR_SET_MM_START_STACK = 0x5
981 PR_SET_NAME = 0xf
982 PR_SET_NO_NEW_PRIVS = 0x26
983 PR_SET_PDEATHSIG = 0x1
984 PR_SET_PTRACER = 0x59616d61
985 PR_SET_PTRACER_ANY = -0x1
986 PR_SET_SECCOMP = 0x16
987 PR_SET_SECUREBITS = 0x1c
988 PR_SET_TIMERSLACK = 0x1d
989 PR_SET_TIMING = 0xe
990 PR_SET_TSC = 0x1a
991 PR_SET_UNALIGN = 0x6
992 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
993 PR_TASK_PERF_EVENTS_ENABLE = 0x20
994 PR_TIMING_STATISTICAL = 0x0
995 PR_TIMING_TIMESTAMP = 0x1
996 PR_TSC_ENABLE = 0x1
997 PR_TSC_SIGSEGV = 0x2
998 PR_UNALIGN_NOPRINT = 0x1
999 PR_UNALIGN_SIGBUS = 0x2
1000 PTRACE_ATTACH = 0x10
1001 PTRACE_CONT = 0x7
1002 PTRACE_DETACH = 0x11
1003 PTRACE_EVENT_CLONE = 0x3
1004 PTRACE_EVENT_EXEC = 0x4
1005 PTRACE_EVENT_EXIT = 0x6
1006 PTRACE_EVENT_FORK = 0x1
1007 PTRACE_EVENT_SECCOMP = 0x7
1008 PTRACE_EVENT_STOP = 0x80
1009 PTRACE_EVENT_VFORK = 0x2
1010 PTRACE_EVENT_VFORK_DONE = 0x5
1011 PTRACE_GETEVENTMSG = 0x4201
1012 PTRACE_GETREGS = 0xc
1013 PTRACE_GETREGSET = 0x4204
1014 PTRACE_GETSIGINFO = 0x4202
1015 PTRACE_GETSIGMASK = 0x420a
1016 PTRACE_INTERRUPT = 0x4207
1017 PTRACE_KILL = 0x8
1018 PTRACE_LISTEN = 0x4208
1019 PTRACE_O_EXITKILL = 0x100000
1020 PTRACE_O_MASK = 0x1000ff
1021 PTRACE_O_TRACECLONE = 0x8
1022 PTRACE_O_TRACEEXEC = 0x10
1023 PTRACE_O_TRACEEXIT = 0x40
1024 PTRACE_O_TRACEFORK = 0x2
1025 PTRACE_O_TRACESECCOMP = 0x80
1026 PTRACE_O_TRACESYSGOOD = 0x1
1027 PTRACE_O_TRACEVFORK = 0x4
1028 PTRACE_O_TRACEVFORKDONE = 0x20
1029 PTRACE_PEEKDATA = 0x2
1030 PTRACE_PEEKSIGINFO = 0x4209
1031 PTRACE_PEEKSIGINFO_SHARED = 0x1
1032 PTRACE_PEEKTEXT = 0x1
1033 PTRACE_PEEKUSR = 0x3
1034 PTRACE_POKEDATA = 0x5
1035 PTRACE_POKETEXT = 0x4
1036 PTRACE_POKEUSR = 0x6
1037 PTRACE_SEIZE = 0x4206
1038 PTRACE_SETOPTIONS = 0x4200
1039 PTRACE_SETREGS = 0xd
1040 PTRACE_SETREGSET = 0x4205
1041 PTRACE_SETSIGINFO = 0x4203
1042 PTRACE_SETSIGMASK = 0x420b
1043 PTRACE_SINGLESTEP = 0x9
1044 PTRACE_SYSCALL = 0x18
1045 PTRACE_TRACEME = 0x0
1046 RLIMIT_AS = 0x9
1047 RLIMIT_CORE = 0x4
1048 RLIMIT_CPU = 0x0
1049 RLIMIT_DATA = 0x2
1050 RLIMIT_FSIZE = 0x1
1051 RLIMIT_NOFILE = 0x7
1052 RLIMIT_STACK = 0x3
1053 RLIM_INFINITY = -0x1
1054 RTAX_ADVMSS = 0x8
1055 RTAX_CWND = 0x7
1056 RTAX_FEATURES = 0xc
1057 RTAX_FEATURE_ALLFRAG = 0x8
1058 RTAX_FEATURE_ECN = 0x1
1059 RTAX_FEATURE_SACK = 0x2
1060 RTAX_FEATURE_TIMESTAMP = 0x4
1061 RTAX_HOPLIMIT = 0xa
1062 RTAX_INITCWND = 0xb
1063 RTAX_INITRWND = 0xe
1064 RTAX_LOCK = 0x1
1065 RTAX_MAX = 0xf
1066 RTAX_MTU = 0x2
1067 RTAX_QUICKACK = 0xf
1068 RTAX_REORDERING = 0x9
1069 RTAX_RTO_MIN = 0xd
1070 RTAX_RTT = 0x4
1071 RTAX_RTTVAR = 0x5
1072 RTAX_SSTHRESH = 0x6
1073 RTAX_UNSPEC = 0x0
1074 RTAX_WINDOW = 0x3
1075 RTA_ALIGNTO = 0x4
1076 RTA_MAX = 0x11
1077 RTCF_DIRECTSRC = 0x4000000
1078 RTCF_DOREDIRECT = 0x1000000
1079 RTCF_LOG = 0x2000000
1080 RTCF_MASQ = 0x400000
1081 RTCF_NAT = 0x800000
1082 RTCF_VALVE = 0x200000
1083 RTF_ADDRCLASSMASK = 0xf8000000
1084 RTF_ADDRCONF = 0x40000
1085 RTF_ALLONLINK = 0x20000
1086 RTF_BROADCAST = 0x10000000
1087 RTF_CACHE = 0x1000000
1088 RTF_DEFAULT = 0x10000
1089 RTF_DYNAMIC = 0x10
1090 RTF_FLOW = 0x2000000
1091 RTF_GATEWAY = 0x2
1092 RTF_HOST = 0x4
1093 RTF_INTERFACE = 0x40000000
1094 RTF_IRTT = 0x100
1095 RTF_LINKRT = 0x100000
1096 RTF_LOCAL = 0x80000000
1097 RTF_MODIFIED = 0x20
1098 RTF_MSS = 0x40
1099 RTF_MTU = 0x40
1100 RTF_MULTICAST = 0x20000000
1101 RTF_NAT = 0x8000000
1102 RTF_NOFORWARD = 0x1000
1103 RTF_NONEXTHOP = 0x200000
1104 RTF_NOPMTUDISC = 0x4000
1105 RTF_POLICY = 0x4000000
1106 RTF_REINSTATE = 0x8
1107 RTF_REJECT = 0x200
1108 RTF_STATIC = 0x400
1109 RTF_THROW = 0x2000
1110 RTF_UP = 0x1
1111 RTF_WINDOW = 0x80
1112 RTF_XRESOLVE = 0x800
1113 RTM_BASE = 0x10
1114 RTM_DELACTION = 0x31
1115 RTM_DELADDR = 0x15
1116 RTM_DELADDRLABEL = 0x49
1117 RTM_DELLINK = 0x11
1118 RTM_DELMDB = 0x55
1119 RTM_DELNEIGH = 0x1d
1120 RTM_DELQDISC = 0x25
1121 RTM_DELROUTE = 0x19
1122 RTM_DELRULE = 0x21
1123 RTM_DELTCLASS = 0x29
1124 RTM_DELTFILTER = 0x2d
1125 RTM_F_CLONED = 0x200
1126 RTM_F_EQUALIZE = 0x400
1127 RTM_F_NOTIFY = 0x100
1128 RTM_F_PREFIX = 0x800
1129 RTM_GETACTION = 0x32
1130 RTM_GETADDR = 0x16
1131 RTM_GETADDRLABEL = 0x4a
1132 RTM_GETANYCAST = 0x3e
1133 RTM_GETDCB = 0x4e
1134 RTM_GETLINK = 0x12
1135 RTM_GETMDB = 0x56
1136 RTM_GETMULTICAST = 0x3a
1137 RTM_GETNEIGH = 0x1e
1138 RTM_GETNEIGHTBL = 0x42
1139 RTM_GETNETCONF = 0x52
1140 RTM_GETQDISC = 0x26
1141 RTM_GETROUTE = 0x1a
1142 RTM_GETRULE = 0x22
1143 RTM_GETTCLASS = 0x2a
1144 RTM_GETTFILTER = 0x2e
1145 RTM_MAX = 0x57
1146 RTM_NEWACTION = 0x30
1147 RTM_NEWADDR = 0x14
1148 RTM_NEWADDRLABEL = 0x48
1149 RTM_NEWLINK = 0x10
1150 RTM_NEWMDB = 0x54
1151 RTM_NEWNDUSEROPT = 0x44
1152 RTM_NEWNEIGH = 0x1c
1153 RTM_NEWNEIGHTBL = 0x40
1154 RTM_NEWNETCONF = 0x50
1155 RTM_NEWPREFIX = 0x34
1156 RTM_NEWQDISC = 0x24
1157 RTM_NEWROUTE = 0x18
1158 RTM_NEWRULE = 0x20
1159 RTM_NEWTCLASS = 0x28
1160 RTM_NEWTFILTER = 0x2c
1161 RTM_NR_FAMILIES = 0x12
1162 RTM_NR_MSGTYPES = 0x48
1163 RTM_SETDCB = 0x4f
1164 RTM_SETLINK = 0x13
1165 RTM_SETNEIGHTBL = 0x43
1166 RTNH_ALIGNTO = 0x4
1167 RTNH_F_DEAD = 0x1
1168 RTNH_F_ONLINK = 0x4
1169 RTNH_F_PERVASIVE = 0x2
1170 RTN_MAX = 0xb
1171 RTPROT_BIRD = 0xc
1172 RTPROT_BOOT = 0x3
1173 RTPROT_DHCP = 0x10
1174 RTPROT_DNROUTED = 0xd
1175 RTPROT_GATED = 0x8
1176 RTPROT_KERNEL = 0x2
1177 RTPROT_MROUTED = 0x11
1178 RTPROT_MRT = 0xa
1179 RTPROT_NTK = 0xf
1180 RTPROT_RA = 0x9
1181 RTPROT_REDIRECT = 0x1
1182 RTPROT_STATIC = 0x4
1183 RTPROT_UNSPEC = 0x0
1184 RTPROT_XORP = 0xe
1185 RTPROT_ZEBRA = 0xb
1186 RT_CLASS_DEFAULT = 0xfd
1187 RT_CLASS_LOCAL = 0xff
1188 RT_CLASS_MAIN = 0xfe
1189 RT_CLASS_MAX = 0xff
1190 RT_CLASS_UNSPEC = 0x0
1191 RUSAGE_CHILDREN = -0x1
1192 RUSAGE_SELF = 0x0
1193 RUSAGE_THREAD = 0x1
1194 SCM_CREDENTIALS = 0x2
1195 SCM_RIGHTS = 0x1
1196 SCM_TIMESTAMP = 0x1d
1197 SCM_TIMESTAMPING = 0x25
1198 SCM_TIMESTAMPNS = 0x23
1199 SCM_WIFI_STATUS = 0x29
1200 SHUT_RD = 0x0
1201 SHUT_RDWR = 0x2
1202 SHUT_WR = 0x1
1203 SIOCADDDLCI = 0x8980
1204 SIOCADDMULTI = 0x8931
1205 SIOCADDRT = 0x890b
1206 SIOCATMARK = 0x8905
1207 SIOCDARP = 0x8953
1208 SIOCDELDLCI = 0x8981
1209 SIOCDELMULTI = 0x8932
1210 SIOCDELRT = 0x890c
1211 SIOCDEVPRIVATE = 0x89f0
1212 SIOCDIFADDR = 0x8936
1213 SIOCDRARP = 0x8960
1214 SIOCGARP = 0x8954
1215 SIOCGIFADDR = 0x8915
1216 SIOCGIFBR = 0x8940
1217 SIOCGIFBRDADDR = 0x8919
1218 SIOCGIFCONF = 0x8912
1219 SIOCGIFCOUNT = 0x8938
1220 SIOCGIFDSTADDR = 0x8917
1221 SIOCGIFENCAP = 0x8925
1222 SIOCGIFFLAGS = 0x8913
1223 SIOCGIFHWADDR = 0x8927
1224 SIOCGIFINDEX = 0x8933
1225 SIOCGIFMAP = 0x8970
1226 SIOCGIFMEM = 0x891f
1227 SIOCGIFMETRIC = 0x891d
1228 SIOCGIFMTU = 0x8921
1229 SIOCGIFNAME = 0x8910
1230 SIOCGIFNETMASK = 0x891b
1231 SIOCGIFPFLAGS = 0x8935
1232 SIOCGIFSLAVE = 0x8929
1233 SIOCGIFTXQLEN = 0x8942
1234 SIOCGPGRP = 0x8904
1235 SIOCGRARP = 0x8961
1236 SIOCGSTAMP = 0x8906
1237 SIOCGSTAMPNS = 0x8907
1238 SIOCPROTOPRIVATE = 0x89e0
1239 SIOCRTMSG = 0x890d
1240 SIOCSARP = 0x8955
1241 SIOCSIFADDR = 0x8916
1242 SIOCSIFBR = 0x8941
1243 SIOCSIFBRDADDR = 0x891a
1244 SIOCSIFDSTADDR = 0x8918
1245 SIOCSIFENCAP = 0x8926
1246 SIOCSIFFLAGS = 0x8914
1247 SIOCSIFHWADDR = 0x8924
1248 SIOCSIFHWBROADCAST = 0x8937
1249 SIOCSIFLINK = 0x8911
1250 SIOCSIFMAP = 0x8971
1251 SIOCSIFMEM = 0x8920
1252 SIOCSIFMETRIC = 0x891e
1253 SIOCSIFMTU = 0x8922
1254 SIOCSIFNAME = 0x8923
1255 SIOCSIFNETMASK = 0x891c
1256 SIOCSIFPFLAGS = 0x8934
1257 SIOCSIFSLAVE = 0x8930
1258 SIOCSIFTXQLEN = 0x8943
1259 SIOCSPGRP = 0x8902
1260 SIOCSRARP = 0x8962
1261 SOCK_CLOEXEC = 0x80000
1262 SOCK_DCCP = 0x6
1263 SOCK_DGRAM = 0x2
1264 SOCK_NONBLOCK = 0x800
1265 SOCK_PACKET = 0xa
1266 SOCK_RAW = 0x3
1267 SOCK_RDM = 0x4
1268 SOCK_SEQPACKET = 0x5
1269 SOCK_STREAM = 0x1
1270 SOL_AAL = 0x109
1271 SOL_ATM = 0x108
1272 SOL_DECNET = 0x105
1273 SOL_ICMPV6 = 0x3a
1274 SOL_IP = 0x0
1275 SOL_IPV6 = 0x29
1276 SOL_IRDA = 0x10a
1277 SOL_PACKET = 0x107
1278 SOL_RAW = 0xff
1279 SOL_SOCKET = 0x1
1280 SOL_TCP = 0x6
1281 SOL_X25 = 0x106
1282 SOMAXCONN = 0x80
1283 SO_ACCEPTCONN = 0x1e
1284 SO_ATTACH_FILTER = 0x1a
1285 SO_BINDTODEVICE = 0x19
1286 SO_BROADCAST = 0x6
1287 SO_BSDCOMPAT = 0xe
1288 SO_BUSY_POLL = 0x2e
1289 SO_DEBUG = 0x1
1290 SO_DETACH_FILTER = 0x1b
1291 SO_DOMAIN = 0x27
1292 SO_DONTROUTE = 0x5
1293 SO_ERROR = 0x4
1294 SO_GET_FILTER = 0x1a
1295 SO_KEEPALIVE = 0x9
1296 SO_LINGER = 0xd
1297 SO_LOCK_FILTER = 0x2c
1298 SO_MARK = 0x24
1299 SO_MAX_PACING_RATE = 0x2f
1300 SO_NOFCS = 0x2b
1301 SO_NO_CHECK = 0xb
1302 SO_OOBINLINE = 0xa
1303 SO_PASSCRED = 0x10
1304 SO_PASSSEC = 0x22
1305 SO_PEEK_OFF = 0x2a
1306 SO_PEERCRED = 0x11
1307 SO_PEERNAME = 0x1c
1308 SO_PEERSEC = 0x1f
1309 SO_PRIORITY = 0xc
1310 SO_PROTOCOL = 0x26
1311 SO_RCVBUF = 0x8
1312 SO_RCVBUFFORCE = 0x21
1313 SO_RCVLOWAT = 0x12
1314 SO_RCVTIMEO = 0x14
1315 SO_REUSEADDR = 0x2
1316 SO_REUSEPORT = 0xf
1317 SO_RXQ_OVFL = 0x28
1318 SO_SECURITY_AUTHENTICATION = 0x16
1319 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1320 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1321 SO_SELECT_ERR_QUEUE = 0x2d
1322 SO_SNDBUF = 0x7
1323 SO_SNDBUFFORCE = 0x20
1324 SO_SNDLOWAT = 0x13
1325 SO_SNDTIMEO = 0x15
1326 SO_TIMESTAMP = 0x1d
1327 SO_TIMESTAMPING = 0x25
1328 SO_TIMESTAMPNS = 0x23
1329 SO_TYPE = 0x3
1330 SO_WIFI_STATUS = 0x29
1331 S_BLKSIZE = 0x200
1332 S_IEXEC = 0x40
1333 S_IFBLK = 0x6000
1334 S_IFCHR = 0x2000
1335 S_IFDIR = 0x4000
1336 S_IFIFO = 0x1000
1337 S_IFLNK = 0xa000
1338 S_IFMT = 0xf000
1339 S_IFREG = 0x8000
1340 S_IFSOCK = 0xc000
1341 S_IREAD = 0x100
1342 S_IRGRP = 0x20
1343 S_IROTH = 0x4
1344 S_IRUSR = 0x100
1345 S_IRWXG = 0x38
1346 S_IRWXO = 0x7
1347 S_IRWXU = 0x1c0
1348 S_ISGID = 0x400
1349 S_ISUID = 0x800
1350 S_ISVTX = 0x200
1351 S_IWGRP = 0x10
1352 S_IWOTH = 0x2
1353 S_IWRITE = 0x80
1354 S_IWUSR = 0x80
1355 S_IXGRP = 0x8
1356 S_IXOTH = 0x1
1357 S_IXUSR = 0x40
1358 TAB0 = 0x0
1359 TAB1 = 0x800
1360 TAB2 = 0x1000
1361 TAB3 = 0x1800
1362 TABDLY = 0x1800
1363 TCFLSH = 0x540b
1364 TCGETA = 0x5405
1365 TCGETS = 0x5401
1366 TCGETS2 = 0x802c542a
1367 TCGETX = 0x5432
1368 TCIFLUSH = 0x0
1369 TCIOFF = 0x2
1370 TCIOFLUSH = 0x2
1371 TCION = 0x3
1372 TCOFLUSH = 0x1
1373 TCOOFF = 0x0
1374 TCOON = 0x1
1375 TCP_CONGESTION = 0xd
1376 TCP_COOKIE_IN_ALWAYS = 0x1
1377 TCP_COOKIE_MAX = 0x10
1378 TCP_COOKIE_MIN = 0x8
1379 TCP_COOKIE_OUT_NEVER = 0x2
1380 TCP_COOKIE_PAIR_SIZE = 0x20
1381 TCP_COOKIE_TRANSACTIONS = 0xf
1382 TCP_CORK = 0x3
1383 TCP_DEFER_ACCEPT = 0x9
1384 TCP_FASTOPEN = 0x17
1385 TCP_INFO = 0xb
1386 TCP_KEEPCNT = 0x6
1387 TCP_KEEPIDLE = 0x4
1388 TCP_KEEPINTVL = 0x5
1389 TCP_LINGER2 = 0x8
1390 TCP_MAXSEG = 0x2
1391 TCP_MAXWIN = 0xffff
1392 TCP_MAX_WINSHIFT = 0xe
1393 TCP_MD5SIG = 0xe
1394 TCP_MD5SIG_MAXKEYLEN = 0x50
1395 TCP_MSS = 0x200
1396 TCP_MSS_DEFAULT = 0x218
1397 TCP_MSS_DESIRED = 0x4c4
1398 TCP_NODELAY = 0x1
1399 TCP_QUEUE_SEQ = 0x15
1400 TCP_QUICKACK = 0xc
1401 TCP_REPAIR = 0x13
1402 TCP_REPAIR_OPTIONS = 0x16
1403 TCP_REPAIR_QUEUE = 0x14
1404 TCP_SYNCNT = 0x7
1405 TCP_S_DATA_IN = 0x4
1406 TCP_S_DATA_OUT = 0x8
1407 TCP_THIN_DUPACK = 0x11
1408 TCP_THIN_LINEAR_TIMEOUTS = 0x10
1409 TCP_TIMESTAMP = 0x18
1410 TCP_USER_TIMEOUT = 0x12
1411 TCP_WINDOW_CLAMP = 0xa
1412 TCSAFLUSH = 0x2
1413 TCSBRK = 0x5409
1414 TCSBRKP = 0x5425
1415 TCSETA = 0x5406
1416 TCSETAF = 0x5408
1417 TCSETAW = 0x5407
1418 TCSETS = 0x5402
1419 TCSETS2 = 0x402c542b
1420 TCSETSF = 0x5404
1421 TCSETSF2 = 0x402c542d
1422 TCSETSW = 0x5403
1423 TCSETSW2 = 0x402c542c
1424 TCSETX = 0x5433
1425 TCSETXF = 0x5434
1426 TCSETXW = 0x5435
1427 TCXONC = 0x540a
1428 TIOCCBRK = 0x5428
1429 TIOCCONS = 0x541d
1430 TIOCEXCL = 0x540c
1431 TIOCGDEV = 0x80045432
1432 TIOCGETD = 0x5424
1433 TIOCGEXCL = 0x80045440
1434 TIOCGICOUNT = 0x545d
1435 TIOCGLCKTRMIOS = 0x5456
1436 TIOCGPGRP = 0x540f
1437 TIOCGPKT = 0x80045438
1438 TIOCGPTLCK = 0x80045439
1439 TIOCGPTN = 0x80045430
1440 TIOCGRS485 = 0x542e
1441 TIOCGSERIAL = 0x541e
1442 TIOCGSID = 0x5429
1443 TIOCGSOFTCAR = 0x5419
1444 TIOCGWINSZ = 0x5413
1445 TIOCINQ = 0x541b
1446 TIOCLINUX = 0x541c
1447 TIOCMBIC = 0x5417
1448 TIOCMBIS = 0x5416
1449 TIOCMGET = 0x5415
1450 TIOCMIWAIT = 0x545c
1451 TIOCMSET = 0x5418
1452 TIOCM_CAR = 0x40
1453 TIOCM_CD = 0x40
1454 TIOCM_CTS = 0x20
1455 TIOCM_DSR = 0x100
1456 TIOCM_DTR = 0x2
1457 TIOCM_LE = 0x1
1458 TIOCM_RI = 0x80
1459 TIOCM_RNG = 0x80
1460 TIOCM_RTS = 0x4
1461 TIOCM_SR = 0x10
1462 TIOCM_ST = 0x8
1463 TIOCNOTTY = 0x5422
1464 TIOCNXCL = 0x540d
1465 TIOCOUTQ = 0x5411
1466 TIOCPKT = 0x5420
1467 TIOCPKT_DATA = 0x0
1468 TIOCPKT_DOSTOP = 0x20
1469 TIOCPKT_FLUSHREAD = 0x1
1470 TIOCPKT_FLUSHWRITE = 0x2
1471 TIOCPKT_IOCTL = 0x40
1472 TIOCPKT_NOSTOP = 0x10
1473 TIOCPKT_START = 0x8
1474 TIOCPKT_STOP = 0x4
1475 TIOCSBRK = 0x5427
1476 TIOCSCTTY = 0x540e
1477 TIOCSERCONFIG = 0x5453
1478 TIOCSERGETLSR = 0x5459
1479 TIOCSERGETMULTI = 0x545a
1480 TIOCSERGSTRUCT = 0x5458
1481 TIOCSERGWILD = 0x5454
1482 TIOCSERSETMULTI = 0x545b
1483 TIOCSERSWILD = 0x5455
1484 TIOCSER_TEMT = 0x1
1485 TIOCSETD = 0x5423
1486 TIOCSIG = 0x40045436
1487 TIOCSLCKTRMIOS = 0x5457
1488 TIOCSPGRP = 0x5410
1489 TIOCSPTLCK = 0x40045431
1490 TIOCSRS485 = 0x542f
1491 TIOCSSERIAL = 0x541f
1492 TIOCSSOFTCAR = 0x541a
1493 TIOCSTI = 0x5412
1494 TIOCSWINSZ = 0x5414
1495 TIOCVHANGUP = 0x5437
1496 TOSTOP = 0x100
1497 TUNATTACHFILTER = 0x401054d5
1498 TUNDETACHFILTER = 0x401054d6
1499 TUNGETFEATURES = 0x800454cf
1500 TUNGETFILTER = 0x801054db
1501 TUNGETIFF = 0x800454d2
1502 TUNGETSNDBUF = 0x800454d3
1503 TUNGETVNETHDRSZ = 0x800454d7
1504 TUNSETDEBUG = 0x400454c9
1505 TUNSETGROUP = 0x400454ce
1506 TUNSETIFF = 0x400454ca
1507 TUNSETIFINDEX = 0x400454da
1508 TUNSETLINK = 0x400454cd
1509 TUNSETNOCSUM = 0x400454c8
1510 TUNSETOFFLOAD = 0x400454d0
1511 TUNSETOWNER = 0x400454cc
1512 TUNSETPERSIST = 0x400454cb
1513 TUNSETQUEUE = 0x400454d9
1514 TUNSETSNDBUF = 0x400454d4
1515 TUNSETTXFILTER = 0x400454d1
1516 TUNSETVNETHDRSZ = 0x400454d8
1517 VDISCARD = 0xd
1518 VEOF = 0x4
1519 VEOL = 0xb
1520 VEOL2 = 0x10
1521 VERASE = 0x2
1522 VINTR = 0x0
1523 VKILL = 0x3
1524 VLNEXT = 0xf
1525 VMIN = 0x6
1526 VQUIT = 0x1
1527 VREPRINT = 0xc
1528 VSTART = 0x8
1529 VSTOP = 0x9
1530 VSUSP = 0xa
1531 VSWTC = 0x7
1532 VT0 = 0x0
1533 VT1 = 0x4000
1534 VTDLY = 0x4000
1535 VTIME = 0x5
1536 VWERASE = 0xe
1537 WALL = 0x40000000
1538 WCLONE = 0x80000000
1539 WCONTINUED = 0x8
1540 WEXITED = 0x4
1541 WNOHANG = 0x1
1542 WNOTHREAD = 0x20000000
1543 WNOWAIT = 0x1000000
1544 WORDSIZE = 0x40
1545 WSTOPPED = 0x2
1546 WUNTRACED = 0x2
1547 XCASE = 0x4
1548 XTABS = 0x1800
1549)
1550
1551// Errors
1552const (
1553 E2BIG = syscall.Errno(0x7)
1554 EACCES = syscall.Errno(0xd)
1555 EADDRINUSE = syscall.Errno(0x62)
1556 EADDRNOTAVAIL = syscall.Errno(0x63)
1557 EADV = syscall.Errno(0x44)
1558 EAFNOSUPPORT = syscall.Errno(0x61)
1559 EAGAIN = syscall.Errno(0xb)
1560 EALREADY = syscall.Errno(0x72)
1561 EBADE = syscall.Errno(0x34)
1562 EBADF = syscall.Errno(0x9)
1563 EBADFD = syscall.Errno(0x4d)
1564 EBADMSG = syscall.Errno(0x4a)
1565 EBADR = syscall.Errno(0x35)
1566 EBADRQC = syscall.Errno(0x38)
1567 EBADSLT = syscall.Errno(0x39)
1568 EBFONT = syscall.Errno(0x3b)
1569 EBUSY = syscall.Errno(0x10)
1570 ECANCELED = syscall.Errno(0x7d)
1571 ECHILD = syscall.Errno(0xa)
1572 ECHRNG = syscall.Errno(0x2c)
1573 ECOMM = syscall.Errno(0x46)
1574 ECONNABORTED = syscall.Errno(0x67)
1575 ECONNREFUSED = syscall.Errno(0x6f)
1576 ECONNRESET = syscall.Errno(0x68)
1577 EDEADLK = syscall.Errno(0x23)
1578 EDEADLOCK = syscall.Errno(0x23)
1579 EDESTADDRREQ = syscall.Errno(0x59)
1580 EDOM = syscall.Errno(0x21)
1581 EDOTDOT = syscall.Errno(0x49)
1582 EDQUOT = syscall.Errno(0x7a)
1583 EEXIST = syscall.Errno(0x11)
1584 EFAULT = syscall.Errno(0xe)
1585 EFBIG = syscall.Errno(0x1b)
1586 EHOSTDOWN = syscall.Errno(0x70)
1587 EHOSTUNREACH = syscall.Errno(0x71)
1588 EHWPOISON = syscall.Errno(0x85)
1589 EIDRM = syscall.Errno(0x2b)
1590 EILSEQ = syscall.Errno(0x54)
1591 EINPROGRESS = syscall.Errno(0x73)
1592 EINTR = syscall.Errno(0x4)
1593 EINVAL = syscall.Errno(0x16)
1594 EIO = syscall.Errno(0x5)
1595 EISCONN = syscall.Errno(0x6a)
1596 EISDIR = syscall.Errno(0x15)
1597 EISNAM = syscall.Errno(0x78)
1598 EKEYEXPIRED = syscall.Errno(0x7f)
1599 EKEYREJECTED = syscall.Errno(0x81)
1600 EKEYREVOKED = syscall.Errno(0x80)
1601 EL2HLT = syscall.Errno(0x33)
1602 EL2NSYNC = syscall.Errno(0x2d)
1603 EL3HLT = syscall.Errno(0x2e)
1604 EL3RST = syscall.Errno(0x2f)
1605 ELIBACC = syscall.Errno(0x4f)
1606 ELIBBAD = syscall.Errno(0x50)
1607 ELIBEXEC = syscall.Errno(0x53)
1608 ELIBMAX = syscall.Errno(0x52)
1609 ELIBSCN = syscall.Errno(0x51)
1610 ELNRNG = syscall.Errno(0x30)
1611 ELOOP = syscall.Errno(0x28)
1612 EMEDIUMTYPE = syscall.Errno(0x7c)
1613 EMFILE = syscall.Errno(0x18)
1614 EMLINK = syscall.Errno(0x1f)
1615 EMSGSIZE = syscall.Errno(0x5a)
1616 EMULTIHOP = syscall.Errno(0x48)
1617 ENAMETOOLONG = syscall.Errno(0x24)
1618 ENAVAIL = syscall.Errno(0x77)
1619 ENETDOWN = syscall.Errno(0x64)
1620 ENETRESET = syscall.Errno(0x66)
1621 ENETUNREACH = syscall.Errno(0x65)
1622 ENFILE = syscall.Errno(0x17)
1623 ENOANO = syscall.Errno(0x37)
1624 ENOBUFS = syscall.Errno(0x69)
1625 ENOCSI = syscall.Errno(0x32)
1626 ENODATA = syscall.Errno(0x3d)
1627 ENODEV = syscall.Errno(0x13)
1628 ENOENT = syscall.Errno(0x2)
1629 ENOEXEC = syscall.Errno(0x8)
1630 ENOKEY = syscall.Errno(0x7e)
1631 ENOLCK = syscall.Errno(0x25)
1632 ENOLINK = syscall.Errno(0x43)
1633 ENOMEDIUM = syscall.Errno(0x7b)
1634 ENOMEM = syscall.Errno(0xc)
1635 ENOMSG = syscall.Errno(0x2a)
1636 ENONET = syscall.Errno(0x40)
1637 ENOPKG = syscall.Errno(0x41)
1638 ENOPROTOOPT = syscall.Errno(0x5c)
1639 ENOSPC = syscall.Errno(0x1c)
1640 ENOSR = syscall.Errno(0x3f)
1641 ENOSTR = syscall.Errno(0x3c)
1642 ENOSYS = syscall.Errno(0x26)
1643 ENOTBLK = syscall.Errno(0xf)
1644 ENOTCONN = syscall.Errno(0x6b)
1645 ENOTDIR = syscall.Errno(0x14)
1646 ENOTEMPTY = syscall.Errno(0x27)
1647 ENOTNAM = syscall.Errno(0x76)
1648 ENOTRECOVERABLE = syscall.Errno(0x83)
1649 ENOTSOCK = syscall.Errno(0x58)
1650 ENOTSUP = syscall.Errno(0x5f)
1651 ENOTTY = syscall.Errno(0x19)
1652 ENOTUNIQ = syscall.Errno(0x4c)
1653 ENXIO = syscall.Errno(0x6)
1654 EOPNOTSUPP = syscall.Errno(0x5f)
1655 EOVERFLOW = syscall.Errno(0x4b)
1656 EOWNERDEAD = syscall.Errno(0x82)
1657 EPERM = syscall.Errno(0x1)
1658 EPFNOSUPPORT = syscall.Errno(0x60)
1659 EPIPE = syscall.Errno(0x20)
1660 EPROTO = syscall.Errno(0x47)
1661 EPROTONOSUPPORT = syscall.Errno(0x5d)
1662 EPROTOTYPE = syscall.Errno(0x5b)
1663 ERANGE = syscall.Errno(0x22)
1664 EREMCHG = syscall.Errno(0x4e)
1665 EREMOTE = syscall.Errno(0x42)
1666 EREMOTEIO = syscall.Errno(0x79)
1667 ERESTART = syscall.Errno(0x55)
1668 ERFKILL = syscall.Errno(0x84)
1669 EROFS = syscall.Errno(0x1e)
1670 ESHUTDOWN = syscall.Errno(0x6c)
1671 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1672 ESPIPE = syscall.Errno(0x1d)
1673 ESRCH = syscall.Errno(0x3)
1674 ESRMNT = syscall.Errno(0x45)
1675 ESTALE = syscall.Errno(0x74)
1676 ESTRPIPE = syscall.Errno(0x56)
1677 ETIME = syscall.Errno(0x3e)
1678 ETIMEDOUT = syscall.Errno(0x6e)
1679 ETOOMANYREFS = syscall.Errno(0x6d)
1680 ETXTBSY = syscall.Errno(0x1a)
1681 EUCLEAN = syscall.Errno(0x75)
1682 EUNATCH = syscall.Errno(0x31)
1683 EUSERS = syscall.Errno(0x57)
1684 EWOULDBLOCK = syscall.Errno(0xb)
1685 EXDEV = syscall.Errno(0x12)
1686 EXFULL = syscall.Errno(0x36)
1687)
1688
1689// Signals
1690const (
1691 SIGABRT = syscall.Signal(0x6)
1692 SIGALRM = syscall.Signal(0xe)
1693 SIGBUS = syscall.Signal(0x7)
1694 SIGCHLD = syscall.Signal(0x11)
1695 SIGCLD = syscall.Signal(0x11)
1696 SIGCONT = syscall.Signal(0x12)
1697 SIGFPE = syscall.Signal(0x8)
1698 SIGHUP = syscall.Signal(0x1)
1699 SIGILL = syscall.Signal(0x4)
1700 SIGINT = syscall.Signal(0x2)
1701 SIGIO = syscall.Signal(0x1d)
1702 SIGIOT = syscall.Signal(0x6)
1703 SIGKILL = syscall.Signal(0x9)
1704 SIGPIPE = syscall.Signal(0xd)
1705 SIGPOLL = syscall.Signal(0x1d)
1706 SIGPROF = syscall.Signal(0x1b)
1707 SIGPWR = syscall.Signal(0x1e)
1708 SIGQUIT = syscall.Signal(0x3)
1709 SIGSEGV = syscall.Signal(0xb)
1710 SIGSTKFLT = syscall.Signal(0x10)
1711 SIGSTOP = syscall.Signal(0x13)
1712 SIGSYS = syscall.Signal(0x1f)
1713 SIGTERM = syscall.Signal(0xf)
1714 SIGTRAP = syscall.Signal(0x5)
1715 SIGTSTP = syscall.Signal(0x14)
1716 SIGTTIN = syscall.Signal(0x15)
1717 SIGTTOU = syscall.Signal(0x16)
1718 SIGUNUSED = syscall.Signal(0x1f)
1719 SIGURG = syscall.Signal(0x17)
1720 SIGUSR1 = syscall.Signal(0xa)
1721 SIGUSR2 = syscall.Signal(0xc)
1722 SIGVTALRM = syscall.Signal(0x1a)
1723 SIGWINCH = syscall.Signal(0x1c)
1724 SIGXCPU = syscall.Signal(0x18)
1725 SIGXFSZ = syscall.Signal(0x19)
1726)
1727
1728// Error table
1729var errors = [...]string{
1730 1: "operation not permitted",
1731 2: "no such file or directory",
1732 3: "no such process",
1733 4: "interrupted system call",
1734 5: "input/output error",
1735 6: "no such device or address",
1736 7: "argument list too long",
1737 8: "exec format error",
1738 9: "bad file descriptor",
1739 10: "no child processes",
1740 11: "resource temporarily unavailable",
1741 12: "cannot allocate memory",
1742 13: "permission denied",
1743 14: "bad address",
1744 15: "block device required",
1745 16: "device or resource busy",
1746 17: "file exists",
1747 18: "invalid cross-device link",
1748 19: "no such device",
1749 20: "not a directory",
1750 21: "is a directory",
1751 22: "invalid argument",
1752 23: "too many open files in system",
1753 24: "too many open files",
1754 25: "inappropriate ioctl for device",
1755 26: "text file busy",
1756 27: "file too large",
1757 28: "no space left on device",
1758 29: "illegal seek",
1759 30: "read-only file system",
1760 31: "too many links",
1761 32: "broken pipe",
1762 33: "numerical argument out of domain",
1763 34: "numerical result out of range",
1764 35: "resource deadlock avoided",
1765 36: "file name too long",
1766 37: "no locks available",
1767 38: "function not implemented",
1768 39: "directory not empty",
1769 40: "too many levels of symbolic links",
1770 42: "no message of desired type",
1771 43: "identifier removed",
1772 44: "channel number out of range",
1773 45: "level 2 not synchronized",
1774 46: "level 3 halted",
1775 47: "level 3 reset",
1776 48: "link number out of range",
1777 49: "protocol driver not attached",
1778 50: "no CSI structure available",
1779 51: "level 2 halted",
1780 52: "invalid exchange",
1781 53: "invalid request descriptor",
1782 54: "exchange full",
1783 55: "no anode",
1784 56: "invalid request code",
1785 57: "invalid slot",
1786 59: "bad font file format",
1787 60: "device not a stream",
1788 61: "no data available",
1789 62: "timer expired",
1790 63: "out of streams resources",
1791 64: "machine is not on the network",
1792 65: "package not installed",
1793 66: "object is remote",
1794 67: "link has been severed",
1795 68: "advertise error",
1796 69: "srmount error",
1797 70: "communication error on send",
1798 71: "protocol error",
1799 72: "multihop attempted",
1800 73: "RFS specific error",
1801 74: "bad message",
1802 75: "value too large for defined data type",
1803 76: "name not unique on network",
1804 77: "file descriptor in bad state",
1805 78: "remote address changed",
1806 79: "can not access a needed shared library",
1807 80: "accessing a corrupted shared library",
1808 81: ".lib section in a.out corrupted",
1809 82: "attempting to link in too many shared libraries",
1810 83: "cannot exec a shared library directly",
1811 84: "invalid or incomplete multibyte or wide character",
1812 85: "interrupted system call should be restarted",
1813 86: "streams pipe error",
1814 87: "too many users",
1815 88: "socket operation on non-socket",
1816 89: "destination address required",
1817 90: "message too long",
1818 91: "protocol wrong type for socket",
1819 92: "protocol not available",
1820 93: "protocol not supported",
1821 94: "socket type not supported",
1822 95: "operation not supported",
1823 96: "protocol family not supported",
1824 97: "address family not supported by protocol",
1825 98: "address already in use",
1826 99: "cannot assign requested address",
1827 100: "network is down",
1828 101: "network is unreachable",
1829 102: "network dropped connection on reset",
1830 103: "software caused connection abort",
1831 104: "connection reset by peer",
1832 105: "no buffer space available",
1833 106: "transport endpoint is already connected",
1834 107: "transport endpoint is not connected",
1835 108: "cannot send after transport endpoint shutdown",
1836 109: "too many references: cannot splice",
1837 110: "connection timed out",
1838 111: "connection refused",
1839 112: "host is down",
1840 113: "no route to host",
1841 114: "operation already in progress",
1842 115: "operation now in progress",
1843 116: "stale file handle",
1844 117: "structure needs cleaning",
1845 118: "not a XENIX named type file",
1846 119: "no XENIX semaphores available",
1847 120: "is a named type file",
1848 121: "remote I/O error",
1849 122: "disk quota exceeded",
1850 123: "no medium found",
1851 124: "wrong medium type",
1852 125: "operation canceled",
1853 126: "required key not available",
1854 127: "key has expired",
1855 128: "key has been revoked",
1856 129: "key was rejected by service",
1857 130: "owner died",
1858 131: "state not recoverable",
1859 132: "operation not possible due to RF-kill",
1860 133: "memory page has hardware error",
1861}
1862
1863// Signal table
1864var signals = [...]string{
1865 1: "hangup",
1866 2: "interrupt",
1867 3: "quit",
1868 4: "illegal instruction",
1869 5: "trace/breakpoint trap",
1870 6: "aborted",
1871 7: "bus error",
1872 8: "floating point exception",
1873 9: "killed",
1874 10: "user defined signal 1",
1875 11: "segmentation fault",
1876 12: "user defined signal 2",
1877 13: "broken pipe",
1878 14: "alarm clock",
1879 15: "terminated",
1880 16: "stack fault",
1881 17: "child exited",
1882 18: "continued",
1883 19: "stopped (signal)",
1884 20: "stopped",
1885 21: "stopped (tty input)",
1886 22: "stopped (tty output)",
1887 23: "urgent I/O condition",
1888 24: "CPU time limit exceeded",
1889 25: "file size limit exceeded",
1890 26: "virtual timer expired",
1891 27: "profiling timer expired",
1892 28: "window changed",
1893 29: "I/O possible",
1894 30: "power failure",
1895 31: "bad system call",
1896}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64.go
deleted file mode 100644
index 5b90d07..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64.go
+++ /dev/null
@@ -1,1969 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build ppc64,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x29
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_NFC = 0x27
42 AF_PACKET = 0x11
43 AF_PHONET = 0x23
44 AF_PPPOX = 0x18
45 AF_RDS = 0x15
46 AF_ROSE = 0xb
47 AF_ROUTE = 0x10
48 AF_RXRPC = 0x21
49 AF_SECURITY = 0xe
50 AF_SNA = 0x16
51 AF_TIPC = 0x1e
52 AF_UNIX = 0x1
53 AF_UNSPEC = 0x0
54 AF_VSOCK = 0x28
55 AF_WANPIPE = 0x19
56 AF_X25 = 0x9
57 ARPHRD_6LOWPAN = 0x339
58 ARPHRD_ADAPT = 0x108
59 ARPHRD_APPLETLK = 0x8
60 ARPHRD_ARCNET = 0x7
61 ARPHRD_ASH = 0x30d
62 ARPHRD_ATM = 0x13
63 ARPHRD_AX25 = 0x3
64 ARPHRD_BIF = 0x307
65 ARPHRD_CAIF = 0x336
66 ARPHRD_CAN = 0x118
67 ARPHRD_CHAOS = 0x5
68 ARPHRD_CISCO = 0x201
69 ARPHRD_CSLIP = 0x101
70 ARPHRD_CSLIP6 = 0x103
71 ARPHRD_DDCMP = 0x205
72 ARPHRD_DLCI = 0xf
73 ARPHRD_ECONET = 0x30e
74 ARPHRD_EETHER = 0x2
75 ARPHRD_ETHER = 0x1
76 ARPHRD_EUI64 = 0x1b
77 ARPHRD_FCAL = 0x311
78 ARPHRD_FCFABRIC = 0x313
79 ARPHRD_FCPL = 0x312
80 ARPHRD_FCPP = 0x310
81 ARPHRD_FDDI = 0x306
82 ARPHRD_FRAD = 0x302
83 ARPHRD_HDLC = 0x201
84 ARPHRD_HIPPI = 0x30c
85 ARPHRD_HWX25 = 0x110
86 ARPHRD_IEEE1394 = 0x18
87 ARPHRD_IEEE802 = 0x6
88 ARPHRD_IEEE80211 = 0x321
89 ARPHRD_IEEE80211_PRISM = 0x322
90 ARPHRD_IEEE80211_RADIOTAP = 0x323
91 ARPHRD_IEEE802154 = 0x324
92 ARPHRD_IEEE802154_MONITOR = 0x325
93 ARPHRD_IEEE802_TR = 0x320
94 ARPHRD_INFINIBAND = 0x20
95 ARPHRD_IP6GRE = 0x337
96 ARPHRD_IPDDP = 0x309
97 ARPHRD_IPGRE = 0x30a
98 ARPHRD_IRDA = 0x30f
99 ARPHRD_LAPB = 0x204
100 ARPHRD_LOCALTLK = 0x305
101 ARPHRD_LOOPBACK = 0x304
102 ARPHRD_METRICOM = 0x17
103 ARPHRD_NETLINK = 0x338
104 ARPHRD_NETROM = 0x0
105 ARPHRD_NONE = 0xfffe
106 ARPHRD_PHONET = 0x334
107 ARPHRD_PHONET_PIPE = 0x335
108 ARPHRD_PIMREG = 0x30b
109 ARPHRD_PPP = 0x200
110 ARPHRD_PRONET = 0x4
111 ARPHRD_RAWHDLC = 0x206
112 ARPHRD_ROSE = 0x10e
113 ARPHRD_RSRVD = 0x104
114 ARPHRD_SIT = 0x308
115 ARPHRD_SKIP = 0x303
116 ARPHRD_SLIP = 0x100
117 ARPHRD_SLIP6 = 0x102
118 ARPHRD_TUNNEL = 0x300
119 ARPHRD_TUNNEL6 = 0x301
120 ARPHRD_VOID = 0xffff
121 ARPHRD_X25 = 0x10f
122 B0 = 0x0
123 B1000000 = 0x17
124 B110 = 0x3
125 B115200 = 0x11
126 B1152000 = 0x18
127 B1200 = 0x9
128 B134 = 0x4
129 B150 = 0x5
130 B1500000 = 0x19
131 B1800 = 0xa
132 B19200 = 0xe
133 B200 = 0x6
134 B2000000 = 0x1a
135 B230400 = 0x12
136 B2400 = 0xb
137 B2500000 = 0x1b
138 B300 = 0x7
139 B3000000 = 0x1c
140 B3500000 = 0x1d
141 B38400 = 0xf
142 B4000000 = 0x1e
143 B460800 = 0x13
144 B4800 = 0xc
145 B50 = 0x1
146 B500000 = 0x14
147 B57600 = 0x10
148 B576000 = 0x15
149 B600 = 0x8
150 B75 = 0x2
151 B921600 = 0x16
152 B9600 = 0xd
153 BOTHER = 0x1f
154 BPF_A = 0x10
155 BPF_ABS = 0x20
156 BPF_ADD = 0x0
157 BPF_ALU = 0x4
158 BPF_AND = 0x50
159 BPF_B = 0x10
160 BPF_DIV = 0x30
161 BPF_H = 0x8
162 BPF_IMM = 0x0
163 BPF_IND = 0x40
164 BPF_JA = 0x0
165 BPF_JEQ = 0x10
166 BPF_JGE = 0x30
167 BPF_JGT = 0x20
168 BPF_JMP = 0x5
169 BPF_JSET = 0x40
170 BPF_K = 0x0
171 BPF_LD = 0x0
172 BPF_LDX = 0x1
173 BPF_LEN = 0x80
174 BPF_LSH = 0x60
175 BPF_MAJOR_VERSION = 0x1
176 BPF_MAXINSNS = 0x1000
177 BPF_MEM = 0x60
178 BPF_MEMWORDS = 0x10
179 BPF_MINOR_VERSION = 0x1
180 BPF_MISC = 0x7
181 BPF_MOD = 0x90
182 BPF_MSH = 0xa0
183 BPF_MUL = 0x20
184 BPF_NEG = 0x80
185 BPF_OR = 0x40
186 BPF_RET = 0x6
187 BPF_RSH = 0x70
188 BPF_ST = 0x2
189 BPF_STX = 0x3
190 BPF_SUB = 0x10
191 BPF_TAX = 0x0
192 BPF_TXA = 0x80
193 BPF_W = 0x0
194 BPF_X = 0x8
195 BPF_XOR = 0xa0
196 BRKINT = 0x2
197 BS0 = 0x0
198 BS1 = 0x8000
199 BSDLY = 0x8000
200 CBAUD = 0xff
201 CBAUDEX = 0x0
202 CFLUSH = 0xf
203 CIBAUD = 0xff0000
204 CLOCAL = 0x8000
205 CLOCK_BOOTTIME = 0x7
206 CLOCK_BOOTTIME_ALARM = 0x9
207 CLOCK_DEFAULT = 0x0
208 CLOCK_EXT = 0x1
209 CLOCK_INT = 0x2
210 CLOCK_MONOTONIC = 0x1
211 CLOCK_MONOTONIC_COARSE = 0x6
212 CLOCK_MONOTONIC_RAW = 0x4
213 CLOCK_PROCESS_CPUTIME_ID = 0x2
214 CLOCK_REALTIME = 0x0
215 CLOCK_REALTIME_ALARM = 0x8
216 CLOCK_REALTIME_COARSE = 0x5
217 CLOCK_THREAD_CPUTIME_ID = 0x3
218 CLOCK_TXFROMRX = 0x4
219 CLOCK_TXINT = 0x3
220 CLONE_CHILD_CLEARTID = 0x200000
221 CLONE_CHILD_SETTID = 0x1000000
222 CLONE_DETACHED = 0x400000
223 CLONE_FILES = 0x400
224 CLONE_FS = 0x200
225 CLONE_IO = 0x80000000
226 CLONE_NEWIPC = 0x8000000
227 CLONE_NEWNET = 0x40000000
228 CLONE_NEWNS = 0x20000
229 CLONE_NEWPID = 0x20000000
230 CLONE_NEWUSER = 0x10000000
231 CLONE_NEWUTS = 0x4000000
232 CLONE_PARENT = 0x8000
233 CLONE_PARENT_SETTID = 0x100000
234 CLONE_PTRACE = 0x2000
235 CLONE_SETTLS = 0x80000
236 CLONE_SIGHAND = 0x800
237 CLONE_SYSVSEM = 0x40000
238 CLONE_THREAD = 0x10000
239 CLONE_UNTRACED = 0x800000
240 CLONE_VFORK = 0x4000
241 CLONE_VM = 0x100
242 CMSPAR = 0x40000000
243 CR0 = 0x0
244 CR1 = 0x1000
245 CR2 = 0x2000
246 CR3 = 0x3000
247 CRDLY = 0x3000
248 CREAD = 0x800
249 CRTSCTS = 0x80000000
250 CS5 = 0x0
251 CS6 = 0x100
252 CS7 = 0x200
253 CS8 = 0x300
254 CSIGNAL = 0xff
255 CSIZE = 0x300
256 CSTART = 0x11
257 CSTATUS = 0x0
258 CSTOP = 0x13
259 CSTOPB = 0x400
260 CSUSP = 0x1a
261 DT_BLK = 0x6
262 DT_CHR = 0x2
263 DT_DIR = 0x4
264 DT_FIFO = 0x1
265 DT_LNK = 0xa
266 DT_REG = 0x8
267 DT_SOCK = 0xc
268 DT_UNKNOWN = 0x0
269 DT_WHT = 0xe
270 ECHO = 0x8
271 ECHOCTL = 0x40
272 ECHOE = 0x2
273 ECHOK = 0x4
274 ECHOKE = 0x1
275 ECHONL = 0x10
276 ECHOPRT = 0x20
277 ENCODING_DEFAULT = 0x0
278 ENCODING_FM_MARK = 0x3
279 ENCODING_FM_SPACE = 0x4
280 ENCODING_MANCHESTER = 0x5
281 ENCODING_NRZ = 0x1
282 ENCODING_NRZI = 0x2
283 EPOLLERR = 0x8
284 EPOLLET = 0x80000000
285 EPOLLHUP = 0x10
286 EPOLLIN = 0x1
287 EPOLLMSG = 0x400
288 EPOLLONESHOT = 0x40000000
289 EPOLLOUT = 0x4
290 EPOLLPRI = 0x2
291 EPOLLRDBAND = 0x80
292 EPOLLRDHUP = 0x2000
293 EPOLLRDNORM = 0x40
294 EPOLLWAKEUP = 0x20000000
295 EPOLLWRBAND = 0x200
296 EPOLLWRNORM = 0x100
297 EPOLL_CLOEXEC = 0x80000
298 EPOLL_CTL_ADD = 0x1
299 EPOLL_CTL_DEL = 0x2
300 EPOLL_CTL_MOD = 0x3
301 ETH_P_1588 = 0x88f7
302 ETH_P_8021AD = 0x88a8
303 ETH_P_8021AH = 0x88e7
304 ETH_P_8021Q = 0x8100
305 ETH_P_80221 = 0x8917
306 ETH_P_802_2 = 0x4
307 ETH_P_802_3 = 0x1
308 ETH_P_802_3_MIN = 0x600
309 ETH_P_802_EX1 = 0x88b5
310 ETH_P_AARP = 0x80f3
311 ETH_P_AF_IUCV = 0xfbfb
312 ETH_P_ALL = 0x3
313 ETH_P_AOE = 0x88a2
314 ETH_P_ARCNET = 0x1a
315 ETH_P_ARP = 0x806
316 ETH_P_ATALK = 0x809b
317 ETH_P_ATMFATE = 0x8884
318 ETH_P_ATMMPOA = 0x884c
319 ETH_P_AX25 = 0x2
320 ETH_P_BATMAN = 0x4305
321 ETH_P_BPQ = 0x8ff
322 ETH_P_CAIF = 0xf7
323 ETH_P_CAN = 0xc
324 ETH_P_CANFD = 0xd
325 ETH_P_CONTROL = 0x16
326 ETH_P_CUST = 0x6006
327 ETH_P_DDCMP = 0x6
328 ETH_P_DEC = 0x6000
329 ETH_P_DIAG = 0x6005
330 ETH_P_DNA_DL = 0x6001
331 ETH_P_DNA_RC = 0x6002
332 ETH_P_DNA_RT = 0x6003
333 ETH_P_DSA = 0x1b
334 ETH_P_ECONET = 0x18
335 ETH_P_EDSA = 0xdada
336 ETH_P_FCOE = 0x8906
337 ETH_P_FIP = 0x8914
338 ETH_P_HDLC = 0x19
339 ETH_P_IEEE802154 = 0xf6
340 ETH_P_IEEEPUP = 0xa00
341 ETH_P_IEEEPUPAT = 0xa01
342 ETH_P_IP = 0x800
343 ETH_P_IPV6 = 0x86dd
344 ETH_P_IPX = 0x8137
345 ETH_P_IRDA = 0x17
346 ETH_P_LAT = 0x6004
347 ETH_P_LINK_CTL = 0x886c
348 ETH_P_LOCALTALK = 0x9
349 ETH_P_LOOP = 0x60
350 ETH_P_LOOPBACK = 0x9000
351 ETH_P_MOBITEX = 0x15
352 ETH_P_MPLS_MC = 0x8848
353 ETH_P_MPLS_UC = 0x8847
354 ETH_P_MVRP = 0x88f5
355 ETH_P_PAE = 0x888e
356 ETH_P_PAUSE = 0x8808
357 ETH_P_PHONET = 0xf5
358 ETH_P_PPPTALK = 0x10
359 ETH_P_PPP_DISC = 0x8863
360 ETH_P_PPP_MP = 0x8
361 ETH_P_PPP_SES = 0x8864
362 ETH_P_PRP = 0x88fb
363 ETH_P_PUP = 0x200
364 ETH_P_PUPAT = 0x201
365 ETH_P_QINQ1 = 0x9100
366 ETH_P_QINQ2 = 0x9200
367 ETH_P_QINQ3 = 0x9300
368 ETH_P_RARP = 0x8035
369 ETH_P_SCA = 0x6007
370 ETH_P_SLOW = 0x8809
371 ETH_P_SNAP = 0x5
372 ETH_P_TDLS = 0x890d
373 ETH_P_TEB = 0x6558
374 ETH_P_TIPC = 0x88ca
375 ETH_P_TRAILER = 0x1c
376 ETH_P_TR_802_2 = 0x11
377 ETH_P_WAN_PPP = 0x7
378 ETH_P_WCCP = 0x883e
379 ETH_P_X25 = 0x805
380 ETH_P_XDSA = 0xf8
381 EXTA = 0xe
382 EXTB = 0xf
383 EXTPROC = 0x10000000
384 FD_CLOEXEC = 0x1
385 FD_SETSIZE = 0x400
386 FF0 = 0x0
387 FF1 = 0x4000
388 FFDLY = 0x4000
389 FLUSHO = 0x800000
390 F_DUPFD = 0x0
391 F_DUPFD_CLOEXEC = 0x406
392 F_EXLCK = 0x4
393 F_GETFD = 0x1
394 F_GETFL = 0x3
395 F_GETLEASE = 0x401
396 F_GETLK = 0x5
397 F_GETLK64 = 0xc
398 F_GETOWN = 0x9
399 F_GETOWN_EX = 0x10
400 F_GETPIPE_SZ = 0x408
401 F_GETSIG = 0xb
402 F_LOCK = 0x1
403 F_NOTIFY = 0x402
404 F_OFD_GETLK = 0x24
405 F_OFD_SETLK = 0x25
406 F_OFD_SETLKW = 0x26
407 F_OK = 0x0
408 F_RDLCK = 0x0
409 F_SETFD = 0x2
410 F_SETFL = 0x4
411 F_SETLEASE = 0x400
412 F_SETLK = 0x6
413 F_SETLK64 = 0xd
414 F_SETLKW = 0x7
415 F_SETLKW64 = 0xe
416 F_SETOWN = 0x8
417 F_SETOWN_EX = 0xf
418 F_SETPIPE_SZ = 0x407
419 F_SETSIG = 0xa
420 F_SHLCK = 0x8
421 F_TEST = 0x3
422 F_TLOCK = 0x2
423 F_ULOCK = 0x0
424 F_UNLCK = 0x2
425 F_WRLCK = 0x1
426 HUPCL = 0x4000
427 IBSHIFT = 0x10
428 ICANON = 0x100
429 ICMPV6_FILTER = 0x1
430 ICRNL = 0x100
431 IEXTEN = 0x400
432 IFA_F_DADFAILED = 0x8
433 IFA_F_DEPRECATED = 0x20
434 IFA_F_HOMEADDRESS = 0x10
435 IFA_F_MANAGETEMPADDR = 0x100
436 IFA_F_NODAD = 0x2
437 IFA_F_NOPREFIXROUTE = 0x200
438 IFA_F_OPTIMISTIC = 0x4
439 IFA_F_PERMANENT = 0x80
440 IFA_F_SECONDARY = 0x1
441 IFA_F_TEMPORARY = 0x1
442 IFA_F_TENTATIVE = 0x40
443 IFA_MAX = 0x8
444 IFF_ALLMULTI = 0x200
445 IFF_ATTACH_QUEUE = 0x200
446 IFF_AUTOMEDIA = 0x4000
447 IFF_BROADCAST = 0x2
448 IFF_DEBUG = 0x4
449 IFF_DETACH_QUEUE = 0x400
450 IFF_DORMANT = 0x20000
451 IFF_DYNAMIC = 0x8000
452 IFF_ECHO = 0x40000
453 IFF_LOOPBACK = 0x8
454 IFF_LOWER_UP = 0x10000
455 IFF_MASTER = 0x400
456 IFF_MULTICAST = 0x1000
457 IFF_MULTI_QUEUE = 0x100
458 IFF_NOARP = 0x80
459 IFF_NOFILTER = 0x1000
460 IFF_NOTRAILERS = 0x20
461 IFF_NO_PI = 0x1000
462 IFF_ONE_QUEUE = 0x2000
463 IFF_PERSIST = 0x800
464 IFF_POINTOPOINT = 0x10
465 IFF_PORTSEL = 0x2000
466 IFF_PROMISC = 0x100
467 IFF_RUNNING = 0x40
468 IFF_SLAVE = 0x800
469 IFF_TAP = 0x2
470 IFF_TUN = 0x1
471 IFF_TUN_EXCL = 0x8000
472 IFF_UP = 0x1
473 IFF_VNET_HDR = 0x4000
474 IFF_VOLATILE = 0x70c5a
475 IFNAMSIZ = 0x10
476 IGNBRK = 0x1
477 IGNCR = 0x80
478 IGNPAR = 0x4
479 IMAXBEL = 0x2000
480 INLCR = 0x40
481 INPCK = 0x10
482 IN_ACCESS = 0x1
483 IN_ALL_EVENTS = 0xfff
484 IN_ATTRIB = 0x4
485 IN_CLASSA_HOST = 0xffffff
486 IN_CLASSA_MAX = 0x80
487 IN_CLASSA_NET = 0xff000000
488 IN_CLASSA_NSHIFT = 0x18
489 IN_CLASSB_HOST = 0xffff
490 IN_CLASSB_MAX = 0x10000
491 IN_CLASSB_NET = 0xffff0000
492 IN_CLASSB_NSHIFT = 0x10
493 IN_CLASSC_HOST = 0xff
494 IN_CLASSC_NET = 0xffffff00
495 IN_CLASSC_NSHIFT = 0x8
496 IN_CLOEXEC = 0x80000
497 IN_CLOSE = 0x18
498 IN_CLOSE_NOWRITE = 0x10
499 IN_CLOSE_WRITE = 0x8
500 IN_CREATE = 0x100
501 IN_DELETE = 0x200
502 IN_DELETE_SELF = 0x400
503 IN_DONT_FOLLOW = 0x2000000
504 IN_EXCL_UNLINK = 0x4000000
505 IN_IGNORED = 0x8000
506 IN_ISDIR = 0x40000000
507 IN_LOOPBACKNET = 0x7f
508 IN_MASK_ADD = 0x20000000
509 IN_MODIFY = 0x2
510 IN_MOVE = 0xc0
511 IN_MOVED_FROM = 0x40
512 IN_MOVED_TO = 0x80
513 IN_MOVE_SELF = 0x800
514 IN_NONBLOCK = 0x800
515 IN_ONESHOT = 0x80000000
516 IN_ONLYDIR = 0x1000000
517 IN_OPEN = 0x20
518 IN_Q_OVERFLOW = 0x4000
519 IN_UNMOUNT = 0x2000
520 IPPROTO_AH = 0x33
521 IPPROTO_BEETPH = 0x5e
522 IPPROTO_COMP = 0x6c
523 IPPROTO_DCCP = 0x21
524 IPPROTO_DSTOPTS = 0x3c
525 IPPROTO_EGP = 0x8
526 IPPROTO_ENCAP = 0x62
527 IPPROTO_ESP = 0x32
528 IPPROTO_FRAGMENT = 0x2c
529 IPPROTO_GRE = 0x2f
530 IPPROTO_HOPOPTS = 0x0
531 IPPROTO_ICMP = 0x1
532 IPPROTO_ICMPV6 = 0x3a
533 IPPROTO_IDP = 0x16
534 IPPROTO_IGMP = 0x2
535 IPPROTO_IP = 0x0
536 IPPROTO_IPIP = 0x4
537 IPPROTO_IPV6 = 0x29
538 IPPROTO_MH = 0x87
539 IPPROTO_MTP = 0x5c
540 IPPROTO_NONE = 0x3b
541 IPPROTO_PIM = 0x67
542 IPPROTO_PUP = 0xc
543 IPPROTO_RAW = 0xff
544 IPPROTO_ROUTING = 0x2b
545 IPPROTO_RSVP = 0x2e
546 IPPROTO_SCTP = 0x84
547 IPPROTO_TCP = 0x6
548 IPPROTO_TP = 0x1d
549 IPPROTO_UDP = 0x11
550 IPPROTO_UDPLITE = 0x88
551 IPV6_2292DSTOPTS = 0x4
552 IPV6_2292HOPLIMIT = 0x8
553 IPV6_2292HOPOPTS = 0x3
554 IPV6_2292PKTINFO = 0x2
555 IPV6_2292PKTOPTIONS = 0x6
556 IPV6_2292RTHDR = 0x5
557 IPV6_ADDRFORM = 0x1
558 IPV6_ADD_MEMBERSHIP = 0x14
559 IPV6_AUTHHDR = 0xa
560 IPV6_CHECKSUM = 0x7
561 IPV6_DROP_MEMBERSHIP = 0x15
562 IPV6_DSTOPTS = 0x3b
563 IPV6_HOPLIMIT = 0x34
564 IPV6_HOPOPTS = 0x36
565 IPV6_IPSEC_POLICY = 0x22
566 IPV6_JOIN_ANYCAST = 0x1b
567 IPV6_JOIN_GROUP = 0x14
568 IPV6_LEAVE_ANYCAST = 0x1c
569 IPV6_LEAVE_GROUP = 0x15
570 IPV6_MTU = 0x18
571 IPV6_MTU_DISCOVER = 0x17
572 IPV6_MULTICAST_HOPS = 0x12
573 IPV6_MULTICAST_IF = 0x11
574 IPV6_MULTICAST_LOOP = 0x13
575 IPV6_NEXTHOP = 0x9
576 IPV6_PKTINFO = 0x32
577 IPV6_PMTUDISC_DO = 0x2
578 IPV6_PMTUDISC_DONT = 0x0
579 IPV6_PMTUDISC_INTERFACE = 0x4
580 IPV6_PMTUDISC_OMIT = 0x5
581 IPV6_PMTUDISC_PROBE = 0x3
582 IPV6_PMTUDISC_WANT = 0x1
583 IPV6_RECVDSTOPTS = 0x3a
584 IPV6_RECVERR = 0x19
585 IPV6_RECVHOPLIMIT = 0x33
586 IPV6_RECVHOPOPTS = 0x35
587 IPV6_RECVPKTINFO = 0x31
588 IPV6_RECVRTHDR = 0x38
589 IPV6_RECVTCLASS = 0x42
590 IPV6_ROUTER_ALERT = 0x16
591 IPV6_RTHDR = 0x39
592 IPV6_RTHDRDSTOPTS = 0x37
593 IPV6_RTHDR_LOOSE = 0x0
594 IPV6_RTHDR_STRICT = 0x1
595 IPV6_RTHDR_TYPE_0 = 0x0
596 IPV6_RXDSTOPTS = 0x3b
597 IPV6_RXHOPOPTS = 0x36
598 IPV6_TCLASS = 0x43
599 IPV6_UNICAST_HOPS = 0x10
600 IPV6_V6ONLY = 0x1a
601 IPV6_XFRM_POLICY = 0x23
602 IP_ADD_MEMBERSHIP = 0x23
603 IP_ADD_SOURCE_MEMBERSHIP = 0x27
604 IP_BLOCK_SOURCE = 0x26
605 IP_DEFAULT_MULTICAST_LOOP = 0x1
606 IP_DEFAULT_MULTICAST_TTL = 0x1
607 IP_DF = 0x4000
608 IP_DROP_MEMBERSHIP = 0x24
609 IP_DROP_SOURCE_MEMBERSHIP = 0x28
610 IP_FREEBIND = 0xf
611 IP_HDRINCL = 0x3
612 IP_IPSEC_POLICY = 0x10
613 IP_MAXPACKET = 0xffff
614 IP_MAX_MEMBERSHIPS = 0x14
615 IP_MF = 0x2000
616 IP_MINTTL = 0x15
617 IP_MSFILTER = 0x29
618 IP_MSS = 0x240
619 IP_MTU = 0xe
620 IP_MTU_DISCOVER = 0xa
621 IP_MULTICAST_ALL = 0x31
622 IP_MULTICAST_IF = 0x20
623 IP_MULTICAST_LOOP = 0x22
624 IP_MULTICAST_TTL = 0x21
625 IP_NODEFRAG = 0x16
626 IP_OFFMASK = 0x1fff
627 IP_OPTIONS = 0x4
628 IP_ORIGDSTADDR = 0x14
629 IP_PASSSEC = 0x12
630 IP_PKTINFO = 0x8
631 IP_PKTOPTIONS = 0x9
632 IP_PMTUDISC = 0xa
633 IP_PMTUDISC_DO = 0x2
634 IP_PMTUDISC_DONT = 0x0
635 IP_PMTUDISC_INTERFACE = 0x4
636 IP_PMTUDISC_OMIT = 0x5
637 IP_PMTUDISC_PROBE = 0x3
638 IP_PMTUDISC_WANT = 0x1
639 IP_RECVERR = 0xb
640 IP_RECVOPTS = 0x6
641 IP_RECVORIGDSTADDR = 0x14
642 IP_RECVRETOPTS = 0x7
643 IP_RECVTOS = 0xd
644 IP_RECVTTL = 0xc
645 IP_RETOPTS = 0x7
646 IP_RF = 0x8000
647 IP_ROUTER_ALERT = 0x5
648 IP_TOS = 0x1
649 IP_TRANSPARENT = 0x13
650 IP_TTL = 0x2
651 IP_UNBLOCK_SOURCE = 0x25
652 IP_UNICAST_IF = 0x32
653 IP_XFRM_POLICY = 0x11
654 ISIG = 0x80
655 ISTRIP = 0x20
656 IUCLC = 0x1000
657 IUTF8 = 0x4000
658 IXANY = 0x800
659 IXOFF = 0x400
660 IXON = 0x200
661 LINUX_REBOOT_CMD_CAD_OFF = 0x0
662 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
663 LINUX_REBOOT_CMD_HALT = 0xcdef0123
664 LINUX_REBOOT_CMD_KEXEC = 0x45584543
665 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
666 LINUX_REBOOT_CMD_RESTART = 0x1234567
667 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
668 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
669 LINUX_REBOOT_MAGIC1 = 0xfee1dead
670 LINUX_REBOOT_MAGIC2 = 0x28121969
671 LOCK_EX = 0x2
672 LOCK_NB = 0x4
673 LOCK_SH = 0x1
674 LOCK_UN = 0x8
675 MADV_DODUMP = 0x11
676 MADV_DOFORK = 0xb
677 MADV_DONTDUMP = 0x10
678 MADV_DONTFORK = 0xa
679 MADV_DONTNEED = 0x4
680 MADV_HUGEPAGE = 0xe
681 MADV_HWPOISON = 0x64
682 MADV_MERGEABLE = 0xc
683 MADV_NOHUGEPAGE = 0xf
684 MADV_NORMAL = 0x0
685 MADV_RANDOM = 0x1
686 MADV_REMOVE = 0x9
687 MADV_SEQUENTIAL = 0x2
688 MADV_UNMERGEABLE = 0xd
689 MADV_WILLNEED = 0x3
690 MAP_ANON = 0x20
691 MAP_ANONYMOUS = 0x20
692 MAP_DENYWRITE = 0x800
693 MAP_EXECUTABLE = 0x1000
694 MAP_FILE = 0x0
695 MAP_FIXED = 0x10
696 MAP_GROWSDOWN = 0x100
697 MAP_HUGETLB = 0x40000
698 MAP_HUGE_MASK = 0x3f
699 MAP_HUGE_SHIFT = 0x1a
700 MAP_LOCKED = 0x80
701 MAP_NONBLOCK = 0x10000
702 MAP_NORESERVE = 0x40
703 MAP_POPULATE = 0x8000
704 MAP_PRIVATE = 0x2
705 MAP_SHARED = 0x1
706 MAP_STACK = 0x20000
707 MAP_TYPE = 0xf
708 MCL_CURRENT = 0x2000
709 MCL_FUTURE = 0x4000
710 MNT_DETACH = 0x2
711 MNT_EXPIRE = 0x4
712 MNT_FORCE = 0x1
713 MSG_CMSG_CLOEXEC = 0x40000000
714 MSG_CONFIRM = 0x800
715 MSG_CTRUNC = 0x8
716 MSG_DONTROUTE = 0x4
717 MSG_DONTWAIT = 0x40
718 MSG_EOR = 0x80
719 MSG_ERRQUEUE = 0x2000
720 MSG_FASTOPEN = 0x20000000
721 MSG_FIN = 0x200
722 MSG_MORE = 0x8000
723 MSG_NOSIGNAL = 0x4000
724 MSG_OOB = 0x1
725 MSG_PEEK = 0x2
726 MSG_PROXY = 0x10
727 MSG_RST = 0x1000
728 MSG_SYN = 0x400
729 MSG_TRUNC = 0x20
730 MSG_TRYHARD = 0x4
731 MSG_WAITALL = 0x100
732 MSG_WAITFORONE = 0x10000
733 MS_ACTIVE = 0x40000000
734 MS_ASYNC = 0x1
735 MS_BIND = 0x1000
736 MS_DIRSYNC = 0x80
737 MS_INVALIDATE = 0x2
738 MS_I_VERSION = 0x800000
739 MS_KERNMOUNT = 0x400000
740 MS_MANDLOCK = 0x40
741 MS_MGC_MSK = 0xffff0000
742 MS_MGC_VAL = 0xc0ed0000
743 MS_MOVE = 0x2000
744 MS_NOATIME = 0x400
745 MS_NODEV = 0x4
746 MS_NODIRATIME = 0x800
747 MS_NOEXEC = 0x8
748 MS_NOSUID = 0x2
749 MS_NOUSER = -0x80000000
750 MS_POSIXACL = 0x10000
751 MS_PRIVATE = 0x40000
752 MS_RDONLY = 0x1
753 MS_REC = 0x4000
754 MS_RELATIME = 0x200000
755 MS_REMOUNT = 0x20
756 MS_RMT_MASK = 0x800051
757 MS_SHARED = 0x100000
758 MS_SILENT = 0x8000
759 MS_SLAVE = 0x80000
760 MS_STRICTATIME = 0x1000000
761 MS_SYNC = 0x4
762 MS_SYNCHRONOUS = 0x10
763 MS_UNBINDABLE = 0x20000
764 NAME_MAX = 0xff
765 NETLINK_ADD_MEMBERSHIP = 0x1
766 NETLINK_AUDIT = 0x9
767 NETLINK_BROADCAST_ERROR = 0x4
768 NETLINK_CONNECTOR = 0xb
769 NETLINK_CRYPTO = 0x15
770 NETLINK_DNRTMSG = 0xe
771 NETLINK_DROP_MEMBERSHIP = 0x2
772 NETLINK_ECRYPTFS = 0x13
773 NETLINK_FIB_LOOKUP = 0xa
774 NETLINK_FIREWALL = 0x3
775 NETLINK_GENERIC = 0x10
776 NETLINK_INET_DIAG = 0x4
777 NETLINK_IP6_FW = 0xd
778 NETLINK_ISCSI = 0x8
779 NETLINK_KOBJECT_UEVENT = 0xf
780 NETLINK_NETFILTER = 0xc
781 NETLINK_NFLOG = 0x5
782 NETLINK_NO_ENOBUFS = 0x5
783 NETLINK_PKTINFO = 0x3
784 NETLINK_RDMA = 0x14
785 NETLINK_ROUTE = 0x0
786 NETLINK_RX_RING = 0x6
787 NETLINK_SCSITRANSPORT = 0x12
788 NETLINK_SELINUX = 0x7
789 NETLINK_SOCK_DIAG = 0x4
790 NETLINK_TX_RING = 0x7
791 NETLINK_UNUSED = 0x1
792 NETLINK_USERSOCK = 0x2
793 NETLINK_XFRM = 0x6
794 NL0 = 0x0
795 NL1 = 0x100
796 NL2 = 0x200
797 NL3 = 0x300
798 NLA_ALIGNTO = 0x4
799 NLA_F_NESTED = 0x8000
800 NLA_F_NET_BYTEORDER = 0x4000
801 NLA_HDRLEN = 0x4
802 NLDLY = 0x300
803 NLMSG_ALIGNTO = 0x4
804 NLMSG_DONE = 0x3
805 NLMSG_ERROR = 0x2
806 NLMSG_HDRLEN = 0x10
807 NLMSG_MIN_TYPE = 0x10
808 NLMSG_NOOP = 0x1
809 NLMSG_OVERRUN = 0x4
810 NLM_F_ACK = 0x4
811 NLM_F_APPEND = 0x800
812 NLM_F_ATOMIC = 0x400
813 NLM_F_CREATE = 0x400
814 NLM_F_DUMP = 0x300
815 NLM_F_DUMP_INTR = 0x10
816 NLM_F_ECHO = 0x8
817 NLM_F_EXCL = 0x200
818 NLM_F_MATCH = 0x200
819 NLM_F_MULTI = 0x2
820 NLM_F_REPLACE = 0x100
821 NLM_F_REQUEST = 0x1
822 NLM_F_ROOT = 0x100
823 NOFLSH = 0x80000000
824 OCRNL = 0x8
825 OFDEL = 0x80
826 OFILL = 0x40
827 OLCUC = 0x4
828 ONLCR = 0x2
829 ONLRET = 0x20
830 ONOCR = 0x10
831 OPOST = 0x1
832 O_ACCMODE = 0x3
833 O_APPEND = 0x400
834 O_ASYNC = 0x2000
835 O_CLOEXEC = 0x80000
836 O_CREAT = 0x40
837 O_DIRECT = 0x20000
838 O_DIRECTORY = 0x4000
839 O_DSYNC = 0x1000
840 O_EXCL = 0x80
841 O_FSYNC = 0x101000
842 O_LARGEFILE = 0x0
843 O_NDELAY = 0x800
844 O_NOATIME = 0x40000
845 O_NOCTTY = 0x100
846 O_NOFOLLOW = 0x8000
847 O_NONBLOCK = 0x800
848 O_PATH = 0x200000
849 O_RDONLY = 0x0
850 O_RDWR = 0x2
851 O_RSYNC = 0x101000
852 O_SYNC = 0x101000
853 O_TMPFILE = 0x410000
854 O_TRUNC = 0x200
855 O_WRONLY = 0x1
856 PACKET_ADD_MEMBERSHIP = 0x1
857 PACKET_AUXDATA = 0x8
858 PACKET_BROADCAST = 0x1
859 PACKET_COPY_THRESH = 0x7
860 PACKET_DROP_MEMBERSHIP = 0x2
861 PACKET_FANOUT = 0x12
862 PACKET_FANOUT_CPU = 0x2
863 PACKET_FANOUT_FLAG_DEFRAG = 0x8000
864 PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
865 PACKET_FANOUT_HASH = 0x0
866 PACKET_FANOUT_LB = 0x1
867 PACKET_FANOUT_QM = 0x5
868 PACKET_FANOUT_RND = 0x4
869 PACKET_FANOUT_ROLLOVER = 0x3
870 PACKET_FASTROUTE = 0x6
871 PACKET_HDRLEN = 0xb
872 PACKET_HOST = 0x0
873 PACKET_KERNEL = 0x7
874 PACKET_LOOPBACK = 0x5
875 PACKET_LOSS = 0xe
876 PACKET_MR_ALLMULTI = 0x2
877 PACKET_MR_MULTICAST = 0x0
878 PACKET_MR_PROMISC = 0x1
879 PACKET_MR_UNICAST = 0x3
880 PACKET_MULTICAST = 0x2
881 PACKET_ORIGDEV = 0x9
882 PACKET_OTHERHOST = 0x3
883 PACKET_OUTGOING = 0x4
884 PACKET_QDISC_BYPASS = 0x14
885 PACKET_RECV_OUTPUT = 0x3
886 PACKET_RESERVE = 0xc
887 PACKET_RX_RING = 0x5
888 PACKET_STATISTICS = 0x6
889 PACKET_TIMESTAMP = 0x11
890 PACKET_TX_HAS_OFF = 0x13
891 PACKET_TX_RING = 0xd
892 PACKET_TX_TIMESTAMP = 0x10
893 PACKET_USER = 0x6
894 PACKET_VERSION = 0xa
895 PACKET_VNET_HDR = 0xf
896 PARENB = 0x1000
897 PARITY_CRC16_PR0 = 0x2
898 PARITY_CRC16_PR0_CCITT = 0x4
899 PARITY_CRC16_PR1 = 0x3
900 PARITY_CRC16_PR1_CCITT = 0x5
901 PARITY_CRC32_PR0_CCITT = 0x6
902 PARITY_CRC32_PR1_CCITT = 0x7
903 PARITY_DEFAULT = 0x0
904 PARITY_NONE = 0x1
905 PARMRK = 0x8
906 PARODD = 0x2000
907 PENDIN = 0x20000000
908 PRIO_PGRP = 0x1
909 PRIO_PROCESS = 0x0
910 PRIO_USER = 0x2
911 PROT_EXEC = 0x4
912 PROT_GROWSDOWN = 0x1000000
913 PROT_GROWSUP = 0x2000000
914 PROT_NONE = 0x0
915 PROT_READ = 0x1
916 PROT_SAO = 0x10
917 PROT_WRITE = 0x2
918 PR_CAPBSET_DROP = 0x18
919 PR_CAPBSET_READ = 0x17
920 PR_ENDIAN_BIG = 0x0
921 PR_ENDIAN_LITTLE = 0x1
922 PR_ENDIAN_PPC_LITTLE = 0x2
923 PR_FPEMU_NOPRINT = 0x1
924 PR_FPEMU_SIGFPE = 0x2
925 PR_FP_EXC_ASYNC = 0x2
926 PR_FP_EXC_DISABLED = 0x0
927 PR_FP_EXC_DIV = 0x10000
928 PR_FP_EXC_INV = 0x100000
929 PR_FP_EXC_NONRECOV = 0x1
930 PR_FP_EXC_OVF = 0x20000
931 PR_FP_EXC_PRECISE = 0x3
932 PR_FP_EXC_RES = 0x80000
933 PR_FP_EXC_SW_ENABLE = 0x80
934 PR_FP_EXC_UND = 0x40000
935 PR_GET_CHILD_SUBREAPER = 0x25
936 PR_GET_DUMPABLE = 0x3
937 PR_GET_ENDIAN = 0x13
938 PR_GET_FPEMU = 0x9
939 PR_GET_FPEXC = 0xb
940 PR_GET_KEEPCAPS = 0x7
941 PR_GET_NAME = 0x10
942 PR_GET_NO_NEW_PRIVS = 0x27
943 PR_GET_PDEATHSIG = 0x2
944 PR_GET_SECCOMP = 0x15
945 PR_GET_SECUREBITS = 0x1b
946 PR_GET_THP_DISABLE = 0x2a
947 PR_GET_TID_ADDRESS = 0x28
948 PR_GET_TIMERSLACK = 0x1e
949 PR_GET_TIMING = 0xd
950 PR_GET_TSC = 0x19
951 PR_GET_UNALIGN = 0x5
952 PR_MCE_KILL = 0x21
953 PR_MCE_KILL_CLEAR = 0x0
954 PR_MCE_KILL_DEFAULT = 0x2
955 PR_MCE_KILL_EARLY = 0x1
956 PR_MCE_KILL_GET = 0x22
957 PR_MCE_KILL_LATE = 0x0
958 PR_MCE_KILL_SET = 0x1
959 PR_SET_CHILD_SUBREAPER = 0x24
960 PR_SET_DUMPABLE = 0x4
961 PR_SET_ENDIAN = 0x14
962 PR_SET_FPEMU = 0xa
963 PR_SET_FPEXC = 0xc
964 PR_SET_KEEPCAPS = 0x8
965 PR_SET_MM = 0x23
966 PR_SET_MM_ARG_END = 0x9
967 PR_SET_MM_ARG_START = 0x8
968 PR_SET_MM_AUXV = 0xc
969 PR_SET_MM_BRK = 0x7
970 PR_SET_MM_END_CODE = 0x2
971 PR_SET_MM_END_DATA = 0x4
972 PR_SET_MM_ENV_END = 0xb
973 PR_SET_MM_ENV_START = 0xa
974 PR_SET_MM_EXE_FILE = 0xd
975 PR_SET_MM_MAP = 0xe
976 PR_SET_MM_MAP_SIZE = 0xf
977 PR_SET_MM_START_BRK = 0x6
978 PR_SET_MM_START_CODE = 0x1
979 PR_SET_MM_START_DATA = 0x3
980 PR_SET_MM_START_STACK = 0x5
981 PR_SET_NAME = 0xf
982 PR_SET_NO_NEW_PRIVS = 0x26
983 PR_SET_PDEATHSIG = 0x1
984 PR_SET_PTRACER = 0x59616d61
985 PR_SET_PTRACER_ANY = -0x1
986 PR_SET_SECCOMP = 0x16
987 PR_SET_SECUREBITS = 0x1c
988 PR_SET_THP_DISABLE = 0x29
989 PR_SET_TIMERSLACK = 0x1d
990 PR_SET_TIMING = 0xe
991 PR_SET_TSC = 0x1a
992 PR_SET_UNALIGN = 0x6
993 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
994 PR_TASK_PERF_EVENTS_ENABLE = 0x20
995 PR_TIMING_STATISTICAL = 0x0
996 PR_TIMING_TIMESTAMP = 0x1
997 PR_TSC_ENABLE = 0x1
998 PR_TSC_SIGSEGV = 0x2
999 PR_UNALIGN_NOPRINT = 0x1
1000 PR_UNALIGN_SIGBUS = 0x2
1001 PTRACE_ATTACH = 0x10
1002 PTRACE_CONT = 0x7
1003 PTRACE_DETACH = 0x11
1004 PTRACE_EVENT_CLONE = 0x3
1005 PTRACE_EVENT_EXEC = 0x4
1006 PTRACE_EVENT_EXIT = 0x6
1007 PTRACE_EVENT_FORK = 0x1
1008 PTRACE_EVENT_SECCOMP = 0x7
1009 PTRACE_EVENT_STOP = 0x80
1010 PTRACE_EVENT_VFORK = 0x2
1011 PTRACE_EVENT_VFORK_DONE = 0x5
1012 PTRACE_GETEVENTMSG = 0x4201
1013 PTRACE_GETEVRREGS = 0x14
1014 PTRACE_GETFPREGS = 0xe
1015 PTRACE_GETREGS = 0xc
1016 PTRACE_GETREGS64 = 0x16
1017 PTRACE_GETREGSET = 0x4204
1018 PTRACE_GETSIGINFO = 0x4202
1019 PTRACE_GETSIGMASK = 0x420a
1020 PTRACE_GETVRREGS = 0x12
1021 PTRACE_GETVSRREGS = 0x1b
1022 PTRACE_GET_DEBUGREG = 0x19
1023 PTRACE_INTERRUPT = 0x4207
1024 PTRACE_KILL = 0x8
1025 PTRACE_LISTEN = 0x4208
1026 PTRACE_O_EXITKILL = 0x100000
1027 PTRACE_O_MASK = 0x1000ff
1028 PTRACE_O_TRACECLONE = 0x8
1029 PTRACE_O_TRACEEXEC = 0x10
1030 PTRACE_O_TRACEEXIT = 0x40
1031 PTRACE_O_TRACEFORK = 0x2
1032 PTRACE_O_TRACESECCOMP = 0x80
1033 PTRACE_O_TRACESYSGOOD = 0x1
1034 PTRACE_O_TRACEVFORK = 0x4
1035 PTRACE_O_TRACEVFORKDONE = 0x20
1036 PTRACE_PEEKDATA = 0x2
1037 PTRACE_PEEKSIGINFO = 0x4209
1038 PTRACE_PEEKSIGINFO_SHARED = 0x1
1039 PTRACE_PEEKTEXT = 0x1
1040 PTRACE_PEEKUSR = 0x3
1041 PTRACE_POKEDATA = 0x5
1042 PTRACE_POKETEXT = 0x4
1043 PTRACE_POKEUSR = 0x6
1044 PTRACE_SEIZE = 0x4206
1045 PTRACE_SETEVRREGS = 0x15
1046 PTRACE_SETFPREGS = 0xf
1047 PTRACE_SETOPTIONS = 0x4200
1048 PTRACE_SETREGS = 0xd
1049 PTRACE_SETREGS64 = 0x17
1050 PTRACE_SETREGSET = 0x4205
1051 PTRACE_SETSIGINFO = 0x4203
1052 PTRACE_SETSIGMASK = 0x420b
1053 PTRACE_SETVRREGS = 0x13
1054 PTRACE_SETVSRREGS = 0x1c
1055 PTRACE_SET_DEBUGREG = 0x1a
1056 PTRACE_SINGLEBLOCK = 0x100
1057 PTRACE_SINGLESTEP = 0x9
1058 PTRACE_SYSCALL = 0x18
1059 PTRACE_TRACEME = 0x0
1060 PT_CCR = 0x26
1061 PT_CTR = 0x23
1062 PT_DAR = 0x29
1063 PT_DSCR = 0x2c
1064 PT_DSISR = 0x2a
1065 PT_FPR0 = 0x30
1066 PT_FPSCR = 0x50
1067 PT_LNK = 0x24
1068 PT_MSR = 0x21
1069 PT_NIP = 0x20
1070 PT_ORIG_R3 = 0x22
1071 PT_R0 = 0x0
1072 PT_R1 = 0x1
1073 PT_R10 = 0xa
1074 PT_R11 = 0xb
1075 PT_R12 = 0xc
1076 PT_R13 = 0xd
1077 PT_R14 = 0xe
1078 PT_R15 = 0xf
1079 PT_R16 = 0x10
1080 PT_R17 = 0x11
1081 PT_R18 = 0x12
1082 PT_R19 = 0x13
1083 PT_R2 = 0x2
1084 PT_R20 = 0x14
1085 PT_R21 = 0x15
1086 PT_R22 = 0x16
1087 PT_R23 = 0x17
1088 PT_R24 = 0x18
1089 PT_R25 = 0x19
1090 PT_R26 = 0x1a
1091 PT_R27 = 0x1b
1092 PT_R28 = 0x1c
1093 PT_R29 = 0x1d
1094 PT_R3 = 0x3
1095 PT_R30 = 0x1e
1096 PT_R31 = 0x1f
1097 PT_R4 = 0x4
1098 PT_R5 = 0x5
1099 PT_R6 = 0x6
1100 PT_R7 = 0x7
1101 PT_R8 = 0x8
1102 PT_R9 = 0x9
1103 PT_REGS_COUNT = 0x2c
1104 PT_RESULT = 0x2b
1105 PT_SOFTE = 0x27
1106 PT_TRAP = 0x28
1107 PT_VR0 = 0x52
1108 PT_VRSAVE = 0x94
1109 PT_VSCR = 0x93
1110 PT_VSR0 = 0x96
1111 PT_VSR31 = 0xd4
1112 PT_XER = 0x25
1113 RLIMIT_AS = 0x9
1114 RLIMIT_CORE = 0x4
1115 RLIMIT_CPU = 0x0
1116 RLIMIT_DATA = 0x2
1117 RLIMIT_FSIZE = 0x1
1118 RLIMIT_NOFILE = 0x7
1119 RLIMIT_STACK = 0x3
1120 RLIM_INFINITY = -0x1
1121 RTAX_ADVMSS = 0x8
1122 RTAX_CWND = 0x7
1123 RTAX_FEATURES = 0xc
1124 RTAX_FEATURE_ALLFRAG = 0x8
1125 RTAX_FEATURE_ECN = 0x1
1126 RTAX_FEATURE_SACK = 0x2
1127 RTAX_FEATURE_TIMESTAMP = 0x4
1128 RTAX_HOPLIMIT = 0xa
1129 RTAX_INITCWND = 0xb
1130 RTAX_INITRWND = 0xe
1131 RTAX_LOCK = 0x1
1132 RTAX_MAX = 0xf
1133 RTAX_MTU = 0x2
1134 RTAX_QUICKACK = 0xf
1135 RTAX_REORDERING = 0x9
1136 RTAX_RTO_MIN = 0xd
1137 RTAX_RTT = 0x4
1138 RTAX_RTTVAR = 0x5
1139 RTAX_SSTHRESH = 0x6
1140 RTAX_UNSPEC = 0x0
1141 RTAX_WINDOW = 0x3
1142 RTA_ALIGNTO = 0x4
1143 RTA_MAX = 0x11
1144 RTCF_DIRECTSRC = 0x4000000
1145 RTCF_DOREDIRECT = 0x1000000
1146 RTCF_LOG = 0x2000000
1147 RTCF_MASQ = 0x400000
1148 RTCF_NAT = 0x800000
1149 RTCF_VALVE = 0x200000
1150 RTF_ADDRCLASSMASK = 0xf8000000
1151 RTF_ADDRCONF = 0x40000
1152 RTF_ALLONLINK = 0x20000
1153 RTF_BROADCAST = 0x10000000
1154 RTF_CACHE = 0x1000000
1155 RTF_DEFAULT = 0x10000
1156 RTF_DYNAMIC = 0x10
1157 RTF_FLOW = 0x2000000
1158 RTF_GATEWAY = 0x2
1159 RTF_HOST = 0x4
1160 RTF_INTERFACE = 0x40000000
1161 RTF_IRTT = 0x100
1162 RTF_LINKRT = 0x100000
1163 RTF_LOCAL = 0x80000000
1164 RTF_MODIFIED = 0x20
1165 RTF_MSS = 0x40
1166 RTF_MTU = 0x40
1167 RTF_MULTICAST = 0x20000000
1168 RTF_NAT = 0x8000000
1169 RTF_NOFORWARD = 0x1000
1170 RTF_NONEXTHOP = 0x200000
1171 RTF_NOPMTUDISC = 0x4000
1172 RTF_POLICY = 0x4000000
1173 RTF_REINSTATE = 0x8
1174 RTF_REJECT = 0x200
1175 RTF_STATIC = 0x400
1176 RTF_THROW = 0x2000
1177 RTF_UP = 0x1
1178 RTF_WINDOW = 0x80
1179 RTF_XRESOLVE = 0x800
1180 RTM_BASE = 0x10
1181 RTM_DELACTION = 0x31
1182 RTM_DELADDR = 0x15
1183 RTM_DELADDRLABEL = 0x49
1184 RTM_DELLINK = 0x11
1185 RTM_DELMDB = 0x55
1186 RTM_DELNEIGH = 0x1d
1187 RTM_DELQDISC = 0x25
1188 RTM_DELROUTE = 0x19
1189 RTM_DELRULE = 0x21
1190 RTM_DELTCLASS = 0x29
1191 RTM_DELTFILTER = 0x2d
1192 RTM_F_CLONED = 0x200
1193 RTM_F_EQUALIZE = 0x400
1194 RTM_F_NOTIFY = 0x100
1195 RTM_F_PREFIX = 0x800
1196 RTM_GETACTION = 0x32
1197 RTM_GETADDR = 0x16
1198 RTM_GETADDRLABEL = 0x4a
1199 RTM_GETANYCAST = 0x3e
1200 RTM_GETDCB = 0x4e
1201 RTM_GETLINK = 0x12
1202 RTM_GETMDB = 0x56
1203 RTM_GETMULTICAST = 0x3a
1204 RTM_GETNEIGH = 0x1e
1205 RTM_GETNEIGHTBL = 0x42
1206 RTM_GETNETCONF = 0x52
1207 RTM_GETQDISC = 0x26
1208 RTM_GETROUTE = 0x1a
1209 RTM_GETRULE = 0x22
1210 RTM_GETTCLASS = 0x2a
1211 RTM_GETTFILTER = 0x2e
1212 RTM_MAX = 0x57
1213 RTM_NEWACTION = 0x30
1214 RTM_NEWADDR = 0x14
1215 RTM_NEWADDRLABEL = 0x48
1216 RTM_NEWLINK = 0x10
1217 RTM_NEWMDB = 0x54
1218 RTM_NEWNDUSEROPT = 0x44
1219 RTM_NEWNEIGH = 0x1c
1220 RTM_NEWNEIGHTBL = 0x40
1221 RTM_NEWNETCONF = 0x50
1222 RTM_NEWPREFIX = 0x34
1223 RTM_NEWQDISC = 0x24
1224 RTM_NEWROUTE = 0x18
1225 RTM_NEWRULE = 0x20
1226 RTM_NEWTCLASS = 0x28
1227 RTM_NEWTFILTER = 0x2c
1228 RTM_NR_FAMILIES = 0x12
1229 RTM_NR_MSGTYPES = 0x48
1230 RTM_SETDCB = 0x4f
1231 RTM_SETLINK = 0x13
1232 RTM_SETNEIGHTBL = 0x43
1233 RTNH_ALIGNTO = 0x4
1234 RTNH_F_DEAD = 0x1
1235 RTNH_F_ONLINK = 0x4
1236 RTNH_F_PERVASIVE = 0x2
1237 RTN_MAX = 0xb
1238 RTPROT_BIRD = 0xc
1239 RTPROT_BOOT = 0x3
1240 RTPROT_DHCP = 0x10
1241 RTPROT_DNROUTED = 0xd
1242 RTPROT_GATED = 0x8
1243 RTPROT_KERNEL = 0x2
1244 RTPROT_MROUTED = 0x11
1245 RTPROT_MRT = 0xa
1246 RTPROT_NTK = 0xf
1247 RTPROT_RA = 0x9
1248 RTPROT_REDIRECT = 0x1
1249 RTPROT_STATIC = 0x4
1250 RTPROT_UNSPEC = 0x0
1251 RTPROT_XORP = 0xe
1252 RTPROT_ZEBRA = 0xb
1253 RT_CLASS_DEFAULT = 0xfd
1254 RT_CLASS_LOCAL = 0xff
1255 RT_CLASS_MAIN = 0xfe
1256 RT_CLASS_MAX = 0xff
1257 RT_CLASS_UNSPEC = 0x0
1258 RUSAGE_CHILDREN = -0x1
1259 RUSAGE_SELF = 0x0
1260 RUSAGE_THREAD = 0x1
1261 SCM_CREDENTIALS = 0x2
1262 SCM_RIGHTS = 0x1
1263 SCM_TIMESTAMP = 0x1d
1264 SCM_TIMESTAMPING = 0x25
1265 SCM_TIMESTAMPNS = 0x23
1266 SCM_WIFI_STATUS = 0x29
1267 SHUT_RD = 0x0
1268 SHUT_RDWR = 0x2
1269 SHUT_WR = 0x1
1270 SIOCADDDLCI = 0x8980
1271 SIOCADDMULTI = 0x8931
1272 SIOCADDRT = 0x890b
1273 SIOCATMARK = 0x8905
1274 SIOCDARP = 0x8953
1275 SIOCDELDLCI = 0x8981
1276 SIOCDELMULTI = 0x8932
1277 SIOCDELRT = 0x890c
1278 SIOCDEVPRIVATE = 0x89f0
1279 SIOCDIFADDR = 0x8936
1280 SIOCDRARP = 0x8960
1281 SIOCGARP = 0x8954
1282 SIOCGIFADDR = 0x8915
1283 SIOCGIFBR = 0x8940
1284 SIOCGIFBRDADDR = 0x8919
1285 SIOCGIFCONF = 0x8912
1286 SIOCGIFCOUNT = 0x8938
1287 SIOCGIFDSTADDR = 0x8917
1288 SIOCGIFENCAP = 0x8925
1289 SIOCGIFFLAGS = 0x8913
1290 SIOCGIFHWADDR = 0x8927
1291 SIOCGIFINDEX = 0x8933
1292 SIOCGIFMAP = 0x8970
1293 SIOCGIFMEM = 0x891f
1294 SIOCGIFMETRIC = 0x891d
1295 SIOCGIFMTU = 0x8921
1296 SIOCGIFNAME = 0x8910
1297 SIOCGIFNETMASK = 0x891b
1298 SIOCGIFPFLAGS = 0x8935
1299 SIOCGIFSLAVE = 0x8929
1300 SIOCGIFTXQLEN = 0x8942
1301 SIOCGPGRP = 0x8904
1302 SIOCGRARP = 0x8961
1303 SIOCGSTAMP = 0x8906
1304 SIOCGSTAMPNS = 0x8907
1305 SIOCPROTOPRIVATE = 0x89e0
1306 SIOCRTMSG = 0x890d
1307 SIOCSARP = 0x8955
1308 SIOCSIFADDR = 0x8916
1309 SIOCSIFBR = 0x8941
1310 SIOCSIFBRDADDR = 0x891a
1311 SIOCSIFDSTADDR = 0x8918
1312 SIOCSIFENCAP = 0x8926
1313 SIOCSIFFLAGS = 0x8914
1314 SIOCSIFHWADDR = 0x8924
1315 SIOCSIFHWBROADCAST = 0x8937
1316 SIOCSIFLINK = 0x8911
1317 SIOCSIFMAP = 0x8971
1318 SIOCSIFMEM = 0x8920
1319 SIOCSIFMETRIC = 0x891e
1320 SIOCSIFMTU = 0x8922
1321 SIOCSIFNAME = 0x8923
1322 SIOCSIFNETMASK = 0x891c
1323 SIOCSIFPFLAGS = 0x8934
1324 SIOCSIFSLAVE = 0x8930
1325 SIOCSIFTXQLEN = 0x8943
1326 SIOCSPGRP = 0x8902
1327 SIOCSRARP = 0x8962
1328 SOCK_CLOEXEC = 0x80000
1329 SOCK_DCCP = 0x6
1330 SOCK_DGRAM = 0x2
1331 SOCK_NONBLOCK = 0x800
1332 SOCK_PACKET = 0xa
1333 SOCK_RAW = 0x3
1334 SOCK_RDM = 0x4
1335 SOCK_SEQPACKET = 0x5
1336 SOCK_STREAM = 0x1
1337 SOL_AAL = 0x109
1338 SOL_ATM = 0x108
1339 SOL_DECNET = 0x105
1340 SOL_ICMPV6 = 0x3a
1341 SOL_IP = 0x0
1342 SOL_IPV6 = 0x29
1343 SOL_IRDA = 0x10a
1344 SOL_PACKET = 0x107
1345 SOL_RAW = 0xff
1346 SOL_SOCKET = 0x1
1347 SOL_TCP = 0x6
1348 SOL_X25 = 0x106
1349 SOMAXCONN = 0x80
1350 SO_ACCEPTCONN = 0x1e
1351 SO_ATTACH_FILTER = 0x1a
1352 SO_BINDTODEVICE = 0x19
1353 SO_BPF_EXTENSIONS = 0x30
1354 SO_BROADCAST = 0x6
1355 SO_BSDCOMPAT = 0xe
1356 SO_BUSY_POLL = 0x2e
1357 SO_DEBUG = 0x1
1358 SO_DETACH_FILTER = 0x1b
1359 SO_DOMAIN = 0x27
1360 SO_DONTROUTE = 0x5
1361 SO_ERROR = 0x4
1362 SO_GET_FILTER = 0x1a
1363 SO_KEEPALIVE = 0x9
1364 SO_LINGER = 0xd
1365 SO_LOCK_FILTER = 0x2c
1366 SO_MARK = 0x24
1367 SO_MAX_PACING_RATE = 0x2f
1368 SO_NOFCS = 0x2b
1369 SO_NO_CHECK = 0xb
1370 SO_OOBINLINE = 0xa
1371 SO_PASSCRED = 0x14
1372 SO_PASSSEC = 0x22
1373 SO_PEEK_OFF = 0x2a
1374 SO_PEERCRED = 0x15
1375 SO_PEERNAME = 0x1c
1376 SO_PEERSEC = 0x1f
1377 SO_PRIORITY = 0xc
1378 SO_PROTOCOL = 0x26
1379 SO_RCVBUF = 0x8
1380 SO_RCVBUFFORCE = 0x21
1381 SO_RCVLOWAT = 0x10
1382 SO_RCVTIMEO = 0x12
1383 SO_REUSEADDR = 0x2
1384 SO_REUSEPORT = 0xf
1385 SO_RXQ_OVFL = 0x28
1386 SO_SECURITY_AUTHENTICATION = 0x16
1387 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1388 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1389 SO_SELECT_ERR_QUEUE = 0x2d
1390 SO_SNDBUF = 0x7
1391 SO_SNDBUFFORCE = 0x20
1392 SO_SNDLOWAT = 0x11
1393 SO_SNDTIMEO = 0x13
1394 SO_TIMESTAMP = 0x1d
1395 SO_TIMESTAMPING = 0x25
1396 SO_TIMESTAMPNS = 0x23
1397 SO_TYPE = 0x3
1398 SO_WIFI_STATUS = 0x29
1399 S_BLKSIZE = 0x200
1400 S_IEXEC = 0x40
1401 S_IFBLK = 0x6000
1402 S_IFCHR = 0x2000
1403 S_IFDIR = 0x4000
1404 S_IFIFO = 0x1000
1405 S_IFLNK = 0xa000
1406 S_IFMT = 0xf000
1407 S_IFREG = 0x8000
1408 S_IFSOCK = 0xc000
1409 S_IREAD = 0x100
1410 S_IRGRP = 0x20
1411 S_IROTH = 0x4
1412 S_IRUSR = 0x100
1413 S_IRWXG = 0x38
1414 S_IRWXO = 0x7
1415 S_IRWXU = 0x1c0
1416 S_ISGID = 0x400
1417 S_ISUID = 0x800
1418 S_ISVTX = 0x200
1419 S_IWGRP = 0x10
1420 S_IWOTH = 0x2
1421 S_IWRITE = 0x80
1422 S_IWUSR = 0x80
1423 S_IXGRP = 0x8
1424 S_IXOTH = 0x1
1425 S_IXUSR = 0x40
1426 TAB0 = 0x0
1427 TAB1 = 0x400
1428 TAB2 = 0x800
1429 TAB3 = 0xc00
1430 TABDLY = 0xc00
1431 TCFLSH = 0x2000741f
1432 TCGETA = 0x40147417
1433 TCGETS = 0x402c7413
1434 TCIFLUSH = 0x0
1435 TCIOFF = 0x2
1436 TCIOFLUSH = 0x2
1437 TCION = 0x3
1438 TCOFLUSH = 0x1
1439 TCOOFF = 0x0
1440 TCOON = 0x1
1441 TCP_CONGESTION = 0xd
1442 TCP_COOKIE_IN_ALWAYS = 0x1
1443 TCP_COOKIE_MAX = 0x10
1444 TCP_COOKIE_MIN = 0x8
1445 TCP_COOKIE_OUT_NEVER = 0x2
1446 TCP_COOKIE_PAIR_SIZE = 0x20
1447 TCP_COOKIE_TRANSACTIONS = 0xf
1448 TCP_CORK = 0x3
1449 TCP_DEFER_ACCEPT = 0x9
1450 TCP_FASTOPEN = 0x17
1451 TCP_INFO = 0xb
1452 TCP_KEEPCNT = 0x6
1453 TCP_KEEPIDLE = 0x4
1454 TCP_KEEPINTVL = 0x5
1455 TCP_LINGER2 = 0x8
1456 TCP_MAXSEG = 0x2
1457 TCP_MAXWIN = 0xffff
1458 TCP_MAX_WINSHIFT = 0xe
1459 TCP_MD5SIG = 0xe
1460 TCP_MD5SIG_MAXKEYLEN = 0x50
1461 TCP_MSS = 0x200
1462 TCP_MSS_DEFAULT = 0x218
1463 TCP_MSS_DESIRED = 0x4c4
1464 TCP_NODELAY = 0x1
1465 TCP_QUEUE_SEQ = 0x15
1466 TCP_QUICKACK = 0xc
1467 TCP_REPAIR = 0x13
1468 TCP_REPAIR_OPTIONS = 0x16
1469 TCP_REPAIR_QUEUE = 0x14
1470 TCP_SYNCNT = 0x7
1471 TCP_S_DATA_IN = 0x4
1472 TCP_S_DATA_OUT = 0x8
1473 TCP_THIN_DUPACK = 0x11
1474 TCP_THIN_LINEAR_TIMEOUTS = 0x10
1475 TCP_TIMESTAMP = 0x18
1476 TCP_USER_TIMEOUT = 0x12
1477 TCP_WINDOW_CLAMP = 0xa
1478 TCSAFLUSH = 0x2
1479 TCSBRK = 0x2000741d
1480 TCSBRKP = 0x5425
1481 TCSETA = 0x80147418
1482 TCSETAF = 0x8014741c
1483 TCSETAW = 0x80147419
1484 TCSETS = 0x802c7414
1485 TCSETSF = 0x802c7416
1486 TCSETSW = 0x802c7415
1487 TCXONC = 0x2000741e
1488 TIOCCBRK = 0x5428
1489 TIOCCONS = 0x541d
1490 TIOCEXCL = 0x540c
1491 TIOCGDEV = 0x40045432
1492 TIOCGETC = 0x40067412
1493 TIOCGETD = 0x5424
1494 TIOCGETP = 0x40067408
1495 TIOCGEXCL = 0x40045440
1496 TIOCGICOUNT = 0x545d
1497 TIOCGLCKTRMIOS = 0x5456
1498 TIOCGLTC = 0x40067474
1499 TIOCGPGRP = 0x40047477
1500 TIOCGPKT = 0x40045438
1501 TIOCGPTLCK = 0x40045439
1502 TIOCGPTN = 0x40045430
1503 TIOCGRS485 = 0x542e
1504 TIOCGSERIAL = 0x541e
1505 TIOCGSID = 0x5429
1506 TIOCGSOFTCAR = 0x5419
1507 TIOCGWINSZ = 0x40087468
1508 TIOCINQ = 0x4004667f
1509 TIOCLINUX = 0x541c
1510 TIOCMBIC = 0x5417
1511 TIOCMBIS = 0x5416
1512 TIOCMGET = 0x5415
1513 TIOCMIWAIT = 0x545c
1514 TIOCMSET = 0x5418
1515 TIOCM_CAR = 0x40
1516 TIOCM_CD = 0x40
1517 TIOCM_CTS = 0x20
1518 TIOCM_DSR = 0x100
1519 TIOCM_DTR = 0x2
1520 TIOCM_LE = 0x1
1521 TIOCM_LOOP = 0x8000
1522 TIOCM_OUT1 = 0x2000
1523 TIOCM_OUT2 = 0x4000
1524 TIOCM_RI = 0x80
1525 TIOCM_RNG = 0x80
1526 TIOCM_RTS = 0x4
1527 TIOCM_SR = 0x10
1528 TIOCM_ST = 0x8
1529 TIOCNOTTY = 0x5422
1530 TIOCNXCL = 0x540d
1531 TIOCOUTQ = 0x40047473
1532 TIOCPKT = 0x5420
1533 TIOCPKT_DATA = 0x0
1534 TIOCPKT_DOSTOP = 0x20
1535 TIOCPKT_FLUSHREAD = 0x1
1536 TIOCPKT_FLUSHWRITE = 0x2
1537 TIOCPKT_IOCTL = 0x40
1538 TIOCPKT_NOSTOP = 0x10
1539 TIOCPKT_START = 0x8
1540 TIOCPKT_STOP = 0x4
1541 TIOCSBRK = 0x5427
1542 TIOCSCTTY = 0x540e
1543 TIOCSERCONFIG = 0x5453
1544 TIOCSERGETLSR = 0x5459
1545 TIOCSERGETMULTI = 0x545a
1546 TIOCSERGSTRUCT = 0x5458
1547 TIOCSERGWILD = 0x5454
1548 TIOCSERSETMULTI = 0x545b
1549 TIOCSERSWILD = 0x5455
1550 TIOCSER_TEMT = 0x1
1551 TIOCSETC = 0x80067411
1552 TIOCSETD = 0x5423
1553 TIOCSETN = 0x8006740a
1554 TIOCSETP = 0x80067409
1555 TIOCSIG = 0x80045436
1556 TIOCSLCKTRMIOS = 0x5457
1557 TIOCSLTC = 0x80067475
1558 TIOCSPGRP = 0x80047476
1559 TIOCSPTLCK = 0x80045431
1560 TIOCSRS485 = 0x542f
1561 TIOCSSERIAL = 0x541f
1562 TIOCSSOFTCAR = 0x541a
1563 TIOCSTART = 0x2000746e
1564 TIOCSTI = 0x5412
1565 TIOCSTOP = 0x2000746f
1566 TIOCSWINSZ = 0x80087467
1567 TIOCVHANGUP = 0x5437
1568 TOSTOP = 0x400000
1569 TUNATTACHFILTER = 0x801054d5
1570 TUNDETACHFILTER = 0x801054d6
1571 TUNGETFEATURES = 0x400454cf
1572 TUNGETFILTER = 0x401054db
1573 TUNGETIFF = 0x400454d2
1574 TUNGETSNDBUF = 0x400454d3
1575 TUNGETVNETHDRSZ = 0x400454d7
1576 TUNSETDEBUG = 0x800454c9
1577 TUNSETGROUP = 0x800454ce
1578 TUNSETIFF = 0x800454ca
1579 TUNSETIFINDEX = 0x800454da
1580 TUNSETLINK = 0x800454cd
1581 TUNSETNOCSUM = 0x800454c8
1582 TUNSETOFFLOAD = 0x800454d0
1583 TUNSETOWNER = 0x800454cc
1584 TUNSETPERSIST = 0x800454cb
1585 TUNSETQUEUE = 0x800454d9
1586 TUNSETSNDBUF = 0x800454d4
1587 TUNSETTXFILTER = 0x800454d1
1588 TUNSETVNETHDRSZ = 0x800454d8
1589 VDISCARD = 0x10
1590 VEOF = 0x4
1591 VEOL = 0x6
1592 VEOL2 = 0x8
1593 VERASE = 0x2
1594 VINTR = 0x0
1595 VKILL = 0x3
1596 VLNEXT = 0xf
1597 VMIN = 0x5
1598 VQUIT = 0x1
1599 VREPRINT = 0xb
1600 VSTART = 0xd
1601 VSTOP = 0xe
1602 VSUSP = 0xc
1603 VSWTC = 0x9
1604 VT0 = 0x0
1605 VT1 = 0x10000
1606 VTDLY = 0x10000
1607 VTIME = 0x7
1608 VWERASE = 0xa
1609 WALL = 0x40000000
1610 WCLONE = 0x80000000
1611 WCONTINUED = 0x8
1612 WEXITED = 0x4
1613 WNOHANG = 0x1
1614 WNOTHREAD = 0x20000000
1615 WNOWAIT = 0x1000000
1616 WORDSIZE = 0x40
1617 WSTOPPED = 0x2
1618 WUNTRACED = 0x2
1619 XCASE = 0x4000
1620 XTABS = 0xc00
1621)
1622
1623// Errors
1624const (
1625 E2BIG = syscall.Errno(0x7)
1626 EACCES = syscall.Errno(0xd)
1627 EADDRINUSE = syscall.Errno(0x62)
1628 EADDRNOTAVAIL = syscall.Errno(0x63)
1629 EADV = syscall.Errno(0x44)
1630 EAFNOSUPPORT = syscall.Errno(0x61)
1631 EAGAIN = syscall.Errno(0xb)
1632 EALREADY = syscall.Errno(0x72)
1633 EBADE = syscall.Errno(0x34)
1634 EBADF = syscall.Errno(0x9)
1635 EBADFD = syscall.Errno(0x4d)
1636 EBADMSG = syscall.Errno(0x4a)
1637 EBADR = syscall.Errno(0x35)
1638 EBADRQC = syscall.Errno(0x38)
1639 EBADSLT = syscall.Errno(0x39)
1640 EBFONT = syscall.Errno(0x3b)
1641 EBUSY = syscall.Errno(0x10)
1642 ECANCELED = syscall.Errno(0x7d)
1643 ECHILD = syscall.Errno(0xa)
1644 ECHRNG = syscall.Errno(0x2c)
1645 ECOMM = syscall.Errno(0x46)
1646 ECONNABORTED = syscall.Errno(0x67)
1647 ECONNREFUSED = syscall.Errno(0x6f)
1648 ECONNRESET = syscall.Errno(0x68)
1649 EDEADLK = syscall.Errno(0x23)
1650 EDEADLOCK = syscall.Errno(0x3a)
1651 EDESTADDRREQ = syscall.Errno(0x59)
1652 EDOM = syscall.Errno(0x21)
1653 EDOTDOT = syscall.Errno(0x49)
1654 EDQUOT = syscall.Errno(0x7a)
1655 EEXIST = syscall.Errno(0x11)
1656 EFAULT = syscall.Errno(0xe)
1657 EFBIG = syscall.Errno(0x1b)
1658 EHOSTDOWN = syscall.Errno(0x70)
1659 EHOSTUNREACH = syscall.Errno(0x71)
1660 EHWPOISON = syscall.Errno(0x85)
1661 EIDRM = syscall.Errno(0x2b)
1662 EILSEQ = syscall.Errno(0x54)
1663 EINPROGRESS = syscall.Errno(0x73)
1664 EINTR = syscall.Errno(0x4)
1665 EINVAL = syscall.Errno(0x16)
1666 EIO = syscall.Errno(0x5)
1667 EISCONN = syscall.Errno(0x6a)
1668 EISDIR = syscall.Errno(0x15)
1669 EISNAM = syscall.Errno(0x78)
1670 EKEYEXPIRED = syscall.Errno(0x7f)
1671 EKEYREJECTED = syscall.Errno(0x81)
1672 EKEYREVOKED = syscall.Errno(0x80)
1673 EL2HLT = syscall.Errno(0x33)
1674 EL2NSYNC = syscall.Errno(0x2d)
1675 EL3HLT = syscall.Errno(0x2e)
1676 EL3RST = syscall.Errno(0x2f)
1677 ELIBACC = syscall.Errno(0x4f)
1678 ELIBBAD = syscall.Errno(0x50)
1679 ELIBEXEC = syscall.Errno(0x53)
1680 ELIBMAX = syscall.Errno(0x52)
1681 ELIBSCN = syscall.Errno(0x51)
1682 ELNRNG = syscall.Errno(0x30)
1683 ELOOP = syscall.Errno(0x28)
1684 EMEDIUMTYPE = syscall.Errno(0x7c)
1685 EMFILE = syscall.Errno(0x18)
1686 EMLINK = syscall.Errno(0x1f)
1687 EMSGSIZE = syscall.Errno(0x5a)
1688 EMULTIHOP = syscall.Errno(0x48)
1689 ENAMETOOLONG = syscall.Errno(0x24)
1690 ENAVAIL = syscall.Errno(0x77)
1691 ENETDOWN = syscall.Errno(0x64)
1692 ENETRESET = syscall.Errno(0x66)
1693 ENETUNREACH = syscall.Errno(0x65)
1694 ENFILE = syscall.Errno(0x17)
1695 ENOANO = syscall.Errno(0x37)
1696 ENOBUFS = syscall.Errno(0x69)
1697 ENOCSI = syscall.Errno(0x32)
1698 ENODATA = syscall.Errno(0x3d)
1699 ENODEV = syscall.Errno(0x13)
1700 ENOENT = syscall.Errno(0x2)
1701 ENOEXEC = syscall.Errno(0x8)
1702 ENOKEY = syscall.Errno(0x7e)
1703 ENOLCK = syscall.Errno(0x25)
1704 ENOLINK = syscall.Errno(0x43)
1705 ENOMEDIUM = syscall.Errno(0x7b)
1706 ENOMEM = syscall.Errno(0xc)
1707 ENOMSG = syscall.Errno(0x2a)
1708 ENONET = syscall.Errno(0x40)
1709 ENOPKG = syscall.Errno(0x41)
1710 ENOPROTOOPT = syscall.Errno(0x5c)
1711 ENOSPC = syscall.Errno(0x1c)
1712 ENOSR = syscall.Errno(0x3f)
1713 ENOSTR = syscall.Errno(0x3c)
1714 ENOSYS = syscall.Errno(0x26)
1715 ENOTBLK = syscall.Errno(0xf)
1716 ENOTCONN = syscall.Errno(0x6b)
1717 ENOTDIR = syscall.Errno(0x14)
1718 ENOTEMPTY = syscall.Errno(0x27)
1719 ENOTNAM = syscall.Errno(0x76)
1720 ENOTRECOVERABLE = syscall.Errno(0x83)
1721 ENOTSOCK = syscall.Errno(0x58)
1722 ENOTSUP = syscall.Errno(0x5f)
1723 ENOTTY = syscall.Errno(0x19)
1724 ENOTUNIQ = syscall.Errno(0x4c)
1725 ENXIO = syscall.Errno(0x6)
1726 EOPNOTSUPP = syscall.Errno(0x5f)
1727 EOVERFLOW = syscall.Errno(0x4b)
1728 EOWNERDEAD = syscall.Errno(0x82)
1729 EPERM = syscall.Errno(0x1)
1730 EPFNOSUPPORT = syscall.Errno(0x60)
1731 EPIPE = syscall.Errno(0x20)
1732 EPROTO = syscall.Errno(0x47)
1733 EPROTONOSUPPORT = syscall.Errno(0x5d)
1734 EPROTOTYPE = syscall.Errno(0x5b)
1735 ERANGE = syscall.Errno(0x22)
1736 EREMCHG = syscall.Errno(0x4e)
1737 EREMOTE = syscall.Errno(0x42)
1738 EREMOTEIO = syscall.Errno(0x79)
1739 ERESTART = syscall.Errno(0x55)
1740 ERFKILL = syscall.Errno(0x84)
1741 EROFS = syscall.Errno(0x1e)
1742 ESHUTDOWN = syscall.Errno(0x6c)
1743 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1744 ESPIPE = syscall.Errno(0x1d)
1745 ESRCH = syscall.Errno(0x3)
1746 ESRMNT = syscall.Errno(0x45)
1747 ESTALE = syscall.Errno(0x74)
1748 ESTRPIPE = syscall.Errno(0x56)
1749 ETIME = syscall.Errno(0x3e)
1750 ETIMEDOUT = syscall.Errno(0x6e)
1751 ETOOMANYREFS = syscall.Errno(0x6d)
1752 ETXTBSY = syscall.Errno(0x1a)
1753 EUCLEAN = syscall.Errno(0x75)
1754 EUNATCH = syscall.Errno(0x31)
1755 EUSERS = syscall.Errno(0x57)
1756 EWOULDBLOCK = syscall.Errno(0xb)
1757 EXDEV = syscall.Errno(0x12)
1758 EXFULL = syscall.Errno(0x36)
1759)
1760
1761// Signals
1762const (
1763 SIGABRT = syscall.Signal(0x6)
1764 SIGALRM = syscall.Signal(0xe)
1765 SIGBUS = syscall.Signal(0x7)
1766 SIGCHLD = syscall.Signal(0x11)
1767 SIGCLD = syscall.Signal(0x11)
1768 SIGCONT = syscall.Signal(0x12)
1769 SIGFPE = syscall.Signal(0x8)
1770 SIGHUP = syscall.Signal(0x1)
1771 SIGILL = syscall.Signal(0x4)
1772 SIGINT = syscall.Signal(0x2)
1773 SIGIO = syscall.Signal(0x1d)
1774 SIGIOT = syscall.Signal(0x6)
1775 SIGKILL = syscall.Signal(0x9)
1776 SIGPIPE = syscall.Signal(0xd)
1777 SIGPOLL = syscall.Signal(0x1d)
1778 SIGPROF = syscall.Signal(0x1b)
1779 SIGPWR = syscall.Signal(0x1e)
1780 SIGQUIT = syscall.Signal(0x3)
1781 SIGSEGV = syscall.Signal(0xb)
1782 SIGSTKFLT = syscall.Signal(0x10)
1783 SIGSTOP = syscall.Signal(0x13)
1784 SIGSYS = syscall.Signal(0x1f)
1785 SIGTERM = syscall.Signal(0xf)
1786 SIGTRAP = syscall.Signal(0x5)
1787 SIGTSTP = syscall.Signal(0x14)
1788 SIGTTIN = syscall.Signal(0x15)
1789 SIGTTOU = syscall.Signal(0x16)
1790 SIGUNUSED = syscall.Signal(0x1f)
1791 SIGURG = syscall.Signal(0x17)
1792 SIGUSR1 = syscall.Signal(0xa)
1793 SIGUSR2 = syscall.Signal(0xc)
1794 SIGVTALRM = syscall.Signal(0x1a)
1795 SIGWINCH = syscall.Signal(0x1c)
1796 SIGXCPU = syscall.Signal(0x18)
1797 SIGXFSZ = syscall.Signal(0x19)
1798)
1799
1800// Error table
1801var errors = [...]string{
1802 1: "operation not permitted",
1803 2: "no such file or directory",
1804 3: "no such process",
1805 4: "interrupted system call",
1806 5: "input/output error",
1807 6: "no such device or address",
1808 7: "argument list too long",
1809 8: "exec format error",
1810 9: "bad file descriptor",
1811 10: "no child processes",
1812 11: "resource temporarily unavailable",
1813 12: "cannot allocate memory",
1814 13: "permission denied",
1815 14: "bad address",
1816 15: "block device required",
1817 16: "device or resource busy",
1818 17: "file exists",
1819 18: "invalid cross-device link",
1820 19: "no such device",
1821 20: "not a directory",
1822 21: "is a directory",
1823 22: "invalid argument",
1824 23: "too many open files in system",
1825 24: "too many open files",
1826 25: "inappropriate ioctl for device",
1827 26: "text file busy",
1828 27: "file too large",
1829 28: "no space left on device",
1830 29: "illegal seek",
1831 30: "read-only file system",
1832 31: "too many links",
1833 32: "broken pipe",
1834 33: "numerical argument out of domain",
1835 34: "numerical result out of range",
1836 35: "resource deadlock avoided",
1837 36: "file name too long",
1838 37: "no locks available",
1839 38: "function not implemented",
1840 39: "directory not empty",
1841 40: "too many levels of symbolic links",
1842 42: "no message of desired type",
1843 43: "identifier removed",
1844 44: "channel number out of range",
1845 45: "level 2 not synchronized",
1846 46: "level 3 halted",
1847 47: "level 3 reset",
1848 48: "link number out of range",
1849 49: "protocol driver not attached",
1850 50: "no CSI structure available",
1851 51: "level 2 halted",
1852 52: "invalid exchange",
1853 53: "invalid request descriptor",
1854 54: "exchange full",
1855 55: "no anode",
1856 56: "invalid request code",
1857 57: "invalid slot",
1858 58: "file locking deadlock error",
1859 59: "bad font file format",
1860 60: "device not a stream",
1861 61: "no data available",
1862 62: "timer expired",
1863 63: "out of streams resources",
1864 64: "machine is not on the network",
1865 65: "package not installed",
1866 66: "object is remote",
1867 67: "link has been severed",
1868 68: "advertise error",
1869 69: "srmount error",
1870 70: "communication error on send",
1871 71: "protocol error",
1872 72: "multihop attempted",
1873 73: "RFS specific error",
1874 74: "bad message",
1875 75: "value too large for defined data type",
1876 76: "name not unique on network",
1877 77: "file descriptor in bad state",
1878 78: "remote address changed",
1879 79: "can not access a needed shared library",
1880 80: "accessing a corrupted shared library",
1881 81: ".lib section in a.out corrupted",
1882 82: "attempting to link in too many shared libraries",
1883 83: "cannot exec a shared library directly",
1884 84: "invalid or incomplete multibyte or wide character",
1885 85: "interrupted system call should be restarted",
1886 86: "streams pipe error",
1887 87: "too many users",
1888 88: "socket operation on non-socket",
1889 89: "destination address required",
1890 90: "message too long",
1891 91: "protocol wrong type for socket",
1892 92: "protocol not available",
1893 93: "protocol not supported",
1894 94: "socket type not supported",
1895 95: "operation not supported",
1896 96: "protocol family not supported",
1897 97: "address family not supported by protocol",
1898 98: "address already in use",
1899 99: "cannot assign requested address",
1900 100: "network is down",
1901 101: "network is unreachable",
1902 102: "network dropped connection on reset",
1903 103: "software caused connection abort",
1904 104: "connection reset by peer",
1905 105: "no buffer space available",
1906 106: "transport endpoint is already connected",
1907 107: "transport endpoint is not connected",
1908 108: "cannot send after transport endpoint shutdown",
1909 109: "too many references: cannot splice",
1910 110: "connection timed out",
1911 111: "connection refused",
1912 112: "host is down",
1913 113: "no route to host",
1914 114: "operation already in progress",
1915 115: "operation now in progress",
1916 116: "stale file handle",
1917 117: "structure needs cleaning",
1918 118: "not a XENIX named type file",
1919 119: "no XENIX semaphores available",
1920 120: "is a named type file",
1921 121: "remote I/O error",
1922 122: "disk quota exceeded",
1923 123: "no medium found",
1924 124: "wrong medium type",
1925 125: "operation canceled",
1926 126: "required key not available",
1927 127: "key has expired",
1928 128: "key has been revoked",
1929 129: "key was rejected by service",
1930 130: "owner died",
1931 131: "state not recoverable",
1932 132: "operation not possible due to RF-kill",
1933 133: "memory page has hardware error",
1934}
1935
1936// Signal table
1937var signals = [...]string{
1938 1: "hangup",
1939 2: "interrupt",
1940 3: "quit",
1941 4: "illegal instruction",
1942 5: "trace/breakpoint trap",
1943 6: "aborted",
1944 7: "bus error",
1945 8: "floating point exception",
1946 9: "killed",
1947 10: "user defined signal 1",
1948 11: "segmentation fault",
1949 12: "user defined signal 2",
1950 13: "broken pipe",
1951 14: "alarm clock",
1952 15: "terminated",
1953 16: "stack fault",
1954 17: "child exited",
1955 18: "continued",
1956 19: "stopped (signal)",
1957 20: "stopped",
1958 21: "stopped (tty input)",
1959 22: "stopped (tty output)",
1960 23: "urgent I/O condition",
1961 24: "CPU time limit exceeded",
1962 25: "file size limit exceeded",
1963 26: "virtual timer expired",
1964 27: "profiling timer expired",
1965 28: "window changed",
1966 29: "I/O possible",
1967 30: "power failure",
1968 31: "bad system call",
1969}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
deleted file mode 100644
index 0861bd5..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
+++ /dev/null
@@ -1,1968 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build ppc64le,linux
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_ALG = 0x26
15 AF_APPLETALK = 0x5
16 AF_ASH = 0x12
17 AF_ATMPVC = 0x8
18 AF_ATMSVC = 0x14
19 AF_AX25 = 0x3
20 AF_BLUETOOTH = 0x1f
21 AF_BRIDGE = 0x7
22 AF_CAIF = 0x25
23 AF_CAN = 0x1d
24 AF_DECnet = 0xc
25 AF_ECONET = 0x13
26 AF_FILE = 0x1
27 AF_IEEE802154 = 0x24
28 AF_INET = 0x2
29 AF_INET6 = 0xa
30 AF_IPX = 0x4
31 AF_IRDA = 0x17
32 AF_ISDN = 0x22
33 AF_IUCV = 0x20
34 AF_KEY = 0xf
35 AF_LLC = 0x1a
36 AF_LOCAL = 0x1
37 AF_MAX = 0x29
38 AF_NETBEUI = 0xd
39 AF_NETLINK = 0x10
40 AF_NETROM = 0x6
41 AF_NFC = 0x27
42 AF_PACKET = 0x11
43 AF_PHONET = 0x23
44 AF_PPPOX = 0x18
45 AF_RDS = 0x15
46 AF_ROSE = 0xb
47 AF_ROUTE = 0x10
48 AF_RXRPC = 0x21
49 AF_SECURITY = 0xe
50 AF_SNA = 0x16
51 AF_TIPC = 0x1e
52 AF_UNIX = 0x1
53 AF_UNSPEC = 0x0
54 AF_VSOCK = 0x28
55 AF_WANPIPE = 0x19
56 AF_X25 = 0x9
57 ARPHRD_ADAPT = 0x108
58 ARPHRD_APPLETLK = 0x8
59 ARPHRD_ARCNET = 0x7
60 ARPHRD_ASH = 0x30d
61 ARPHRD_ATM = 0x13
62 ARPHRD_AX25 = 0x3
63 ARPHRD_BIF = 0x307
64 ARPHRD_CAIF = 0x336
65 ARPHRD_CAN = 0x118
66 ARPHRD_CHAOS = 0x5
67 ARPHRD_CISCO = 0x201
68 ARPHRD_CSLIP = 0x101
69 ARPHRD_CSLIP6 = 0x103
70 ARPHRD_DDCMP = 0x205
71 ARPHRD_DLCI = 0xf
72 ARPHRD_ECONET = 0x30e
73 ARPHRD_EETHER = 0x2
74 ARPHRD_ETHER = 0x1
75 ARPHRD_EUI64 = 0x1b
76 ARPHRD_FCAL = 0x311
77 ARPHRD_FCFABRIC = 0x313
78 ARPHRD_FCPL = 0x312
79 ARPHRD_FCPP = 0x310
80 ARPHRD_FDDI = 0x306
81 ARPHRD_FRAD = 0x302
82 ARPHRD_HDLC = 0x201
83 ARPHRD_HIPPI = 0x30c
84 ARPHRD_HWX25 = 0x110
85 ARPHRD_IEEE1394 = 0x18
86 ARPHRD_IEEE802 = 0x6
87 ARPHRD_IEEE80211 = 0x321
88 ARPHRD_IEEE80211_PRISM = 0x322
89 ARPHRD_IEEE80211_RADIOTAP = 0x323
90 ARPHRD_IEEE802154 = 0x324
91 ARPHRD_IEEE802154_MONITOR = 0x325
92 ARPHRD_IEEE802_TR = 0x320
93 ARPHRD_INFINIBAND = 0x20
94 ARPHRD_IP6GRE = 0x337
95 ARPHRD_IPDDP = 0x309
96 ARPHRD_IPGRE = 0x30a
97 ARPHRD_IRDA = 0x30f
98 ARPHRD_LAPB = 0x204
99 ARPHRD_LOCALTLK = 0x305
100 ARPHRD_LOOPBACK = 0x304
101 ARPHRD_METRICOM = 0x17
102 ARPHRD_NETLINK = 0x338
103 ARPHRD_NETROM = 0x0
104 ARPHRD_NONE = 0xfffe
105 ARPHRD_PHONET = 0x334
106 ARPHRD_PHONET_PIPE = 0x335
107 ARPHRD_PIMREG = 0x30b
108 ARPHRD_PPP = 0x200
109 ARPHRD_PRONET = 0x4
110 ARPHRD_RAWHDLC = 0x206
111 ARPHRD_ROSE = 0x10e
112 ARPHRD_RSRVD = 0x104
113 ARPHRD_SIT = 0x308
114 ARPHRD_SKIP = 0x303
115 ARPHRD_SLIP = 0x100
116 ARPHRD_SLIP6 = 0x102
117 ARPHRD_TUNNEL = 0x300
118 ARPHRD_TUNNEL6 = 0x301
119 ARPHRD_VOID = 0xffff
120 ARPHRD_X25 = 0x10f
121 B0 = 0x0
122 B1000000 = 0x17
123 B110 = 0x3
124 B115200 = 0x11
125 B1152000 = 0x18
126 B1200 = 0x9
127 B134 = 0x4
128 B150 = 0x5
129 B1500000 = 0x19
130 B1800 = 0xa
131 B19200 = 0xe
132 B200 = 0x6
133 B2000000 = 0x1a
134 B230400 = 0x12
135 B2400 = 0xb
136 B2500000 = 0x1b
137 B300 = 0x7
138 B3000000 = 0x1c
139 B3500000 = 0x1d
140 B38400 = 0xf
141 B4000000 = 0x1e
142 B460800 = 0x13
143 B4800 = 0xc
144 B50 = 0x1
145 B500000 = 0x14
146 B57600 = 0x10
147 B576000 = 0x15
148 B600 = 0x8
149 B75 = 0x2
150 B921600 = 0x16
151 B9600 = 0xd
152 BOTHER = 0x1f
153 BPF_A = 0x10
154 BPF_ABS = 0x20
155 BPF_ADD = 0x0
156 BPF_ALU = 0x4
157 BPF_AND = 0x50
158 BPF_B = 0x10
159 BPF_DIV = 0x30
160 BPF_H = 0x8
161 BPF_IMM = 0x0
162 BPF_IND = 0x40
163 BPF_JA = 0x0
164 BPF_JEQ = 0x10
165 BPF_JGE = 0x30
166 BPF_JGT = 0x20
167 BPF_JMP = 0x5
168 BPF_JSET = 0x40
169 BPF_K = 0x0
170 BPF_LD = 0x0
171 BPF_LDX = 0x1
172 BPF_LEN = 0x80
173 BPF_LSH = 0x60
174 BPF_MAJOR_VERSION = 0x1
175 BPF_MAXINSNS = 0x1000
176 BPF_MEM = 0x60
177 BPF_MEMWORDS = 0x10
178 BPF_MINOR_VERSION = 0x1
179 BPF_MISC = 0x7
180 BPF_MOD = 0x90
181 BPF_MSH = 0xa0
182 BPF_MUL = 0x20
183 BPF_NEG = 0x80
184 BPF_OR = 0x40
185 BPF_RET = 0x6
186 BPF_RSH = 0x70
187 BPF_ST = 0x2
188 BPF_STX = 0x3
189 BPF_SUB = 0x10
190 BPF_TAX = 0x0
191 BPF_TXA = 0x80
192 BPF_W = 0x0
193 BPF_X = 0x8
194 BPF_XOR = 0xa0
195 BRKINT = 0x2
196 BS0 = 0x0
197 BS1 = 0x8000
198 BSDLY = 0x8000
199 CBAUD = 0xff
200 CBAUDEX = 0x0
201 CFLUSH = 0xf
202 CIBAUD = 0xff0000
203 CLOCAL = 0x8000
204 CLOCK_BOOTTIME = 0x7
205 CLOCK_BOOTTIME_ALARM = 0x9
206 CLOCK_DEFAULT = 0x0
207 CLOCK_EXT = 0x1
208 CLOCK_INT = 0x2
209 CLOCK_MONOTONIC = 0x1
210 CLOCK_MONOTONIC_COARSE = 0x6
211 CLOCK_MONOTONIC_RAW = 0x4
212 CLOCK_PROCESS_CPUTIME_ID = 0x2
213 CLOCK_REALTIME = 0x0
214 CLOCK_REALTIME_ALARM = 0x8
215 CLOCK_REALTIME_COARSE = 0x5
216 CLOCK_THREAD_CPUTIME_ID = 0x3
217 CLOCK_TXFROMRX = 0x4
218 CLOCK_TXINT = 0x3
219 CLONE_CHILD_CLEARTID = 0x200000
220 CLONE_CHILD_SETTID = 0x1000000
221 CLONE_DETACHED = 0x400000
222 CLONE_FILES = 0x400
223 CLONE_FS = 0x200
224 CLONE_IO = 0x80000000
225 CLONE_NEWIPC = 0x8000000
226 CLONE_NEWNET = 0x40000000
227 CLONE_NEWNS = 0x20000
228 CLONE_NEWPID = 0x20000000
229 CLONE_NEWUSER = 0x10000000
230 CLONE_NEWUTS = 0x4000000
231 CLONE_PARENT = 0x8000
232 CLONE_PARENT_SETTID = 0x100000
233 CLONE_PTRACE = 0x2000
234 CLONE_SETTLS = 0x80000
235 CLONE_SIGHAND = 0x800
236 CLONE_SYSVSEM = 0x40000
237 CLONE_THREAD = 0x10000
238 CLONE_UNTRACED = 0x800000
239 CLONE_VFORK = 0x4000
240 CLONE_VM = 0x100
241 CMSPAR = 0x40000000
242 CR0 = 0x0
243 CR1 = 0x1000
244 CR2 = 0x2000
245 CR3 = 0x3000
246 CRDLY = 0x3000
247 CREAD = 0x800
248 CRTSCTS = 0x80000000
249 CS5 = 0x0
250 CS6 = 0x100
251 CS7 = 0x200
252 CS8 = 0x300
253 CSIGNAL = 0xff
254 CSIZE = 0x300
255 CSTART = 0x11
256 CSTATUS = 0x0
257 CSTOP = 0x13
258 CSTOPB = 0x400
259 CSUSP = 0x1a
260 DT_BLK = 0x6
261 DT_CHR = 0x2
262 DT_DIR = 0x4
263 DT_FIFO = 0x1
264 DT_LNK = 0xa
265 DT_REG = 0x8
266 DT_SOCK = 0xc
267 DT_UNKNOWN = 0x0
268 DT_WHT = 0xe
269 ECHO = 0x8
270 ECHOCTL = 0x40
271 ECHOE = 0x2
272 ECHOK = 0x4
273 ECHOKE = 0x1
274 ECHONL = 0x10
275 ECHOPRT = 0x20
276 ENCODING_DEFAULT = 0x0
277 ENCODING_FM_MARK = 0x3
278 ENCODING_FM_SPACE = 0x4
279 ENCODING_MANCHESTER = 0x5
280 ENCODING_NRZ = 0x1
281 ENCODING_NRZI = 0x2
282 EPOLLERR = 0x8
283 EPOLLET = 0x80000000
284 EPOLLHUP = 0x10
285 EPOLLIN = 0x1
286 EPOLLMSG = 0x400
287 EPOLLONESHOT = 0x40000000
288 EPOLLOUT = 0x4
289 EPOLLPRI = 0x2
290 EPOLLRDBAND = 0x80
291 EPOLLRDHUP = 0x2000
292 EPOLLRDNORM = 0x40
293 EPOLLWAKEUP = 0x20000000
294 EPOLLWRBAND = 0x200
295 EPOLLWRNORM = 0x100
296 EPOLL_CLOEXEC = 0x80000
297 EPOLL_CTL_ADD = 0x1
298 EPOLL_CTL_DEL = 0x2
299 EPOLL_CTL_MOD = 0x3
300 ETH_P_1588 = 0x88f7
301 ETH_P_8021AD = 0x88a8
302 ETH_P_8021AH = 0x88e7
303 ETH_P_8021Q = 0x8100
304 ETH_P_802_2 = 0x4
305 ETH_P_802_3 = 0x1
306 ETH_P_802_3_MIN = 0x600
307 ETH_P_802_EX1 = 0x88b5
308 ETH_P_AARP = 0x80f3
309 ETH_P_AF_IUCV = 0xfbfb
310 ETH_P_ALL = 0x3
311 ETH_P_AOE = 0x88a2
312 ETH_P_ARCNET = 0x1a
313 ETH_P_ARP = 0x806
314 ETH_P_ATALK = 0x809b
315 ETH_P_ATMFATE = 0x8884
316 ETH_P_ATMMPOA = 0x884c
317 ETH_P_AX25 = 0x2
318 ETH_P_BATMAN = 0x4305
319 ETH_P_BPQ = 0x8ff
320 ETH_P_CAIF = 0xf7
321 ETH_P_CAN = 0xc
322 ETH_P_CANFD = 0xd
323 ETH_P_CONTROL = 0x16
324 ETH_P_CUST = 0x6006
325 ETH_P_DDCMP = 0x6
326 ETH_P_DEC = 0x6000
327 ETH_P_DIAG = 0x6005
328 ETH_P_DNA_DL = 0x6001
329 ETH_P_DNA_RC = 0x6002
330 ETH_P_DNA_RT = 0x6003
331 ETH_P_DSA = 0x1b
332 ETH_P_ECONET = 0x18
333 ETH_P_EDSA = 0xdada
334 ETH_P_FCOE = 0x8906
335 ETH_P_FIP = 0x8914
336 ETH_P_HDLC = 0x19
337 ETH_P_IEEE802154 = 0xf6
338 ETH_P_IEEEPUP = 0xa00
339 ETH_P_IEEEPUPAT = 0xa01
340 ETH_P_IP = 0x800
341 ETH_P_IPV6 = 0x86dd
342 ETH_P_IPX = 0x8137
343 ETH_P_IRDA = 0x17
344 ETH_P_LAT = 0x6004
345 ETH_P_LINK_CTL = 0x886c
346 ETH_P_LOCALTALK = 0x9
347 ETH_P_LOOP = 0x60
348 ETH_P_MOBITEX = 0x15
349 ETH_P_MPLS_MC = 0x8848
350 ETH_P_MPLS_UC = 0x8847
351 ETH_P_MVRP = 0x88f5
352 ETH_P_PAE = 0x888e
353 ETH_P_PAUSE = 0x8808
354 ETH_P_PHONET = 0xf5
355 ETH_P_PPPTALK = 0x10
356 ETH_P_PPP_DISC = 0x8863
357 ETH_P_PPP_MP = 0x8
358 ETH_P_PPP_SES = 0x8864
359 ETH_P_PRP = 0x88fb
360 ETH_P_PUP = 0x200
361 ETH_P_PUPAT = 0x201
362 ETH_P_QINQ1 = 0x9100
363 ETH_P_QINQ2 = 0x9200
364 ETH_P_QINQ3 = 0x9300
365 ETH_P_RARP = 0x8035
366 ETH_P_SCA = 0x6007
367 ETH_P_SLOW = 0x8809
368 ETH_P_SNAP = 0x5
369 ETH_P_TDLS = 0x890d
370 ETH_P_TEB = 0x6558
371 ETH_P_TIPC = 0x88ca
372 ETH_P_TRAILER = 0x1c
373 ETH_P_TR_802_2 = 0x11
374 ETH_P_WAN_PPP = 0x7
375 ETH_P_WCCP = 0x883e
376 ETH_P_X25 = 0x805
377 EXTA = 0xe
378 EXTB = 0xf
379 EXTPROC = 0x10000000
380 FD_CLOEXEC = 0x1
381 FD_SETSIZE = 0x400
382 FF0 = 0x0
383 FF1 = 0x4000
384 FFDLY = 0x4000
385 FLUSHO = 0x800000
386 F_DUPFD = 0x0
387 F_DUPFD_CLOEXEC = 0x406
388 F_EXLCK = 0x4
389 F_GETFD = 0x1
390 F_GETFL = 0x3
391 F_GETLEASE = 0x401
392 F_GETLK = 0x5
393 F_GETLK64 = 0xc
394 F_GETOWN = 0x9
395 F_GETOWN_EX = 0x10
396 F_GETPIPE_SZ = 0x408
397 F_GETSIG = 0xb
398 F_LOCK = 0x1
399 F_NOTIFY = 0x402
400 F_OK = 0x0
401 F_RDLCK = 0x0
402 F_SETFD = 0x2
403 F_SETFL = 0x4
404 F_SETLEASE = 0x400
405 F_SETLK = 0x6
406 F_SETLK64 = 0xd
407 F_SETLKW = 0x7
408 F_SETLKW64 = 0xe
409 F_SETOWN = 0x8
410 F_SETOWN_EX = 0xf
411 F_SETPIPE_SZ = 0x407
412 F_SETSIG = 0xa
413 F_SHLCK = 0x8
414 F_TEST = 0x3
415 F_TLOCK = 0x2
416 F_ULOCK = 0x0
417 F_UNLCK = 0x2
418 F_WRLCK = 0x1
419 HUPCL = 0x4000
420 IBSHIFT = 0x10
421 ICANON = 0x100
422 ICMPV6_FILTER = 0x1
423 ICRNL = 0x100
424 IEXTEN = 0x400
425 IFA_F_DADFAILED = 0x8
426 IFA_F_DEPRECATED = 0x20
427 IFA_F_HOMEADDRESS = 0x10
428 IFA_F_NODAD = 0x2
429 IFA_F_OPTIMISTIC = 0x4
430 IFA_F_PERMANENT = 0x80
431 IFA_F_SECONDARY = 0x1
432 IFA_F_TEMPORARY = 0x1
433 IFA_F_TENTATIVE = 0x40
434 IFA_MAX = 0x7
435 IFF_802_1Q_VLAN = 0x1
436 IFF_ALLMULTI = 0x200
437 IFF_ATTACH_QUEUE = 0x200
438 IFF_AUTOMEDIA = 0x4000
439 IFF_BONDING = 0x20
440 IFF_BRIDGE_PORT = 0x4000
441 IFF_BROADCAST = 0x2
442 IFF_DEBUG = 0x4
443 IFF_DETACH_QUEUE = 0x400
444 IFF_DISABLE_NETPOLL = 0x1000
445 IFF_DONT_BRIDGE = 0x800
446 IFF_DORMANT = 0x20000
447 IFF_DYNAMIC = 0x8000
448 IFF_EBRIDGE = 0x2
449 IFF_ECHO = 0x40000
450 IFF_ISATAP = 0x80
451 IFF_LIVE_ADDR_CHANGE = 0x100000
452 IFF_LOOPBACK = 0x8
453 IFF_LOWER_UP = 0x10000
454 IFF_MACVLAN = 0x200000
455 IFF_MACVLAN_PORT = 0x2000
456 IFF_MASTER = 0x400
457 IFF_MASTER_8023AD = 0x8
458 IFF_MASTER_ALB = 0x10
459 IFF_MASTER_ARPMON = 0x100
460 IFF_MULTICAST = 0x1000
461 IFF_MULTI_QUEUE = 0x100
462 IFF_NOARP = 0x80
463 IFF_NOFILTER = 0x1000
464 IFF_NOTRAILERS = 0x20
465 IFF_NO_PI = 0x1000
466 IFF_ONE_QUEUE = 0x2000
467 IFF_OVS_DATAPATH = 0x8000
468 IFF_PERSIST = 0x800
469 IFF_POINTOPOINT = 0x10
470 IFF_PORTSEL = 0x2000
471 IFF_PROMISC = 0x100
472 IFF_RUNNING = 0x40
473 IFF_SLAVE = 0x800
474 IFF_SLAVE_INACTIVE = 0x4
475 IFF_SLAVE_NEEDARP = 0x40
476 IFF_SUPP_NOFCS = 0x80000
477 IFF_TAP = 0x2
478 IFF_TEAM_PORT = 0x40000
479 IFF_TUN = 0x1
480 IFF_TUN_EXCL = 0x8000
481 IFF_TX_SKB_SHARING = 0x10000
482 IFF_UNICAST_FLT = 0x20000
483 IFF_UP = 0x1
484 IFF_VNET_HDR = 0x4000
485 IFF_VOLATILE = 0x70c5a
486 IFF_WAN_HDLC = 0x200
487 IFF_XMIT_DST_RELEASE = 0x400
488 IFNAMSIZ = 0x10
489 IGNBRK = 0x1
490 IGNCR = 0x80
491 IGNPAR = 0x4
492 IMAXBEL = 0x2000
493 INLCR = 0x40
494 INPCK = 0x10
495 IN_ACCESS = 0x1
496 IN_ALL_EVENTS = 0xfff
497 IN_ATTRIB = 0x4
498 IN_CLASSA_HOST = 0xffffff
499 IN_CLASSA_MAX = 0x80
500 IN_CLASSA_NET = 0xff000000
501 IN_CLASSA_NSHIFT = 0x18
502 IN_CLASSB_HOST = 0xffff
503 IN_CLASSB_MAX = 0x10000
504 IN_CLASSB_NET = 0xffff0000
505 IN_CLASSB_NSHIFT = 0x10
506 IN_CLASSC_HOST = 0xff
507 IN_CLASSC_NET = 0xffffff00
508 IN_CLASSC_NSHIFT = 0x8
509 IN_CLOEXEC = 0x80000
510 IN_CLOSE = 0x18
511 IN_CLOSE_NOWRITE = 0x10
512 IN_CLOSE_WRITE = 0x8
513 IN_CREATE = 0x100
514 IN_DELETE = 0x200
515 IN_DELETE_SELF = 0x400
516 IN_DONT_FOLLOW = 0x2000000
517 IN_EXCL_UNLINK = 0x4000000
518 IN_IGNORED = 0x8000
519 IN_ISDIR = 0x40000000
520 IN_LOOPBACKNET = 0x7f
521 IN_MASK_ADD = 0x20000000
522 IN_MODIFY = 0x2
523 IN_MOVE = 0xc0
524 IN_MOVED_FROM = 0x40
525 IN_MOVED_TO = 0x80
526 IN_MOVE_SELF = 0x800
527 IN_NONBLOCK = 0x800
528 IN_ONESHOT = 0x80000000
529 IN_ONLYDIR = 0x1000000
530 IN_OPEN = 0x20
531 IN_Q_OVERFLOW = 0x4000
532 IN_UNMOUNT = 0x2000
533 IPPROTO_AH = 0x33
534 IPPROTO_BEETPH = 0x5e
535 IPPROTO_COMP = 0x6c
536 IPPROTO_DCCP = 0x21
537 IPPROTO_DSTOPTS = 0x3c
538 IPPROTO_EGP = 0x8
539 IPPROTO_ENCAP = 0x62
540 IPPROTO_ESP = 0x32
541 IPPROTO_FRAGMENT = 0x2c
542 IPPROTO_GRE = 0x2f
543 IPPROTO_HOPOPTS = 0x0
544 IPPROTO_ICMP = 0x1
545 IPPROTO_ICMPV6 = 0x3a
546 IPPROTO_IDP = 0x16
547 IPPROTO_IGMP = 0x2
548 IPPROTO_IP = 0x0
549 IPPROTO_IPIP = 0x4
550 IPPROTO_IPV6 = 0x29
551 IPPROTO_MH = 0x87
552 IPPROTO_MTP = 0x5c
553 IPPROTO_NONE = 0x3b
554 IPPROTO_PIM = 0x67
555 IPPROTO_PUP = 0xc
556 IPPROTO_RAW = 0xff
557 IPPROTO_ROUTING = 0x2b
558 IPPROTO_RSVP = 0x2e
559 IPPROTO_SCTP = 0x84
560 IPPROTO_TCP = 0x6
561 IPPROTO_TP = 0x1d
562 IPPROTO_UDP = 0x11
563 IPPROTO_UDPLITE = 0x88
564 IPV6_2292DSTOPTS = 0x4
565 IPV6_2292HOPLIMIT = 0x8
566 IPV6_2292HOPOPTS = 0x3
567 IPV6_2292PKTINFO = 0x2
568 IPV6_2292PKTOPTIONS = 0x6
569 IPV6_2292RTHDR = 0x5
570 IPV6_ADDRFORM = 0x1
571 IPV6_ADD_MEMBERSHIP = 0x14
572 IPV6_AUTHHDR = 0xa
573 IPV6_CHECKSUM = 0x7
574 IPV6_DROP_MEMBERSHIP = 0x15
575 IPV6_DSTOPTS = 0x3b
576 IPV6_HOPLIMIT = 0x34
577 IPV6_HOPOPTS = 0x36
578 IPV6_IPSEC_POLICY = 0x22
579 IPV6_JOIN_ANYCAST = 0x1b
580 IPV6_JOIN_GROUP = 0x14
581 IPV6_LEAVE_ANYCAST = 0x1c
582 IPV6_LEAVE_GROUP = 0x15
583 IPV6_MTU = 0x18
584 IPV6_MTU_DISCOVER = 0x17
585 IPV6_MULTICAST_HOPS = 0x12
586 IPV6_MULTICAST_IF = 0x11
587 IPV6_MULTICAST_LOOP = 0x13
588 IPV6_NEXTHOP = 0x9
589 IPV6_PKTINFO = 0x32
590 IPV6_PMTUDISC_DO = 0x2
591 IPV6_PMTUDISC_DONT = 0x0
592 IPV6_PMTUDISC_PROBE = 0x3
593 IPV6_PMTUDISC_WANT = 0x1
594 IPV6_RECVDSTOPTS = 0x3a
595 IPV6_RECVERR = 0x19
596 IPV6_RECVHOPLIMIT = 0x33
597 IPV6_RECVHOPOPTS = 0x35
598 IPV6_RECVPKTINFO = 0x31
599 IPV6_RECVRTHDR = 0x38
600 IPV6_RECVTCLASS = 0x42
601 IPV6_ROUTER_ALERT = 0x16
602 IPV6_RTHDR = 0x39
603 IPV6_RTHDRDSTOPTS = 0x37
604 IPV6_RTHDR_LOOSE = 0x0
605 IPV6_RTHDR_STRICT = 0x1
606 IPV6_RTHDR_TYPE_0 = 0x0
607 IPV6_RXDSTOPTS = 0x3b
608 IPV6_RXHOPOPTS = 0x36
609 IPV6_TCLASS = 0x43
610 IPV6_UNICAST_HOPS = 0x10
611 IPV6_V6ONLY = 0x1a
612 IPV6_XFRM_POLICY = 0x23
613 IP_ADD_MEMBERSHIP = 0x23
614 IP_ADD_SOURCE_MEMBERSHIP = 0x27
615 IP_BLOCK_SOURCE = 0x26
616 IP_DEFAULT_MULTICAST_LOOP = 0x1
617 IP_DEFAULT_MULTICAST_TTL = 0x1
618 IP_DF = 0x4000
619 IP_DROP_MEMBERSHIP = 0x24
620 IP_DROP_SOURCE_MEMBERSHIP = 0x28
621 IP_FREEBIND = 0xf
622 IP_HDRINCL = 0x3
623 IP_IPSEC_POLICY = 0x10
624 IP_MAXPACKET = 0xffff
625 IP_MAX_MEMBERSHIPS = 0x14
626 IP_MF = 0x2000
627 IP_MINTTL = 0x15
628 IP_MSFILTER = 0x29
629 IP_MSS = 0x240
630 IP_MTU = 0xe
631 IP_MTU_DISCOVER = 0xa
632 IP_MULTICAST_ALL = 0x31
633 IP_MULTICAST_IF = 0x20
634 IP_MULTICAST_LOOP = 0x22
635 IP_MULTICAST_TTL = 0x21
636 IP_OFFMASK = 0x1fff
637 IP_OPTIONS = 0x4
638 IP_ORIGDSTADDR = 0x14
639 IP_PASSSEC = 0x12
640 IP_PKTINFO = 0x8
641 IP_PKTOPTIONS = 0x9
642 IP_PMTUDISC = 0xa
643 IP_PMTUDISC_DO = 0x2
644 IP_PMTUDISC_DONT = 0x0
645 IP_PMTUDISC_PROBE = 0x3
646 IP_PMTUDISC_WANT = 0x1
647 IP_RECVERR = 0xb
648 IP_RECVOPTS = 0x6
649 IP_RECVORIGDSTADDR = 0x14
650 IP_RECVRETOPTS = 0x7
651 IP_RECVTOS = 0xd
652 IP_RECVTTL = 0xc
653 IP_RETOPTS = 0x7
654 IP_RF = 0x8000
655 IP_ROUTER_ALERT = 0x5
656 IP_TOS = 0x1
657 IP_TRANSPARENT = 0x13
658 IP_TTL = 0x2
659 IP_UNBLOCK_SOURCE = 0x25
660 IP_UNICAST_IF = 0x32
661 IP_XFRM_POLICY = 0x11
662 ISIG = 0x80
663 ISTRIP = 0x20
664 IUCLC = 0x1000
665 IUTF8 = 0x4000
666 IXANY = 0x800
667 IXOFF = 0x400
668 IXON = 0x200
669 LINUX_REBOOT_CMD_CAD_OFF = 0x0
670 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
671 LINUX_REBOOT_CMD_HALT = 0xcdef0123
672 LINUX_REBOOT_CMD_KEXEC = 0x45584543
673 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
674 LINUX_REBOOT_CMD_RESTART = 0x1234567
675 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
676 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
677 LINUX_REBOOT_MAGIC1 = 0xfee1dead
678 LINUX_REBOOT_MAGIC2 = 0x28121969
679 LOCK_EX = 0x2
680 LOCK_NB = 0x4
681 LOCK_SH = 0x1
682 LOCK_UN = 0x8
683 MADV_DODUMP = 0x11
684 MADV_DOFORK = 0xb
685 MADV_DONTDUMP = 0x10
686 MADV_DONTFORK = 0xa
687 MADV_DONTNEED = 0x4
688 MADV_HUGEPAGE = 0xe
689 MADV_HWPOISON = 0x64
690 MADV_MERGEABLE = 0xc
691 MADV_NOHUGEPAGE = 0xf
692 MADV_NORMAL = 0x0
693 MADV_RANDOM = 0x1
694 MADV_REMOVE = 0x9
695 MADV_SEQUENTIAL = 0x2
696 MADV_UNMERGEABLE = 0xd
697 MADV_WILLNEED = 0x3
698 MAP_ANON = 0x20
699 MAP_ANONYMOUS = 0x20
700 MAP_DENYWRITE = 0x800
701 MAP_EXECUTABLE = 0x1000
702 MAP_FILE = 0x0
703 MAP_FIXED = 0x10
704 MAP_GROWSDOWN = 0x100
705 MAP_HUGETLB = 0x40000
706 MAP_HUGE_MASK = 0x3f
707 MAP_HUGE_SHIFT = 0x1a
708 MAP_LOCKED = 0x80
709 MAP_NONBLOCK = 0x10000
710 MAP_NORESERVE = 0x40
711 MAP_POPULATE = 0x8000
712 MAP_PRIVATE = 0x2
713 MAP_SHARED = 0x1
714 MAP_STACK = 0x20000
715 MAP_TYPE = 0xf
716 MCL_CURRENT = 0x2000
717 MCL_FUTURE = 0x4000
718 MNT_DETACH = 0x2
719 MNT_EXPIRE = 0x4
720 MNT_FORCE = 0x1
721 MSG_CMSG_CLOEXEC = 0x40000000
722 MSG_CONFIRM = 0x800
723 MSG_CTRUNC = 0x8
724 MSG_DONTROUTE = 0x4
725 MSG_DONTWAIT = 0x40
726 MSG_EOR = 0x80
727 MSG_ERRQUEUE = 0x2000
728 MSG_FASTOPEN = 0x20000000
729 MSG_FIN = 0x200
730 MSG_MORE = 0x8000
731 MSG_NOSIGNAL = 0x4000
732 MSG_OOB = 0x1
733 MSG_PEEK = 0x2
734 MSG_PROXY = 0x10
735 MSG_RST = 0x1000
736 MSG_SYN = 0x400
737 MSG_TRUNC = 0x20
738 MSG_TRYHARD = 0x4
739 MSG_WAITALL = 0x100
740 MSG_WAITFORONE = 0x10000
741 MS_ACTIVE = 0x40000000
742 MS_ASYNC = 0x1
743 MS_BIND = 0x1000
744 MS_DIRSYNC = 0x80
745 MS_INVALIDATE = 0x2
746 MS_I_VERSION = 0x800000
747 MS_KERNMOUNT = 0x400000
748 MS_MANDLOCK = 0x40
749 MS_MGC_MSK = 0xffff0000
750 MS_MGC_VAL = 0xc0ed0000
751 MS_MOVE = 0x2000
752 MS_NOATIME = 0x400
753 MS_NODEV = 0x4
754 MS_NODIRATIME = 0x800
755 MS_NOEXEC = 0x8
756 MS_NOSUID = 0x2
757 MS_NOUSER = -0x80000000
758 MS_POSIXACL = 0x10000
759 MS_PRIVATE = 0x40000
760 MS_RDONLY = 0x1
761 MS_REC = 0x4000
762 MS_RELATIME = 0x200000
763 MS_REMOUNT = 0x20
764 MS_RMT_MASK = 0x800051
765 MS_SHARED = 0x100000
766 MS_SILENT = 0x8000
767 MS_SLAVE = 0x80000
768 MS_STRICTATIME = 0x1000000
769 MS_SYNC = 0x4
770 MS_SYNCHRONOUS = 0x10
771 MS_UNBINDABLE = 0x20000
772 NAME_MAX = 0xff
773 NETLINK_ADD_MEMBERSHIP = 0x1
774 NETLINK_AUDIT = 0x9
775 NETLINK_BROADCAST_ERROR = 0x4
776 NETLINK_CONNECTOR = 0xb
777 NETLINK_CRYPTO = 0x15
778 NETLINK_DNRTMSG = 0xe
779 NETLINK_DROP_MEMBERSHIP = 0x2
780 NETLINK_ECRYPTFS = 0x13
781 NETLINK_FIB_LOOKUP = 0xa
782 NETLINK_FIREWALL = 0x3
783 NETLINK_GENERIC = 0x10
784 NETLINK_INET_DIAG = 0x4
785 NETLINK_IP6_FW = 0xd
786 NETLINK_ISCSI = 0x8
787 NETLINK_KOBJECT_UEVENT = 0xf
788 NETLINK_NETFILTER = 0xc
789 NETLINK_NFLOG = 0x5
790 NETLINK_NO_ENOBUFS = 0x5
791 NETLINK_PKTINFO = 0x3
792 NETLINK_RDMA = 0x14
793 NETLINK_ROUTE = 0x0
794 NETLINK_RX_RING = 0x6
795 NETLINK_SCSITRANSPORT = 0x12
796 NETLINK_SELINUX = 0x7
797 NETLINK_SOCK_DIAG = 0x4
798 NETLINK_TX_RING = 0x7
799 NETLINK_UNUSED = 0x1
800 NETLINK_USERSOCK = 0x2
801 NETLINK_XFRM = 0x6
802 NL0 = 0x0
803 NL1 = 0x100
804 NL2 = 0x200
805 NL3 = 0x300
806 NLA_ALIGNTO = 0x4
807 NLA_F_NESTED = 0x8000
808 NLA_F_NET_BYTEORDER = 0x4000
809 NLA_HDRLEN = 0x4
810 NLDLY = 0x300
811 NLMSG_ALIGNTO = 0x4
812 NLMSG_DONE = 0x3
813 NLMSG_ERROR = 0x2
814 NLMSG_HDRLEN = 0x10
815 NLMSG_MIN_TYPE = 0x10
816 NLMSG_NOOP = 0x1
817 NLMSG_OVERRUN = 0x4
818 NLM_F_ACK = 0x4
819 NLM_F_APPEND = 0x800
820 NLM_F_ATOMIC = 0x400
821 NLM_F_CREATE = 0x400
822 NLM_F_DUMP = 0x300
823 NLM_F_DUMP_INTR = 0x10
824 NLM_F_ECHO = 0x8
825 NLM_F_EXCL = 0x200
826 NLM_F_MATCH = 0x200
827 NLM_F_MULTI = 0x2
828 NLM_F_REPLACE = 0x100
829 NLM_F_REQUEST = 0x1
830 NLM_F_ROOT = 0x100
831 NOFLSH = 0x80000000
832 OCRNL = 0x8
833 OFDEL = 0x80
834 OFILL = 0x40
835 OLCUC = 0x4
836 ONLCR = 0x2
837 ONLRET = 0x20
838 ONOCR = 0x10
839 OPOST = 0x1
840 O_ACCMODE = 0x3
841 O_APPEND = 0x400
842 O_ASYNC = 0x2000
843 O_CLOEXEC = 0x80000
844 O_CREAT = 0x40
845 O_DIRECT = 0x20000
846 O_DIRECTORY = 0x4000
847 O_DSYNC = 0x1000
848 O_EXCL = 0x80
849 O_FSYNC = 0x101000
850 O_LARGEFILE = 0x0
851 O_NDELAY = 0x800
852 O_NOATIME = 0x40000
853 O_NOCTTY = 0x100
854 O_NOFOLLOW = 0x8000
855 O_NONBLOCK = 0x800
856 O_PATH = 0x200000
857 O_RDONLY = 0x0
858 O_RDWR = 0x2
859 O_RSYNC = 0x101000
860 O_SYNC = 0x101000
861 O_TMPFILE = 0x410000
862 O_TRUNC = 0x200
863 O_WRONLY = 0x1
864 PACKET_ADD_MEMBERSHIP = 0x1
865 PACKET_AUXDATA = 0x8
866 PACKET_BROADCAST = 0x1
867 PACKET_COPY_THRESH = 0x7
868 PACKET_DROP_MEMBERSHIP = 0x2
869 PACKET_FANOUT = 0x12
870 PACKET_FANOUT_CPU = 0x2
871 PACKET_FANOUT_FLAG_DEFRAG = 0x8000
872 PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
873 PACKET_FANOUT_HASH = 0x0
874 PACKET_FANOUT_LB = 0x1
875 PACKET_FANOUT_RND = 0x4
876 PACKET_FANOUT_ROLLOVER = 0x3
877 PACKET_FASTROUTE = 0x6
878 PACKET_HDRLEN = 0xb
879 PACKET_HOST = 0x0
880 PACKET_LOOPBACK = 0x5
881 PACKET_LOSS = 0xe
882 PACKET_MR_ALLMULTI = 0x2
883 PACKET_MR_MULTICAST = 0x0
884 PACKET_MR_PROMISC = 0x1
885 PACKET_MR_UNICAST = 0x3
886 PACKET_MULTICAST = 0x2
887 PACKET_ORIGDEV = 0x9
888 PACKET_OTHERHOST = 0x3
889 PACKET_OUTGOING = 0x4
890 PACKET_RECV_OUTPUT = 0x3
891 PACKET_RESERVE = 0xc
892 PACKET_RX_RING = 0x5
893 PACKET_STATISTICS = 0x6
894 PACKET_TIMESTAMP = 0x11
895 PACKET_TX_HAS_OFF = 0x13
896 PACKET_TX_RING = 0xd
897 PACKET_TX_TIMESTAMP = 0x10
898 PACKET_VERSION = 0xa
899 PACKET_VNET_HDR = 0xf
900 PARENB = 0x1000
901 PARITY_CRC16_PR0 = 0x2
902 PARITY_CRC16_PR0_CCITT = 0x4
903 PARITY_CRC16_PR1 = 0x3
904 PARITY_CRC16_PR1_CCITT = 0x5
905 PARITY_CRC32_PR0_CCITT = 0x6
906 PARITY_CRC32_PR1_CCITT = 0x7
907 PARITY_DEFAULT = 0x0
908 PARITY_NONE = 0x1
909 PARMRK = 0x8
910 PARODD = 0x2000
911 PENDIN = 0x20000000
912 PRIO_PGRP = 0x1
913 PRIO_PROCESS = 0x0
914 PRIO_USER = 0x2
915 PROT_EXEC = 0x4
916 PROT_GROWSDOWN = 0x1000000
917 PROT_GROWSUP = 0x2000000
918 PROT_NONE = 0x0
919 PROT_READ = 0x1
920 PROT_SAO = 0x10
921 PROT_WRITE = 0x2
922 PR_CAPBSET_DROP = 0x18
923 PR_CAPBSET_READ = 0x17
924 PR_ENDIAN_BIG = 0x0
925 PR_ENDIAN_LITTLE = 0x1
926 PR_ENDIAN_PPC_LITTLE = 0x2
927 PR_FPEMU_NOPRINT = 0x1
928 PR_FPEMU_SIGFPE = 0x2
929 PR_FP_EXC_ASYNC = 0x2
930 PR_FP_EXC_DISABLED = 0x0
931 PR_FP_EXC_DIV = 0x10000
932 PR_FP_EXC_INV = 0x100000
933 PR_FP_EXC_NONRECOV = 0x1
934 PR_FP_EXC_OVF = 0x20000
935 PR_FP_EXC_PRECISE = 0x3
936 PR_FP_EXC_RES = 0x80000
937 PR_FP_EXC_SW_ENABLE = 0x80
938 PR_FP_EXC_UND = 0x40000
939 PR_GET_CHILD_SUBREAPER = 0x25
940 PR_GET_DUMPABLE = 0x3
941 PR_GET_ENDIAN = 0x13
942 PR_GET_FPEMU = 0x9
943 PR_GET_FPEXC = 0xb
944 PR_GET_KEEPCAPS = 0x7
945 PR_GET_NAME = 0x10
946 PR_GET_NO_NEW_PRIVS = 0x27
947 PR_GET_PDEATHSIG = 0x2
948 PR_GET_SECCOMP = 0x15
949 PR_GET_SECUREBITS = 0x1b
950 PR_GET_TID_ADDRESS = 0x28
951 PR_GET_TIMERSLACK = 0x1e
952 PR_GET_TIMING = 0xd
953 PR_GET_TSC = 0x19
954 PR_GET_UNALIGN = 0x5
955 PR_MCE_KILL = 0x21
956 PR_MCE_KILL_CLEAR = 0x0
957 PR_MCE_KILL_DEFAULT = 0x2
958 PR_MCE_KILL_EARLY = 0x1
959 PR_MCE_KILL_GET = 0x22
960 PR_MCE_KILL_LATE = 0x0
961 PR_MCE_KILL_SET = 0x1
962 PR_SET_CHILD_SUBREAPER = 0x24
963 PR_SET_DUMPABLE = 0x4
964 PR_SET_ENDIAN = 0x14
965 PR_SET_FPEMU = 0xa
966 PR_SET_FPEXC = 0xc
967 PR_SET_KEEPCAPS = 0x8
968 PR_SET_MM = 0x23
969 PR_SET_MM_ARG_END = 0x9
970 PR_SET_MM_ARG_START = 0x8
971 PR_SET_MM_AUXV = 0xc
972 PR_SET_MM_BRK = 0x7
973 PR_SET_MM_END_CODE = 0x2
974 PR_SET_MM_END_DATA = 0x4
975 PR_SET_MM_ENV_END = 0xb
976 PR_SET_MM_ENV_START = 0xa
977 PR_SET_MM_EXE_FILE = 0xd
978 PR_SET_MM_START_BRK = 0x6
979 PR_SET_MM_START_CODE = 0x1
980 PR_SET_MM_START_DATA = 0x3
981 PR_SET_MM_START_STACK = 0x5
982 PR_SET_NAME = 0xf
983 PR_SET_NO_NEW_PRIVS = 0x26
984 PR_SET_PDEATHSIG = 0x1
985 PR_SET_PTRACER = 0x59616d61
986 PR_SET_PTRACER_ANY = -0x1
987 PR_SET_SECCOMP = 0x16
988 PR_SET_SECUREBITS = 0x1c
989 PR_SET_TIMERSLACK = 0x1d
990 PR_SET_TIMING = 0xe
991 PR_SET_TSC = 0x1a
992 PR_SET_UNALIGN = 0x6
993 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
994 PR_TASK_PERF_EVENTS_ENABLE = 0x20
995 PR_TIMING_STATISTICAL = 0x0
996 PR_TIMING_TIMESTAMP = 0x1
997 PR_TSC_ENABLE = 0x1
998 PR_TSC_SIGSEGV = 0x2
999 PR_UNALIGN_NOPRINT = 0x1
1000 PR_UNALIGN_SIGBUS = 0x2
1001 PTRACE_ATTACH = 0x10
1002 PTRACE_CONT = 0x7
1003 PTRACE_DETACH = 0x11
1004 PTRACE_EVENT_CLONE = 0x3
1005 PTRACE_EVENT_EXEC = 0x4
1006 PTRACE_EVENT_EXIT = 0x6
1007 PTRACE_EVENT_FORK = 0x1
1008 PTRACE_EVENT_SECCOMP = 0x7
1009 PTRACE_EVENT_STOP = 0x80
1010 PTRACE_EVENT_VFORK = 0x2
1011 PTRACE_EVENT_VFORK_DONE = 0x5
1012 PTRACE_GETEVENTMSG = 0x4201
1013 PTRACE_GETEVRREGS = 0x14
1014 PTRACE_GETFPREGS = 0xe
1015 PTRACE_GETREGS = 0xc
1016 PTRACE_GETREGS64 = 0x16
1017 PTRACE_GETREGSET = 0x4204
1018 PTRACE_GETSIGINFO = 0x4202
1019 PTRACE_GETSIGMASK = 0x420a
1020 PTRACE_GETVRREGS = 0x12
1021 PTRACE_GETVSRREGS = 0x1b
1022 PTRACE_GET_DEBUGREG = 0x19
1023 PTRACE_INTERRUPT = 0x4207
1024 PTRACE_KILL = 0x8
1025 PTRACE_LISTEN = 0x4208
1026 PTRACE_O_EXITKILL = 0x100000
1027 PTRACE_O_MASK = 0x1000ff
1028 PTRACE_O_TRACECLONE = 0x8
1029 PTRACE_O_TRACEEXEC = 0x10
1030 PTRACE_O_TRACEEXIT = 0x40
1031 PTRACE_O_TRACEFORK = 0x2
1032 PTRACE_O_TRACESECCOMP = 0x80
1033 PTRACE_O_TRACESYSGOOD = 0x1
1034 PTRACE_O_TRACEVFORK = 0x4
1035 PTRACE_O_TRACEVFORKDONE = 0x20
1036 PTRACE_PEEKDATA = 0x2
1037 PTRACE_PEEKSIGINFO = 0x4209
1038 PTRACE_PEEKSIGINFO_SHARED = 0x1
1039 PTRACE_PEEKTEXT = 0x1
1040 PTRACE_PEEKUSR = 0x3
1041 PTRACE_POKEDATA = 0x5
1042 PTRACE_POKETEXT = 0x4
1043 PTRACE_POKEUSR = 0x6
1044 PTRACE_SEIZE = 0x4206
1045 PTRACE_SETEVRREGS = 0x15
1046 PTRACE_SETFPREGS = 0xf
1047 PTRACE_SETOPTIONS = 0x4200
1048 PTRACE_SETREGS = 0xd
1049 PTRACE_SETREGS64 = 0x17
1050 PTRACE_SETREGSET = 0x4205
1051 PTRACE_SETSIGINFO = 0x4203
1052 PTRACE_SETSIGMASK = 0x420b
1053 PTRACE_SETVRREGS = 0x13
1054 PTRACE_SETVSRREGS = 0x1c
1055 PTRACE_SET_DEBUGREG = 0x1a
1056 PTRACE_SINGLEBLOCK = 0x100
1057 PTRACE_SINGLESTEP = 0x9
1058 PTRACE_SYSCALL = 0x18
1059 PTRACE_TRACEME = 0x0
1060 PT_CCR = 0x26
1061 PT_CTR = 0x23
1062 PT_DAR = 0x29
1063 PT_DSCR = 0x2c
1064 PT_DSISR = 0x2a
1065 PT_FPR0 = 0x30
1066 PT_FPSCR = 0x50
1067 PT_LNK = 0x24
1068 PT_MSR = 0x21
1069 PT_NIP = 0x20
1070 PT_ORIG_R3 = 0x22
1071 PT_R0 = 0x0
1072 PT_R1 = 0x1
1073 PT_R10 = 0xa
1074 PT_R11 = 0xb
1075 PT_R12 = 0xc
1076 PT_R13 = 0xd
1077 PT_R14 = 0xe
1078 PT_R15 = 0xf
1079 PT_R16 = 0x10
1080 PT_R17 = 0x11
1081 PT_R18 = 0x12
1082 PT_R19 = 0x13
1083 PT_R2 = 0x2
1084 PT_R20 = 0x14
1085 PT_R21 = 0x15
1086 PT_R22 = 0x16
1087 PT_R23 = 0x17
1088 PT_R24 = 0x18
1089 PT_R25 = 0x19
1090 PT_R26 = 0x1a
1091 PT_R27 = 0x1b
1092 PT_R28 = 0x1c
1093 PT_R29 = 0x1d
1094 PT_R3 = 0x3
1095 PT_R30 = 0x1e
1096 PT_R31 = 0x1f
1097 PT_R4 = 0x4
1098 PT_R5 = 0x5
1099 PT_R6 = 0x6
1100 PT_R7 = 0x7
1101 PT_R8 = 0x8
1102 PT_R9 = 0x9
1103 PT_REGS_COUNT = 0x2c
1104 PT_RESULT = 0x2b
1105 PT_SOFTE = 0x27
1106 PT_TRAP = 0x28
1107 PT_VR0 = 0x52
1108 PT_VRSAVE = 0x94
1109 PT_VSCR = 0x93
1110 PT_VSR0 = 0x96
1111 PT_VSR31 = 0xd4
1112 PT_XER = 0x25
1113 RLIMIT_AS = 0x9
1114 RLIMIT_CORE = 0x4
1115 RLIMIT_CPU = 0x0
1116 RLIMIT_DATA = 0x2
1117 RLIMIT_FSIZE = 0x1
1118 RLIMIT_NOFILE = 0x7
1119 RLIMIT_STACK = 0x3
1120 RLIM_INFINITY = -0x1
1121 RTAX_ADVMSS = 0x8
1122 RTAX_CWND = 0x7
1123 RTAX_FEATURES = 0xc
1124 RTAX_FEATURE_ALLFRAG = 0x8
1125 RTAX_FEATURE_ECN = 0x1
1126 RTAX_FEATURE_SACK = 0x2
1127 RTAX_FEATURE_TIMESTAMP = 0x4
1128 RTAX_HOPLIMIT = 0xa
1129 RTAX_INITCWND = 0xb
1130 RTAX_INITRWND = 0xe
1131 RTAX_LOCK = 0x1
1132 RTAX_MAX = 0xf
1133 RTAX_MTU = 0x2
1134 RTAX_QUICKACK = 0xf
1135 RTAX_REORDERING = 0x9
1136 RTAX_RTO_MIN = 0xd
1137 RTAX_RTT = 0x4
1138 RTAX_RTTVAR = 0x5
1139 RTAX_SSTHRESH = 0x6
1140 RTAX_UNSPEC = 0x0
1141 RTAX_WINDOW = 0x3
1142 RTA_ALIGNTO = 0x4
1143 RTA_MAX = 0x11
1144 RTCF_DIRECTSRC = 0x4000000
1145 RTCF_DOREDIRECT = 0x1000000
1146 RTCF_LOG = 0x2000000
1147 RTCF_MASQ = 0x400000
1148 RTCF_NAT = 0x800000
1149 RTCF_VALVE = 0x200000
1150 RTF_ADDRCLASSMASK = 0xf8000000
1151 RTF_ADDRCONF = 0x40000
1152 RTF_ALLONLINK = 0x20000
1153 RTF_BROADCAST = 0x10000000
1154 RTF_CACHE = 0x1000000
1155 RTF_DEFAULT = 0x10000
1156 RTF_DYNAMIC = 0x10
1157 RTF_FLOW = 0x2000000
1158 RTF_GATEWAY = 0x2
1159 RTF_HOST = 0x4
1160 RTF_INTERFACE = 0x40000000
1161 RTF_IRTT = 0x100
1162 RTF_LINKRT = 0x100000
1163 RTF_LOCAL = 0x80000000
1164 RTF_MODIFIED = 0x20
1165 RTF_MSS = 0x40
1166 RTF_MTU = 0x40
1167 RTF_MULTICAST = 0x20000000
1168 RTF_NAT = 0x8000000
1169 RTF_NOFORWARD = 0x1000
1170 RTF_NONEXTHOP = 0x200000
1171 RTF_NOPMTUDISC = 0x4000
1172 RTF_POLICY = 0x4000000
1173 RTF_REINSTATE = 0x8
1174 RTF_REJECT = 0x200
1175 RTF_STATIC = 0x400
1176 RTF_THROW = 0x2000
1177 RTF_UP = 0x1
1178 RTF_WINDOW = 0x80
1179 RTF_XRESOLVE = 0x800
1180 RTM_BASE = 0x10
1181 RTM_DELACTION = 0x31
1182 RTM_DELADDR = 0x15
1183 RTM_DELADDRLABEL = 0x49
1184 RTM_DELLINK = 0x11
1185 RTM_DELMDB = 0x55
1186 RTM_DELNEIGH = 0x1d
1187 RTM_DELQDISC = 0x25
1188 RTM_DELROUTE = 0x19
1189 RTM_DELRULE = 0x21
1190 RTM_DELTCLASS = 0x29
1191 RTM_DELTFILTER = 0x2d
1192 RTM_F_CLONED = 0x200
1193 RTM_F_EQUALIZE = 0x400
1194 RTM_F_NOTIFY = 0x100
1195 RTM_F_PREFIX = 0x800
1196 RTM_GETACTION = 0x32
1197 RTM_GETADDR = 0x16
1198 RTM_GETADDRLABEL = 0x4a
1199 RTM_GETANYCAST = 0x3e
1200 RTM_GETDCB = 0x4e
1201 RTM_GETLINK = 0x12
1202 RTM_GETMDB = 0x56
1203 RTM_GETMULTICAST = 0x3a
1204 RTM_GETNEIGH = 0x1e
1205 RTM_GETNEIGHTBL = 0x42
1206 RTM_GETNETCONF = 0x52
1207 RTM_GETQDISC = 0x26
1208 RTM_GETROUTE = 0x1a
1209 RTM_GETRULE = 0x22
1210 RTM_GETTCLASS = 0x2a
1211 RTM_GETTFILTER = 0x2e
1212 RTM_MAX = 0x57
1213 RTM_NEWACTION = 0x30
1214 RTM_NEWADDR = 0x14
1215 RTM_NEWADDRLABEL = 0x48
1216 RTM_NEWLINK = 0x10
1217 RTM_NEWMDB = 0x54
1218 RTM_NEWNDUSEROPT = 0x44
1219 RTM_NEWNEIGH = 0x1c
1220 RTM_NEWNEIGHTBL = 0x40
1221 RTM_NEWNETCONF = 0x50
1222 RTM_NEWPREFIX = 0x34
1223 RTM_NEWQDISC = 0x24
1224 RTM_NEWROUTE = 0x18
1225 RTM_NEWRULE = 0x20
1226 RTM_NEWTCLASS = 0x28
1227 RTM_NEWTFILTER = 0x2c
1228 RTM_NR_FAMILIES = 0x12
1229 RTM_NR_MSGTYPES = 0x48
1230 RTM_SETDCB = 0x4f
1231 RTM_SETLINK = 0x13
1232 RTM_SETNEIGHTBL = 0x43
1233 RTNH_ALIGNTO = 0x4
1234 RTNH_F_DEAD = 0x1
1235 RTNH_F_ONLINK = 0x4
1236 RTNH_F_PERVASIVE = 0x2
1237 RTN_MAX = 0xb
1238 RTPROT_BIRD = 0xc
1239 RTPROT_BOOT = 0x3
1240 RTPROT_DHCP = 0x10
1241 RTPROT_DNROUTED = 0xd
1242 RTPROT_GATED = 0x8
1243 RTPROT_KERNEL = 0x2
1244 RTPROT_MROUTED = 0x11
1245 RTPROT_MRT = 0xa
1246 RTPROT_NTK = 0xf
1247 RTPROT_RA = 0x9
1248 RTPROT_REDIRECT = 0x1
1249 RTPROT_STATIC = 0x4
1250 RTPROT_UNSPEC = 0x0
1251 RTPROT_XORP = 0xe
1252 RTPROT_ZEBRA = 0xb
1253 RT_CLASS_DEFAULT = 0xfd
1254 RT_CLASS_LOCAL = 0xff
1255 RT_CLASS_MAIN = 0xfe
1256 RT_CLASS_MAX = 0xff
1257 RT_CLASS_UNSPEC = 0x0
1258 RUSAGE_CHILDREN = -0x1
1259 RUSAGE_SELF = 0x0
1260 RUSAGE_THREAD = 0x1
1261 SCM_CREDENTIALS = 0x2
1262 SCM_RIGHTS = 0x1
1263 SCM_TIMESTAMP = 0x1d
1264 SCM_TIMESTAMPING = 0x25
1265 SCM_TIMESTAMPNS = 0x23
1266 SCM_WIFI_STATUS = 0x29
1267 SHUT_RD = 0x0
1268 SHUT_RDWR = 0x2
1269 SHUT_WR = 0x1
1270 SIOCADDDLCI = 0x8980
1271 SIOCADDMULTI = 0x8931
1272 SIOCADDRT = 0x890b
1273 SIOCATMARK = 0x8905
1274 SIOCDARP = 0x8953
1275 SIOCDELDLCI = 0x8981
1276 SIOCDELMULTI = 0x8932
1277 SIOCDELRT = 0x890c
1278 SIOCDEVPRIVATE = 0x89f0
1279 SIOCDIFADDR = 0x8936
1280 SIOCDRARP = 0x8960
1281 SIOCGARP = 0x8954
1282 SIOCGIFADDR = 0x8915
1283 SIOCGIFBR = 0x8940
1284 SIOCGIFBRDADDR = 0x8919
1285 SIOCGIFCONF = 0x8912
1286 SIOCGIFCOUNT = 0x8938
1287 SIOCGIFDSTADDR = 0x8917
1288 SIOCGIFENCAP = 0x8925
1289 SIOCGIFFLAGS = 0x8913
1290 SIOCGIFHWADDR = 0x8927
1291 SIOCGIFINDEX = 0x8933
1292 SIOCGIFMAP = 0x8970
1293 SIOCGIFMEM = 0x891f
1294 SIOCGIFMETRIC = 0x891d
1295 SIOCGIFMTU = 0x8921
1296 SIOCGIFNAME = 0x8910
1297 SIOCGIFNETMASK = 0x891b
1298 SIOCGIFPFLAGS = 0x8935
1299 SIOCGIFSLAVE = 0x8929
1300 SIOCGIFTXQLEN = 0x8942
1301 SIOCGPGRP = 0x8904
1302 SIOCGRARP = 0x8961
1303 SIOCGSTAMP = 0x8906
1304 SIOCGSTAMPNS = 0x8907
1305 SIOCPROTOPRIVATE = 0x89e0
1306 SIOCRTMSG = 0x890d
1307 SIOCSARP = 0x8955
1308 SIOCSIFADDR = 0x8916
1309 SIOCSIFBR = 0x8941
1310 SIOCSIFBRDADDR = 0x891a
1311 SIOCSIFDSTADDR = 0x8918
1312 SIOCSIFENCAP = 0x8926
1313 SIOCSIFFLAGS = 0x8914
1314 SIOCSIFHWADDR = 0x8924
1315 SIOCSIFHWBROADCAST = 0x8937
1316 SIOCSIFLINK = 0x8911
1317 SIOCSIFMAP = 0x8971
1318 SIOCSIFMEM = 0x8920
1319 SIOCSIFMETRIC = 0x891e
1320 SIOCSIFMTU = 0x8922
1321 SIOCSIFNAME = 0x8923
1322 SIOCSIFNETMASK = 0x891c
1323 SIOCSIFPFLAGS = 0x8934
1324 SIOCSIFSLAVE = 0x8930
1325 SIOCSIFTXQLEN = 0x8943
1326 SIOCSPGRP = 0x8902
1327 SIOCSRARP = 0x8962
1328 SOCK_CLOEXEC = 0x80000
1329 SOCK_DCCP = 0x6
1330 SOCK_DGRAM = 0x2
1331 SOCK_NONBLOCK = 0x800
1332 SOCK_PACKET = 0xa
1333 SOCK_RAW = 0x3
1334 SOCK_RDM = 0x4
1335 SOCK_SEQPACKET = 0x5
1336 SOCK_STREAM = 0x1
1337 SOL_AAL = 0x109
1338 SOL_ATM = 0x108
1339 SOL_DECNET = 0x105
1340 SOL_ICMPV6 = 0x3a
1341 SOL_IP = 0x0
1342 SOL_IPV6 = 0x29
1343 SOL_IRDA = 0x10a
1344 SOL_PACKET = 0x107
1345 SOL_RAW = 0xff
1346 SOL_SOCKET = 0x1
1347 SOL_TCP = 0x6
1348 SOL_X25 = 0x106
1349 SOMAXCONN = 0x80
1350 SO_ACCEPTCONN = 0x1e
1351 SO_ATTACH_FILTER = 0x1a
1352 SO_BINDTODEVICE = 0x19
1353 SO_BROADCAST = 0x6
1354 SO_BSDCOMPAT = 0xe
1355 SO_BUSY_POLL = 0x2e
1356 SO_DEBUG = 0x1
1357 SO_DETACH_FILTER = 0x1b
1358 SO_DOMAIN = 0x27
1359 SO_DONTROUTE = 0x5
1360 SO_ERROR = 0x4
1361 SO_GET_FILTER = 0x1a
1362 SO_KEEPALIVE = 0x9
1363 SO_LINGER = 0xd
1364 SO_LOCK_FILTER = 0x2c
1365 SO_MARK = 0x24
1366 SO_MAX_PACING_RATE = 0x2f
1367 SO_NOFCS = 0x2b
1368 SO_NO_CHECK = 0xb
1369 SO_OOBINLINE = 0xa
1370 SO_PASSCRED = 0x14
1371 SO_PASSSEC = 0x22
1372 SO_PEEK_OFF = 0x2a
1373 SO_PEERCRED = 0x15
1374 SO_PEERNAME = 0x1c
1375 SO_PEERSEC = 0x1f
1376 SO_PRIORITY = 0xc
1377 SO_PROTOCOL = 0x26
1378 SO_RCVBUF = 0x8
1379 SO_RCVBUFFORCE = 0x21
1380 SO_RCVLOWAT = 0x10
1381 SO_RCVTIMEO = 0x12
1382 SO_REUSEADDR = 0x2
1383 SO_REUSEPORT = 0xf
1384 SO_RXQ_OVFL = 0x28
1385 SO_SECURITY_AUTHENTICATION = 0x16
1386 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1387 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1388 SO_SELECT_ERR_QUEUE = 0x2d
1389 SO_SNDBUF = 0x7
1390 SO_SNDBUFFORCE = 0x20
1391 SO_SNDLOWAT = 0x11
1392 SO_SNDTIMEO = 0x13
1393 SO_TIMESTAMP = 0x1d
1394 SO_TIMESTAMPING = 0x25
1395 SO_TIMESTAMPNS = 0x23
1396 SO_TYPE = 0x3
1397 SO_WIFI_STATUS = 0x29
1398 S_BLKSIZE = 0x200
1399 S_IEXEC = 0x40
1400 S_IFBLK = 0x6000
1401 S_IFCHR = 0x2000
1402 S_IFDIR = 0x4000
1403 S_IFIFO = 0x1000
1404 S_IFLNK = 0xa000
1405 S_IFMT = 0xf000
1406 S_IFREG = 0x8000
1407 S_IFSOCK = 0xc000
1408 S_IREAD = 0x100
1409 S_IRGRP = 0x20
1410 S_IROTH = 0x4
1411 S_IRUSR = 0x100
1412 S_IRWXG = 0x38
1413 S_IRWXO = 0x7
1414 S_IRWXU = 0x1c0
1415 S_ISGID = 0x400
1416 S_ISUID = 0x800
1417 S_ISVTX = 0x200
1418 S_IWGRP = 0x10
1419 S_IWOTH = 0x2
1420 S_IWRITE = 0x80
1421 S_IWUSR = 0x80
1422 S_IXGRP = 0x8
1423 S_IXOTH = 0x1
1424 S_IXUSR = 0x40
1425 TAB0 = 0x0
1426 TAB1 = 0x400
1427 TAB2 = 0x800
1428 TAB3 = 0xc00
1429 TABDLY = 0xc00
1430 TCFLSH = 0x2000741f
1431 TCGETA = 0x40147417
1432 TCGETS = 0x402c7413
1433 TCIFLUSH = 0x0
1434 TCIOFF = 0x2
1435 TCIOFLUSH = 0x2
1436 TCION = 0x3
1437 TCOFLUSH = 0x1
1438 TCOOFF = 0x0
1439 TCOON = 0x1
1440 TCP_CONGESTION = 0xd
1441 TCP_COOKIE_IN_ALWAYS = 0x1
1442 TCP_COOKIE_MAX = 0x10
1443 TCP_COOKIE_MIN = 0x8
1444 TCP_COOKIE_OUT_NEVER = 0x2
1445 TCP_COOKIE_PAIR_SIZE = 0x20
1446 TCP_COOKIE_TRANSACTIONS = 0xf
1447 TCP_CORK = 0x3
1448 TCP_DEFER_ACCEPT = 0x9
1449 TCP_FASTOPEN = 0x17
1450 TCP_INFO = 0xb
1451 TCP_KEEPCNT = 0x6
1452 TCP_KEEPIDLE = 0x4
1453 TCP_KEEPINTVL = 0x5
1454 TCP_LINGER2 = 0x8
1455 TCP_MAXSEG = 0x2
1456 TCP_MAXWIN = 0xffff
1457 TCP_MAX_WINSHIFT = 0xe
1458 TCP_MD5SIG = 0xe
1459 TCP_MD5SIG_MAXKEYLEN = 0x50
1460 TCP_MSS = 0x200
1461 TCP_MSS_DEFAULT = 0x218
1462 TCP_MSS_DESIRED = 0x4c4
1463 TCP_NODELAY = 0x1
1464 TCP_QUEUE_SEQ = 0x15
1465 TCP_QUICKACK = 0xc
1466 TCP_REPAIR = 0x13
1467 TCP_REPAIR_OPTIONS = 0x16
1468 TCP_REPAIR_QUEUE = 0x14
1469 TCP_SYNCNT = 0x7
1470 TCP_S_DATA_IN = 0x4
1471 TCP_S_DATA_OUT = 0x8
1472 TCP_THIN_DUPACK = 0x11
1473 TCP_THIN_LINEAR_TIMEOUTS = 0x10
1474 TCP_TIMESTAMP = 0x18
1475 TCP_USER_TIMEOUT = 0x12
1476 TCP_WINDOW_CLAMP = 0xa
1477 TCSAFLUSH = 0x2
1478 TCSBRK = 0x2000741d
1479 TCSBRKP = 0x5425
1480 TCSETA = 0x80147418
1481 TCSETAF = 0x8014741c
1482 TCSETAW = 0x80147419
1483 TCSETS = 0x802c7414
1484 TCSETSF = 0x802c7416
1485 TCSETSW = 0x802c7415
1486 TCXONC = 0x2000741e
1487 TIOCCBRK = 0x5428
1488 TIOCCONS = 0x541d
1489 TIOCEXCL = 0x540c
1490 TIOCGDEV = 0x40045432
1491 TIOCGETC = 0x40067412
1492 TIOCGETD = 0x5424
1493 TIOCGETP = 0x40067408
1494 TIOCGEXCL = 0x40045440
1495 TIOCGICOUNT = 0x545d
1496 TIOCGLCKTRMIOS = 0x5456
1497 TIOCGLTC = 0x40067474
1498 TIOCGPGRP = 0x40047477
1499 TIOCGPKT = 0x40045438
1500 TIOCGPTLCK = 0x40045439
1501 TIOCGPTN = 0x40045430
1502 TIOCGRS485 = 0x542e
1503 TIOCGSERIAL = 0x541e
1504 TIOCGSID = 0x5429
1505 TIOCGSOFTCAR = 0x5419
1506 TIOCGWINSZ = 0x40087468
1507 TIOCINQ = 0x4004667f
1508 TIOCLINUX = 0x541c
1509 TIOCMBIC = 0x5417
1510 TIOCMBIS = 0x5416
1511 TIOCMGET = 0x5415
1512 TIOCMIWAIT = 0x545c
1513 TIOCMSET = 0x5418
1514 TIOCM_CAR = 0x40
1515 TIOCM_CD = 0x40
1516 TIOCM_CTS = 0x20
1517 TIOCM_DSR = 0x100
1518 TIOCM_DTR = 0x2
1519 TIOCM_LE = 0x1
1520 TIOCM_LOOP = 0x8000
1521 TIOCM_OUT1 = 0x2000
1522 TIOCM_OUT2 = 0x4000
1523 TIOCM_RI = 0x80
1524 TIOCM_RNG = 0x80
1525 TIOCM_RTS = 0x4
1526 TIOCM_SR = 0x10
1527 TIOCM_ST = 0x8
1528 TIOCNOTTY = 0x5422
1529 TIOCNXCL = 0x540d
1530 TIOCOUTQ = 0x40047473
1531 TIOCPKT = 0x5420
1532 TIOCPKT_DATA = 0x0
1533 TIOCPKT_DOSTOP = 0x20
1534 TIOCPKT_FLUSHREAD = 0x1
1535 TIOCPKT_FLUSHWRITE = 0x2
1536 TIOCPKT_IOCTL = 0x40
1537 TIOCPKT_NOSTOP = 0x10
1538 TIOCPKT_START = 0x8
1539 TIOCPKT_STOP = 0x4
1540 TIOCSBRK = 0x5427
1541 TIOCSCTTY = 0x540e
1542 TIOCSERCONFIG = 0x5453
1543 TIOCSERGETLSR = 0x5459
1544 TIOCSERGETMULTI = 0x545a
1545 TIOCSERGSTRUCT = 0x5458
1546 TIOCSERGWILD = 0x5454
1547 TIOCSERSETMULTI = 0x545b
1548 TIOCSERSWILD = 0x5455
1549 TIOCSER_TEMT = 0x1
1550 TIOCSETC = 0x80067411
1551 TIOCSETD = 0x5423
1552 TIOCSETN = 0x8006740a
1553 TIOCSETP = 0x80067409
1554 TIOCSIG = 0x80045436
1555 TIOCSLCKTRMIOS = 0x5457
1556 TIOCSLTC = 0x80067475
1557 TIOCSPGRP = 0x80047476
1558 TIOCSPTLCK = 0x80045431
1559 TIOCSRS485 = 0x542f
1560 TIOCSSERIAL = 0x541f
1561 TIOCSSOFTCAR = 0x541a
1562 TIOCSTART = 0x2000746e
1563 TIOCSTI = 0x5412
1564 TIOCSTOP = 0x2000746f
1565 TIOCSWINSZ = 0x80087467
1566 TIOCVHANGUP = 0x5437
1567 TOSTOP = 0x400000
1568 TUNATTACHFILTER = 0x801054d5
1569 TUNDETACHFILTER = 0x801054d6
1570 TUNGETFEATURES = 0x400454cf
1571 TUNGETFILTER = 0x401054db
1572 TUNGETIFF = 0x400454d2
1573 TUNGETSNDBUF = 0x400454d3
1574 TUNGETVNETHDRSZ = 0x400454d7
1575 TUNSETDEBUG = 0x800454c9
1576 TUNSETGROUP = 0x800454ce
1577 TUNSETIFF = 0x800454ca
1578 TUNSETIFINDEX = 0x800454da
1579 TUNSETLINK = 0x800454cd
1580 TUNSETNOCSUM = 0x800454c8
1581 TUNSETOFFLOAD = 0x800454d0
1582 TUNSETOWNER = 0x800454cc
1583 TUNSETPERSIST = 0x800454cb
1584 TUNSETQUEUE = 0x800454d9
1585 TUNSETSNDBUF = 0x800454d4
1586 TUNSETTXFILTER = 0x800454d1
1587 TUNSETVNETHDRSZ = 0x800454d8
1588 VDISCARD = 0x10
1589 VEOF = 0x4
1590 VEOL = 0x6
1591 VEOL2 = 0x8
1592 VERASE = 0x2
1593 VINTR = 0x0
1594 VKILL = 0x3
1595 VLNEXT = 0xf
1596 VMIN = 0x5
1597 VQUIT = 0x1
1598 VREPRINT = 0xb
1599 VSTART = 0xd
1600 VSTOP = 0xe
1601 VSUSP = 0xc
1602 VSWTC = 0x9
1603 VT0 = 0x0
1604 VT1 = 0x10000
1605 VTDLY = 0x10000
1606 VTIME = 0x7
1607 VWERASE = 0xa
1608 WALL = 0x40000000
1609 WCLONE = 0x80000000
1610 WCONTINUED = 0x8
1611 WEXITED = 0x4
1612 WNOHANG = 0x1
1613 WNOTHREAD = 0x20000000
1614 WNOWAIT = 0x1000000
1615 WORDSIZE = 0x40
1616 WSTOPPED = 0x2
1617 WUNTRACED = 0x2
1618 XCASE = 0x4000
1619 XTABS = 0xc00
1620)
1621
1622// Errors
1623const (
1624 E2BIG = syscall.Errno(0x7)
1625 EACCES = syscall.Errno(0xd)
1626 EADDRINUSE = syscall.Errno(0x62)
1627 EADDRNOTAVAIL = syscall.Errno(0x63)
1628 EADV = syscall.Errno(0x44)
1629 EAFNOSUPPORT = syscall.Errno(0x61)
1630 EAGAIN = syscall.Errno(0xb)
1631 EALREADY = syscall.Errno(0x72)
1632 EBADE = syscall.Errno(0x34)
1633 EBADF = syscall.Errno(0x9)
1634 EBADFD = syscall.Errno(0x4d)
1635 EBADMSG = syscall.Errno(0x4a)
1636 EBADR = syscall.Errno(0x35)
1637 EBADRQC = syscall.Errno(0x38)
1638 EBADSLT = syscall.Errno(0x39)
1639 EBFONT = syscall.Errno(0x3b)
1640 EBUSY = syscall.Errno(0x10)
1641 ECANCELED = syscall.Errno(0x7d)
1642 ECHILD = syscall.Errno(0xa)
1643 ECHRNG = syscall.Errno(0x2c)
1644 ECOMM = syscall.Errno(0x46)
1645 ECONNABORTED = syscall.Errno(0x67)
1646 ECONNREFUSED = syscall.Errno(0x6f)
1647 ECONNRESET = syscall.Errno(0x68)
1648 EDEADLK = syscall.Errno(0x23)
1649 EDEADLOCK = syscall.Errno(0x3a)
1650 EDESTADDRREQ = syscall.Errno(0x59)
1651 EDOM = syscall.Errno(0x21)
1652 EDOTDOT = syscall.Errno(0x49)
1653 EDQUOT = syscall.Errno(0x7a)
1654 EEXIST = syscall.Errno(0x11)
1655 EFAULT = syscall.Errno(0xe)
1656 EFBIG = syscall.Errno(0x1b)
1657 EHOSTDOWN = syscall.Errno(0x70)
1658 EHOSTUNREACH = syscall.Errno(0x71)
1659 EHWPOISON = syscall.Errno(0x85)
1660 EIDRM = syscall.Errno(0x2b)
1661 EILSEQ = syscall.Errno(0x54)
1662 EINPROGRESS = syscall.Errno(0x73)
1663 EINTR = syscall.Errno(0x4)
1664 EINVAL = syscall.Errno(0x16)
1665 EIO = syscall.Errno(0x5)
1666 EISCONN = syscall.Errno(0x6a)
1667 EISDIR = syscall.Errno(0x15)
1668 EISNAM = syscall.Errno(0x78)
1669 EKEYEXPIRED = syscall.Errno(0x7f)
1670 EKEYREJECTED = syscall.Errno(0x81)
1671 EKEYREVOKED = syscall.Errno(0x80)
1672 EL2HLT = syscall.Errno(0x33)
1673 EL2NSYNC = syscall.Errno(0x2d)
1674 EL3HLT = syscall.Errno(0x2e)
1675 EL3RST = syscall.Errno(0x2f)
1676 ELIBACC = syscall.Errno(0x4f)
1677 ELIBBAD = syscall.Errno(0x50)
1678 ELIBEXEC = syscall.Errno(0x53)
1679 ELIBMAX = syscall.Errno(0x52)
1680 ELIBSCN = syscall.Errno(0x51)
1681 ELNRNG = syscall.Errno(0x30)
1682 ELOOP = syscall.Errno(0x28)
1683 EMEDIUMTYPE = syscall.Errno(0x7c)
1684 EMFILE = syscall.Errno(0x18)
1685 EMLINK = syscall.Errno(0x1f)
1686 EMSGSIZE = syscall.Errno(0x5a)
1687 EMULTIHOP = syscall.Errno(0x48)
1688 ENAMETOOLONG = syscall.Errno(0x24)
1689 ENAVAIL = syscall.Errno(0x77)
1690 ENETDOWN = syscall.Errno(0x64)
1691 ENETRESET = syscall.Errno(0x66)
1692 ENETUNREACH = syscall.Errno(0x65)
1693 ENFILE = syscall.Errno(0x17)
1694 ENOANO = syscall.Errno(0x37)
1695 ENOBUFS = syscall.Errno(0x69)
1696 ENOCSI = syscall.Errno(0x32)
1697 ENODATA = syscall.Errno(0x3d)
1698 ENODEV = syscall.Errno(0x13)
1699 ENOENT = syscall.Errno(0x2)
1700 ENOEXEC = syscall.Errno(0x8)
1701 ENOKEY = syscall.Errno(0x7e)
1702 ENOLCK = syscall.Errno(0x25)
1703 ENOLINK = syscall.Errno(0x43)
1704 ENOMEDIUM = syscall.Errno(0x7b)
1705 ENOMEM = syscall.Errno(0xc)
1706 ENOMSG = syscall.Errno(0x2a)
1707 ENONET = syscall.Errno(0x40)
1708 ENOPKG = syscall.Errno(0x41)
1709 ENOPROTOOPT = syscall.Errno(0x5c)
1710 ENOSPC = syscall.Errno(0x1c)
1711 ENOSR = syscall.Errno(0x3f)
1712 ENOSTR = syscall.Errno(0x3c)
1713 ENOSYS = syscall.Errno(0x26)
1714 ENOTBLK = syscall.Errno(0xf)
1715 ENOTCONN = syscall.Errno(0x6b)
1716 ENOTDIR = syscall.Errno(0x14)
1717 ENOTEMPTY = syscall.Errno(0x27)
1718 ENOTNAM = syscall.Errno(0x76)
1719 ENOTRECOVERABLE = syscall.Errno(0x83)
1720 ENOTSOCK = syscall.Errno(0x58)
1721 ENOTSUP = syscall.Errno(0x5f)
1722 ENOTTY = syscall.Errno(0x19)
1723 ENOTUNIQ = syscall.Errno(0x4c)
1724 ENXIO = syscall.Errno(0x6)
1725 EOPNOTSUPP = syscall.Errno(0x5f)
1726 EOVERFLOW = syscall.Errno(0x4b)
1727 EOWNERDEAD = syscall.Errno(0x82)
1728 EPERM = syscall.Errno(0x1)
1729 EPFNOSUPPORT = syscall.Errno(0x60)
1730 EPIPE = syscall.Errno(0x20)
1731 EPROTO = syscall.Errno(0x47)
1732 EPROTONOSUPPORT = syscall.Errno(0x5d)
1733 EPROTOTYPE = syscall.Errno(0x5b)
1734 ERANGE = syscall.Errno(0x22)
1735 EREMCHG = syscall.Errno(0x4e)
1736 EREMOTE = syscall.Errno(0x42)
1737 EREMOTEIO = syscall.Errno(0x79)
1738 ERESTART = syscall.Errno(0x55)
1739 ERFKILL = syscall.Errno(0x84)
1740 EROFS = syscall.Errno(0x1e)
1741 ESHUTDOWN = syscall.Errno(0x6c)
1742 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
1743 ESPIPE = syscall.Errno(0x1d)
1744 ESRCH = syscall.Errno(0x3)
1745 ESRMNT = syscall.Errno(0x45)
1746 ESTALE = syscall.Errno(0x74)
1747 ESTRPIPE = syscall.Errno(0x56)
1748 ETIME = syscall.Errno(0x3e)
1749 ETIMEDOUT = syscall.Errno(0x6e)
1750 ETOOMANYREFS = syscall.Errno(0x6d)
1751 ETXTBSY = syscall.Errno(0x1a)
1752 EUCLEAN = syscall.Errno(0x75)
1753 EUNATCH = syscall.Errno(0x31)
1754 EUSERS = syscall.Errno(0x57)
1755 EWOULDBLOCK = syscall.Errno(0xb)
1756 EXDEV = syscall.Errno(0x12)
1757 EXFULL = syscall.Errno(0x36)
1758)
1759
1760// Signals
1761const (
1762 SIGABRT = syscall.Signal(0x6)
1763 SIGALRM = syscall.Signal(0xe)
1764 SIGBUS = syscall.Signal(0x7)
1765 SIGCHLD = syscall.Signal(0x11)
1766 SIGCLD = syscall.Signal(0x11)
1767 SIGCONT = syscall.Signal(0x12)
1768 SIGFPE = syscall.Signal(0x8)
1769 SIGHUP = syscall.Signal(0x1)
1770 SIGILL = syscall.Signal(0x4)
1771 SIGINT = syscall.Signal(0x2)
1772 SIGIO = syscall.Signal(0x1d)
1773 SIGIOT = syscall.Signal(0x6)
1774 SIGKILL = syscall.Signal(0x9)
1775 SIGPIPE = syscall.Signal(0xd)
1776 SIGPOLL = syscall.Signal(0x1d)
1777 SIGPROF = syscall.Signal(0x1b)
1778 SIGPWR = syscall.Signal(0x1e)
1779 SIGQUIT = syscall.Signal(0x3)
1780 SIGSEGV = syscall.Signal(0xb)
1781 SIGSTKFLT = syscall.Signal(0x10)
1782 SIGSTOP = syscall.Signal(0x13)
1783 SIGSYS = syscall.Signal(0x1f)
1784 SIGTERM = syscall.Signal(0xf)
1785 SIGTRAP = syscall.Signal(0x5)
1786 SIGTSTP = syscall.Signal(0x14)
1787 SIGTTIN = syscall.Signal(0x15)
1788 SIGTTOU = syscall.Signal(0x16)
1789 SIGUNUSED = syscall.Signal(0x1f)
1790 SIGURG = syscall.Signal(0x17)
1791 SIGUSR1 = syscall.Signal(0xa)
1792 SIGUSR2 = syscall.Signal(0xc)
1793 SIGVTALRM = syscall.Signal(0x1a)
1794 SIGWINCH = syscall.Signal(0x1c)
1795 SIGXCPU = syscall.Signal(0x18)
1796 SIGXFSZ = syscall.Signal(0x19)
1797)
1798
1799// Error table
1800var errors = [...]string{
1801 1: "operation not permitted",
1802 2: "no such file or directory",
1803 3: "no such process",
1804 4: "interrupted system call",
1805 5: "input/output error",
1806 6: "no such device or address",
1807 7: "argument list too long",
1808 8: "exec format error",
1809 9: "bad file descriptor",
1810 10: "no child processes",
1811 11: "resource temporarily unavailable",
1812 12: "cannot allocate memory",
1813 13: "permission denied",
1814 14: "bad address",
1815 15: "block device required",
1816 16: "device or resource busy",
1817 17: "file exists",
1818 18: "invalid cross-device link",
1819 19: "no such device",
1820 20: "not a directory",
1821 21: "is a directory",
1822 22: "invalid argument",
1823 23: "too many open files in system",
1824 24: "too many open files",
1825 25: "inappropriate ioctl for device",
1826 26: "text file busy",
1827 27: "file too large",
1828 28: "no space left on device",
1829 29: "illegal seek",
1830 30: "read-only file system",
1831 31: "too many links",
1832 32: "broken pipe",
1833 33: "numerical argument out of domain",
1834 34: "numerical result out of range",
1835 35: "resource deadlock avoided",
1836 36: "file name too long",
1837 37: "no locks available",
1838 38: "function not implemented",
1839 39: "directory not empty",
1840 40: "too many levels of symbolic links",
1841 42: "no message of desired type",
1842 43: "identifier removed",
1843 44: "channel number out of range",
1844 45: "level 2 not synchronized",
1845 46: "level 3 halted",
1846 47: "level 3 reset",
1847 48: "link number out of range",
1848 49: "protocol driver not attached",
1849 50: "no CSI structure available",
1850 51: "level 2 halted",
1851 52: "invalid exchange",
1852 53: "invalid request descriptor",
1853 54: "exchange full",
1854 55: "no anode",
1855 56: "invalid request code",
1856 57: "invalid slot",
1857 58: "file locking deadlock error",
1858 59: "bad font file format",
1859 60: "device not a stream",
1860 61: "no data available",
1861 62: "timer expired",
1862 63: "out of streams resources",
1863 64: "machine is not on the network",
1864 65: "package not installed",
1865 66: "object is remote",
1866 67: "link has been severed",
1867 68: "advertise error",
1868 69: "srmount error",
1869 70: "communication error on send",
1870 71: "protocol error",
1871 72: "multihop attempted",
1872 73: "RFS specific error",
1873 74: "bad message",
1874 75: "value too large for defined data type",
1875 76: "name not unique on network",
1876 77: "file descriptor in bad state",
1877 78: "remote address changed",
1878 79: "can not access a needed shared library",
1879 80: "accessing a corrupted shared library",
1880 81: ".lib section in a.out corrupted",
1881 82: "attempting to link in too many shared libraries",
1882 83: "cannot exec a shared library directly",
1883 84: "invalid or incomplete multibyte or wide character",
1884 85: "interrupted system call should be restarted",
1885 86: "streams pipe error",
1886 87: "too many users",
1887 88: "socket operation on non-socket",
1888 89: "destination address required",
1889 90: "message too long",
1890 91: "protocol wrong type for socket",
1891 92: "protocol not available",
1892 93: "protocol not supported",
1893 94: "socket type not supported",
1894 95: "operation not supported",
1895 96: "protocol family not supported",
1896 97: "address family not supported by protocol",
1897 98: "address already in use",
1898 99: "cannot assign requested address",
1899 100: "network is down",
1900 101: "network is unreachable",
1901 102: "network dropped connection on reset",
1902 103: "software caused connection abort",
1903 104: "connection reset by peer",
1904 105: "no buffer space available",
1905 106: "transport endpoint is already connected",
1906 107: "transport endpoint is not connected",
1907 108: "cannot send after transport endpoint shutdown",
1908 109: "too many references: cannot splice",
1909 110: "connection timed out",
1910 111: "connection refused",
1911 112: "host is down",
1912 113: "no route to host",
1913 114: "operation already in progress",
1914 115: "operation now in progress",
1915 116: "stale file handle",
1916 117: "structure needs cleaning",
1917 118: "not a XENIX named type file",
1918 119: "no XENIX semaphores available",
1919 120: "is a named type file",
1920 121: "remote I/O error",
1921 122: "disk quota exceeded",
1922 123: "no medium found",
1923 124: "wrong medium type",
1924 125: "operation canceled",
1925 126: "required key not available",
1926 127: "key has expired",
1927 128: "key has been revoked",
1928 129: "key was rejected by service",
1929 130: "owner died",
1930 131: "state not recoverable",
1931 132: "operation not possible due to RF-kill",
1932 133: "memory page has hardware error",
1933}
1934
1935// Signal table
1936var signals = [...]string{
1937 1: "hangup",
1938 2: "interrupt",
1939 3: "quit",
1940 4: "illegal instruction",
1941 5: "trace/breakpoint trap",
1942 6: "aborted",
1943 7: "bus error",
1944 8: "floating point exception",
1945 9: "killed",
1946 10: "user defined signal 1",
1947 11: "segmentation fault",
1948 12: "user defined signal 2",
1949 13: "broken pipe",
1950 14: "alarm clock",
1951 15: "terminated",
1952 16: "stack fault",
1953 17: "child exited",
1954 18: "continued",
1955 19: "stopped (signal)",
1956 20: "stopped",
1957 21: "stopped (tty input)",
1958 22: "stopped (tty output)",
1959 23: "urgent I/O condition",
1960 24: "CPU time limit exceeded",
1961 25: "file size limit exceeded",
1962 26: "virtual timer expired",
1963 27: "profiling timer expired",
1964 28: "window changed",
1965 29: "I/O possible",
1966 30: "power failure",
1967 31: "bad system call",
1968}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_386.go
deleted file mode 100644
index b4338d5..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_386.go
+++ /dev/null
@@ -1,1712 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,netbsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x1c
16 AF_BLUETOOTH = 0x1f
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_HYLINK = 0xf
27 AF_IEEE80211 = 0x20
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x18
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x23
38 AF_MPLS = 0x21
39 AF_NATM = 0x1b
40 AF_NS = 0x6
41 AF_OROUTE = 0x11
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x22
45 AF_SNA = 0xb
46 AF_UNIX = 0x1
47 AF_UNSPEC = 0x0
48 ARPHRD_ARCNET = 0x7
49 ARPHRD_ETHER = 0x1
50 ARPHRD_FRELAY = 0xf
51 ARPHRD_IEEE1394 = 0x18
52 ARPHRD_IEEE802 = 0x6
53 ARPHRD_STRIP = 0x17
54 B0 = 0x0
55 B110 = 0x6e
56 B115200 = 0x1c200
57 B1200 = 0x4b0
58 B134 = 0x86
59 B14400 = 0x3840
60 B150 = 0x96
61 B1800 = 0x708
62 B19200 = 0x4b00
63 B200 = 0xc8
64 B230400 = 0x38400
65 B2400 = 0x960
66 B28800 = 0x7080
67 B300 = 0x12c
68 B38400 = 0x9600
69 B460800 = 0x70800
70 B4800 = 0x12c0
71 B50 = 0x32
72 B57600 = 0xe100
73 B600 = 0x258
74 B7200 = 0x1c20
75 B75 = 0x4b
76 B76800 = 0x12c00
77 B921600 = 0xe1000
78 B9600 = 0x2580
79 BIOCFEEDBACK = 0x8004427d
80 BIOCFLUSH = 0x20004268
81 BIOCGBLEN = 0x40044266
82 BIOCGDLT = 0x4004426a
83 BIOCGDLTLIST = 0xc0084277
84 BIOCGETIF = 0x4090426b
85 BIOCGFEEDBACK = 0x4004427c
86 BIOCGHDRCMPLT = 0x40044274
87 BIOCGRTIMEOUT = 0x400c427b
88 BIOCGSEESENT = 0x40044278
89 BIOCGSTATS = 0x4080426f
90 BIOCGSTATSOLD = 0x4008426f
91 BIOCIMMEDIATE = 0x80044270
92 BIOCPROMISC = 0x20004269
93 BIOCSBLEN = 0xc0044266
94 BIOCSDLT = 0x80044276
95 BIOCSETF = 0x80084267
96 BIOCSETIF = 0x8090426c
97 BIOCSFEEDBACK = 0x8004427d
98 BIOCSHDRCMPLT = 0x80044275
99 BIOCSRTIMEOUT = 0x800c427a
100 BIOCSSEESENT = 0x80044279
101 BIOCSTCPF = 0x80084272
102 BIOCSUDPF = 0x80084273
103 BIOCVERSION = 0x40044271
104 BPF_A = 0x10
105 BPF_ABS = 0x20
106 BPF_ADD = 0x0
107 BPF_ALIGNMENT = 0x4
108 BPF_ALIGNMENT32 = 0x4
109 BPF_ALU = 0x4
110 BPF_AND = 0x50
111 BPF_B = 0x10
112 BPF_DFLTBUFSIZE = 0x100000
113 BPF_DIV = 0x30
114 BPF_H = 0x8
115 BPF_IMM = 0x0
116 BPF_IND = 0x40
117 BPF_JA = 0x0
118 BPF_JEQ = 0x10
119 BPF_JGE = 0x30
120 BPF_JGT = 0x20
121 BPF_JMP = 0x5
122 BPF_JSET = 0x40
123 BPF_K = 0x0
124 BPF_LD = 0x0
125 BPF_LDX = 0x1
126 BPF_LEN = 0x80
127 BPF_LSH = 0x60
128 BPF_MAJOR_VERSION = 0x1
129 BPF_MAXBUFSIZE = 0x1000000
130 BPF_MAXINSNS = 0x200
131 BPF_MEM = 0x60
132 BPF_MEMWORDS = 0x10
133 BPF_MINBUFSIZE = 0x20
134 BPF_MINOR_VERSION = 0x1
135 BPF_MISC = 0x7
136 BPF_MSH = 0xa0
137 BPF_MUL = 0x20
138 BPF_NEG = 0x80
139 BPF_OR = 0x40
140 BPF_RELEASE = 0x30bb6
141 BPF_RET = 0x6
142 BPF_RSH = 0x70
143 BPF_ST = 0x2
144 BPF_STX = 0x3
145 BPF_SUB = 0x10
146 BPF_TAX = 0x0
147 BPF_TXA = 0x80
148 BPF_W = 0x0
149 BPF_X = 0x8
150 BRKINT = 0x2
151 CFLUSH = 0xf
152 CLOCAL = 0x8000
153 CLONE_CSIGNAL = 0xff
154 CLONE_FILES = 0x400
155 CLONE_FS = 0x200
156 CLONE_PID = 0x1000
157 CLONE_PTRACE = 0x2000
158 CLONE_SIGHAND = 0x800
159 CLONE_VFORK = 0x4000
160 CLONE_VM = 0x100
161 CREAD = 0x800
162 CS5 = 0x0
163 CS6 = 0x100
164 CS7 = 0x200
165 CS8 = 0x300
166 CSIZE = 0x300
167 CSTART = 0x11
168 CSTATUS = 0x14
169 CSTOP = 0x13
170 CSTOPB = 0x400
171 CSUSP = 0x1a
172 CTL_MAXNAME = 0xc
173 CTL_NET = 0x4
174 CTL_QUERY = -0x2
175 DIOCBSFLUSH = 0x20006478
176 DLT_A429 = 0xb8
177 DLT_A653_ICM = 0xb9
178 DLT_AIRONET_HEADER = 0x78
179 DLT_AOS = 0xde
180 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
181 DLT_ARCNET = 0x7
182 DLT_ARCNET_LINUX = 0x81
183 DLT_ATM_CLIP = 0x13
184 DLT_ATM_RFC1483 = 0xb
185 DLT_AURORA = 0x7e
186 DLT_AX25 = 0x3
187 DLT_AX25_KISS = 0xca
188 DLT_BACNET_MS_TP = 0xa5
189 DLT_BLUETOOTH_HCI_H4 = 0xbb
190 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
191 DLT_CAN20B = 0xbe
192 DLT_CAN_SOCKETCAN = 0xe3
193 DLT_CHAOS = 0x5
194 DLT_CISCO_IOS = 0x76
195 DLT_C_HDLC = 0x68
196 DLT_C_HDLC_WITH_DIR = 0xcd
197 DLT_DECT = 0xdd
198 DLT_DOCSIS = 0x8f
199 DLT_ECONET = 0x73
200 DLT_EN10MB = 0x1
201 DLT_EN3MB = 0x2
202 DLT_ENC = 0x6d
203 DLT_ERF = 0xc5
204 DLT_ERF_ETH = 0xaf
205 DLT_ERF_POS = 0xb0
206 DLT_FC_2 = 0xe0
207 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
208 DLT_FDDI = 0xa
209 DLT_FLEXRAY = 0xd2
210 DLT_FRELAY = 0x6b
211 DLT_FRELAY_WITH_DIR = 0xce
212 DLT_GCOM_SERIAL = 0xad
213 DLT_GCOM_T1E1 = 0xac
214 DLT_GPF_F = 0xab
215 DLT_GPF_T = 0xaa
216 DLT_GPRS_LLC = 0xa9
217 DLT_GSMTAP_ABIS = 0xda
218 DLT_GSMTAP_UM = 0xd9
219 DLT_HDLC = 0x10
220 DLT_HHDLC = 0x79
221 DLT_HIPPI = 0xf
222 DLT_IBM_SN = 0x92
223 DLT_IBM_SP = 0x91
224 DLT_IEEE802 = 0x6
225 DLT_IEEE802_11 = 0x69
226 DLT_IEEE802_11_RADIO = 0x7f
227 DLT_IEEE802_11_RADIO_AVS = 0xa3
228 DLT_IEEE802_15_4 = 0xc3
229 DLT_IEEE802_15_4_LINUX = 0xbf
230 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
231 DLT_IEEE802_16_MAC_CPS = 0xbc
232 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
233 DLT_IPMB = 0xc7
234 DLT_IPMB_LINUX = 0xd1
235 DLT_IPNET = 0xe2
236 DLT_IPV4 = 0xe4
237 DLT_IPV6 = 0xe5
238 DLT_IP_OVER_FC = 0x7a
239 DLT_JUNIPER_ATM1 = 0x89
240 DLT_JUNIPER_ATM2 = 0x87
241 DLT_JUNIPER_CHDLC = 0xb5
242 DLT_JUNIPER_ES = 0x84
243 DLT_JUNIPER_ETHER = 0xb2
244 DLT_JUNIPER_FRELAY = 0xb4
245 DLT_JUNIPER_GGSN = 0x85
246 DLT_JUNIPER_ISM = 0xc2
247 DLT_JUNIPER_MFR = 0x86
248 DLT_JUNIPER_MLFR = 0x83
249 DLT_JUNIPER_MLPPP = 0x82
250 DLT_JUNIPER_MONITOR = 0xa4
251 DLT_JUNIPER_PIC_PEER = 0xae
252 DLT_JUNIPER_PPP = 0xb3
253 DLT_JUNIPER_PPPOE = 0xa7
254 DLT_JUNIPER_PPPOE_ATM = 0xa8
255 DLT_JUNIPER_SERVICES = 0x88
256 DLT_JUNIPER_ST = 0xc8
257 DLT_JUNIPER_VP = 0xb7
258 DLT_LAPB_WITH_DIR = 0xcf
259 DLT_LAPD = 0xcb
260 DLT_LIN = 0xd4
261 DLT_LINUX_EVDEV = 0xd8
262 DLT_LINUX_IRDA = 0x90
263 DLT_LINUX_LAPD = 0xb1
264 DLT_LINUX_SLL = 0x71
265 DLT_LOOP = 0x6c
266 DLT_LTALK = 0x72
267 DLT_MFR = 0xb6
268 DLT_MOST = 0xd3
269 DLT_MPLS = 0xdb
270 DLT_MTP2 = 0x8c
271 DLT_MTP2_WITH_PHDR = 0x8b
272 DLT_MTP3 = 0x8d
273 DLT_NULL = 0x0
274 DLT_PCI_EXP = 0x7d
275 DLT_PFLOG = 0x75
276 DLT_PFSYNC = 0x12
277 DLT_PPI = 0xc0
278 DLT_PPP = 0x9
279 DLT_PPP_BSDOS = 0xe
280 DLT_PPP_ETHER = 0x33
281 DLT_PPP_PPPD = 0xa6
282 DLT_PPP_SERIAL = 0x32
283 DLT_PPP_WITH_DIR = 0xcc
284 DLT_PRISM_HEADER = 0x77
285 DLT_PRONET = 0x4
286 DLT_RAIF1 = 0xc6
287 DLT_RAW = 0xc
288 DLT_RAWAF_MASK = 0x2240000
289 DLT_RIO = 0x7c
290 DLT_SCCP = 0x8e
291 DLT_SITA = 0xc4
292 DLT_SLIP = 0x8
293 DLT_SLIP_BSDOS = 0xd
294 DLT_SUNATM = 0x7b
295 DLT_SYMANTEC_FIREWALL = 0x63
296 DLT_TZSP = 0x80
297 DLT_USB = 0xba
298 DLT_USB_LINUX = 0xbd
299 DLT_USB_LINUX_MMAPPED = 0xdc
300 DLT_WIHART = 0xdf
301 DLT_X2E_SERIAL = 0xd5
302 DLT_X2E_XORAYA = 0xd6
303 DT_BLK = 0x6
304 DT_CHR = 0x2
305 DT_DIR = 0x4
306 DT_FIFO = 0x1
307 DT_LNK = 0xa
308 DT_REG = 0x8
309 DT_SOCK = 0xc
310 DT_UNKNOWN = 0x0
311 DT_WHT = 0xe
312 ECHO = 0x8
313 ECHOCTL = 0x40
314 ECHOE = 0x2
315 ECHOK = 0x4
316 ECHOKE = 0x1
317 ECHONL = 0x10
318 ECHOPRT = 0x20
319 EMUL_LINUX = 0x1
320 EMUL_LINUX32 = 0x5
321 EMUL_MAXID = 0x6
322 EN_SW_CTL_INF = 0x1000
323 EN_SW_CTL_PREC = 0x300
324 EN_SW_CTL_ROUND = 0xc00
325 EN_SW_DATACHAIN = 0x80
326 EN_SW_DENORM = 0x2
327 EN_SW_INVOP = 0x1
328 EN_SW_OVERFLOW = 0x8
329 EN_SW_PRECLOSS = 0x20
330 EN_SW_UNDERFLOW = 0x10
331 EN_SW_ZERODIV = 0x4
332 ETHERCAP_JUMBO_MTU = 0x4
333 ETHERCAP_VLAN_HWTAGGING = 0x2
334 ETHERCAP_VLAN_MTU = 0x1
335 ETHERMIN = 0x2e
336 ETHERMTU = 0x5dc
337 ETHERMTU_JUMBO = 0x2328
338 ETHERTYPE_8023 = 0x4
339 ETHERTYPE_AARP = 0x80f3
340 ETHERTYPE_ACCTON = 0x8390
341 ETHERTYPE_AEONIC = 0x8036
342 ETHERTYPE_ALPHA = 0x814a
343 ETHERTYPE_AMBER = 0x6008
344 ETHERTYPE_AMOEBA = 0x8145
345 ETHERTYPE_APOLLO = 0x80f7
346 ETHERTYPE_APOLLODOMAIN = 0x8019
347 ETHERTYPE_APPLETALK = 0x809b
348 ETHERTYPE_APPLITEK = 0x80c7
349 ETHERTYPE_ARGONAUT = 0x803a
350 ETHERTYPE_ARP = 0x806
351 ETHERTYPE_AT = 0x809b
352 ETHERTYPE_ATALK = 0x809b
353 ETHERTYPE_ATOMIC = 0x86df
354 ETHERTYPE_ATT = 0x8069
355 ETHERTYPE_ATTSTANFORD = 0x8008
356 ETHERTYPE_AUTOPHON = 0x806a
357 ETHERTYPE_AXIS = 0x8856
358 ETHERTYPE_BCLOOP = 0x9003
359 ETHERTYPE_BOFL = 0x8102
360 ETHERTYPE_CABLETRON = 0x7034
361 ETHERTYPE_CHAOS = 0x804
362 ETHERTYPE_COMDESIGN = 0x806c
363 ETHERTYPE_COMPUGRAPHIC = 0x806d
364 ETHERTYPE_COUNTERPOINT = 0x8062
365 ETHERTYPE_CRONUS = 0x8004
366 ETHERTYPE_CRONUSVLN = 0x8003
367 ETHERTYPE_DCA = 0x1234
368 ETHERTYPE_DDE = 0x807b
369 ETHERTYPE_DEBNI = 0xaaaa
370 ETHERTYPE_DECAM = 0x8048
371 ETHERTYPE_DECCUST = 0x6006
372 ETHERTYPE_DECDIAG = 0x6005
373 ETHERTYPE_DECDNS = 0x803c
374 ETHERTYPE_DECDTS = 0x803e
375 ETHERTYPE_DECEXPER = 0x6000
376 ETHERTYPE_DECLAST = 0x8041
377 ETHERTYPE_DECLTM = 0x803f
378 ETHERTYPE_DECMUMPS = 0x6009
379 ETHERTYPE_DECNETBIOS = 0x8040
380 ETHERTYPE_DELTACON = 0x86de
381 ETHERTYPE_DIDDLE = 0x4321
382 ETHERTYPE_DLOG1 = 0x660
383 ETHERTYPE_DLOG2 = 0x661
384 ETHERTYPE_DN = 0x6003
385 ETHERTYPE_DOGFIGHT = 0x1989
386 ETHERTYPE_DSMD = 0x8039
387 ETHERTYPE_ECMA = 0x803
388 ETHERTYPE_ENCRYPT = 0x803d
389 ETHERTYPE_ES = 0x805d
390 ETHERTYPE_EXCELAN = 0x8010
391 ETHERTYPE_EXPERDATA = 0x8049
392 ETHERTYPE_FLIP = 0x8146
393 ETHERTYPE_FLOWCONTROL = 0x8808
394 ETHERTYPE_FRARP = 0x808
395 ETHERTYPE_GENDYN = 0x8068
396 ETHERTYPE_HAYES = 0x8130
397 ETHERTYPE_HIPPI_FP = 0x8180
398 ETHERTYPE_HITACHI = 0x8820
399 ETHERTYPE_HP = 0x8005
400 ETHERTYPE_IEEEPUP = 0xa00
401 ETHERTYPE_IEEEPUPAT = 0xa01
402 ETHERTYPE_IMLBL = 0x4c42
403 ETHERTYPE_IMLBLDIAG = 0x424c
404 ETHERTYPE_IP = 0x800
405 ETHERTYPE_IPAS = 0x876c
406 ETHERTYPE_IPV6 = 0x86dd
407 ETHERTYPE_IPX = 0x8137
408 ETHERTYPE_IPXNEW = 0x8037
409 ETHERTYPE_KALPANA = 0x8582
410 ETHERTYPE_LANBRIDGE = 0x8038
411 ETHERTYPE_LANPROBE = 0x8888
412 ETHERTYPE_LAT = 0x6004
413 ETHERTYPE_LBACK = 0x9000
414 ETHERTYPE_LITTLE = 0x8060
415 ETHERTYPE_LOGICRAFT = 0x8148
416 ETHERTYPE_LOOPBACK = 0x9000
417 ETHERTYPE_MATRA = 0x807a
418 ETHERTYPE_MAX = 0xffff
419 ETHERTYPE_MERIT = 0x807c
420 ETHERTYPE_MICP = 0x873a
421 ETHERTYPE_MOPDL = 0x6001
422 ETHERTYPE_MOPRC = 0x6002
423 ETHERTYPE_MOTOROLA = 0x818d
424 ETHERTYPE_MPLS = 0x8847
425 ETHERTYPE_MPLS_MCAST = 0x8848
426 ETHERTYPE_MUMPS = 0x813f
427 ETHERTYPE_NBPCC = 0x3c04
428 ETHERTYPE_NBPCLAIM = 0x3c09
429 ETHERTYPE_NBPCLREQ = 0x3c05
430 ETHERTYPE_NBPCLRSP = 0x3c06
431 ETHERTYPE_NBPCREQ = 0x3c02
432 ETHERTYPE_NBPCRSP = 0x3c03
433 ETHERTYPE_NBPDG = 0x3c07
434 ETHERTYPE_NBPDGB = 0x3c08
435 ETHERTYPE_NBPDLTE = 0x3c0a
436 ETHERTYPE_NBPRAR = 0x3c0c
437 ETHERTYPE_NBPRAS = 0x3c0b
438 ETHERTYPE_NBPRST = 0x3c0d
439 ETHERTYPE_NBPSCD = 0x3c01
440 ETHERTYPE_NBPVCD = 0x3c00
441 ETHERTYPE_NBS = 0x802
442 ETHERTYPE_NCD = 0x8149
443 ETHERTYPE_NESTAR = 0x8006
444 ETHERTYPE_NETBEUI = 0x8191
445 ETHERTYPE_NOVELL = 0x8138
446 ETHERTYPE_NS = 0x600
447 ETHERTYPE_NSAT = 0x601
448 ETHERTYPE_NSCOMPAT = 0x807
449 ETHERTYPE_NTRAILER = 0x10
450 ETHERTYPE_OS9 = 0x7007
451 ETHERTYPE_OS9NET = 0x7009
452 ETHERTYPE_PACER = 0x80c6
453 ETHERTYPE_PAE = 0x888e
454 ETHERTYPE_PCS = 0x4242
455 ETHERTYPE_PLANNING = 0x8044
456 ETHERTYPE_PPP = 0x880b
457 ETHERTYPE_PPPOE = 0x8864
458 ETHERTYPE_PPPOEDISC = 0x8863
459 ETHERTYPE_PRIMENTS = 0x7031
460 ETHERTYPE_PUP = 0x200
461 ETHERTYPE_PUPAT = 0x200
462 ETHERTYPE_RACAL = 0x7030
463 ETHERTYPE_RATIONAL = 0x8150
464 ETHERTYPE_RAWFR = 0x6559
465 ETHERTYPE_RCL = 0x1995
466 ETHERTYPE_RDP = 0x8739
467 ETHERTYPE_RETIX = 0x80f2
468 ETHERTYPE_REVARP = 0x8035
469 ETHERTYPE_SCA = 0x6007
470 ETHERTYPE_SECTRA = 0x86db
471 ETHERTYPE_SECUREDATA = 0x876d
472 ETHERTYPE_SGITW = 0x817e
473 ETHERTYPE_SG_BOUNCE = 0x8016
474 ETHERTYPE_SG_DIAG = 0x8013
475 ETHERTYPE_SG_NETGAMES = 0x8014
476 ETHERTYPE_SG_RESV = 0x8015
477 ETHERTYPE_SIMNET = 0x5208
478 ETHERTYPE_SLOWPROTOCOLS = 0x8809
479 ETHERTYPE_SNA = 0x80d5
480 ETHERTYPE_SNMP = 0x814c
481 ETHERTYPE_SONIX = 0xfaf5
482 ETHERTYPE_SPIDER = 0x809f
483 ETHERTYPE_SPRITE = 0x500
484 ETHERTYPE_STP = 0x8181
485 ETHERTYPE_TALARIS = 0x812b
486 ETHERTYPE_TALARISMC = 0x852b
487 ETHERTYPE_TCPCOMP = 0x876b
488 ETHERTYPE_TCPSM = 0x9002
489 ETHERTYPE_TEC = 0x814f
490 ETHERTYPE_TIGAN = 0x802f
491 ETHERTYPE_TRAIL = 0x1000
492 ETHERTYPE_TRANSETHER = 0x6558
493 ETHERTYPE_TYMSHARE = 0x802e
494 ETHERTYPE_UBBST = 0x7005
495 ETHERTYPE_UBDEBUG = 0x900
496 ETHERTYPE_UBDIAGLOOP = 0x7002
497 ETHERTYPE_UBDL = 0x7000
498 ETHERTYPE_UBNIU = 0x7001
499 ETHERTYPE_UBNMC = 0x7003
500 ETHERTYPE_VALID = 0x1600
501 ETHERTYPE_VARIAN = 0x80dd
502 ETHERTYPE_VAXELN = 0x803b
503 ETHERTYPE_VEECO = 0x8067
504 ETHERTYPE_VEXP = 0x805b
505 ETHERTYPE_VGLAB = 0x8131
506 ETHERTYPE_VINES = 0xbad
507 ETHERTYPE_VINESECHO = 0xbaf
508 ETHERTYPE_VINESLOOP = 0xbae
509 ETHERTYPE_VITAL = 0xff00
510 ETHERTYPE_VLAN = 0x8100
511 ETHERTYPE_VLTLMAN = 0x8080
512 ETHERTYPE_VPROD = 0x805c
513 ETHERTYPE_VURESERVED = 0x8147
514 ETHERTYPE_WATERLOO = 0x8130
515 ETHERTYPE_WELLFLEET = 0x8103
516 ETHERTYPE_X25 = 0x805
517 ETHERTYPE_X75 = 0x801
518 ETHERTYPE_XNSSM = 0x9001
519 ETHERTYPE_XTP = 0x817d
520 ETHER_ADDR_LEN = 0x6
521 ETHER_CRC_LEN = 0x4
522 ETHER_CRC_POLY_BE = 0x4c11db6
523 ETHER_CRC_POLY_LE = 0xedb88320
524 ETHER_HDR_LEN = 0xe
525 ETHER_MAX_LEN = 0x5ee
526 ETHER_MAX_LEN_JUMBO = 0x233a
527 ETHER_MIN_LEN = 0x40
528 ETHER_PPPOE_ENCAP_LEN = 0x8
529 ETHER_TYPE_LEN = 0x2
530 ETHER_VLAN_ENCAP_LEN = 0x4
531 EVFILT_AIO = 0x2
532 EVFILT_PROC = 0x4
533 EVFILT_READ = 0x0
534 EVFILT_SIGNAL = 0x5
535 EVFILT_SYSCOUNT = 0x7
536 EVFILT_TIMER = 0x6
537 EVFILT_VNODE = 0x3
538 EVFILT_WRITE = 0x1
539 EV_ADD = 0x1
540 EV_CLEAR = 0x20
541 EV_DELETE = 0x2
542 EV_DISABLE = 0x8
543 EV_ENABLE = 0x4
544 EV_EOF = 0x8000
545 EV_ERROR = 0x4000
546 EV_FLAG1 = 0x2000
547 EV_ONESHOT = 0x10
548 EV_SYSFLAGS = 0xf000
549 EXTA = 0x4b00
550 EXTB = 0x9600
551 EXTPROC = 0x800
552 FD_CLOEXEC = 0x1
553 FD_SETSIZE = 0x100
554 FLUSHO = 0x800000
555 F_CLOSEM = 0xa
556 F_DUPFD = 0x0
557 F_DUPFD_CLOEXEC = 0xc
558 F_FSCTL = -0x80000000
559 F_FSDIRMASK = 0x70000000
560 F_FSIN = 0x10000000
561 F_FSINOUT = 0x30000000
562 F_FSOUT = 0x20000000
563 F_FSPRIV = 0x8000
564 F_FSVOID = 0x40000000
565 F_GETFD = 0x1
566 F_GETFL = 0x3
567 F_GETLK = 0x7
568 F_GETNOSIGPIPE = 0xd
569 F_GETOWN = 0x5
570 F_MAXFD = 0xb
571 F_OK = 0x0
572 F_PARAM_MASK = 0xfff
573 F_PARAM_MAX = 0xfff
574 F_RDLCK = 0x1
575 F_SETFD = 0x2
576 F_SETFL = 0x4
577 F_SETLK = 0x8
578 F_SETLKW = 0x9
579 F_SETNOSIGPIPE = 0xe
580 F_SETOWN = 0x6
581 F_UNLCK = 0x2
582 F_WRLCK = 0x3
583 HUPCL = 0x4000
584 ICANON = 0x100
585 ICMP6_FILTER = 0x12
586 ICRNL = 0x100
587 IEXTEN = 0x400
588 IFAN_ARRIVAL = 0x0
589 IFAN_DEPARTURE = 0x1
590 IFA_ROUTE = 0x1
591 IFF_ALLMULTI = 0x200
592 IFF_BROADCAST = 0x2
593 IFF_CANTCHANGE = 0x8f52
594 IFF_DEBUG = 0x4
595 IFF_LINK0 = 0x1000
596 IFF_LINK1 = 0x2000
597 IFF_LINK2 = 0x4000
598 IFF_LOOPBACK = 0x8
599 IFF_MULTICAST = 0x8000
600 IFF_NOARP = 0x80
601 IFF_NOTRAILERS = 0x20
602 IFF_OACTIVE = 0x400
603 IFF_POINTOPOINT = 0x10
604 IFF_PROMISC = 0x100
605 IFF_RUNNING = 0x40
606 IFF_SIMPLEX = 0x800
607 IFF_UP = 0x1
608 IFNAMSIZ = 0x10
609 IFT_1822 = 0x2
610 IFT_A12MPPSWITCH = 0x82
611 IFT_AAL2 = 0xbb
612 IFT_AAL5 = 0x31
613 IFT_ADSL = 0x5e
614 IFT_AFLANE8023 = 0x3b
615 IFT_AFLANE8025 = 0x3c
616 IFT_ARAP = 0x58
617 IFT_ARCNET = 0x23
618 IFT_ARCNETPLUS = 0x24
619 IFT_ASYNC = 0x54
620 IFT_ATM = 0x25
621 IFT_ATMDXI = 0x69
622 IFT_ATMFUNI = 0x6a
623 IFT_ATMIMA = 0x6b
624 IFT_ATMLOGICAL = 0x50
625 IFT_ATMRADIO = 0xbd
626 IFT_ATMSUBINTERFACE = 0x86
627 IFT_ATMVCIENDPT = 0xc2
628 IFT_ATMVIRTUAL = 0x95
629 IFT_BGPPOLICYACCOUNTING = 0xa2
630 IFT_BRIDGE = 0xd1
631 IFT_BSC = 0x53
632 IFT_CARP = 0xf8
633 IFT_CCTEMUL = 0x3d
634 IFT_CEPT = 0x13
635 IFT_CES = 0x85
636 IFT_CHANNEL = 0x46
637 IFT_CNR = 0x55
638 IFT_COFFEE = 0x84
639 IFT_COMPOSITELINK = 0x9b
640 IFT_DCN = 0x8d
641 IFT_DIGITALPOWERLINE = 0x8a
642 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
643 IFT_DLSW = 0x4a
644 IFT_DOCSCABLEDOWNSTREAM = 0x80
645 IFT_DOCSCABLEMACLAYER = 0x7f
646 IFT_DOCSCABLEUPSTREAM = 0x81
647 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
648 IFT_DS0 = 0x51
649 IFT_DS0BUNDLE = 0x52
650 IFT_DS1FDL = 0xaa
651 IFT_DS3 = 0x1e
652 IFT_DTM = 0x8c
653 IFT_DVBASILN = 0xac
654 IFT_DVBASIOUT = 0xad
655 IFT_DVBRCCDOWNSTREAM = 0x93
656 IFT_DVBRCCMACLAYER = 0x92
657 IFT_DVBRCCUPSTREAM = 0x94
658 IFT_ECONET = 0xce
659 IFT_EON = 0x19
660 IFT_EPLRS = 0x57
661 IFT_ESCON = 0x49
662 IFT_ETHER = 0x6
663 IFT_FAITH = 0xf2
664 IFT_FAST = 0x7d
665 IFT_FASTETHER = 0x3e
666 IFT_FASTETHERFX = 0x45
667 IFT_FDDI = 0xf
668 IFT_FIBRECHANNEL = 0x38
669 IFT_FRAMERELAYINTERCONNECT = 0x3a
670 IFT_FRAMERELAYMPI = 0x5c
671 IFT_FRDLCIENDPT = 0xc1
672 IFT_FRELAY = 0x20
673 IFT_FRELAYDCE = 0x2c
674 IFT_FRF16MFRBUNDLE = 0xa3
675 IFT_FRFORWARD = 0x9e
676 IFT_G703AT2MB = 0x43
677 IFT_G703AT64K = 0x42
678 IFT_GIF = 0xf0
679 IFT_GIGABITETHERNET = 0x75
680 IFT_GR303IDT = 0xb2
681 IFT_GR303RDT = 0xb1
682 IFT_H323GATEKEEPER = 0xa4
683 IFT_H323PROXY = 0xa5
684 IFT_HDH1822 = 0x3
685 IFT_HDLC = 0x76
686 IFT_HDSL2 = 0xa8
687 IFT_HIPERLAN2 = 0xb7
688 IFT_HIPPI = 0x2f
689 IFT_HIPPIINTERFACE = 0x39
690 IFT_HOSTPAD = 0x5a
691 IFT_HSSI = 0x2e
692 IFT_HY = 0xe
693 IFT_IBM370PARCHAN = 0x48
694 IFT_IDSL = 0x9a
695 IFT_IEEE1394 = 0x90
696 IFT_IEEE80211 = 0x47
697 IFT_IEEE80212 = 0x37
698 IFT_IEEE8023ADLAG = 0xa1
699 IFT_IFGSN = 0x91
700 IFT_IMT = 0xbe
701 IFT_INFINIBAND = 0xc7
702 IFT_INTERLEAVE = 0x7c
703 IFT_IP = 0x7e
704 IFT_IPFORWARD = 0x8e
705 IFT_IPOVERATM = 0x72
706 IFT_IPOVERCDLC = 0x6d
707 IFT_IPOVERCLAW = 0x6e
708 IFT_IPSWITCH = 0x4e
709 IFT_ISDN = 0x3f
710 IFT_ISDNBASIC = 0x14
711 IFT_ISDNPRIMARY = 0x15
712 IFT_ISDNS = 0x4b
713 IFT_ISDNU = 0x4c
714 IFT_ISO88022LLC = 0x29
715 IFT_ISO88023 = 0x7
716 IFT_ISO88024 = 0x8
717 IFT_ISO88025 = 0x9
718 IFT_ISO88025CRFPINT = 0x62
719 IFT_ISO88025DTR = 0x56
720 IFT_ISO88025FIBER = 0x73
721 IFT_ISO88026 = 0xa
722 IFT_ISUP = 0xb3
723 IFT_L2VLAN = 0x87
724 IFT_L3IPVLAN = 0x88
725 IFT_L3IPXVLAN = 0x89
726 IFT_LAPB = 0x10
727 IFT_LAPD = 0x4d
728 IFT_LAPF = 0x77
729 IFT_LINEGROUP = 0xd2
730 IFT_LOCALTALK = 0x2a
731 IFT_LOOP = 0x18
732 IFT_MEDIAMAILOVERIP = 0x8b
733 IFT_MFSIGLINK = 0xa7
734 IFT_MIOX25 = 0x26
735 IFT_MODEM = 0x30
736 IFT_MPC = 0x71
737 IFT_MPLS = 0xa6
738 IFT_MPLSTUNNEL = 0x96
739 IFT_MSDSL = 0x8f
740 IFT_MVL = 0xbf
741 IFT_MYRINET = 0x63
742 IFT_NFAS = 0xaf
743 IFT_NSIP = 0x1b
744 IFT_OPTICALCHANNEL = 0xc3
745 IFT_OPTICALTRANSPORT = 0xc4
746 IFT_OTHER = 0x1
747 IFT_P10 = 0xc
748 IFT_P80 = 0xd
749 IFT_PARA = 0x22
750 IFT_PFLOG = 0xf5
751 IFT_PFSYNC = 0xf6
752 IFT_PLC = 0xae
753 IFT_PON155 = 0xcf
754 IFT_PON622 = 0xd0
755 IFT_POS = 0xab
756 IFT_PPP = 0x17
757 IFT_PPPMULTILINKBUNDLE = 0x6c
758 IFT_PROPATM = 0xc5
759 IFT_PROPBWAP2MP = 0xb8
760 IFT_PROPCNLS = 0x59
761 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
762 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
763 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
764 IFT_PROPMUX = 0x36
765 IFT_PROPVIRTUAL = 0x35
766 IFT_PROPWIRELESSP2P = 0x9d
767 IFT_PTPSERIAL = 0x16
768 IFT_PVC = 0xf1
769 IFT_Q2931 = 0xc9
770 IFT_QLLC = 0x44
771 IFT_RADIOMAC = 0xbc
772 IFT_RADSL = 0x5f
773 IFT_REACHDSL = 0xc0
774 IFT_RFC1483 = 0x9f
775 IFT_RS232 = 0x21
776 IFT_RSRB = 0x4f
777 IFT_SDLC = 0x11
778 IFT_SDSL = 0x60
779 IFT_SHDSL = 0xa9
780 IFT_SIP = 0x1f
781 IFT_SIPSIG = 0xcc
782 IFT_SIPTG = 0xcb
783 IFT_SLIP = 0x1c
784 IFT_SMDSDXI = 0x2b
785 IFT_SMDSICIP = 0x34
786 IFT_SONET = 0x27
787 IFT_SONETOVERHEADCHANNEL = 0xb9
788 IFT_SONETPATH = 0x32
789 IFT_SONETVT = 0x33
790 IFT_SRP = 0x97
791 IFT_SS7SIGLINK = 0x9c
792 IFT_STACKTOSTACK = 0x6f
793 IFT_STARLAN = 0xb
794 IFT_STF = 0xd7
795 IFT_T1 = 0x12
796 IFT_TDLC = 0x74
797 IFT_TELINK = 0xc8
798 IFT_TERMPAD = 0x5b
799 IFT_TR008 = 0xb0
800 IFT_TRANSPHDLC = 0x7b
801 IFT_TUNNEL = 0x83
802 IFT_ULTRA = 0x1d
803 IFT_USB = 0xa0
804 IFT_V11 = 0x40
805 IFT_V35 = 0x2d
806 IFT_V36 = 0x41
807 IFT_V37 = 0x78
808 IFT_VDSL = 0x61
809 IFT_VIRTUALIPADDRESS = 0x70
810 IFT_VIRTUALTG = 0xca
811 IFT_VOICEDID = 0xd5
812 IFT_VOICEEM = 0x64
813 IFT_VOICEEMFGD = 0xd3
814 IFT_VOICEENCAP = 0x67
815 IFT_VOICEFGDEANA = 0xd4
816 IFT_VOICEFXO = 0x65
817 IFT_VOICEFXS = 0x66
818 IFT_VOICEOVERATM = 0x98
819 IFT_VOICEOVERCABLE = 0xc6
820 IFT_VOICEOVERFRAMERELAY = 0x99
821 IFT_VOICEOVERIP = 0x68
822 IFT_X213 = 0x5d
823 IFT_X25 = 0x5
824 IFT_X25DDN = 0x4
825 IFT_X25HUNTGROUP = 0x7a
826 IFT_X25MLP = 0x79
827 IFT_X25PLE = 0x28
828 IFT_XETHER = 0x1a
829 IGNBRK = 0x1
830 IGNCR = 0x80
831 IGNPAR = 0x4
832 IMAXBEL = 0x2000
833 INLCR = 0x40
834 INPCK = 0x10
835 IN_CLASSA_HOST = 0xffffff
836 IN_CLASSA_MAX = 0x80
837 IN_CLASSA_NET = 0xff000000
838 IN_CLASSA_NSHIFT = 0x18
839 IN_CLASSB_HOST = 0xffff
840 IN_CLASSB_MAX = 0x10000
841 IN_CLASSB_NET = 0xffff0000
842 IN_CLASSB_NSHIFT = 0x10
843 IN_CLASSC_HOST = 0xff
844 IN_CLASSC_NET = 0xffffff00
845 IN_CLASSC_NSHIFT = 0x8
846 IN_CLASSD_HOST = 0xfffffff
847 IN_CLASSD_NET = 0xf0000000
848 IN_CLASSD_NSHIFT = 0x1c
849 IN_LOOPBACKNET = 0x7f
850 IPPROTO_AH = 0x33
851 IPPROTO_CARP = 0x70
852 IPPROTO_DONE = 0x101
853 IPPROTO_DSTOPTS = 0x3c
854 IPPROTO_EGP = 0x8
855 IPPROTO_ENCAP = 0x62
856 IPPROTO_EON = 0x50
857 IPPROTO_ESP = 0x32
858 IPPROTO_ETHERIP = 0x61
859 IPPROTO_FRAGMENT = 0x2c
860 IPPROTO_GGP = 0x3
861 IPPROTO_GRE = 0x2f
862 IPPROTO_HOPOPTS = 0x0
863 IPPROTO_ICMP = 0x1
864 IPPROTO_ICMPV6 = 0x3a
865 IPPROTO_IDP = 0x16
866 IPPROTO_IGMP = 0x2
867 IPPROTO_IP = 0x0
868 IPPROTO_IPCOMP = 0x6c
869 IPPROTO_IPIP = 0x4
870 IPPROTO_IPV4 = 0x4
871 IPPROTO_IPV6 = 0x29
872 IPPROTO_IPV6_ICMP = 0x3a
873 IPPROTO_MAX = 0x100
874 IPPROTO_MAXID = 0x34
875 IPPROTO_MOBILE = 0x37
876 IPPROTO_NONE = 0x3b
877 IPPROTO_PFSYNC = 0xf0
878 IPPROTO_PIM = 0x67
879 IPPROTO_PUP = 0xc
880 IPPROTO_RAW = 0xff
881 IPPROTO_ROUTING = 0x2b
882 IPPROTO_RSVP = 0x2e
883 IPPROTO_TCP = 0x6
884 IPPROTO_TP = 0x1d
885 IPPROTO_UDP = 0x11
886 IPPROTO_VRRP = 0x70
887 IPV6_CHECKSUM = 0x1a
888 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
889 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
890 IPV6_DEFHLIM = 0x40
891 IPV6_DONTFRAG = 0x3e
892 IPV6_DSTOPTS = 0x32
893 IPV6_FAITH = 0x1d
894 IPV6_FLOWINFO_MASK = 0xffffff0f
895 IPV6_FLOWLABEL_MASK = 0xffff0f00
896 IPV6_FRAGTTL = 0x78
897 IPV6_HLIMDEC = 0x1
898 IPV6_HOPLIMIT = 0x2f
899 IPV6_HOPOPTS = 0x31
900 IPV6_IPSEC_POLICY = 0x1c
901 IPV6_JOIN_GROUP = 0xc
902 IPV6_LEAVE_GROUP = 0xd
903 IPV6_MAXHLIM = 0xff
904 IPV6_MAXPACKET = 0xffff
905 IPV6_MMTU = 0x500
906 IPV6_MULTICAST_HOPS = 0xa
907 IPV6_MULTICAST_IF = 0x9
908 IPV6_MULTICAST_LOOP = 0xb
909 IPV6_NEXTHOP = 0x30
910 IPV6_PATHMTU = 0x2c
911 IPV6_PKTINFO = 0x2e
912 IPV6_PORTRANGE = 0xe
913 IPV6_PORTRANGE_DEFAULT = 0x0
914 IPV6_PORTRANGE_HIGH = 0x1
915 IPV6_PORTRANGE_LOW = 0x2
916 IPV6_RECVDSTOPTS = 0x28
917 IPV6_RECVHOPLIMIT = 0x25
918 IPV6_RECVHOPOPTS = 0x27
919 IPV6_RECVPATHMTU = 0x2b
920 IPV6_RECVPKTINFO = 0x24
921 IPV6_RECVRTHDR = 0x26
922 IPV6_RECVTCLASS = 0x39
923 IPV6_RTHDR = 0x33
924 IPV6_RTHDRDSTOPTS = 0x23
925 IPV6_RTHDR_LOOSE = 0x0
926 IPV6_RTHDR_STRICT = 0x1
927 IPV6_RTHDR_TYPE_0 = 0x0
928 IPV6_SOCKOPT_RESERVED1 = 0x3
929 IPV6_TCLASS = 0x3d
930 IPV6_UNICAST_HOPS = 0x4
931 IPV6_USE_MIN_MTU = 0x2a
932 IPV6_V6ONLY = 0x1b
933 IPV6_VERSION = 0x60
934 IPV6_VERSION_MASK = 0xf0
935 IP_ADD_MEMBERSHIP = 0xc
936 IP_DEFAULT_MULTICAST_LOOP = 0x1
937 IP_DEFAULT_MULTICAST_TTL = 0x1
938 IP_DF = 0x4000
939 IP_DROP_MEMBERSHIP = 0xd
940 IP_EF = 0x8000
941 IP_ERRORMTU = 0x15
942 IP_HDRINCL = 0x2
943 IP_IPSEC_POLICY = 0x16
944 IP_MAXPACKET = 0xffff
945 IP_MAX_MEMBERSHIPS = 0x14
946 IP_MF = 0x2000
947 IP_MINFRAGSIZE = 0x45
948 IP_MINTTL = 0x18
949 IP_MSS = 0x240
950 IP_MULTICAST_IF = 0x9
951 IP_MULTICAST_LOOP = 0xb
952 IP_MULTICAST_TTL = 0xa
953 IP_OFFMASK = 0x1fff
954 IP_OPTIONS = 0x1
955 IP_PORTRANGE = 0x13
956 IP_PORTRANGE_DEFAULT = 0x0
957 IP_PORTRANGE_HIGH = 0x1
958 IP_PORTRANGE_LOW = 0x2
959 IP_RECVDSTADDR = 0x7
960 IP_RECVIF = 0x14
961 IP_RECVOPTS = 0x5
962 IP_RECVRETOPTS = 0x6
963 IP_RECVTTL = 0x17
964 IP_RETOPTS = 0x8
965 IP_RF = 0x8000
966 IP_TOS = 0x3
967 IP_TTL = 0x4
968 ISIG = 0x80
969 ISTRIP = 0x20
970 IXANY = 0x800
971 IXOFF = 0x400
972 IXON = 0x200
973 LOCK_EX = 0x2
974 LOCK_NB = 0x4
975 LOCK_SH = 0x1
976 LOCK_UN = 0x8
977 MADV_DONTNEED = 0x4
978 MADV_FREE = 0x6
979 MADV_NORMAL = 0x0
980 MADV_RANDOM = 0x1
981 MADV_SEQUENTIAL = 0x2
982 MADV_SPACEAVAIL = 0x5
983 MADV_WILLNEED = 0x3
984 MAP_ALIGNMENT_16MB = 0x18000000
985 MAP_ALIGNMENT_1TB = 0x28000000
986 MAP_ALIGNMENT_256TB = 0x30000000
987 MAP_ALIGNMENT_4GB = 0x20000000
988 MAP_ALIGNMENT_64KB = 0x10000000
989 MAP_ALIGNMENT_64PB = 0x38000000
990 MAP_ALIGNMENT_MASK = -0x1000000
991 MAP_ALIGNMENT_SHIFT = 0x18
992 MAP_ANON = 0x1000
993 MAP_FILE = 0x0
994 MAP_FIXED = 0x10
995 MAP_HASSEMAPHORE = 0x200
996 MAP_INHERIT = 0x80
997 MAP_INHERIT_COPY = 0x1
998 MAP_INHERIT_DEFAULT = 0x1
999 MAP_INHERIT_DONATE_COPY = 0x3
1000 MAP_INHERIT_NONE = 0x2
1001 MAP_INHERIT_SHARE = 0x0
1002 MAP_NORESERVE = 0x40
1003 MAP_PRIVATE = 0x2
1004 MAP_RENAME = 0x20
1005 MAP_SHARED = 0x1
1006 MAP_STACK = 0x2000
1007 MAP_TRYFIXED = 0x400
1008 MAP_WIRED = 0x800
1009 MCL_CURRENT = 0x1
1010 MCL_FUTURE = 0x2
1011 MSG_BCAST = 0x100
1012 MSG_CMSG_CLOEXEC = 0x800
1013 MSG_CONTROLMBUF = 0x2000000
1014 MSG_CTRUNC = 0x20
1015 MSG_DONTROUTE = 0x4
1016 MSG_DONTWAIT = 0x80
1017 MSG_EOR = 0x8
1018 MSG_IOVUSRSPACE = 0x4000000
1019 MSG_LENUSRSPACE = 0x8000000
1020 MSG_MCAST = 0x200
1021 MSG_NAMEMBUF = 0x1000000
1022 MSG_NBIO = 0x1000
1023 MSG_NOSIGNAL = 0x400
1024 MSG_OOB = 0x1
1025 MSG_PEEK = 0x2
1026 MSG_TRUNC = 0x10
1027 MSG_USERFLAGS = 0xffffff
1028 MSG_WAITALL = 0x40
1029 MS_ASYNC = 0x1
1030 MS_INVALIDATE = 0x2
1031 MS_SYNC = 0x4
1032 NAME_MAX = 0x1ff
1033 NET_RT_DUMP = 0x1
1034 NET_RT_FLAGS = 0x2
1035 NET_RT_IFLIST = 0x5
1036 NET_RT_MAXID = 0x6
1037 NET_RT_OIFLIST = 0x4
1038 NET_RT_OOIFLIST = 0x3
1039 NOFLSH = 0x80000000
1040 NOTE_ATTRIB = 0x8
1041 NOTE_CHILD = 0x4
1042 NOTE_DELETE = 0x1
1043 NOTE_EXEC = 0x20000000
1044 NOTE_EXIT = 0x80000000
1045 NOTE_EXTEND = 0x4
1046 NOTE_FORK = 0x40000000
1047 NOTE_LINK = 0x10
1048 NOTE_LOWAT = 0x1
1049 NOTE_PCTRLMASK = 0xf0000000
1050 NOTE_PDATAMASK = 0xfffff
1051 NOTE_RENAME = 0x20
1052 NOTE_REVOKE = 0x40
1053 NOTE_TRACK = 0x1
1054 NOTE_TRACKERR = 0x2
1055 NOTE_WRITE = 0x2
1056 OCRNL = 0x10
1057 OFIOGETBMAP = 0xc004667a
1058 ONLCR = 0x2
1059 ONLRET = 0x40
1060 ONOCR = 0x20
1061 ONOEOT = 0x8
1062 OPOST = 0x1
1063 O_ACCMODE = 0x3
1064 O_ALT_IO = 0x40000
1065 O_APPEND = 0x8
1066 O_ASYNC = 0x40
1067 O_CLOEXEC = 0x400000
1068 O_CREAT = 0x200
1069 O_DIRECT = 0x80000
1070 O_DIRECTORY = 0x200000
1071 O_DSYNC = 0x10000
1072 O_EXCL = 0x800
1073 O_EXLOCK = 0x20
1074 O_FSYNC = 0x80
1075 O_NDELAY = 0x4
1076 O_NOCTTY = 0x8000
1077 O_NOFOLLOW = 0x100
1078 O_NONBLOCK = 0x4
1079 O_NOSIGPIPE = 0x1000000
1080 O_RDONLY = 0x0
1081 O_RDWR = 0x2
1082 O_RSYNC = 0x20000
1083 O_SHLOCK = 0x10
1084 O_SYNC = 0x80
1085 O_TRUNC = 0x400
1086 O_WRONLY = 0x1
1087 PARENB = 0x1000
1088 PARMRK = 0x8
1089 PARODD = 0x2000
1090 PENDIN = 0x20000000
1091 PRIO_PGRP = 0x1
1092 PRIO_PROCESS = 0x0
1093 PRIO_USER = 0x2
1094 PRI_IOFLUSH = 0x7c
1095 PROT_EXEC = 0x4
1096 PROT_NONE = 0x0
1097 PROT_READ = 0x1
1098 PROT_WRITE = 0x2
1099 RLIMIT_AS = 0xa
1100 RLIMIT_CORE = 0x4
1101 RLIMIT_CPU = 0x0
1102 RLIMIT_DATA = 0x2
1103 RLIMIT_FSIZE = 0x1
1104 RLIMIT_NOFILE = 0x8
1105 RLIMIT_STACK = 0x3
1106 RLIM_INFINITY = 0x7fffffffffffffff
1107 RTAX_AUTHOR = 0x6
1108 RTAX_BRD = 0x7
1109 RTAX_DST = 0x0
1110 RTAX_GATEWAY = 0x1
1111 RTAX_GENMASK = 0x3
1112 RTAX_IFA = 0x5
1113 RTAX_IFP = 0x4
1114 RTAX_MAX = 0x9
1115 RTAX_NETMASK = 0x2
1116 RTAX_TAG = 0x8
1117 RTA_AUTHOR = 0x40
1118 RTA_BRD = 0x80
1119 RTA_DST = 0x1
1120 RTA_GATEWAY = 0x2
1121 RTA_GENMASK = 0x8
1122 RTA_IFA = 0x20
1123 RTA_IFP = 0x10
1124 RTA_NETMASK = 0x4
1125 RTA_TAG = 0x100
1126 RTF_ANNOUNCE = 0x20000
1127 RTF_BLACKHOLE = 0x1000
1128 RTF_CLONED = 0x2000
1129 RTF_CLONING = 0x100
1130 RTF_DONE = 0x40
1131 RTF_DYNAMIC = 0x10
1132 RTF_GATEWAY = 0x2
1133 RTF_HOST = 0x4
1134 RTF_LLINFO = 0x400
1135 RTF_MASK = 0x80
1136 RTF_MODIFIED = 0x20
1137 RTF_PROTO1 = 0x8000
1138 RTF_PROTO2 = 0x4000
1139 RTF_REJECT = 0x8
1140 RTF_SRC = 0x10000
1141 RTF_STATIC = 0x800
1142 RTF_UP = 0x1
1143 RTF_XRESOLVE = 0x200
1144 RTM_ADD = 0x1
1145 RTM_CHANGE = 0x3
1146 RTM_CHGADDR = 0x15
1147 RTM_DELADDR = 0xd
1148 RTM_DELETE = 0x2
1149 RTM_GET = 0x4
1150 RTM_IEEE80211 = 0x11
1151 RTM_IFANNOUNCE = 0x10
1152 RTM_IFINFO = 0x14
1153 RTM_LLINFO_UPD = 0x13
1154 RTM_LOCK = 0x8
1155 RTM_LOSING = 0x5
1156 RTM_MISS = 0x7
1157 RTM_NEWADDR = 0xc
1158 RTM_OIFINFO = 0xf
1159 RTM_OLDADD = 0x9
1160 RTM_OLDDEL = 0xa
1161 RTM_OOIFINFO = 0xe
1162 RTM_REDIRECT = 0x6
1163 RTM_RESOLVE = 0xb
1164 RTM_RTTUNIT = 0xf4240
1165 RTM_SETGATE = 0x12
1166 RTM_VERSION = 0x4
1167 RTV_EXPIRE = 0x4
1168 RTV_HOPCOUNT = 0x2
1169 RTV_MTU = 0x1
1170 RTV_RPIPE = 0x8
1171 RTV_RTT = 0x40
1172 RTV_RTTVAR = 0x80
1173 RTV_SPIPE = 0x10
1174 RTV_SSTHRESH = 0x20
1175 RUSAGE_CHILDREN = -0x1
1176 RUSAGE_SELF = 0x0
1177 SCM_CREDS = 0x4
1178 SCM_RIGHTS = 0x1
1179 SCM_TIMESTAMP = 0x8
1180 SHUT_RD = 0x0
1181 SHUT_RDWR = 0x2
1182 SHUT_WR = 0x1
1183 SIOCADDMULTI = 0x80906931
1184 SIOCADDRT = 0x8030720a
1185 SIOCAIFADDR = 0x8040691a
1186 SIOCALIFADDR = 0x8118691c
1187 SIOCATMARK = 0x40047307
1188 SIOCDELMULTI = 0x80906932
1189 SIOCDELRT = 0x8030720b
1190 SIOCDIFADDR = 0x80906919
1191 SIOCDIFPHYADDR = 0x80906949
1192 SIOCDLIFADDR = 0x8118691e
1193 SIOCGDRVSPEC = 0xc01c697b
1194 SIOCGETPFSYNC = 0xc09069f8
1195 SIOCGETSGCNT = 0xc0147534
1196 SIOCGETVIFCNT = 0xc0147533
1197 SIOCGHIWAT = 0x40047301
1198 SIOCGIFADDR = 0xc0906921
1199 SIOCGIFADDRPREF = 0xc0946920
1200 SIOCGIFALIAS = 0xc040691b
1201 SIOCGIFBRDADDR = 0xc0906923
1202 SIOCGIFCAP = 0xc0206976
1203 SIOCGIFCONF = 0xc0086926
1204 SIOCGIFDATA = 0xc0946985
1205 SIOCGIFDLT = 0xc0906977
1206 SIOCGIFDSTADDR = 0xc0906922
1207 SIOCGIFFLAGS = 0xc0906911
1208 SIOCGIFGENERIC = 0xc090693a
1209 SIOCGIFMEDIA = 0xc0286936
1210 SIOCGIFMETRIC = 0xc0906917
1211 SIOCGIFMTU = 0xc090697e
1212 SIOCGIFNETMASK = 0xc0906925
1213 SIOCGIFPDSTADDR = 0xc0906948
1214 SIOCGIFPSRCADDR = 0xc0906947
1215 SIOCGLIFADDR = 0xc118691d
1216 SIOCGLIFPHYADDR = 0xc118694b
1217 SIOCGLINKSTR = 0xc01c6987
1218 SIOCGLOWAT = 0x40047303
1219 SIOCGPGRP = 0x40047309
1220 SIOCGVH = 0xc0906983
1221 SIOCIFCREATE = 0x8090697a
1222 SIOCIFDESTROY = 0x80906979
1223 SIOCIFGCLONERS = 0xc00c6978
1224 SIOCINITIFADDR = 0xc0446984
1225 SIOCSDRVSPEC = 0x801c697b
1226 SIOCSETPFSYNC = 0x809069f7
1227 SIOCSHIWAT = 0x80047300
1228 SIOCSIFADDR = 0x8090690c
1229 SIOCSIFADDRPREF = 0x8094691f
1230 SIOCSIFBRDADDR = 0x80906913
1231 SIOCSIFCAP = 0x80206975
1232 SIOCSIFDSTADDR = 0x8090690e
1233 SIOCSIFFLAGS = 0x80906910
1234 SIOCSIFGENERIC = 0x80906939
1235 SIOCSIFMEDIA = 0xc0906935
1236 SIOCSIFMETRIC = 0x80906918
1237 SIOCSIFMTU = 0x8090697f
1238 SIOCSIFNETMASK = 0x80906916
1239 SIOCSIFPHYADDR = 0x80406946
1240 SIOCSLIFPHYADDR = 0x8118694a
1241 SIOCSLINKSTR = 0x801c6988
1242 SIOCSLOWAT = 0x80047302
1243 SIOCSPGRP = 0x80047308
1244 SIOCSVH = 0xc0906982
1245 SIOCZIFDATA = 0xc0946986
1246 SOCK_CLOEXEC = 0x10000000
1247 SOCK_DGRAM = 0x2
1248 SOCK_FLAGS_MASK = 0xf0000000
1249 SOCK_NONBLOCK = 0x20000000
1250 SOCK_NOSIGPIPE = 0x40000000
1251 SOCK_RAW = 0x3
1252 SOCK_RDM = 0x4
1253 SOCK_SEQPACKET = 0x5
1254 SOCK_STREAM = 0x1
1255 SOL_SOCKET = 0xffff
1256 SOMAXCONN = 0x80
1257 SO_ACCEPTCONN = 0x2
1258 SO_ACCEPTFILTER = 0x1000
1259 SO_BROADCAST = 0x20
1260 SO_DEBUG = 0x1
1261 SO_DONTROUTE = 0x10
1262 SO_ERROR = 0x1007
1263 SO_KEEPALIVE = 0x8
1264 SO_LINGER = 0x80
1265 SO_NOHEADER = 0x100a
1266 SO_NOSIGPIPE = 0x800
1267 SO_OOBINLINE = 0x100
1268 SO_OVERFLOWED = 0x1009
1269 SO_RCVBUF = 0x1002
1270 SO_RCVLOWAT = 0x1004
1271 SO_RCVTIMEO = 0x100c
1272 SO_REUSEADDR = 0x4
1273 SO_REUSEPORT = 0x200
1274 SO_SNDBUF = 0x1001
1275 SO_SNDLOWAT = 0x1003
1276 SO_SNDTIMEO = 0x100b
1277 SO_TIMESTAMP = 0x2000
1278 SO_TYPE = 0x1008
1279 SO_USELOOPBACK = 0x40
1280 SYSCTL_VERSION = 0x1000000
1281 SYSCTL_VERS_0 = 0x0
1282 SYSCTL_VERS_1 = 0x1000000
1283 SYSCTL_VERS_MASK = 0xff000000
1284 S_ARCH1 = 0x10000
1285 S_ARCH2 = 0x20000
1286 S_BLKSIZE = 0x200
1287 S_IEXEC = 0x40
1288 S_IFBLK = 0x6000
1289 S_IFCHR = 0x2000
1290 S_IFDIR = 0x4000
1291 S_IFIFO = 0x1000
1292 S_IFLNK = 0xa000
1293 S_IFMT = 0xf000
1294 S_IFREG = 0x8000
1295 S_IFSOCK = 0xc000
1296 S_IFWHT = 0xe000
1297 S_IREAD = 0x100
1298 S_IRGRP = 0x20
1299 S_IROTH = 0x4
1300 S_IRUSR = 0x100
1301 S_IRWXG = 0x38
1302 S_IRWXO = 0x7
1303 S_IRWXU = 0x1c0
1304 S_ISGID = 0x400
1305 S_ISTXT = 0x200
1306 S_ISUID = 0x800
1307 S_ISVTX = 0x200
1308 S_IWGRP = 0x10
1309 S_IWOTH = 0x2
1310 S_IWRITE = 0x80
1311 S_IWUSR = 0x80
1312 S_IXGRP = 0x8
1313 S_IXOTH = 0x1
1314 S_IXUSR = 0x40
1315 S_LOGIN_SET = 0x1
1316 TCIFLUSH = 0x1
1317 TCIOFLUSH = 0x3
1318 TCOFLUSH = 0x2
1319 TCP_CONGCTL = 0x20
1320 TCP_KEEPCNT = 0x6
1321 TCP_KEEPIDLE = 0x3
1322 TCP_KEEPINIT = 0x7
1323 TCP_KEEPINTVL = 0x5
1324 TCP_MAXBURST = 0x4
1325 TCP_MAXSEG = 0x2
1326 TCP_MAXWIN = 0xffff
1327 TCP_MAX_WINSHIFT = 0xe
1328 TCP_MD5SIG = 0x10
1329 TCP_MINMSS = 0xd8
1330 TCP_MSS = 0x218
1331 TCP_NODELAY = 0x1
1332 TCSAFLUSH = 0x2
1333 TIOCCBRK = 0x2000747a
1334 TIOCCDTR = 0x20007478
1335 TIOCCONS = 0x80047462
1336 TIOCDCDTIMESTAMP = 0x400c7458
1337 TIOCDRAIN = 0x2000745e
1338 TIOCEXCL = 0x2000740d
1339 TIOCEXT = 0x80047460
1340 TIOCFLAG_CDTRCTS = 0x10
1341 TIOCFLAG_CLOCAL = 0x2
1342 TIOCFLAG_CRTSCTS = 0x4
1343 TIOCFLAG_MDMBUF = 0x8
1344 TIOCFLAG_SOFTCAR = 0x1
1345 TIOCFLUSH = 0x80047410
1346 TIOCGETA = 0x402c7413
1347 TIOCGETD = 0x4004741a
1348 TIOCGFLAGS = 0x4004745d
1349 TIOCGLINED = 0x40207442
1350 TIOCGPGRP = 0x40047477
1351 TIOCGQSIZE = 0x40047481
1352 TIOCGRANTPT = 0x20007447
1353 TIOCGSID = 0x40047463
1354 TIOCGSIZE = 0x40087468
1355 TIOCGWINSZ = 0x40087468
1356 TIOCMBIC = 0x8004746b
1357 TIOCMBIS = 0x8004746c
1358 TIOCMGET = 0x4004746a
1359 TIOCMSET = 0x8004746d
1360 TIOCM_CAR = 0x40
1361 TIOCM_CD = 0x40
1362 TIOCM_CTS = 0x20
1363 TIOCM_DSR = 0x100
1364 TIOCM_DTR = 0x2
1365 TIOCM_LE = 0x1
1366 TIOCM_RI = 0x80
1367 TIOCM_RNG = 0x80
1368 TIOCM_RTS = 0x4
1369 TIOCM_SR = 0x10
1370 TIOCM_ST = 0x8
1371 TIOCNOTTY = 0x20007471
1372 TIOCNXCL = 0x2000740e
1373 TIOCOUTQ = 0x40047473
1374 TIOCPKT = 0x80047470
1375 TIOCPKT_DATA = 0x0
1376 TIOCPKT_DOSTOP = 0x20
1377 TIOCPKT_FLUSHREAD = 0x1
1378 TIOCPKT_FLUSHWRITE = 0x2
1379 TIOCPKT_IOCTL = 0x40
1380 TIOCPKT_NOSTOP = 0x10
1381 TIOCPKT_START = 0x8
1382 TIOCPKT_STOP = 0x4
1383 TIOCPTMGET = 0x40287446
1384 TIOCPTSNAME = 0x40287448
1385 TIOCRCVFRAME = 0x80047445
1386 TIOCREMOTE = 0x80047469
1387 TIOCSBRK = 0x2000747b
1388 TIOCSCTTY = 0x20007461
1389 TIOCSDTR = 0x20007479
1390 TIOCSETA = 0x802c7414
1391 TIOCSETAF = 0x802c7416
1392 TIOCSETAW = 0x802c7415
1393 TIOCSETD = 0x8004741b
1394 TIOCSFLAGS = 0x8004745c
1395 TIOCSIG = 0x2000745f
1396 TIOCSLINED = 0x80207443
1397 TIOCSPGRP = 0x80047476
1398 TIOCSQSIZE = 0x80047480
1399 TIOCSSIZE = 0x80087467
1400 TIOCSTART = 0x2000746e
1401 TIOCSTAT = 0x80047465
1402 TIOCSTI = 0x80017472
1403 TIOCSTOP = 0x2000746f
1404 TIOCSWINSZ = 0x80087467
1405 TIOCUCNTL = 0x80047466
1406 TIOCXMTFRAME = 0x80047444
1407 TOSTOP = 0x400000
1408 VDISCARD = 0xf
1409 VDSUSP = 0xb
1410 VEOF = 0x0
1411 VEOL = 0x1
1412 VEOL2 = 0x2
1413 VERASE = 0x3
1414 VINTR = 0x8
1415 VKILL = 0x5
1416 VLNEXT = 0xe
1417 VMIN = 0x10
1418 VQUIT = 0x9
1419 VREPRINT = 0x6
1420 VSTART = 0xc
1421 VSTATUS = 0x12
1422 VSTOP = 0xd
1423 VSUSP = 0xa
1424 VTIME = 0x11
1425 VWERASE = 0x4
1426 WALL = 0x8
1427 WALLSIG = 0x8
1428 WALTSIG = 0x4
1429 WCLONE = 0x4
1430 WCOREFLAG = 0x80
1431 WNOHANG = 0x1
1432 WNOWAIT = 0x10000
1433 WNOZOMBIE = 0x20000
1434 WOPTSCHECKED = 0x40000
1435 WSTOPPED = 0x7f
1436 WUNTRACED = 0x2
1437)
1438
1439// Errors
1440const (
1441 E2BIG = syscall.Errno(0x7)
1442 EACCES = syscall.Errno(0xd)
1443 EADDRINUSE = syscall.Errno(0x30)
1444 EADDRNOTAVAIL = syscall.Errno(0x31)
1445 EAFNOSUPPORT = syscall.Errno(0x2f)
1446 EAGAIN = syscall.Errno(0x23)
1447 EALREADY = syscall.Errno(0x25)
1448 EAUTH = syscall.Errno(0x50)
1449 EBADF = syscall.Errno(0x9)
1450 EBADMSG = syscall.Errno(0x58)
1451 EBADRPC = syscall.Errno(0x48)
1452 EBUSY = syscall.Errno(0x10)
1453 ECANCELED = syscall.Errno(0x57)
1454 ECHILD = syscall.Errno(0xa)
1455 ECONNABORTED = syscall.Errno(0x35)
1456 ECONNREFUSED = syscall.Errno(0x3d)
1457 ECONNRESET = syscall.Errno(0x36)
1458 EDEADLK = syscall.Errno(0xb)
1459 EDESTADDRREQ = syscall.Errno(0x27)
1460 EDOM = syscall.Errno(0x21)
1461 EDQUOT = syscall.Errno(0x45)
1462 EEXIST = syscall.Errno(0x11)
1463 EFAULT = syscall.Errno(0xe)
1464 EFBIG = syscall.Errno(0x1b)
1465 EFTYPE = syscall.Errno(0x4f)
1466 EHOSTDOWN = syscall.Errno(0x40)
1467 EHOSTUNREACH = syscall.Errno(0x41)
1468 EIDRM = syscall.Errno(0x52)
1469 EILSEQ = syscall.Errno(0x55)
1470 EINPROGRESS = syscall.Errno(0x24)
1471 EINTR = syscall.Errno(0x4)
1472 EINVAL = syscall.Errno(0x16)
1473 EIO = syscall.Errno(0x5)
1474 EISCONN = syscall.Errno(0x38)
1475 EISDIR = syscall.Errno(0x15)
1476 ELAST = syscall.Errno(0x60)
1477 ELOOP = syscall.Errno(0x3e)
1478 EMFILE = syscall.Errno(0x18)
1479 EMLINK = syscall.Errno(0x1f)
1480 EMSGSIZE = syscall.Errno(0x28)
1481 EMULTIHOP = syscall.Errno(0x5e)
1482 ENAMETOOLONG = syscall.Errno(0x3f)
1483 ENEEDAUTH = syscall.Errno(0x51)
1484 ENETDOWN = syscall.Errno(0x32)
1485 ENETRESET = syscall.Errno(0x34)
1486 ENETUNREACH = syscall.Errno(0x33)
1487 ENFILE = syscall.Errno(0x17)
1488 ENOATTR = syscall.Errno(0x5d)
1489 ENOBUFS = syscall.Errno(0x37)
1490 ENODATA = syscall.Errno(0x59)
1491 ENODEV = syscall.Errno(0x13)
1492 ENOENT = syscall.Errno(0x2)
1493 ENOEXEC = syscall.Errno(0x8)
1494 ENOLCK = syscall.Errno(0x4d)
1495 ENOLINK = syscall.Errno(0x5f)
1496 ENOMEM = syscall.Errno(0xc)
1497 ENOMSG = syscall.Errno(0x53)
1498 ENOPROTOOPT = syscall.Errno(0x2a)
1499 ENOSPC = syscall.Errno(0x1c)
1500 ENOSR = syscall.Errno(0x5a)
1501 ENOSTR = syscall.Errno(0x5b)
1502 ENOSYS = syscall.Errno(0x4e)
1503 ENOTBLK = syscall.Errno(0xf)
1504 ENOTCONN = syscall.Errno(0x39)
1505 ENOTDIR = syscall.Errno(0x14)
1506 ENOTEMPTY = syscall.Errno(0x42)
1507 ENOTSOCK = syscall.Errno(0x26)
1508 ENOTSUP = syscall.Errno(0x56)
1509 ENOTTY = syscall.Errno(0x19)
1510 ENXIO = syscall.Errno(0x6)
1511 EOPNOTSUPP = syscall.Errno(0x2d)
1512 EOVERFLOW = syscall.Errno(0x54)
1513 EPERM = syscall.Errno(0x1)
1514 EPFNOSUPPORT = syscall.Errno(0x2e)
1515 EPIPE = syscall.Errno(0x20)
1516 EPROCLIM = syscall.Errno(0x43)
1517 EPROCUNAVAIL = syscall.Errno(0x4c)
1518 EPROGMISMATCH = syscall.Errno(0x4b)
1519 EPROGUNAVAIL = syscall.Errno(0x4a)
1520 EPROTO = syscall.Errno(0x60)
1521 EPROTONOSUPPORT = syscall.Errno(0x2b)
1522 EPROTOTYPE = syscall.Errno(0x29)
1523 ERANGE = syscall.Errno(0x22)
1524 EREMOTE = syscall.Errno(0x47)
1525 EROFS = syscall.Errno(0x1e)
1526 ERPCMISMATCH = syscall.Errno(0x49)
1527 ESHUTDOWN = syscall.Errno(0x3a)
1528 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1529 ESPIPE = syscall.Errno(0x1d)
1530 ESRCH = syscall.Errno(0x3)
1531 ESTALE = syscall.Errno(0x46)
1532 ETIME = syscall.Errno(0x5c)
1533 ETIMEDOUT = syscall.Errno(0x3c)
1534 ETOOMANYREFS = syscall.Errno(0x3b)
1535 ETXTBSY = syscall.Errno(0x1a)
1536 EUSERS = syscall.Errno(0x44)
1537 EWOULDBLOCK = syscall.Errno(0x23)
1538 EXDEV = syscall.Errno(0x12)
1539)
1540
1541// Signals
1542const (
1543 SIGABRT = syscall.Signal(0x6)
1544 SIGALRM = syscall.Signal(0xe)
1545 SIGBUS = syscall.Signal(0xa)
1546 SIGCHLD = syscall.Signal(0x14)
1547 SIGCONT = syscall.Signal(0x13)
1548 SIGEMT = syscall.Signal(0x7)
1549 SIGFPE = syscall.Signal(0x8)
1550 SIGHUP = syscall.Signal(0x1)
1551 SIGILL = syscall.Signal(0x4)
1552 SIGINFO = syscall.Signal(0x1d)
1553 SIGINT = syscall.Signal(0x2)
1554 SIGIO = syscall.Signal(0x17)
1555 SIGIOT = syscall.Signal(0x6)
1556 SIGKILL = syscall.Signal(0x9)
1557 SIGPIPE = syscall.Signal(0xd)
1558 SIGPROF = syscall.Signal(0x1b)
1559 SIGPWR = syscall.Signal(0x20)
1560 SIGQUIT = syscall.Signal(0x3)
1561 SIGSEGV = syscall.Signal(0xb)
1562 SIGSTOP = syscall.Signal(0x11)
1563 SIGSYS = syscall.Signal(0xc)
1564 SIGTERM = syscall.Signal(0xf)
1565 SIGTRAP = syscall.Signal(0x5)
1566 SIGTSTP = syscall.Signal(0x12)
1567 SIGTTIN = syscall.Signal(0x15)
1568 SIGTTOU = syscall.Signal(0x16)
1569 SIGURG = syscall.Signal(0x10)
1570 SIGUSR1 = syscall.Signal(0x1e)
1571 SIGUSR2 = syscall.Signal(0x1f)
1572 SIGVTALRM = syscall.Signal(0x1a)
1573 SIGWINCH = syscall.Signal(0x1c)
1574 SIGXCPU = syscall.Signal(0x18)
1575 SIGXFSZ = syscall.Signal(0x19)
1576)
1577
1578// Error table
1579var errors = [...]string{
1580 1: "operation not permitted",
1581 2: "no such file or directory",
1582 3: "no such process",
1583 4: "interrupted system call",
1584 5: "input/output error",
1585 6: "device not configured",
1586 7: "argument list too long",
1587 8: "exec format error",
1588 9: "bad file descriptor",
1589 10: "no child processes",
1590 11: "resource deadlock avoided",
1591 12: "cannot allocate memory",
1592 13: "permission denied",
1593 14: "bad address",
1594 15: "block device required",
1595 16: "device busy",
1596 17: "file exists",
1597 18: "cross-device link",
1598 19: "operation not supported by device",
1599 20: "not a directory",
1600 21: "is a directory",
1601 22: "invalid argument",
1602 23: "too many open files in system",
1603 24: "too many open files",
1604 25: "inappropriate ioctl for device",
1605 26: "text file busy",
1606 27: "file too large",
1607 28: "no space left on device",
1608 29: "illegal seek",
1609 30: "read-only file system",
1610 31: "too many links",
1611 32: "broken pipe",
1612 33: "numerical argument out of domain",
1613 34: "result too large or too small",
1614 35: "resource temporarily unavailable",
1615 36: "operation now in progress",
1616 37: "operation already in progress",
1617 38: "socket operation on non-socket",
1618 39: "destination address required",
1619 40: "message too long",
1620 41: "protocol wrong type for socket",
1621 42: "protocol option not available",
1622 43: "protocol not supported",
1623 44: "socket type not supported",
1624 45: "operation not supported",
1625 46: "protocol family not supported",
1626 47: "address family not supported by protocol family",
1627 48: "address already in use",
1628 49: "can't assign requested address",
1629 50: "network is down",
1630 51: "network is unreachable",
1631 52: "network dropped connection on reset",
1632 53: "software caused connection abort",
1633 54: "connection reset by peer",
1634 55: "no buffer space available",
1635 56: "socket is already connected",
1636 57: "socket is not connected",
1637 58: "can't send after socket shutdown",
1638 59: "too many references: can't splice",
1639 60: "connection timed out",
1640 61: "connection refused",
1641 62: "too many levels of symbolic links",
1642 63: "file name too long",
1643 64: "host is down",
1644 65: "no route to host",
1645 66: "directory not empty",
1646 67: "too many processes",
1647 68: "too many users",
1648 69: "disc quota exceeded",
1649 70: "stale NFS file handle",
1650 71: "too many levels of remote in path",
1651 72: "RPC struct is bad",
1652 73: "RPC version wrong",
1653 74: "RPC prog. not avail",
1654 75: "program version wrong",
1655 76: "bad procedure for program",
1656 77: "no locks available",
1657 78: "function not implemented",
1658 79: "inappropriate file type or format",
1659 80: "authentication error",
1660 81: "need authenticator",
1661 82: "identifier removed",
1662 83: "no message of desired type",
1663 84: "value too large to be stored in data type",
1664 85: "illegal byte sequence",
1665 86: "not supported",
1666 87: "operation Canceled",
1667 88: "bad or Corrupt message",
1668 89: "no message available",
1669 90: "no STREAM resources",
1670 91: "not a STREAM",
1671 92: "STREAM ioctl timeout",
1672 93: "attribute not found",
1673 94: "multihop attempted",
1674 95: "link has been severed",
1675 96: "protocol error",
1676}
1677
1678// Signal table
1679var signals = [...]string{
1680 1: "hangup",
1681 2: "interrupt",
1682 3: "quit",
1683 4: "illegal instruction",
1684 5: "trace/BPT trap",
1685 6: "abort trap",
1686 7: "EMT trap",
1687 8: "floating point exception",
1688 9: "killed",
1689 10: "bus error",
1690 11: "segmentation fault",
1691 12: "bad system call",
1692 13: "broken pipe",
1693 14: "alarm clock",
1694 15: "terminated",
1695 16: "urgent I/O condition",
1696 17: "stopped (signal)",
1697 18: "stopped",
1698 19: "continued",
1699 20: "child exited",
1700 21: "stopped (tty input)",
1701 22: "stopped (tty output)",
1702 23: "I/O possible",
1703 24: "cputime limit exceeded",
1704 25: "filesize limit exceeded",
1705 26: "virtual timer expired",
1706 27: "profiling timer expired",
1707 28: "window size changes",
1708 29: "information request",
1709 30: "user defined signal 1",
1710 31: "user defined signal 2",
1711 32: "power fail/restart",
1712}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
deleted file mode 100644
index 4994437..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
+++ /dev/null
@@ -1,1702 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,netbsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x1c
16 AF_BLUETOOTH = 0x1f
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_HYLINK = 0xf
27 AF_IEEE80211 = 0x20
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x18
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x23
38 AF_MPLS = 0x21
39 AF_NATM = 0x1b
40 AF_NS = 0x6
41 AF_OROUTE = 0x11
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x22
45 AF_SNA = 0xb
46 AF_UNIX = 0x1
47 AF_UNSPEC = 0x0
48 ARPHRD_ARCNET = 0x7
49 ARPHRD_ETHER = 0x1
50 ARPHRD_FRELAY = 0xf
51 ARPHRD_IEEE1394 = 0x18
52 ARPHRD_IEEE802 = 0x6
53 ARPHRD_STRIP = 0x17
54 B0 = 0x0
55 B110 = 0x6e
56 B115200 = 0x1c200
57 B1200 = 0x4b0
58 B134 = 0x86
59 B14400 = 0x3840
60 B150 = 0x96
61 B1800 = 0x708
62 B19200 = 0x4b00
63 B200 = 0xc8
64 B230400 = 0x38400
65 B2400 = 0x960
66 B28800 = 0x7080
67 B300 = 0x12c
68 B38400 = 0x9600
69 B460800 = 0x70800
70 B4800 = 0x12c0
71 B50 = 0x32
72 B57600 = 0xe100
73 B600 = 0x258
74 B7200 = 0x1c20
75 B75 = 0x4b
76 B76800 = 0x12c00
77 B921600 = 0xe1000
78 B9600 = 0x2580
79 BIOCFEEDBACK = 0x8004427d
80 BIOCFLUSH = 0x20004268
81 BIOCGBLEN = 0x40044266
82 BIOCGDLT = 0x4004426a
83 BIOCGDLTLIST = 0xc0104277
84 BIOCGETIF = 0x4090426b
85 BIOCGFEEDBACK = 0x4004427c
86 BIOCGHDRCMPLT = 0x40044274
87 BIOCGRTIMEOUT = 0x4010427b
88 BIOCGSEESENT = 0x40044278
89 BIOCGSTATS = 0x4080426f
90 BIOCGSTATSOLD = 0x4008426f
91 BIOCIMMEDIATE = 0x80044270
92 BIOCPROMISC = 0x20004269
93 BIOCSBLEN = 0xc0044266
94 BIOCSDLT = 0x80044276
95 BIOCSETF = 0x80104267
96 BIOCSETIF = 0x8090426c
97 BIOCSFEEDBACK = 0x8004427d
98 BIOCSHDRCMPLT = 0x80044275
99 BIOCSRTIMEOUT = 0x8010427a
100 BIOCSSEESENT = 0x80044279
101 BIOCSTCPF = 0x80104272
102 BIOCSUDPF = 0x80104273
103 BIOCVERSION = 0x40044271
104 BPF_A = 0x10
105 BPF_ABS = 0x20
106 BPF_ADD = 0x0
107 BPF_ALIGNMENT = 0x8
108 BPF_ALIGNMENT32 = 0x4
109 BPF_ALU = 0x4
110 BPF_AND = 0x50
111 BPF_B = 0x10
112 BPF_DFLTBUFSIZE = 0x100000
113 BPF_DIV = 0x30
114 BPF_H = 0x8
115 BPF_IMM = 0x0
116 BPF_IND = 0x40
117 BPF_JA = 0x0
118 BPF_JEQ = 0x10
119 BPF_JGE = 0x30
120 BPF_JGT = 0x20
121 BPF_JMP = 0x5
122 BPF_JSET = 0x40
123 BPF_K = 0x0
124 BPF_LD = 0x0
125 BPF_LDX = 0x1
126 BPF_LEN = 0x80
127 BPF_LSH = 0x60
128 BPF_MAJOR_VERSION = 0x1
129 BPF_MAXBUFSIZE = 0x1000000
130 BPF_MAXINSNS = 0x200
131 BPF_MEM = 0x60
132 BPF_MEMWORDS = 0x10
133 BPF_MINBUFSIZE = 0x20
134 BPF_MINOR_VERSION = 0x1
135 BPF_MISC = 0x7
136 BPF_MSH = 0xa0
137 BPF_MUL = 0x20
138 BPF_NEG = 0x80
139 BPF_OR = 0x40
140 BPF_RELEASE = 0x30bb6
141 BPF_RET = 0x6
142 BPF_RSH = 0x70
143 BPF_ST = 0x2
144 BPF_STX = 0x3
145 BPF_SUB = 0x10
146 BPF_TAX = 0x0
147 BPF_TXA = 0x80
148 BPF_W = 0x0
149 BPF_X = 0x8
150 BRKINT = 0x2
151 CFLUSH = 0xf
152 CLOCAL = 0x8000
153 CLONE_CSIGNAL = 0xff
154 CLONE_FILES = 0x400
155 CLONE_FS = 0x200
156 CLONE_PID = 0x1000
157 CLONE_PTRACE = 0x2000
158 CLONE_SIGHAND = 0x800
159 CLONE_VFORK = 0x4000
160 CLONE_VM = 0x100
161 CREAD = 0x800
162 CS5 = 0x0
163 CS6 = 0x100
164 CS7 = 0x200
165 CS8 = 0x300
166 CSIZE = 0x300
167 CSTART = 0x11
168 CSTATUS = 0x14
169 CSTOP = 0x13
170 CSTOPB = 0x400
171 CSUSP = 0x1a
172 CTL_MAXNAME = 0xc
173 CTL_NET = 0x4
174 CTL_QUERY = -0x2
175 DIOCBSFLUSH = 0x20006478
176 DLT_A429 = 0xb8
177 DLT_A653_ICM = 0xb9
178 DLT_AIRONET_HEADER = 0x78
179 DLT_AOS = 0xde
180 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
181 DLT_ARCNET = 0x7
182 DLT_ARCNET_LINUX = 0x81
183 DLT_ATM_CLIP = 0x13
184 DLT_ATM_RFC1483 = 0xb
185 DLT_AURORA = 0x7e
186 DLT_AX25 = 0x3
187 DLT_AX25_KISS = 0xca
188 DLT_BACNET_MS_TP = 0xa5
189 DLT_BLUETOOTH_HCI_H4 = 0xbb
190 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
191 DLT_CAN20B = 0xbe
192 DLT_CAN_SOCKETCAN = 0xe3
193 DLT_CHAOS = 0x5
194 DLT_CISCO_IOS = 0x76
195 DLT_C_HDLC = 0x68
196 DLT_C_HDLC_WITH_DIR = 0xcd
197 DLT_DECT = 0xdd
198 DLT_DOCSIS = 0x8f
199 DLT_ECONET = 0x73
200 DLT_EN10MB = 0x1
201 DLT_EN3MB = 0x2
202 DLT_ENC = 0x6d
203 DLT_ERF = 0xc5
204 DLT_ERF_ETH = 0xaf
205 DLT_ERF_POS = 0xb0
206 DLT_FC_2 = 0xe0
207 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
208 DLT_FDDI = 0xa
209 DLT_FLEXRAY = 0xd2
210 DLT_FRELAY = 0x6b
211 DLT_FRELAY_WITH_DIR = 0xce
212 DLT_GCOM_SERIAL = 0xad
213 DLT_GCOM_T1E1 = 0xac
214 DLT_GPF_F = 0xab
215 DLT_GPF_T = 0xaa
216 DLT_GPRS_LLC = 0xa9
217 DLT_GSMTAP_ABIS = 0xda
218 DLT_GSMTAP_UM = 0xd9
219 DLT_HDLC = 0x10
220 DLT_HHDLC = 0x79
221 DLT_HIPPI = 0xf
222 DLT_IBM_SN = 0x92
223 DLT_IBM_SP = 0x91
224 DLT_IEEE802 = 0x6
225 DLT_IEEE802_11 = 0x69
226 DLT_IEEE802_11_RADIO = 0x7f
227 DLT_IEEE802_11_RADIO_AVS = 0xa3
228 DLT_IEEE802_15_4 = 0xc3
229 DLT_IEEE802_15_4_LINUX = 0xbf
230 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
231 DLT_IEEE802_16_MAC_CPS = 0xbc
232 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
233 DLT_IPMB = 0xc7
234 DLT_IPMB_LINUX = 0xd1
235 DLT_IPNET = 0xe2
236 DLT_IPV4 = 0xe4
237 DLT_IPV6 = 0xe5
238 DLT_IP_OVER_FC = 0x7a
239 DLT_JUNIPER_ATM1 = 0x89
240 DLT_JUNIPER_ATM2 = 0x87
241 DLT_JUNIPER_CHDLC = 0xb5
242 DLT_JUNIPER_ES = 0x84
243 DLT_JUNIPER_ETHER = 0xb2
244 DLT_JUNIPER_FRELAY = 0xb4
245 DLT_JUNIPER_GGSN = 0x85
246 DLT_JUNIPER_ISM = 0xc2
247 DLT_JUNIPER_MFR = 0x86
248 DLT_JUNIPER_MLFR = 0x83
249 DLT_JUNIPER_MLPPP = 0x82
250 DLT_JUNIPER_MONITOR = 0xa4
251 DLT_JUNIPER_PIC_PEER = 0xae
252 DLT_JUNIPER_PPP = 0xb3
253 DLT_JUNIPER_PPPOE = 0xa7
254 DLT_JUNIPER_PPPOE_ATM = 0xa8
255 DLT_JUNIPER_SERVICES = 0x88
256 DLT_JUNIPER_ST = 0xc8
257 DLT_JUNIPER_VP = 0xb7
258 DLT_LAPB_WITH_DIR = 0xcf
259 DLT_LAPD = 0xcb
260 DLT_LIN = 0xd4
261 DLT_LINUX_EVDEV = 0xd8
262 DLT_LINUX_IRDA = 0x90
263 DLT_LINUX_LAPD = 0xb1
264 DLT_LINUX_SLL = 0x71
265 DLT_LOOP = 0x6c
266 DLT_LTALK = 0x72
267 DLT_MFR = 0xb6
268 DLT_MOST = 0xd3
269 DLT_MPLS = 0xdb
270 DLT_MTP2 = 0x8c
271 DLT_MTP2_WITH_PHDR = 0x8b
272 DLT_MTP3 = 0x8d
273 DLT_NULL = 0x0
274 DLT_PCI_EXP = 0x7d
275 DLT_PFLOG = 0x75
276 DLT_PFSYNC = 0x12
277 DLT_PPI = 0xc0
278 DLT_PPP = 0x9
279 DLT_PPP_BSDOS = 0xe
280 DLT_PPP_ETHER = 0x33
281 DLT_PPP_PPPD = 0xa6
282 DLT_PPP_SERIAL = 0x32
283 DLT_PPP_WITH_DIR = 0xcc
284 DLT_PRISM_HEADER = 0x77
285 DLT_PRONET = 0x4
286 DLT_RAIF1 = 0xc6
287 DLT_RAW = 0xc
288 DLT_RAWAF_MASK = 0x2240000
289 DLT_RIO = 0x7c
290 DLT_SCCP = 0x8e
291 DLT_SITA = 0xc4
292 DLT_SLIP = 0x8
293 DLT_SLIP_BSDOS = 0xd
294 DLT_SUNATM = 0x7b
295 DLT_SYMANTEC_FIREWALL = 0x63
296 DLT_TZSP = 0x80
297 DLT_USB = 0xba
298 DLT_USB_LINUX = 0xbd
299 DLT_USB_LINUX_MMAPPED = 0xdc
300 DLT_WIHART = 0xdf
301 DLT_X2E_SERIAL = 0xd5
302 DLT_X2E_XORAYA = 0xd6
303 DT_BLK = 0x6
304 DT_CHR = 0x2
305 DT_DIR = 0x4
306 DT_FIFO = 0x1
307 DT_LNK = 0xa
308 DT_REG = 0x8
309 DT_SOCK = 0xc
310 DT_UNKNOWN = 0x0
311 DT_WHT = 0xe
312 ECHO = 0x8
313 ECHOCTL = 0x40
314 ECHOE = 0x2
315 ECHOK = 0x4
316 ECHOKE = 0x1
317 ECHONL = 0x10
318 ECHOPRT = 0x20
319 EMUL_LINUX = 0x1
320 EMUL_LINUX32 = 0x5
321 EMUL_MAXID = 0x6
322 ETHERCAP_JUMBO_MTU = 0x4
323 ETHERCAP_VLAN_HWTAGGING = 0x2
324 ETHERCAP_VLAN_MTU = 0x1
325 ETHERMIN = 0x2e
326 ETHERMTU = 0x5dc
327 ETHERMTU_JUMBO = 0x2328
328 ETHERTYPE_8023 = 0x4
329 ETHERTYPE_AARP = 0x80f3
330 ETHERTYPE_ACCTON = 0x8390
331 ETHERTYPE_AEONIC = 0x8036
332 ETHERTYPE_ALPHA = 0x814a
333 ETHERTYPE_AMBER = 0x6008
334 ETHERTYPE_AMOEBA = 0x8145
335 ETHERTYPE_APOLLO = 0x80f7
336 ETHERTYPE_APOLLODOMAIN = 0x8019
337 ETHERTYPE_APPLETALK = 0x809b
338 ETHERTYPE_APPLITEK = 0x80c7
339 ETHERTYPE_ARGONAUT = 0x803a
340 ETHERTYPE_ARP = 0x806
341 ETHERTYPE_AT = 0x809b
342 ETHERTYPE_ATALK = 0x809b
343 ETHERTYPE_ATOMIC = 0x86df
344 ETHERTYPE_ATT = 0x8069
345 ETHERTYPE_ATTSTANFORD = 0x8008
346 ETHERTYPE_AUTOPHON = 0x806a
347 ETHERTYPE_AXIS = 0x8856
348 ETHERTYPE_BCLOOP = 0x9003
349 ETHERTYPE_BOFL = 0x8102
350 ETHERTYPE_CABLETRON = 0x7034
351 ETHERTYPE_CHAOS = 0x804
352 ETHERTYPE_COMDESIGN = 0x806c
353 ETHERTYPE_COMPUGRAPHIC = 0x806d
354 ETHERTYPE_COUNTERPOINT = 0x8062
355 ETHERTYPE_CRONUS = 0x8004
356 ETHERTYPE_CRONUSVLN = 0x8003
357 ETHERTYPE_DCA = 0x1234
358 ETHERTYPE_DDE = 0x807b
359 ETHERTYPE_DEBNI = 0xaaaa
360 ETHERTYPE_DECAM = 0x8048
361 ETHERTYPE_DECCUST = 0x6006
362 ETHERTYPE_DECDIAG = 0x6005
363 ETHERTYPE_DECDNS = 0x803c
364 ETHERTYPE_DECDTS = 0x803e
365 ETHERTYPE_DECEXPER = 0x6000
366 ETHERTYPE_DECLAST = 0x8041
367 ETHERTYPE_DECLTM = 0x803f
368 ETHERTYPE_DECMUMPS = 0x6009
369 ETHERTYPE_DECNETBIOS = 0x8040
370 ETHERTYPE_DELTACON = 0x86de
371 ETHERTYPE_DIDDLE = 0x4321
372 ETHERTYPE_DLOG1 = 0x660
373 ETHERTYPE_DLOG2 = 0x661
374 ETHERTYPE_DN = 0x6003
375 ETHERTYPE_DOGFIGHT = 0x1989
376 ETHERTYPE_DSMD = 0x8039
377 ETHERTYPE_ECMA = 0x803
378 ETHERTYPE_ENCRYPT = 0x803d
379 ETHERTYPE_ES = 0x805d
380 ETHERTYPE_EXCELAN = 0x8010
381 ETHERTYPE_EXPERDATA = 0x8049
382 ETHERTYPE_FLIP = 0x8146
383 ETHERTYPE_FLOWCONTROL = 0x8808
384 ETHERTYPE_FRARP = 0x808
385 ETHERTYPE_GENDYN = 0x8068
386 ETHERTYPE_HAYES = 0x8130
387 ETHERTYPE_HIPPI_FP = 0x8180
388 ETHERTYPE_HITACHI = 0x8820
389 ETHERTYPE_HP = 0x8005
390 ETHERTYPE_IEEEPUP = 0xa00
391 ETHERTYPE_IEEEPUPAT = 0xa01
392 ETHERTYPE_IMLBL = 0x4c42
393 ETHERTYPE_IMLBLDIAG = 0x424c
394 ETHERTYPE_IP = 0x800
395 ETHERTYPE_IPAS = 0x876c
396 ETHERTYPE_IPV6 = 0x86dd
397 ETHERTYPE_IPX = 0x8137
398 ETHERTYPE_IPXNEW = 0x8037
399 ETHERTYPE_KALPANA = 0x8582
400 ETHERTYPE_LANBRIDGE = 0x8038
401 ETHERTYPE_LANPROBE = 0x8888
402 ETHERTYPE_LAT = 0x6004
403 ETHERTYPE_LBACK = 0x9000
404 ETHERTYPE_LITTLE = 0x8060
405 ETHERTYPE_LOGICRAFT = 0x8148
406 ETHERTYPE_LOOPBACK = 0x9000
407 ETHERTYPE_MATRA = 0x807a
408 ETHERTYPE_MAX = 0xffff
409 ETHERTYPE_MERIT = 0x807c
410 ETHERTYPE_MICP = 0x873a
411 ETHERTYPE_MOPDL = 0x6001
412 ETHERTYPE_MOPRC = 0x6002
413 ETHERTYPE_MOTOROLA = 0x818d
414 ETHERTYPE_MPLS = 0x8847
415 ETHERTYPE_MPLS_MCAST = 0x8848
416 ETHERTYPE_MUMPS = 0x813f
417 ETHERTYPE_NBPCC = 0x3c04
418 ETHERTYPE_NBPCLAIM = 0x3c09
419 ETHERTYPE_NBPCLREQ = 0x3c05
420 ETHERTYPE_NBPCLRSP = 0x3c06
421 ETHERTYPE_NBPCREQ = 0x3c02
422 ETHERTYPE_NBPCRSP = 0x3c03
423 ETHERTYPE_NBPDG = 0x3c07
424 ETHERTYPE_NBPDGB = 0x3c08
425 ETHERTYPE_NBPDLTE = 0x3c0a
426 ETHERTYPE_NBPRAR = 0x3c0c
427 ETHERTYPE_NBPRAS = 0x3c0b
428 ETHERTYPE_NBPRST = 0x3c0d
429 ETHERTYPE_NBPSCD = 0x3c01
430 ETHERTYPE_NBPVCD = 0x3c00
431 ETHERTYPE_NBS = 0x802
432 ETHERTYPE_NCD = 0x8149
433 ETHERTYPE_NESTAR = 0x8006
434 ETHERTYPE_NETBEUI = 0x8191
435 ETHERTYPE_NOVELL = 0x8138
436 ETHERTYPE_NS = 0x600
437 ETHERTYPE_NSAT = 0x601
438 ETHERTYPE_NSCOMPAT = 0x807
439 ETHERTYPE_NTRAILER = 0x10
440 ETHERTYPE_OS9 = 0x7007
441 ETHERTYPE_OS9NET = 0x7009
442 ETHERTYPE_PACER = 0x80c6
443 ETHERTYPE_PAE = 0x888e
444 ETHERTYPE_PCS = 0x4242
445 ETHERTYPE_PLANNING = 0x8044
446 ETHERTYPE_PPP = 0x880b
447 ETHERTYPE_PPPOE = 0x8864
448 ETHERTYPE_PPPOEDISC = 0x8863
449 ETHERTYPE_PRIMENTS = 0x7031
450 ETHERTYPE_PUP = 0x200
451 ETHERTYPE_PUPAT = 0x200
452 ETHERTYPE_RACAL = 0x7030
453 ETHERTYPE_RATIONAL = 0x8150
454 ETHERTYPE_RAWFR = 0x6559
455 ETHERTYPE_RCL = 0x1995
456 ETHERTYPE_RDP = 0x8739
457 ETHERTYPE_RETIX = 0x80f2
458 ETHERTYPE_REVARP = 0x8035
459 ETHERTYPE_SCA = 0x6007
460 ETHERTYPE_SECTRA = 0x86db
461 ETHERTYPE_SECUREDATA = 0x876d
462 ETHERTYPE_SGITW = 0x817e
463 ETHERTYPE_SG_BOUNCE = 0x8016
464 ETHERTYPE_SG_DIAG = 0x8013
465 ETHERTYPE_SG_NETGAMES = 0x8014
466 ETHERTYPE_SG_RESV = 0x8015
467 ETHERTYPE_SIMNET = 0x5208
468 ETHERTYPE_SLOWPROTOCOLS = 0x8809
469 ETHERTYPE_SNA = 0x80d5
470 ETHERTYPE_SNMP = 0x814c
471 ETHERTYPE_SONIX = 0xfaf5
472 ETHERTYPE_SPIDER = 0x809f
473 ETHERTYPE_SPRITE = 0x500
474 ETHERTYPE_STP = 0x8181
475 ETHERTYPE_TALARIS = 0x812b
476 ETHERTYPE_TALARISMC = 0x852b
477 ETHERTYPE_TCPCOMP = 0x876b
478 ETHERTYPE_TCPSM = 0x9002
479 ETHERTYPE_TEC = 0x814f
480 ETHERTYPE_TIGAN = 0x802f
481 ETHERTYPE_TRAIL = 0x1000
482 ETHERTYPE_TRANSETHER = 0x6558
483 ETHERTYPE_TYMSHARE = 0x802e
484 ETHERTYPE_UBBST = 0x7005
485 ETHERTYPE_UBDEBUG = 0x900
486 ETHERTYPE_UBDIAGLOOP = 0x7002
487 ETHERTYPE_UBDL = 0x7000
488 ETHERTYPE_UBNIU = 0x7001
489 ETHERTYPE_UBNMC = 0x7003
490 ETHERTYPE_VALID = 0x1600
491 ETHERTYPE_VARIAN = 0x80dd
492 ETHERTYPE_VAXELN = 0x803b
493 ETHERTYPE_VEECO = 0x8067
494 ETHERTYPE_VEXP = 0x805b
495 ETHERTYPE_VGLAB = 0x8131
496 ETHERTYPE_VINES = 0xbad
497 ETHERTYPE_VINESECHO = 0xbaf
498 ETHERTYPE_VINESLOOP = 0xbae
499 ETHERTYPE_VITAL = 0xff00
500 ETHERTYPE_VLAN = 0x8100
501 ETHERTYPE_VLTLMAN = 0x8080
502 ETHERTYPE_VPROD = 0x805c
503 ETHERTYPE_VURESERVED = 0x8147
504 ETHERTYPE_WATERLOO = 0x8130
505 ETHERTYPE_WELLFLEET = 0x8103
506 ETHERTYPE_X25 = 0x805
507 ETHERTYPE_X75 = 0x801
508 ETHERTYPE_XNSSM = 0x9001
509 ETHERTYPE_XTP = 0x817d
510 ETHER_ADDR_LEN = 0x6
511 ETHER_CRC_LEN = 0x4
512 ETHER_CRC_POLY_BE = 0x4c11db6
513 ETHER_CRC_POLY_LE = 0xedb88320
514 ETHER_HDR_LEN = 0xe
515 ETHER_MAX_LEN = 0x5ee
516 ETHER_MAX_LEN_JUMBO = 0x233a
517 ETHER_MIN_LEN = 0x40
518 ETHER_PPPOE_ENCAP_LEN = 0x8
519 ETHER_TYPE_LEN = 0x2
520 ETHER_VLAN_ENCAP_LEN = 0x4
521 EVFILT_AIO = 0x2
522 EVFILT_PROC = 0x4
523 EVFILT_READ = 0x0
524 EVFILT_SIGNAL = 0x5
525 EVFILT_SYSCOUNT = 0x7
526 EVFILT_TIMER = 0x6
527 EVFILT_VNODE = 0x3
528 EVFILT_WRITE = 0x1
529 EV_ADD = 0x1
530 EV_CLEAR = 0x20
531 EV_DELETE = 0x2
532 EV_DISABLE = 0x8
533 EV_ENABLE = 0x4
534 EV_EOF = 0x8000
535 EV_ERROR = 0x4000
536 EV_FLAG1 = 0x2000
537 EV_ONESHOT = 0x10
538 EV_SYSFLAGS = 0xf000
539 EXTA = 0x4b00
540 EXTB = 0x9600
541 EXTPROC = 0x800
542 FD_CLOEXEC = 0x1
543 FD_SETSIZE = 0x100
544 FLUSHO = 0x800000
545 F_CLOSEM = 0xa
546 F_DUPFD = 0x0
547 F_DUPFD_CLOEXEC = 0xc
548 F_FSCTL = -0x80000000
549 F_FSDIRMASK = 0x70000000
550 F_FSIN = 0x10000000
551 F_FSINOUT = 0x30000000
552 F_FSOUT = 0x20000000
553 F_FSPRIV = 0x8000
554 F_FSVOID = 0x40000000
555 F_GETFD = 0x1
556 F_GETFL = 0x3
557 F_GETLK = 0x7
558 F_GETNOSIGPIPE = 0xd
559 F_GETOWN = 0x5
560 F_MAXFD = 0xb
561 F_OK = 0x0
562 F_PARAM_MASK = 0xfff
563 F_PARAM_MAX = 0xfff
564 F_RDLCK = 0x1
565 F_SETFD = 0x2
566 F_SETFL = 0x4
567 F_SETLK = 0x8
568 F_SETLKW = 0x9
569 F_SETNOSIGPIPE = 0xe
570 F_SETOWN = 0x6
571 F_UNLCK = 0x2
572 F_WRLCK = 0x3
573 HUPCL = 0x4000
574 ICANON = 0x100
575 ICMP6_FILTER = 0x12
576 ICRNL = 0x100
577 IEXTEN = 0x400
578 IFAN_ARRIVAL = 0x0
579 IFAN_DEPARTURE = 0x1
580 IFA_ROUTE = 0x1
581 IFF_ALLMULTI = 0x200
582 IFF_BROADCAST = 0x2
583 IFF_CANTCHANGE = 0x8f52
584 IFF_DEBUG = 0x4
585 IFF_LINK0 = 0x1000
586 IFF_LINK1 = 0x2000
587 IFF_LINK2 = 0x4000
588 IFF_LOOPBACK = 0x8
589 IFF_MULTICAST = 0x8000
590 IFF_NOARP = 0x80
591 IFF_NOTRAILERS = 0x20
592 IFF_OACTIVE = 0x400
593 IFF_POINTOPOINT = 0x10
594 IFF_PROMISC = 0x100
595 IFF_RUNNING = 0x40
596 IFF_SIMPLEX = 0x800
597 IFF_UP = 0x1
598 IFNAMSIZ = 0x10
599 IFT_1822 = 0x2
600 IFT_A12MPPSWITCH = 0x82
601 IFT_AAL2 = 0xbb
602 IFT_AAL5 = 0x31
603 IFT_ADSL = 0x5e
604 IFT_AFLANE8023 = 0x3b
605 IFT_AFLANE8025 = 0x3c
606 IFT_ARAP = 0x58
607 IFT_ARCNET = 0x23
608 IFT_ARCNETPLUS = 0x24
609 IFT_ASYNC = 0x54
610 IFT_ATM = 0x25
611 IFT_ATMDXI = 0x69
612 IFT_ATMFUNI = 0x6a
613 IFT_ATMIMA = 0x6b
614 IFT_ATMLOGICAL = 0x50
615 IFT_ATMRADIO = 0xbd
616 IFT_ATMSUBINTERFACE = 0x86
617 IFT_ATMVCIENDPT = 0xc2
618 IFT_ATMVIRTUAL = 0x95
619 IFT_BGPPOLICYACCOUNTING = 0xa2
620 IFT_BRIDGE = 0xd1
621 IFT_BSC = 0x53
622 IFT_CARP = 0xf8
623 IFT_CCTEMUL = 0x3d
624 IFT_CEPT = 0x13
625 IFT_CES = 0x85
626 IFT_CHANNEL = 0x46
627 IFT_CNR = 0x55
628 IFT_COFFEE = 0x84
629 IFT_COMPOSITELINK = 0x9b
630 IFT_DCN = 0x8d
631 IFT_DIGITALPOWERLINE = 0x8a
632 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
633 IFT_DLSW = 0x4a
634 IFT_DOCSCABLEDOWNSTREAM = 0x80
635 IFT_DOCSCABLEMACLAYER = 0x7f
636 IFT_DOCSCABLEUPSTREAM = 0x81
637 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
638 IFT_DS0 = 0x51
639 IFT_DS0BUNDLE = 0x52
640 IFT_DS1FDL = 0xaa
641 IFT_DS3 = 0x1e
642 IFT_DTM = 0x8c
643 IFT_DVBASILN = 0xac
644 IFT_DVBASIOUT = 0xad
645 IFT_DVBRCCDOWNSTREAM = 0x93
646 IFT_DVBRCCMACLAYER = 0x92
647 IFT_DVBRCCUPSTREAM = 0x94
648 IFT_ECONET = 0xce
649 IFT_EON = 0x19
650 IFT_EPLRS = 0x57
651 IFT_ESCON = 0x49
652 IFT_ETHER = 0x6
653 IFT_FAITH = 0xf2
654 IFT_FAST = 0x7d
655 IFT_FASTETHER = 0x3e
656 IFT_FASTETHERFX = 0x45
657 IFT_FDDI = 0xf
658 IFT_FIBRECHANNEL = 0x38
659 IFT_FRAMERELAYINTERCONNECT = 0x3a
660 IFT_FRAMERELAYMPI = 0x5c
661 IFT_FRDLCIENDPT = 0xc1
662 IFT_FRELAY = 0x20
663 IFT_FRELAYDCE = 0x2c
664 IFT_FRF16MFRBUNDLE = 0xa3
665 IFT_FRFORWARD = 0x9e
666 IFT_G703AT2MB = 0x43
667 IFT_G703AT64K = 0x42
668 IFT_GIF = 0xf0
669 IFT_GIGABITETHERNET = 0x75
670 IFT_GR303IDT = 0xb2
671 IFT_GR303RDT = 0xb1
672 IFT_H323GATEKEEPER = 0xa4
673 IFT_H323PROXY = 0xa5
674 IFT_HDH1822 = 0x3
675 IFT_HDLC = 0x76
676 IFT_HDSL2 = 0xa8
677 IFT_HIPERLAN2 = 0xb7
678 IFT_HIPPI = 0x2f
679 IFT_HIPPIINTERFACE = 0x39
680 IFT_HOSTPAD = 0x5a
681 IFT_HSSI = 0x2e
682 IFT_HY = 0xe
683 IFT_IBM370PARCHAN = 0x48
684 IFT_IDSL = 0x9a
685 IFT_IEEE1394 = 0x90
686 IFT_IEEE80211 = 0x47
687 IFT_IEEE80212 = 0x37
688 IFT_IEEE8023ADLAG = 0xa1
689 IFT_IFGSN = 0x91
690 IFT_IMT = 0xbe
691 IFT_INFINIBAND = 0xc7
692 IFT_INTERLEAVE = 0x7c
693 IFT_IP = 0x7e
694 IFT_IPFORWARD = 0x8e
695 IFT_IPOVERATM = 0x72
696 IFT_IPOVERCDLC = 0x6d
697 IFT_IPOVERCLAW = 0x6e
698 IFT_IPSWITCH = 0x4e
699 IFT_ISDN = 0x3f
700 IFT_ISDNBASIC = 0x14
701 IFT_ISDNPRIMARY = 0x15
702 IFT_ISDNS = 0x4b
703 IFT_ISDNU = 0x4c
704 IFT_ISO88022LLC = 0x29
705 IFT_ISO88023 = 0x7
706 IFT_ISO88024 = 0x8
707 IFT_ISO88025 = 0x9
708 IFT_ISO88025CRFPINT = 0x62
709 IFT_ISO88025DTR = 0x56
710 IFT_ISO88025FIBER = 0x73
711 IFT_ISO88026 = 0xa
712 IFT_ISUP = 0xb3
713 IFT_L2VLAN = 0x87
714 IFT_L3IPVLAN = 0x88
715 IFT_L3IPXVLAN = 0x89
716 IFT_LAPB = 0x10
717 IFT_LAPD = 0x4d
718 IFT_LAPF = 0x77
719 IFT_LINEGROUP = 0xd2
720 IFT_LOCALTALK = 0x2a
721 IFT_LOOP = 0x18
722 IFT_MEDIAMAILOVERIP = 0x8b
723 IFT_MFSIGLINK = 0xa7
724 IFT_MIOX25 = 0x26
725 IFT_MODEM = 0x30
726 IFT_MPC = 0x71
727 IFT_MPLS = 0xa6
728 IFT_MPLSTUNNEL = 0x96
729 IFT_MSDSL = 0x8f
730 IFT_MVL = 0xbf
731 IFT_MYRINET = 0x63
732 IFT_NFAS = 0xaf
733 IFT_NSIP = 0x1b
734 IFT_OPTICALCHANNEL = 0xc3
735 IFT_OPTICALTRANSPORT = 0xc4
736 IFT_OTHER = 0x1
737 IFT_P10 = 0xc
738 IFT_P80 = 0xd
739 IFT_PARA = 0x22
740 IFT_PFLOG = 0xf5
741 IFT_PFSYNC = 0xf6
742 IFT_PLC = 0xae
743 IFT_PON155 = 0xcf
744 IFT_PON622 = 0xd0
745 IFT_POS = 0xab
746 IFT_PPP = 0x17
747 IFT_PPPMULTILINKBUNDLE = 0x6c
748 IFT_PROPATM = 0xc5
749 IFT_PROPBWAP2MP = 0xb8
750 IFT_PROPCNLS = 0x59
751 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
752 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
753 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
754 IFT_PROPMUX = 0x36
755 IFT_PROPVIRTUAL = 0x35
756 IFT_PROPWIRELESSP2P = 0x9d
757 IFT_PTPSERIAL = 0x16
758 IFT_PVC = 0xf1
759 IFT_Q2931 = 0xc9
760 IFT_QLLC = 0x44
761 IFT_RADIOMAC = 0xbc
762 IFT_RADSL = 0x5f
763 IFT_REACHDSL = 0xc0
764 IFT_RFC1483 = 0x9f
765 IFT_RS232 = 0x21
766 IFT_RSRB = 0x4f
767 IFT_SDLC = 0x11
768 IFT_SDSL = 0x60
769 IFT_SHDSL = 0xa9
770 IFT_SIP = 0x1f
771 IFT_SIPSIG = 0xcc
772 IFT_SIPTG = 0xcb
773 IFT_SLIP = 0x1c
774 IFT_SMDSDXI = 0x2b
775 IFT_SMDSICIP = 0x34
776 IFT_SONET = 0x27
777 IFT_SONETOVERHEADCHANNEL = 0xb9
778 IFT_SONETPATH = 0x32
779 IFT_SONETVT = 0x33
780 IFT_SRP = 0x97
781 IFT_SS7SIGLINK = 0x9c
782 IFT_STACKTOSTACK = 0x6f
783 IFT_STARLAN = 0xb
784 IFT_STF = 0xd7
785 IFT_T1 = 0x12
786 IFT_TDLC = 0x74
787 IFT_TELINK = 0xc8
788 IFT_TERMPAD = 0x5b
789 IFT_TR008 = 0xb0
790 IFT_TRANSPHDLC = 0x7b
791 IFT_TUNNEL = 0x83
792 IFT_ULTRA = 0x1d
793 IFT_USB = 0xa0
794 IFT_V11 = 0x40
795 IFT_V35 = 0x2d
796 IFT_V36 = 0x41
797 IFT_V37 = 0x78
798 IFT_VDSL = 0x61
799 IFT_VIRTUALIPADDRESS = 0x70
800 IFT_VIRTUALTG = 0xca
801 IFT_VOICEDID = 0xd5
802 IFT_VOICEEM = 0x64
803 IFT_VOICEEMFGD = 0xd3
804 IFT_VOICEENCAP = 0x67
805 IFT_VOICEFGDEANA = 0xd4
806 IFT_VOICEFXO = 0x65
807 IFT_VOICEFXS = 0x66
808 IFT_VOICEOVERATM = 0x98
809 IFT_VOICEOVERCABLE = 0xc6
810 IFT_VOICEOVERFRAMERELAY = 0x99
811 IFT_VOICEOVERIP = 0x68
812 IFT_X213 = 0x5d
813 IFT_X25 = 0x5
814 IFT_X25DDN = 0x4
815 IFT_X25HUNTGROUP = 0x7a
816 IFT_X25MLP = 0x79
817 IFT_X25PLE = 0x28
818 IFT_XETHER = 0x1a
819 IGNBRK = 0x1
820 IGNCR = 0x80
821 IGNPAR = 0x4
822 IMAXBEL = 0x2000
823 INLCR = 0x40
824 INPCK = 0x10
825 IN_CLASSA_HOST = 0xffffff
826 IN_CLASSA_MAX = 0x80
827 IN_CLASSA_NET = 0xff000000
828 IN_CLASSA_NSHIFT = 0x18
829 IN_CLASSB_HOST = 0xffff
830 IN_CLASSB_MAX = 0x10000
831 IN_CLASSB_NET = 0xffff0000
832 IN_CLASSB_NSHIFT = 0x10
833 IN_CLASSC_HOST = 0xff
834 IN_CLASSC_NET = 0xffffff00
835 IN_CLASSC_NSHIFT = 0x8
836 IN_CLASSD_HOST = 0xfffffff
837 IN_CLASSD_NET = 0xf0000000
838 IN_CLASSD_NSHIFT = 0x1c
839 IN_LOOPBACKNET = 0x7f
840 IPPROTO_AH = 0x33
841 IPPROTO_CARP = 0x70
842 IPPROTO_DONE = 0x101
843 IPPROTO_DSTOPTS = 0x3c
844 IPPROTO_EGP = 0x8
845 IPPROTO_ENCAP = 0x62
846 IPPROTO_EON = 0x50
847 IPPROTO_ESP = 0x32
848 IPPROTO_ETHERIP = 0x61
849 IPPROTO_FRAGMENT = 0x2c
850 IPPROTO_GGP = 0x3
851 IPPROTO_GRE = 0x2f
852 IPPROTO_HOPOPTS = 0x0
853 IPPROTO_ICMP = 0x1
854 IPPROTO_ICMPV6 = 0x3a
855 IPPROTO_IDP = 0x16
856 IPPROTO_IGMP = 0x2
857 IPPROTO_IP = 0x0
858 IPPROTO_IPCOMP = 0x6c
859 IPPROTO_IPIP = 0x4
860 IPPROTO_IPV4 = 0x4
861 IPPROTO_IPV6 = 0x29
862 IPPROTO_IPV6_ICMP = 0x3a
863 IPPROTO_MAX = 0x100
864 IPPROTO_MAXID = 0x34
865 IPPROTO_MOBILE = 0x37
866 IPPROTO_NONE = 0x3b
867 IPPROTO_PFSYNC = 0xf0
868 IPPROTO_PIM = 0x67
869 IPPROTO_PUP = 0xc
870 IPPROTO_RAW = 0xff
871 IPPROTO_ROUTING = 0x2b
872 IPPROTO_RSVP = 0x2e
873 IPPROTO_TCP = 0x6
874 IPPROTO_TP = 0x1d
875 IPPROTO_UDP = 0x11
876 IPPROTO_VRRP = 0x70
877 IPV6_CHECKSUM = 0x1a
878 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
879 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
880 IPV6_DEFHLIM = 0x40
881 IPV6_DONTFRAG = 0x3e
882 IPV6_DSTOPTS = 0x32
883 IPV6_FAITH = 0x1d
884 IPV6_FLOWINFO_MASK = 0xffffff0f
885 IPV6_FLOWLABEL_MASK = 0xffff0f00
886 IPV6_FRAGTTL = 0x78
887 IPV6_HLIMDEC = 0x1
888 IPV6_HOPLIMIT = 0x2f
889 IPV6_HOPOPTS = 0x31
890 IPV6_IPSEC_POLICY = 0x1c
891 IPV6_JOIN_GROUP = 0xc
892 IPV6_LEAVE_GROUP = 0xd
893 IPV6_MAXHLIM = 0xff
894 IPV6_MAXPACKET = 0xffff
895 IPV6_MMTU = 0x500
896 IPV6_MULTICAST_HOPS = 0xa
897 IPV6_MULTICAST_IF = 0x9
898 IPV6_MULTICAST_LOOP = 0xb
899 IPV6_NEXTHOP = 0x30
900 IPV6_PATHMTU = 0x2c
901 IPV6_PKTINFO = 0x2e
902 IPV6_PORTRANGE = 0xe
903 IPV6_PORTRANGE_DEFAULT = 0x0
904 IPV6_PORTRANGE_HIGH = 0x1
905 IPV6_PORTRANGE_LOW = 0x2
906 IPV6_RECVDSTOPTS = 0x28
907 IPV6_RECVHOPLIMIT = 0x25
908 IPV6_RECVHOPOPTS = 0x27
909 IPV6_RECVPATHMTU = 0x2b
910 IPV6_RECVPKTINFO = 0x24
911 IPV6_RECVRTHDR = 0x26
912 IPV6_RECVTCLASS = 0x39
913 IPV6_RTHDR = 0x33
914 IPV6_RTHDRDSTOPTS = 0x23
915 IPV6_RTHDR_LOOSE = 0x0
916 IPV6_RTHDR_STRICT = 0x1
917 IPV6_RTHDR_TYPE_0 = 0x0
918 IPV6_SOCKOPT_RESERVED1 = 0x3
919 IPV6_TCLASS = 0x3d
920 IPV6_UNICAST_HOPS = 0x4
921 IPV6_USE_MIN_MTU = 0x2a
922 IPV6_V6ONLY = 0x1b
923 IPV6_VERSION = 0x60
924 IPV6_VERSION_MASK = 0xf0
925 IP_ADD_MEMBERSHIP = 0xc
926 IP_DEFAULT_MULTICAST_LOOP = 0x1
927 IP_DEFAULT_MULTICAST_TTL = 0x1
928 IP_DF = 0x4000
929 IP_DROP_MEMBERSHIP = 0xd
930 IP_EF = 0x8000
931 IP_ERRORMTU = 0x15
932 IP_HDRINCL = 0x2
933 IP_IPSEC_POLICY = 0x16
934 IP_MAXPACKET = 0xffff
935 IP_MAX_MEMBERSHIPS = 0x14
936 IP_MF = 0x2000
937 IP_MINFRAGSIZE = 0x45
938 IP_MINTTL = 0x18
939 IP_MSS = 0x240
940 IP_MULTICAST_IF = 0x9
941 IP_MULTICAST_LOOP = 0xb
942 IP_MULTICAST_TTL = 0xa
943 IP_OFFMASK = 0x1fff
944 IP_OPTIONS = 0x1
945 IP_PORTRANGE = 0x13
946 IP_PORTRANGE_DEFAULT = 0x0
947 IP_PORTRANGE_HIGH = 0x1
948 IP_PORTRANGE_LOW = 0x2
949 IP_RECVDSTADDR = 0x7
950 IP_RECVIF = 0x14
951 IP_RECVOPTS = 0x5
952 IP_RECVRETOPTS = 0x6
953 IP_RECVTTL = 0x17
954 IP_RETOPTS = 0x8
955 IP_RF = 0x8000
956 IP_TOS = 0x3
957 IP_TTL = 0x4
958 ISIG = 0x80
959 ISTRIP = 0x20
960 IXANY = 0x800
961 IXOFF = 0x400
962 IXON = 0x200
963 LOCK_EX = 0x2
964 LOCK_NB = 0x4
965 LOCK_SH = 0x1
966 LOCK_UN = 0x8
967 MADV_DONTNEED = 0x4
968 MADV_FREE = 0x6
969 MADV_NORMAL = 0x0
970 MADV_RANDOM = 0x1
971 MADV_SEQUENTIAL = 0x2
972 MADV_SPACEAVAIL = 0x5
973 MADV_WILLNEED = 0x3
974 MAP_ALIGNMENT_16MB = 0x18000000
975 MAP_ALIGNMENT_1TB = 0x28000000
976 MAP_ALIGNMENT_256TB = 0x30000000
977 MAP_ALIGNMENT_4GB = 0x20000000
978 MAP_ALIGNMENT_64KB = 0x10000000
979 MAP_ALIGNMENT_64PB = 0x38000000
980 MAP_ALIGNMENT_MASK = -0x1000000
981 MAP_ALIGNMENT_SHIFT = 0x18
982 MAP_ANON = 0x1000
983 MAP_FILE = 0x0
984 MAP_FIXED = 0x10
985 MAP_HASSEMAPHORE = 0x200
986 MAP_INHERIT = 0x80
987 MAP_INHERIT_COPY = 0x1
988 MAP_INHERIT_DEFAULT = 0x1
989 MAP_INHERIT_DONATE_COPY = 0x3
990 MAP_INHERIT_NONE = 0x2
991 MAP_INHERIT_SHARE = 0x0
992 MAP_NORESERVE = 0x40
993 MAP_PRIVATE = 0x2
994 MAP_RENAME = 0x20
995 MAP_SHARED = 0x1
996 MAP_STACK = 0x2000
997 MAP_TRYFIXED = 0x400
998 MAP_WIRED = 0x800
999 MCL_CURRENT = 0x1
1000 MCL_FUTURE = 0x2
1001 MSG_BCAST = 0x100
1002 MSG_CMSG_CLOEXEC = 0x800
1003 MSG_CONTROLMBUF = 0x2000000
1004 MSG_CTRUNC = 0x20
1005 MSG_DONTROUTE = 0x4
1006 MSG_DONTWAIT = 0x80
1007 MSG_EOR = 0x8
1008 MSG_IOVUSRSPACE = 0x4000000
1009 MSG_LENUSRSPACE = 0x8000000
1010 MSG_MCAST = 0x200
1011 MSG_NAMEMBUF = 0x1000000
1012 MSG_NBIO = 0x1000
1013 MSG_NOSIGNAL = 0x400
1014 MSG_OOB = 0x1
1015 MSG_PEEK = 0x2
1016 MSG_TRUNC = 0x10
1017 MSG_USERFLAGS = 0xffffff
1018 MSG_WAITALL = 0x40
1019 MS_ASYNC = 0x1
1020 MS_INVALIDATE = 0x2
1021 MS_SYNC = 0x4
1022 NAME_MAX = 0x1ff
1023 NET_RT_DUMP = 0x1
1024 NET_RT_FLAGS = 0x2
1025 NET_RT_IFLIST = 0x5
1026 NET_RT_MAXID = 0x6
1027 NET_RT_OIFLIST = 0x4
1028 NET_RT_OOIFLIST = 0x3
1029 NOFLSH = 0x80000000
1030 NOTE_ATTRIB = 0x8
1031 NOTE_CHILD = 0x4
1032 NOTE_DELETE = 0x1
1033 NOTE_EXEC = 0x20000000
1034 NOTE_EXIT = 0x80000000
1035 NOTE_EXTEND = 0x4
1036 NOTE_FORK = 0x40000000
1037 NOTE_LINK = 0x10
1038 NOTE_LOWAT = 0x1
1039 NOTE_PCTRLMASK = 0xf0000000
1040 NOTE_PDATAMASK = 0xfffff
1041 NOTE_RENAME = 0x20
1042 NOTE_REVOKE = 0x40
1043 NOTE_TRACK = 0x1
1044 NOTE_TRACKERR = 0x2
1045 NOTE_WRITE = 0x2
1046 OCRNL = 0x10
1047 OFIOGETBMAP = 0xc004667a
1048 ONLCR = 0x2
1049 ONLRET = 0x40
1050 ONOCR = 0x20
1051 ONOEOT = 0x8
1052 OPOST = 0x1
1053 O_ACCMODE = 0x3
1054 O_ALT_IO = 0x40000
1055 O_APPEND = 0x8
1056 O_ASYNC = 0x40
1057 O_CLOEXEC = 0x400000
1058 O_CREAT = 0x200
1059 O_DIRECT = 0x80000
1060 O_DIRECTORY = 0x200000
1061 O_DSYNC = 0x10000
1062 O_EXCL = 0x800
1063 O_EXLOCK = 0x20
1064 O_FSYNC = 0x80
1065 O_NDELAY = 0x4
1066 O_NOCTTY = 0x8000
1067 O_NOFOLLOW = 0x100
1068 O_NONBLOCK = 0x4
1069 O_NOSIGPIPE = 0x1000000
1070 O_RDONLY = 0x0
1071 O_RDWR = 0x2
1072 O_RSYNC = 0x20000
1073 O_SHLOCK = 0x10
1074 O_SYNC = 0x80
1075 O_TRUNC = 0x400
1076 O_WRONLY = 0x1
1077 PARENB = 0x1000
1078 PARMRK = 0x8
1079 PARODD = 0x2000
1080 PENDIN = 0x20000000
1081 PRIO_PGRP = 0x1
1082 PRIO_PROCESS = 0x0
1083 PRIO_USER = 0x2
1084 PRI_IOFLUSH = 0x7c
1085 PROT_EXEC = 0x4
1086 PROT_NONE = 0x0
1087 PROT_READ = 0x1
1088 PROT_WRITE = 0x2
1089 RLIMIT_AS = 0xa
1090 RLIMIT_CORE = 0x4
1091 RLIMIT_CPU = 0x0
1092 RLIMIT_DATA = 0x2
1093 RLIMIT_FSIZE = 0x1
1094 RLIMIT_NOFILE = 0x8
1095 RLIMIT_STACK = 0x3
1096 RLIM_INFINITY = 0x7fffffffffffffff
1097 RTAX_AUTHOR = 0x6
1098 RTAX_BRD = 0x7
1099 RTAX_DST = 0x0
1100 RTAX_GATEWAY = 0x1
1101 RTAX_GENMASK = 0x3
1102 RTAX_IFA = 0x5
1103 RTAX_IFP = 0x4
1104 RTAX_MAX = 0x9
1105 RTAX_NETMASK = 0x2
1106 RTAX_TAG = 0x8
1107 RTA_AUTHOR = 0x40
1108 RTA_BRD = 0x80
1109 RTA_DST = 0x1
1110 RTA_GATEWAY = 0x2
1111 RTA_GENMASK = 0x8
1112 RTA_IFA = 0x20
1113 RTA_IFP = 0x10
1114 RTA_NETMASK = 0x4
1115 RTA_TAG = 0x100
1116 RTF_ANNOUNCE = 0x20000
1117 RTF_BLACKHOLE = 0x1000
1118 RTF_CLONED = 0x2000
1119 RTF_CLONING = 0x100
1120 RTF_DONE = 0x40
1121 RTF_DYNAMIC = 0x10
1122 RTF_GATEWAY = 0x2
1123 RTF_HOST = 0x4
1124 RTF_LLINFO = 0x400
1125 RTF_MASK = 0x80
1126 RTF_MODIFIED = 0x20
1127 RTF_PROTO1 = 0x8000
1128 RTF_PROTO2 = 0x4000
1129 RTF_REJECT = 0x8
1130 RTF_SRC = 0x10000
1131 RTF_STATIC = 0x800
1132 RTF_UP = 0x1
1133 RTF_XRESOLVE = 0x200
1134 RTM_ADD = 0x1
1135 RTM_CHANGE = 0x3
1136 RTM_CHGADDR = 0x15
1137 RTM_DELADDR = 0xd
1138 RTM_DELETE = 0x2
1139 RTM_GET = 0x4
1140 RTM_IEEE80211 = 0x11
1141 RTM_IFANNOUNCE = 0x10
1142 RTM_IFINFO = 0x14
1143 RTM_LLINFO_UPD = 0x13
1144 RTM_LOCK = 0x8
1145 RTM_LOSING = 0x5
1146 RTM_MISS = 0x7
1147 RTM_NEWADDR = 0xc
1148 RTM_OIFINFO = 0xf
1149 RTM_OLDADD = 0x9
1150 RTM_OLDDEL = 0xa
1151 RTM_OOIFINFO = 0xe
1152 RTM_REDIRECT = 0x6
1153 RTM_RESOLVE = 0xb
1154 RTM_RTTUNIT = 0xf4240
1155 RTM_SETGATE = 0x12
1156 RTM_VERSION = 0x4
1157 RTV_EXPIRE = 0x4
1158 RTV_HOPCOUNT = 0x2
1159 RTV_MTU = 0x1
1160 RTV_RPIPE = 0x8
1161 RTV_RTT = 0x40
1162 RTV_RTTVAR = 0x80
1163 RTV_SPIPE = 0x10
1164 RTV_SSTHRESH = 0x20
1165 RUSAGE_CHILDREN = -0x1
1166 RUSAGE_SELF = 0x0
1167 SCM_CREDS = 0x4
1168 SCM_RIGHTS = 0x1
1169 SCM_TIMESTAMP = 0x8
1170 SHUT_RD = 0x0
1171 SHUT_RDWR = 0x2
1172 SHUT_WR = 0x1
1173 SIOCADDMULTI = 0x80906931
1174 SIOCADDRT = 0x8038720a
1175 SIOCAIFADDR = 0x8040691a
1176 SIOCALIFADDR = 0x8118691c
1177 SIOCATMARK = 0x40047307
1178 SIOCDELMULTI = 0x80906932
1179 SIOCDELRT = 0x8038720b
1180 SIOCDIFADDR = 0x80906919
1181 SIOCDIFPHYADDR = 0x80906949
1182 SIOCDLIFADDR = 0x8118691e
1183 SIOCGDRVSPEC = 0xc028697b
1184 SIOCGETPFSYNC = 0xc09069f8
1185 SIOCGETSGCNT = 0xc0207534
1186 SIOCGETVIFCNT = 0xc0287533
1187 SIOCGHIWAT = 0x40047301
1188 SIOCGIFADDR = 0xc0906921
1189 SIOCGIFADDRPREF = 0xc0986920
1190 SIOCGIFALIAS = 0xc040691b
1191 SIOCGIFBRDADDR = 0xc0906923
1192 SIOCGIFCAP = 0xc0206976
1193 SIOCGIFCONF = 0xc0106926
1194 SIOCGIFDATA = 0xc0986985
1195 SIOCGIFDLT = 0xc0906977
1196 SIOCGIFDSTADDR = 0xc0906922
1197 SIOCGIFFLAGS = 0xc0906911
1198 SIOCGIFGENERIC = 0xc090693a
1199 SIOCGIFMEDIA = 0xc0306936
1200 SIOCGIFMETRIC = 0xc0906917
1201 SIOCGIFMTU = 0xc090697e
1202 SIOCGIFNETMASK = 0xc0906925
1203 SIOCGIFPDSTADDR = 0xc0906948
1204 SIOCGIFPSRCADDR = 0xc0906947
1205 SIOCGLIFADDR = 0xc118691d
1206 SIOCGLIFPHYADDR = 0xc118694b
1207 SIOCGLINKSTR = 0xc0286987
1208 SIOCGLOWAT = 0x40047303
1209 SIOCGPGRP = 0x40047309
1210 SIOCGVH = 0xc0906983
1211 SIOCIFCREATE = 0x8090697a
1212 SIOCIFDESTROY = 0x80906979
1213 SIOCIFGCLONERS = 0xc0106978
1214 SIOCINITIFADDR = 0xc0706984
1215 SIOCSDRVSPEC = 0x8028697b
1216 SIOCSETPFSYNC = 0x809069f7
1217 SIOCSHIWAT = 0x80047300
1218 SIOCSIFADDR = 0x8090690c
1219 SIOCSIFADDRPREF = 0x8098691f
1220 SIOCSIFBRDADDR = 0x80906913
1221 SIOCSIFCAP = 0x80206975
1222 SIOCSIFDSTADDR = 0x8090690e
1223 SIOCSIFFLAGS = 0x80906910
1224 SIOCSIFGENERIC = 0x80906939
1225 SIOCSIFMEDIA = 0xc0906935
1226 SIOCSIFMETRIC = 0x80906918
1227 SIOCSIFMTU = 0x8090697f
1228 SIOCSIFNETMASK = 0x80906916
1229 SIOCSIFPHYADDR = 0x80406946
1230 SIOCSLIFPHYADDR = 0x8118694a
1231 SIOCSLINKSTR = 0x80286988
1232 SIOCSLOWAT = 0x80047302
1233 SIOCSPGRP = 0x80047308
1234 SIOCSVH = 0xc0906982
1235 SIOCZIFDATA = 0xc0986986
1236 SOCK_CLOEXEC = 0x10000000
1237 SOCK_DGRAM = 0x2
1238 SOCK_FLAGS_MASK = 0xf0000000
1239 SOCK_NONBLOCK = 0x20000000
1240 SOCK_NOSIGPIPE = 0x40000000
1241 SOCK_RAW = 0x3
1242 SOCK_RDM = 0x4
1243 SOCK_SEQPACKET = 0x5
1244 SOCK_STREAM = 0x1
1245 SOL_SOCKET = 0xffff
1246 SOMAXCONN = 0x80
1247 SO_ACCEPTCONN = 0x2
1248 SO_ACCEPTFILTER = 0x1000
1249 SO_BROADCAST = 0x20
1250 SO_DEBUG = 0x1
1251 SO_DONTROUTE = 0x10
1252 SO_ERROR = 0x1007
1253 SO_KEEPALIVE = 0x8
1254 SO_LINGER = 0x80
1255 SO_NOHEADER = 0x100a
1256 SO_NOSIGPIPE = 0x800
1257 SO_OOBINLINE = 0x100
1258 SO_OVERFLOWED = 0x1009
1259 SO_RCVBUF = 0x1002
1260 SO_RCVLOWAT = 0x1004
1261 SO_RCVTIMEO = 0x100c
1262 SO_REUSEADDR = 0x4
1263 SO_REUSEPORT = 0x200
1264 SO_SNDBUF = 0x1001
1265 SO_SNDLOWAT = 0x1003
1266 SO_SNDTIMEO = 0x100b
1267 SO_TIMESTAMP = 0x2000
1268 SO_TYPE = 0x1008
1269 SO_USELOOPBACK = 0x40
1270 SYSCTL_VERSION = 0x1000000
1271 SYSCTL_VERS_0 = 0x0
1272 SYSCTL_VERS_1 = 0x1000000
1273 SYSCTL_VERS_MASK = 0xff000000
1274 S_ARCH1 = 0x10000
1275 S_ARCH2 = 0x20000
1276 S_BLKSIZE = 0x200
1277 S_IEXEC = 0x40
1278 S_IFBLK = 0x6000
1279 S_IFCHR = 0x2000
1280 S_IFDIR = 0x4000
1281 S_IFIFO = 0x1000
1282 S_IFLNK = 0xa000
1283 S_IFMT = 0xf000
1284 S_IFREG = 0x8000
1285 S_IFSOCK = 0xc000
1286 S_IFWHT = 0xe000
1287 S_IREAD = 0x100
1288 S_IRGRP = 0x20
1289 S_IROTH = 0x4
1290 S_IRUSR = 0x100
1291 S_IRWXG = 0x38
1292 S_IRWXO = 0x7
1293 S_IRWXU = 0x1c0
1294 S_ISGID = 0x400
1295 S_ISTXT = 0x200
1296 S_ISUID = 0x800
1297 S_ISVTX = 0x200
1298 S_IWGRP = 0x10
1299 S_IWOTH = 0x2
1300 S_IWRITE = 0x80
1301 S_IWUSR = 0x80
1302 S_IXGRP = 0x8
1303 S_IXOTH = 0x1
1304 S_IXUSR = 0x40
1305 S_LOGIN_SET = 0x1
1306 TCIFLUSH = 0x1
1307 TCIOFLUSH = 0x3
1308 TCOFLUSH = 0x2
1309 TCP_CONGCTL = 0x20
1310 TCP_KEEPCNT = 0x6
1311 TCP_KEEPIDLE = 0x3
1312 TCP_KEEPINIT = 0x7
1313 TCP_KEEPINTVL = 0x5
1314 TCP_MAXBURST = 0x4
1315 TCP_MAXSEG = 0x2
1316 TCP_MAXWIN = 0xffff
1317 TCP_MAX_WINSHIFT = 0xe
1318 TCP_MD5SIG = 0x10
1319 TCP_MINMSS = 0xd8
1320 TCP_MSS = 0x218
1321 TCP_NODELAY = 0x1
1322 TCSAFLUSH = 0x2
1323 TIOCCBRK = 0x2000747a
1324 TIOCCDTR = 0x20007478
1325 TIOCCONS = 0x80047462
1326 TIOCDCDTIMESTAMP = 0x40107458
1327 TIOCDRAIN = 0x2000745e
1328 TIOCEXCL = 0x2000740d
1329 TIOCEXT = 0x80047460
1330 TIOCFLAG_CDTRCTS = 0x10
1331 TIOCFLAG_CLOCAL = 0x2
1332 TIOCFLAG_CRTSCTS = 0x4
1333 TIOCFLAG_MDMBUF = 0x8
1334 TIOCFLAG_SOFTCAR = 0x1
1335 TIOCFLUSH = 0x80047410
1336 TIOCGETA = 0x402c7413
1337 TIOCGETD = 0x4004741a
1338 TIOCGFLAGS = 0x4004745d
1339 TIOCGLINED = 0x40207442
1340 TIOCGPGRP = 0x40047477
1341 TIOCGQSIZE = 0x40047481
1342 TIOCGRANTPT = 0x20007447
1343 TIOCGSID = 0x40047463
1344 TIOCGSIZE = 0x40087468
1345 TIOCGWINSZ = 0x40087468
1346 TIOCMBIC = 0x8004746b
1347 TIOCMBIS = 0x8004746c
1348 TIOCMGET = 0x4004746a
1349 TIOCMSET = 0x8004746d
1350 TIOCM_CAR = 0x40
1351 TIOCM_CD = 0x40
1352 TIOCM_CTS = 0x20
1353 TIOCM_DSR = 0x100
1354 TIOCM_DTR = 0x2
1355 TIOCM_LE = 0x1
1356 TIOCM_RI = 0x80
1357 TIOCM_RNG = 0x80
1358 TIOCM_RTS = 0x4
1359 TIOCM_SR = 0x10
1360 TIOCM_ST = 0x8
1361 TIOCNOTTY = 0x20007471
1362 TIOCNXCL = 0x2000740e
1363 TIOCOUTQ = 0x40047473
1364 TIOCPKT = 0x80047470
1365 TIOCPKT_DATA = 0x0
1366 TIOCPKT_DOSTOP = 0x20
1367 TIOCPKT_FLUSHREAD = 0x1
1368 TIOCPKT_FLUSHWRITE = 0x2
1369 TIOCPKT_IOCTL = 0x40
1370 TIOCPKT_NOSTOP = 0x10
1371 TIOCPKT_START = 0x8
1372 TIOCPKT_STOP = 0x4
1373 TIOCPTMGET = 0x40287446
1374 TIOCPTSNAME = 0x40287448
1375 TIOCRCVFRAME = 0x80087445
1376 TIOCREMOTE = 0x80047469
1377 TIOCSBRK = 0x2000747b
1378 TIOCSCTTY = 0x20007461
1379 TIOCSDTR = 0x20007479
1380 TIOCSETA = 0x802c7414
1381 TIOCSETAF = 0x802c7416
1382 TIOCSETAW = 0x802c7415
1383 TIOCSETD = 0x8004741b
1384 TIOCSFLAGS = 0x8004745c
1385 TIOCSIG = 0x2000745f
1386 TIOCSLINED = 0x80207443
1387 TIOCSPGRP = 0x80047476
1388 TIOCSQSIZE = 0x80047480
1389 TIOCSSIZE = 0x80087467
1390 TIOCSTART = 0x2000746e
1391 TIOCSTAT = 0x80047465
1392 TIOCSTI = 0x80017472
1393 TIOCSTOP = 0x2000746f
1394 TIOCSWINSZ = 0x80087467
1395 TIOCUCNTL = 0x80047466
1396 TIOCXMTFRAME = 0x80087444
1397 TOSTOP = 0x400000
1398 VDISCARD = 0xf
1399 VDSUSP = 0xb
1400 VEOF = 0x0
1401 VEOL = 0x1
1402 VEOL2 = 0x2
1403 VERASE = 0x3
1404 VINTR = 0x8
1405 VKILL = 0x5
1406 VLNEXT = 0xe
1407 VMIN = 0x10
1408 VQUIT = 0x9
1409 VREPRINT = 0x6
1410 VSTART = 0xc
1411 VSTATUS = 0x12
1412 VSTOP = 0xd
1413 VSUSP = 0xa
1414 VTIME = 0x11
1415 VWERASE = 0x4
1416 WALL = 0x8
1417 WALLSIG = 0x8
1418 WALTSIG = 0x4
1419 WCLONE = 0x4
1420 WCOREFLAG = 0x80
1421 WNOHANG = 0x1
1422 WNOWAIT = 0x10000
1423 WNOZOMBIE = 0x20000
1424 WOPTSCHECKED = 0x40000
1425 WSTOPPED = 0x7f
1426 WUNTRACED = 0x2
1427)
1428
1429// Errors
1430const (
1431 E2BIG = syscall.Errno(0x7)
1432 EACCES = syscall.Errno(0xd)
1433 EADDRINUSE = syscall.Errno(0x30)
1434 EADDRNOTAVAIL = syscall.Errno(0x31)
1435 EAFNOSUPPORT = syscall.Errno(0x2f)
1436 EAGAIN = syscall.Errno(0x23)
1437 EALREADY = syscall.Errno(0x25)
1438 EAUTH = syscall.Errno(0x50)
1439 EBADF = syscall.Errno(0x9)
1440 EBADMSG = syscall.Errno(0x58)
1441 EBADRPC = syscall.Errno(0x48)
1442 EBUSY = syscall.Errno(0x10)
1443 ECANCELED = syscall.Errno(0x57)
1444 ECHILD = syscall.Errno(0xa)
1445 ECONNABORTED = syscall.Errno(0x35)
1446 ECONNREFUSED = syscall.Errno(0x3d)
1447 ECONNRESET = syscall.Errno(0x36)
1448 EDEADLK = syscall.Errno(0xb)
1449 EDESTADDRREQ = syscall.Errno(0x27)
1450 EDOM = syscall.Errno(0x21)
1451 EDQUOT = syscall.Errno(0x45)
1452 EEXIST = syscall.Errno(0x11)
1453 EFAULT = syscall.Errno(0xe)
1454 EFBIG = syscall.Errno(0x1b)
1455 EFTYPE = syscall.Errno(0x4f)
1456 EHOSTDOWN = syscall.Errno(0x40)
1457 EHOSTUNREACH = syscall.Errno(0x41)
1458 EIDRM = syscall.Errno(0x52)
1459 EILSEQ = syscall.Errno(0x55)
1460 EINPROGRESS = syscall.Errno(0x24)
1461 EINTR = syscall.Errno(0x4)
1462 EINVAL = syscall.Errno(0x16)
1463 EIO = syscall.Errno(0x5)
1464 EISCONN = syscall.Errno(0x38)
1465 EISDIR = syscall.Errno(0x15)
1466 ELAST = syscall.Errno(0x60)
1467 ELOOP = syscall.Errno(0x3e)
1468 EMFILE = syscall.Errno(0x18)
1469 EMLINK = syscall.Errno(0x1f)
1470 EMSGSIZE = syscall.Errno(0x28)
1471 EMULTIHOP = syscall.Errno(0x5e)
1472 ENAMETOOLONG = syscall.Errno(0x3f)
1473 ENEEDAUTH = syscall.Errno(0x51)
1474 ENETDOWN = syscall.Errno(0x32)
1475 ENETRESET = syscall.Errno(0x34)
1476 ENETUNREACH = syscall.Errno(0x33)
1477 ENFILE = syscall.Errno(0x17)
1478 ENOATTR = syscall.Errno(0x5d)
1479 ENOBUFS = syscall.Errno(0x37)
1480 ENODATA = syscall.Errno(0x59)
1481 ENODEV = syscall.Errno(0x13)
1482 ENOENT = syscall.Errno(0x2)
1483 ENOEXEC = syscall.Errno(0x8)
1484 ENOLCK = syscall.Errno(0x4d)
1485 ENOLINK = syscall.Errno(0x5f)
1486 ENOMEM = syscall.Errno(0xc)
1487 ENOMSG = syscall.Errno(0x53)
1488 ENOPROTOOPT = syscall.Errno(0x2a)
1489 ENOSPC = syscall.Errno(0x1c)
1490 ENOSR = syscall.Errno(0x5a)
1491 ENOSTR = syscall.Errno(0x5b)
1492 ENOSYS = syscall.Errno(0x4e)
1493 ENOTBLK = syscall.Errno(0xf)
1494 ENOTCONN = syscall.Errno(0x39)
1495 ENOTDIR = syscall.Errno(0x14)
1496 ENOTEMPTY = syscall.Errno(0x42)
1497 ENOTSOCK = syscall.Errno(0x26)
1498 ENOTSUP = syscall.Errno(0x56)
1499 ENOTTY = syscall.Errno(0x19)
1500 ENXIO = syscall.Errno(0x6)
1501 EOPNOTSUPP = syscall.Errno(0x2d)
1502 EOVERFLOW = syscall.Errno(0x54)
1503 EPERM = syscall.Errno(0x1)
1504 EPFNOSUPPORT = syscall.Errno(0x2e)
1505 EPIPE = syscall.Errno(0x20)
1506 EPROCLIM = syscall.Errno(0x43)
1507 EPROCUNAVAIL = syscall.Errno(0x4c)
1508 EPROGMISMATCH = syscall.Errno(0x4b)
1509 EPROGUNAVAIL = syscall.Errno(0x4a)
1510 EPROTO = syscall.Errno(0x60)
1511 EPROTONOSUPPORT = syscall.Errno(0x2b)
1512 EPROTOTYPE = syscall.Errno(0x29)
1513 ERANGE = syscall.Errno(0x22)
1514 EREMOTE = syscall.Errno(0x47)
1515 EROFS = syscall.Errno(0x1e)
1516 ERPCMISMATCH = syscall.Errno(0x49)
1517 ESHUTDOWN = syscall.Errno(0x3a)
1518 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1519 ESPIPE = syscall.Errno(0x1d)
1520 ESRCH = syscall.Errno(0x3)
1521 ESTALE = syscall.Errno(0x46)
1522 ETIME = syscall.Errno(0x5c)
1523 ETIMEDOUT = syscall.Errno(0x3c)
1524 ETOOMANYREFS = syscall.Errno(0x3b)
1525 ETXTBSY = syscall.Errno(0x1a)
1526 EUSERS = syscall.Errno(0x44)
1527 EWOULDBLOCK = syscall.Errno(0x23)
1528 EXDEV = syscall.Errno(0x12)
1529)
1530
1531// Signals
1532const (
1533 SIGABRT = syscall.Signal(0x6)
1534 SIGALRM = syscall.Signal(0xe)
1535 SIGBUS = syscall.Signal(0xa)
1536 SIGCHLD = syscall.Signal(0x14)
1537 SIGCONT = syscall.Signal(0x13)
1538 SIGEMT = syscall.Signal(0x7)
1539 SIGFPE = syscall.Signal(0x8)
1540 SIGHUP = syscall.Signal(0x1)
1541 SIGILL = syscall.Signal(0x4)
1542 SIGINFO = syscall.Signal(0x1d)
1543 SIGINT = syscall.Signal(0x2)
1544 SIGIO = syscall.Signal(0x17)
1545 SIGIOT = syscall.Signal(0x6)
1546 SIGKILL = syscall.Signal(0x9)
1547 SIGPIPE = syscall.Signal(0xd)
1548 SIGPROF = syscall.Signal(0x1b)
1549 SIGPWR = syscall.Signal(0x20)
1550 SIGQUIT = syscall.Signal(0x3)
1551 SIGSEGV = syscall.Signal(0xb)
1552 SIGSTOP = syscall.Signal(0x11)
1553 SIGSYS = syscall.Signal(0xc)
1554 SIGTERM = syscall.Signal(0xf)
1555 SIGTRAP = syscall.Signal(0x5)
1556 SIGTSTP = syscall.Signal(0x12)
1557 SIGTTIN = syscall.Signal(0x15)
1558 SIGTTOU = syscall.Signal(0x16)
1559 SIGURG = syscall.Signal(0x10)
1560 SIGUSR1 = syscall.Signal(0x1e)
1561 SIGUSR2 = syscall.Signal(0x1f)
1562 SIGVTALRM = syscall.Signal(0x1a)
1563 SIGWINCH = syscall.Signal(0x1c)
1564 SIGXCPU = syscall.Signal(0x18)
1565 SIGXFSZ = syscall.Signal(0x19)
1566)
1567
1568// Error table
1569var errors = [...]string{
1570 1: "operation not permitted",
1571 2: "no such file or directory",
1572 3: "no such process",
1573 4: "interrupted system call",
1574 5: "input/output error",
1575 6: "device not configured",
1576 7: "argument list too long",
1577 8: "exec format error",
1578 9: "bad file descriptor",
1579 10: "no child processes",
1580 11: "resource deadlock avoided",
1581 12: "cannot allocate memory",
1582 13: "permission denied",
1583 14: "bad address",
1584 15: "block device required",
1585 16: "device busy",
1586 17: "file exists",
1587 18: "cross-device link",
1588 19: "operation not supported by device",
1589 20: "not a directory",
1590 21: "is a directory",
1591 22: "invalid argument",
1592 23: "too many open files in system",
1593 24: "too many open files",
1594 25: "inappropriate ioctl for device",
1595 26: "text file busy",
1596 27: "file too large",
1597 28: "no space left on device",
1598 29: "illegal seek",
1599 30: "read-only file system",
1600 31: "too many links",
1601 32: "broken pipe",
1602 33: "numerical argument out of domain",
1603 34: "result too large or too small",
1604 35: "resource temporarily unavailable",
1605 36: "operation now in progress",
1606 37: "operation already in progress",
1607 38: "socket operation on non-socket",
1608 39: "destination address required",
1609 40: "message too long",
1610 41: "protocol wrong type for socket",
1611 42: "protocol option not available",
1612 43: "protocol not supported",
1613 44: "socket type not supported",
1614 45: "operation not supported",
1615 46: "protocol family not supported",
1616 47: "address family not supported by protocol family",
1617 48: "address already in use",
1618 49: "can't assign requested address",
1619 50: "network is down",
1620 51: "network is unreachable",
1621 52: "network dropped connection on reset",
1622 53: "software caused connection abort",
1623 54: "connection reset by peer",
1624 55: "no buffer space available",
1625 56: "socket is already connected",
1626 57: "socket is not connected",
1627 58: "can't send after socket shutdown",
1628 59: "too many references: can't splice",
1629 60: "connection timed out",
1630 61: "connection refused",
1631 62: "too many levels of symbolic links",
1632 63: "file name too long",
1633 64: "host is down",
1634 65: "no route to host",
1635 66: "directory not empty",
1636 67: "too many processes",
1637 68: "too many users",
1638 69: "disc quota exceeded",
1639 70: "stale NFS file handle",
1640 71: "too many levels of remote in path",
1641 72: "RPC struct is bad",
1642 73: "RPC version wrong",
1643 74: "RPC prog. not avail",
1644 75: "program version wrong",
1645 76: "bad procedure for program",
1646 77: "no locks available",
1647 78: "function not implemented",
1648 79: "inappropriate file type or format",
1649 80: "authentication error",
1650 81: "need authenticator",
1651 82: "identifier removed",
1652 83: "no message of desired type",
1653 84: "value too large to be stored in data type",
1654 85: "illegal byte sequence",
1655 86: "not supported",
1656 87: "operation Canceled",
1657 88: "bad or Corrupt message",
1658 89: "no message available",
1659 90: "no STREAM resources",
1660 91: "not a STREAM",
1661 92: "STREAM ioctl timeout",
1662 93: "attribute not found",
1663 94: "multihop attempted",
1664 95: "link has been severed",
1665 96: "protocol error",
1666}
1667
1668// Signal table
1669var signals = [...]string{
1670 1: "hangup",
1671 2: "interrupt",
1672 3: "quit",
1673 4: "illegal instruction",
1674 5: "trace/BPT trap",
1675 6: "abort trap",
1676 7: "EMT trap",
1677 8: "floating point exception",
1678 9: "killed",
1679 10: "bus error",
1680 11: "segmentation fault",
1681 12: "bad system call",
1682 13: "broken pipe",
1683 14: "alarm clock",
1684 15: "terminated",
1685 16: "urgent I/O condition",
1686 17: "stopped (signal)",
1687 18: "stopped",
1688 19: "continued",
1689 20: "child exited",
1690 21: "stopped (tty input)",
1691 22: "stopped (tty output)",
1692 23: "I/O possible",
1693 24: "cputime limit exceeded",
1694 25: "filesize limit exceeded",
1695 26: "virtual timer expired",
1696 27: "profiling timer expired",
1697 28: "window size changes",
1698 29: "information request",
1699 30: "user defined signal 1",
1700 31: "user defined signal 2",
1701 32: "power fail/restart",
1702}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_arm.go
deleted file mode 100644
index ac85ca6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_netbsd_arm.go
+++ /dev/null
@@ -1,1688 +0,0 @@
1// mkerrors.sh -marm
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,netbsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -marm _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_ARP = 0x1c
16 AF_BLUETOOTH = 0x1f
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_HYLINK = 0xf
27 AF_IEEE80211 = 0x20
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x18
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x23
38 AF_MPLS = 0x21
39 AF_NATM = 0x1b
40 AF_NS = 0x6
41 AF_OROUTE = 0x11
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x22
45 AF_SNA = 0xb
46 AF_UNIX = 0x1
47 AF_UNSPEC = 0x0
48 ARPHRD_ARCNET = 0x7
49 ARPHRD_ETHER = 0x1
50 ARPHRD_FRELAY = 0xf
51 ARPHRD_IEEE1394 = 0x18
52 ARPHRD_IEEE802 = 0x6
53 ARPHRD_STRIP = 0x17
54 B0 = 0x0
55 B110 = 0x6e
56 B115200 = 0x1c200
57 B1200 = 0x4b0
58 B134 = 0x86
59 B14400 = 0x3840
60 B150 = 0x96
61 B1800 = 0x708
62 B19200 = 0x4b00
63 B200 = 0xc8
64 B230400 = 0x38400
65 B2400 = 0x960
66 B28800 = 0x7080
67 B300 = 0x12c
68 B38400 = 0x9600
69 B460800 = 0x70800
70 B4800 = 0x12c0
71 B50 = 0x32
72 B57600 = 0xe100
73 B600 = 0x258
74 B7200 = 0x1c20
75 B75 = 0x4b
76 B76800 = 0x12c00
77 B921600 = 0xe1000
78 B9600 = 0x2580
79 BIOCFEEDBACK = 0x8004427d
80 BIOCFLUSH = 0x20004268
81 BIOCGBLEN = 0x40044266
82 BIOCGDLT = 0x4004426a
83 BIOCGDLTLIST = 0xc0084277
84 BIOCGETIF = 0x4090426b
85 BIOCGFEEDBACK = 0x4004427c
86 BIOCGHDRCMPLT = 0x40044274
87 BIOCGRTIMEOUT = 0x400c427b
88 BIOCGSEESENT = 0x40044278
89 BIOCGSTATS = 0x4080426f
90 BIOCGSTATSOLD = 0x4008426f
91 BIOCIMMEDIATE = 0x80044270
92 BIOCPROMISC = 0x20004269
93 BIOCSBLEN = 0xc0044266
94 BIOCSDLT = 0x80044276
95 BIOCSETF = 0x80084267
96 BIOCSETIF = 0x8090426c
97 BIOCSFEEDBACK = 0x8004427d
98 BIOCSHDRCMPLT = 0x80044275
99 BIOCSRTIMEOUT = 0x800c427a
100 BIOCSSEESENT = 0x80044279
101 BIOCSTCPF = 0x80084272
102 BIOCSUDPF = 0x80084273
103 BIOCVERSION = 0x40044271
104 BPF_A = 0x10
105 BPF_ABS = 0x20
106 BPF_ADD = 0x0
107 BPF_ALIGNMENT = 0x4
108 BPF_ALIGNMENT32 = 0x4
109 BPF_ALU = 0x4
110 BPF_AND = 0x50
111 BPF_B = 0x10
112 BPF_DFLTBUFSIZE = 0x100000
113 BPF_DIV = 0x30
114 BPF_H = 0x8
115 BPF_IMM = 0x0
116 BPF_IND = 0x40
117 BPF_JA = 0x0
118 BPF_JEQ = 0x10
119 BPF_JGE = 0x30
120 BPF_JGT = 0x20
121 BPF_JMP = 0x5
122 BPF_JSET = 0x40
123 BPF_K = 0x0
124 BPF_LD = 0x0
125 BPF_LDX = 0x1
126 BPF_LEN = 0x80
127 BPF_LSH = 0x60
128 BPF_MAJOR_VERSION = 0x1
129 BPF_MAXBUFSIZE = 0x1000000
130 BPF_MAXINSNS = 0x200
131 BPF_MEM = 0x60
132 BPF_MEMWORDS = 0x10
133 BPF_MINBUFSIZE = 0x20
134 BPF_MINOR_VERSION = 0x1
135 BPF_MISC = 0x7
136 BPF_MSH = 0xa0
137 BPF_MUL = 0x20
138 BPF_NEG = 0x80
139 BPF_OR = 0x40
140 BPF_RELEASE = 0x30bb6
141 BPF_RET = 0x6
142 BPF_RSH = 0x70
143 BPF_ST = 0x2
144 BPF_STX = 0x3
145 BPF_SUB = 0x10
146 BPF_TAX = 0x0
147 BPF_TXA = 0x80
148 BPF_W = 0x0
149 BPF_X = 0x8
150 BRKINT = 0x2
151 CFLUSH = 0xf
152 CLOCAL = 0x8000
153 CREAD = 0x800
154 CS5 = 0x0
155 CS6 = 0x100
156 CS7 = 0x200
157 CS8 = 0x300
158 CSIZE = 0x300
159 CSTART = 0x11
160 CSTATUS = 0x14
161 CSTOP = 0x13
162 CSTOPB = 0x400
163 CSUSP = 0x1a
164 CTL_MAXNAME = 0xc
165 CTL_NET = 0x4
166 CTL_QUERY = -0x2
167 DIOCBSFLUSH = 0x20006478
168 DLT_A429 = 0xb8
169 DLT_A653_ICM = 0xb9
170 DLT_AIRONET_HEADER = 0x78
171 DLT_AOS = 0xde
172 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
173 DLT_ARCNET = 0x7
174 DLT_ARCNET_LINUX = 0x81
175 DLT_ATM_CLIP = 0x13
176 DLT_ATM_RFC1483 = 0xb
177 DLT_AURORA = 0x7e
178 DLT_AX25 = 0x3
179 DLT_AX25_KISS = 0xca
180 DLT_BACNET_MS_TP = 0xa5
181 DLT_BLUETOOTH_HCI_H4 = 0xbb
182 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
183 DLT_CAN20B = 0xbe
184 DLT_CAN_SOCKETCAN = 0xe3
185 DLT_CHAOS = 0x5
186 DLT_CISCO_IOS = 0x76
187 DLT_C_HDLC = 0x68
188 DLT_C_HDLC_WITH_DIR = 0xcd
189 DLT_DECT = 0xdd
190 DLT_DOCSIS = 0x8f
191 DLT_ECONET = 0x73
192 DLT_EN10MB = 0x1
193 DLT_EN3MB = 0x2
194 DLT_ENC = 0x6d
195 DLT_ERF = 0xc5
196 DLT_ERF_ETH = 0xaf
197 DLT_ERF_POS = 0xb0
198 DLT_FC_2 = 0xe0
199 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
200 DLT_FDDI = 0xa
201 DLT_FLEXRAY = 0xd2
202 DLT_FRELAY = 0x6b
203 DLT_FRELAY_WITH_DIR = 0xce
204 DLT_GCOM_SERIAL = 0xad
205 DLT_GCOM_T1E1 = 0xac
206 DLT_GPF_F = 0xab
207 DLT_GPF_T = 0xaa
208 DLT_GPRS_LLC = 0xa9
209 DLT_GSMTAP_ABIS = 0xda
210 DLT_GSMTAP_UM = 0xd9
211 DLT_HDLC = 0x10
212 DLT_HHDLC = 0x79
213 DLT_HIPPI = 0xf
214 DLT_IBM_SN = 0x92
215 DLT_IBM_SP = 0x91
216 DLT_IEEE802 = 0x6
217 DLT_IEEE802_11 = 0x69
218 DLT_IEEE802_11_RADIO = 0x7f
219 DLT_IEEE802_11_RADIO_AVS = 0xa3
220 DLT_IEEE802_15_4 = 0xc3
221 DLT_IEEE802_15_4_LINUX = 0xbf
222 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
223 DLT_IEEE802_16_MAC_CPS = 0xbc
224 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
225 DLT_IPMB = 0xc7
226 DLT_IPMB_LINUX = 0xd1
227 DLT_IPNET = 0xe2
228 DLT_IPV4 = 0xe4
229 DLT_IPV6 = 0xe5
230 DLT_IP_OVER_FC = 0x7a
231 DLT_JUNIPER_ATM1 = 0x89
232 DLT_JUNIPER_ATM2 = 0x87
233 DLT_JUNIPER_CHDLC = 0xb5
234 DLT_JUNIPER_ES = 0x84
235 DLT_JUNIPER_ETHER = 0xb2
236 DLT_JUNIPER_FRELAY = 0xb4
237 DLT_JUNIPER_GGSN = 0x85
238 DLT_JUNIPER_ISM = 0xc2
239 DLT_JUNIPER_MFR = 0x86
240 DLT_JUNIPER_MLFR = 0x83
241 DLT_JUNIPER_MLPPP = 0x82
242 DLT_JUNIPER_MONITOR = 0xa4
243 DLT_JUNIPER_PIC_PEER = 0xae
244 DLT_JUNIPER_PPP = 0xb3
245 DLT_JUNIPER_PPPOE = 0xa7
246 DLT_JUNIPER_PPPOE_ATM = 0xa8
247 DLT_JUNIPER_SERVICES = 0x88
248 DLT_JUNIPER_ST = 0xc8
249 DLT_JUNIPER_VP = 0xb7
250 DLT_LAPB_WITH_DIR = 0xcf
251 DLT_LAPD = 0xcb
252 DLT_LIN = 0xd4
253 DLT_LINUX_EVDEV = 0xd8
254 DLT_LINUX_IRDA = 0x90
255 DLT_LINUX_LAPD = 0xb1
256 DLT_LINUX_SLL = 0x71
257 DLT_LOOP = 0x6c
258 DLT_LTALK = 0x72
259 DLT_MFR = 0xb6
260 DLT_MOST = 0xd3
261 DLT_MPLS = 0xdb
262 DLT_MTP2 = 0x8c
263 DLT_MTP2_WITH_PHDR = 0x8b
264 DLT_MTP3 = 0x8d
265 DLT_NULL = 0x0
266 DLT_PCI_EXP = 0x7d
267 DLT_PFLOG = 0x75
268 DLT_PFSYNC = 0x12
269 DLT_PPI = 0xc0
270 DLT_PPP = 0x9
271 DLT_PPP_BSDOS = 0xe
272 DLT_PPP_ETHER = 0x33
273 DLT_PPP_PPPD = 0xa6
274 DLT_PPP_SERIAL = 0x32
275 DLT_PPP_WITH_DIR = 0xcc
276 DLT_PRISM_HEADER = 0x77
277 DLT_PRONET = 0x4
278 DLT_RAIF1 = 0xc6
279 DLT_RAW = 0xc
280 DLT_RAWAF_MASK = 0x2240000
281 DLT_RIO = 0x7c
282 DLT_SCCP = 0x8e
283 DLT_SITA = 0xc4
284 DLT_SLIP = 0x8
285 DLT_SLIP_BSDOS = 0xd
286 DLT_SUNATM = 0x7b
287 DLT_SYMANTEC_FIREWALL = 0x63
288 DLT_TZSP = 0x80
289 DLT_USB = 0xba
290 DLT_USB_LINUX = 0xbd
291 DLT_USB_LINUX_MMAPPED = 0xdc
292 DLT_WIHART = 0xdf
293 DLT_X2E_SERIAL = 0xd5
294 DLT_X2E_XORAYA = 0xd6
295 DT_BLK = 0x6
296 DT_CHR = 0x2
297 DT_DIR = 0x4
298 DT_FIFO = 0x1
299 DT_LNK = 0xa
300 DT_REG = 0x8
301 DT_SOCK = 0xc
302 DT_UNKNOWN = 0x0
303 DT_WHT = 0xe
304 ECHO = 0x8
305 ECHOCTL = 0x40
306 ECHOE = 0x2
307 ECHOK = 0x4
308 ECHOKE = 0x1
309 ECHONL = 0x10
310 ECHOPRT = 0x20
311 EMUL_LINUX = 0x1
312 EMUL_LINUX32 = 0x5
313 EMUL_MAXID = 0x6
314 ETHERCAP_JUMBO_MTU = 0x4
315 ETHERCAP_VLAN_HWTAGGING = 0x2
316 ETHERCAP_VLAN_MTU = 0x1
317 ETHERMIN = 0x2e
318 ETHERMTU = 0x5dc
319 ETHERMTU_JUMBO = 0x2328
320 ETHERTYPE_8023 = 0x4
321 ETHERTYPE_AARP = 0x80f3
322 ETHERTYPE_ACCTON = 0x8390
323 ETHERTYPE_AEONIC = 0x8036
324 ETHERTYPE_ALPHA = 0x814a
325 ETHERTYPE_AMBER = 0x6008
326 ETHERTYPE_AMOEBA = 0x8145
327 ETHERTYPE_APOLLO = 0x80f7
328 ETHERTYPE_APOLLODOMAIN = 0x8019
329 ETHERTYPE_APPLETALK = 0x809b
330 ETHERTYPE_APPLITEK = 0x80c7
331 ETHERTYPE_ARGONAUT = 0x803a
332 ETHERTYPE_ARP = 0x806
333 ETHERTYPE_AT = 0x809b
334 ETHERTYPE_ATALK = 0x809b
335 ETHERTYPE_ATOMIC = 0x86df
336 ETHERTYPE_ATT = 0x8069
337 ETHERTYPE_ATTSTANFORD = 0x8008
338 ETHERTYPE_AUTOPHON = 0x806a
339 ETHERTYPE_AXIS = 0x8856
340 ETHERTYPE_BCLOOP = 0x9003
341 ETHERTYPE_BOFL = 0x8102
342 ETHERTYPE_CABLETRON = 0x7034
343 ETHERTYPE_CHAOS = 0x804
344 ETHERTYPE_COMDESIGN = 0x806c
345 ETHERTYPE_COMPUGRAPHIC = 0x806d
346 ETHERTYPE_COUNTERPOINT = 0x8062
347 ETHERTYPE_CRONUS = 0x8004
348 ETHERTYPE_CRONUSVLN = 0x8003
349 ETHERTYPE_DCA = 0x1234
350 ETHERTYPE_DDE = 0x807b
351 ETHERTYPE_DEBNI = 0xaaaa
352 ETHERTYPE_DECAM = 0x8048
353 ETHERTYPE_DECCUST = 0x6006
354 ETHERTYPE_DECDIAG = 0x6005
355 ETHERTYPE_DECDNS = 0x803c
356 ETHERTYPE_DECDTS = 0x803e
357 ETHERTYPE_DECEXPER = 0x6000
358 ETHERTYPE_DECLAST = 0x8041
359 ETHERTYPE_DECLTM = 0x803f
360 ETHERTYPE_DECMUMPS = 0x6009
361 ETHERTYPE_DECNETBIOS = 0x8040
362 ETHERTYPE_DELTACON = 0x86de
363 ETHERTYPE_DIDDLE = 0x4321
364 ETHERTYPE_DLOG1 = 0x660
365 ETHERTYPE_DLOG2 = 0x661
366 ETHERTYPE_DN = 0x6003
367 ETHERTYPE_DOGFIGHT = 0x1989
368 ETHERTYPE_DSMD = 0x8039
369 ETHERTYPE_ECMA = 0x803
370 ETHERTYPE_ENCRYPT = 0x803d
371 ETHERTYPE_ES = 0x805d
372 ETHERTYPE_EXCELAN = 0x8010
373 ETHERTYPE_EXPERDATA = 0x8049
374 ETHERTYPE_FLIP = 0x8146
375 ETHERTYPE_FLOWCONTROL = 0x8808
376 ETHERTYPE_FRARP = 0x808
377 ETHERTYPE_GENDYN = 0x8068
378 ETHERTYPE_HAYES = 0x8130
379 ETHERTYPE_HIPPI_FP = 0x8180
380 ETHERTYPE_HITACHI = 0x8820
381 ETHERTYPE_HP = 0x8005
382 ETHERTYPE_IEEEPUP = 0xa00
383 ETHERTYPE_IEEEPUPAT = 0xa01
384 ETHERTYPE_IMLBL = 0x4c42
385 ETHERTYPE_IMLBLDIAG = 0x424c
386 ETHERTYPE_IP = 0x800
387 ETHERTYPE_IPAS = 0x876c
388 ETHERTYPE_IPV6 = 0x86dd
389 ETHERTYPE_IPX = 0x8137
390 ETHERTYPE_IPXNEW = 0x8037
391 ETHERTYPE_KALPANA = 0x8582
392 ETHERTYPE_LANBRIDGE = 0x8038
393 ETHERTYPE_LANPROBE = 0x8888
394 ETHERTYPE_LAT = 0x6004
395 ETHERTYPE_LBACK = 0x9000
396 ETHERTYPE_LITTLE = 0x8060
397 ETHERTYPE_LOGICRAFT = 0x8148
398 ETHERTYPE_LOOPBACK = 0x9000
399 ETHERTYPE_MATRA = 0x807a
400 ETHERTYPE_MAX = 0xffff
401 ETHERTYPE_MERIT = 0x807c
402 ETHERTYPE_MICP = 0x873a
403 ETHERTYPE_MOPDL = 0x6001
404 ETHERTYPE_MOPRC = 0x6002
405 ETHERTYPE_MOTOROLA = 0x818d
406 ETHERTYPE_MPLS = 0x8847
407 ETHERTYPE_MPLS_MCAST = 0x8848
408 ETHERTYPE_MUMPS = 0x813f
409 ETHERTYPE_NBPCC = 0x3c04
410 ETHERTYPE_NBPCLAIM = 0x3c09
411 ETHERTYPE_NBPCLREQ = 0x3c05
412 ETHERTYPE_NBPCLRSP = 0x3c06
413 ETHERTYPE_NBPCREQ = 0x3c02
414 ETHERTYPE_NBPCRSP = 0x3c03
415 ETHERTYPE_NBPDG = 0x3c07
416 ETHERTYPE_NBPDGB = 0x3c08
417 ETHERTYPE_NBPDLTE = 0x3c0a
418 ETHERTYPE_NBPRAR = 0x3c0c
419 ETHERTYPE_NBPRAS = 0x3c0b
420 ETHERTYPE_NBPRST = 0x3c0d
421 ETHERTYPE_NBPSCD = 0x3c01
422 ETHERTYPE_NBPVCD = 0x3c00
423 ETHERTYPE_NBS = 0x802
424 ETHERTYPE_NCD = 0x8149
425 ETHERTYPE_NESTAR = 0x8006
426 ETHERTYPE_NETBEUI = 0x8191
427 ETHERTYPE_NOVELL = 0x8138
428 ETHERTYPE_NS = 0x600
429 ETHERTYPE_NSAT = 0x601
430 ETHERTYPE_NSCOMPAT = 0x807
431 ETHERTYPE_NTRAILER = 0x10
432 ETHERTYPE_OS9 = 0x7007
433 ETHERTYPE_OS9NET = 0x7009
434 ETHERTYPE_PACER = 0x80c6
435 ETHERTYPE_PAE = 0x888e
436 ETHERTYPE_PCS = 0x4242
437 ETHERTYPE_PLANNING = 0x8044
438 ETHERTYPE_PPP = 0x880b
439 ETHERTYPE_PPPOE = 0x8864
440 ETHERTYPE_PPPOEDISC = 0x8863
441 ETHERTYPE_PRIMENTS = 0x7031
442 ETHERTYPE_PUP = 0x200
443 ETHERTYPE_PUPAT = 0x200
444 ETHERTYPE_RACAL = 0x7030
445 ETHERTYPE_RATIONAL = 0x8150
446 ETHERTYPE_RAWFR = 0x6559
447 ETHERTYPE_RCL = 0x1995
448 ETHERTYPE_RDP = 0x8739
449 ETHERTYPE_RETIX = 0x80f2
450 ETHERTYPE_REVARP = 0x8035
451 ETHERTYPE_SCA = 0x6007
452 ETHERTYPE_SECTRA = 0x86db
453 ETHERTYPE_SECUREDATA = 0x876d
454 ETHERTYPE_SGITW = 0x817e
455 ETHERTYPE_SG_BOUNCE = 0x8016
456 ETHERTYPE_SG_DIAG = 0x8013
457 ETHERTYPE_SG_NETGAMES = 0x8014
458 ETHERTYPE_SG_RESV = 0x8015
459 ETHERTYPE_SIMNET = 0x5208
460 ETHERTYPE_SLOWPROTOCOLS = 0x8809
461 ETHERTYPE_SNA = 0x80d5
462 ETHERTYPE_SNMP = 0x814c
463 ETHERTYPE_SONIX = 0xfaf5
464 ETHERTYPE_SPIDER = 0x809f
465 ETHERTYPE_SPRITE = 0x500
466 ETHERTYPE_STP = 0x8181
467 ETHERTYPE_TALARIS = 0x812b
468 ETHERTYPE_TALARISMC = 0x852b
469 ETHERTYPE_TCPCOMP = 0x876b
470 ETHERTYPE_TCPSM = 0x9002
471 ETHERTYPE_TEC = 0x814f
472 ETHERTYPE_TIGAN = 0x802f
473 ETHERTYPE_TRAIL = 0x1000
474 ETHERTYPE_TRANSETHER = 0x6558
475 ETHERTYPE_TYMSHARE = 0x802e
476 ETHERTYPE_UBBST = 0x7005
477 ETHERTYPE_UBDEBUG = 0x900
478 ETHERTYPE_UBDIAGLOOP = 0x7002
479 ETHERTYPE_UBDL = 0x7000
480 ETHERTYPE_UBNIU = 0x7001
481 ETHERTYPE_UBNMC = 0x7003
482 ETHERTYPE_VALID = 0x1600
483 ETHERTYPE_VARIAN = 0x80dd
484 ETHERTYPE_VAXELN = 0x803b
485 ETHERTYPE_VEECO = 0x8067
486 ETHERTYPE_VEXP = 0x805b
487 ETHERTYPE_VGLAB = 0x8131
488 ETHERTYPE_VINES = 0xbad
489 ETHERTYPE_VINESECHO = 0xbaf
490 ETHERTYPE_VINESLOOP = 0xbae
491 ETHERTYPE_VITAL = 0xff00
492 ETHERTYPE_VLAN = 0x8100
493 ETHERTYPE_VLTLMAN = 0x8080
494 ETHERTYPE_VPROD = 0x805c
495 ETHERTYPE_VURESERVED = 0x8147
496 ETHERTYPE_WATERLOO = 0x8130
497 ETHERTYPE_WELLFLEET = 0x8103
498 ETHERTYPE_X25 = 0x805
499 ETHERTYPE_X75 = 0x801
500 ETHERTYPE_XNSSM = 0x9001
501 ETHERTYPE_XTP = 0x817d
502 ETHER_ADDR_LEN = 0x6
503 ETHER_CRC_LEN = 0x4
504 ETHER_CRC_POLY_BE = 0x4c11db6
505 ETHER_CRC_POLY_LE = 0xedb88320
506 ETHER_HDR_LEN = 0xe
507 ETHER_MAX_LEN = 0x5ee
508 ETHER_MAX_LEN_JUMBO = 0x233a
509 ETHER_MIN_LEN = 0x40
510 ETHER_PPPOE_ENCAP_LEN = 0x8
511 ETHER_TYPE_LEN = 0x2
512 ETHER_VLAN_ENCAP_LEN = 0x4
513 EVFILT_AIO = 0x2
514 EVFILT_PROC = 0x4
515 EVFILT_READ = 0x0
516 EVFILT_SIGNAL = 0x5
517 EVFILT_SYSCOUNT = 0x7
518 EVFILT_TIMER = 0x6
519 EVFILT_VNODE = 0x3
520 EVFILT_WRITE = 0x1
521 EV_ADD = 0x1
522 EV_CLEAR = 0x20
523 EV_DELETE = 0x2
524 EV_DISABLE = 0x8
525 EV_ENABLE = 0x4
526 EV_EOF = 0x8000
527 EV_ERROR = 0x4000
528 EV_FLAG1 = 0x2000
529 EV_ONESHOT = 0x10
530 EV_SYSFLAGS = 0xf000
531 EXTA = 0x4b00
532 EXTB = 0x9600
533 EXTPROC = 0x800
534 FD_CLOEXEC = 0x1
535 FD_SETSIZE = 0x100
536 FLUSHO = 0x800000
537 F_CLOSEM = 0xa
538 F_DUPFD = 0x0
539 F_DUPFD_CLOEXEC = 0xc
540 F_FSCTL = -0x80000000
541 F_FSDIRMASK = 0x70000000
542 F_FSIN = 0x10000000
543 F_FSINOUT = 0x30000000
544 F_FSOUT = 0x20000000
545 F_FSPRIV = 0x8000
546 F_FSVOID = 0x40000000
547 F_GETFD = 0x1
548 F_GETFL = 0x3
549 F_GETLK = 0x7
550 F_GETNOSIGPIPE = 0xd
551 F_GETOWN = 0x5
552 F_MAXFD = 0xb
553 F_OK = 0x0
554 F_PARAM_MASK = 0xfff
555 F_PARAM_MAX = 0xfff
556 F_RDLCK = 0x1
557 F_SETFD = 0x2
558 F_SETFL = 0x4
559 F_SETLK = 0x8
560 F_SETLKW = 0x9
561 F_SETNOSIGPIPE = 0xe
562 F_SETOWN = 0x6
563 F_UNLCK = 0x2
564 F_WRLCK = 0x3
565 HUPCL = 0x4000
566 ICANON = 0x100
567 ICMP6_FILTER = 0x12
568 ICRNL = 0x100
569 IEXTEN = 0x400
570 IFAN_ARRIVAL = 0x0
571 IFAN_DEPARTURE = 0x1
572 IFA_ROUTE = 0x1
573 IFF_ALLMULTI = 0x200
574 IFF_BROADCAST = 0x2
575 IFF_CANTCHANGE = 0x8f52
576 IFF_DEBUG = 0x4
577 IFF_LINK0 = 0x1000
578 IFF_LINK1 = 0x2000
579 IFF_LINK2 = 0x4000
580 IFF_LOOPBACK = 0x8
581 IFF_MULTICAST = 0x8000
582 IFF_NOARP = 0x80
583 IFF_NOTRAILERS = 0x20
584 IFF_OACTIVE = 0x400
585 IFF_POINTOPOINT = 0x10
586 IFF_PROMISC = 0x100
587 IFF_RUNNING = 0x40
588 IFF_SIMPLEX = 0x800
589 IFF_UP = 0x1
590 IFNAMSIZ = 0x10
591 IFT_1822 = 0x2
592 IFT_A12MPPSWITCH = 0x82
593 IFT_AAL2 = 0xbb
594 IFT_AAL5 = 0x31
595 IFT_ADSL = 0x5e
596 IFT_AFLANE8023 = 0x3b
597 IFT_AFLANE8025 = 0x3c
598 IFT_ARAP = 0x58
599 IFT_ARCNET = 0x23
600 IFT_ARCNETPLUS = 0x24
601 IFT_ASYNC = 0x54
602 IFT_ATM = 0x25
603 IFT_ATMDXI = 0x69
604 IFT_ATMFUNI = 0x6a
605 IFT_ATMIMA = 0x6b
606 IFT_ATMLOGICAL = 0x50
607 IFT_ATMRADIO = 0xbd
608 IFT_ATMSUBINTERFACE = 0x86
609 IFT_ATMVCIENDPT = 0xc2
610 IFT_ATMVIRTUAL = 0x95
611 IFT_BGPPOLICYACCOUNTING = 0xa2
612 IFT_BRIDGE = 0xd1
613 IFT_BSC = 0x53
614 IFT_CARP = 0xf8
615 IFT_CCTEMUL = 0x3d
616 IFT_CEPT = 0x13
617 IFT_CES = 0x85
618 IFT_CHANNEL = 0x46
619 IFT_CNR = 0x55
620 IFT_COFFEE = 0x84
621 IFT_COMPOSITELINK = 0x9b
622 IFT_DCN = 0x8d
623 IFT_DIGITALPOWERLINE = 0x8a
624 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
625 IFT_DLSW = 0x4a
626 IFT_DOCSCABLEDOWNSTREAM = 0x80
627 IFT_DOCSCABLEMACLAYER = 0x7f
628 IFT_DOCSCABLEUPSTREAM = 0x81
629 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
630 IFT_DS0 = 0x51
631 IFT_DS0BUNDLE = 0x52
632 IFT_DS1FDL = 0xaa
633 IFT_DS3 = 0x1e
634 IFT_DTM = 0x8c
635 IFT_DVBASILN = 0xac
636 IFT_DVBASIOUT = 0xad
637 IFT_DVBRCCDOWNSTREAM = 0x93
638 IFT_DVBRCCMACLAYER = 0x92
639 IFT_DVBRCCUPSTREAM = 0x94
640 IFT_ECONET = 0xce
641 IFT_EON = 0x19
642 IFT_EPLRS = 0x57
643 IFT_ESCON = 0x49
644 IFT_ETHER = 0x6
645 IFT_FAITH = 0xf2
646 IFT_FAST = 0x7d
647 IFT_FASTETHER = 0x3e
648 IFT_FASTETHERFX = 0x45
649 IFT_FDDI = 0xf
650 IFT_FIBRECHANNEL = 0x38
651 IFT_FRAMERELAYINTERCONNECT = 0x3a
652 IFT_FRAMERELAYMPI = 0x5c
653 IFT_FRDLCIENDPT = 0xc1
654 IFT_FRELAY = 0x20
655 IFT_FRELAYDCE = 0x2c
656 IFT_FRF16MFRBUNDLE = 0xa3
657 IFT_FRFORWARD = 0x9e
658 IFT_G703AT2MB = 0x43
659 IFT_G703AT64K = 0x42
660 IFT_GIF = 0xf0
661 IFT_GIGABITETHERNET = 0x75
662 IFT_GR303IDT = 0xb2
663 IFT_GR303RDT = 0xb1
664 IFT_H323GATEKEEPER = 0xa4
665 IFT_H323PROXY = 0xa5
666 IFT_HDH1822 = 0x3
667 IFT_HDLC = 0x76
668 IFT_HDSL2 = 0xa8
669 IFT_HIPERLAN2 = 0xb7
670 IFT_HIPPI = 0x2f
671 IFT_HIPPIINTERFACE = 0x39
672 IFT_HOSTPAD = 0x5a
673 IFT_HSSI = 0x2e
674 IFT_HY = 0xe
675 IFT_IBM370PARCHAN = 0x48
676 IFT_IDSL = 0x9a
677 IFT_IEEE1394 = 0x90
678 IFT_IEEE80211 = 0x47
679 IFT_IEEE80212 = 0x37
680 IFT_IEEE8023ADLAG = 0xa1
681 IFT_IFGSN = 0x91
682 IFT_IMT = 0xbe
683 IFT_INFINIBAND = 0xc7
684 IFT_INTERLEAVE = 0x7c
685 IFT_IP = 0x7e
686 IFT_IPFORWARD = 0x8e
687 IFT_IPOVERATM = 0x72
688 IFT_IPOVERCDLC = 0x6d
689 IFT_IPOVERCLAW = 0x6e
690 IFT_IPSWITCH = 0x4e
691 IFT_ISDN = 0x3f
692 IFT_ISDNBASIC = 0x14
693 IFT_ISDNPRIMARY = 0x15
694 IFT_ISDNS = 0x4b
695 IFT_ISDNU = 0x4c
696 IFT_ISO88022LLC = 0x29
697 IFT_ISO88023 = 0x7
698 IFT_ISO88024 = 0x8
699 IFT_ISO88025 = 0x9
700 IFT_ISO88025CRFPINT = 0x62
701 IFT_ISO88025DTR = 0x56
702 IFT_ISO88025FIBER = 0x73
703 IFT_ISO88026 = 0xa
704 IFT_ISUP = 0xb3
705 IFT_L2VLAN = 0x87
706 IFT_L3IPVLAN = 0x88
707 IFT_L3IPXVLAN = 0x89
708 IFT_LAPB = 0x10
709 IFT_LAPD = 0x4d
710 IFT_LAPF = 0x77
711 IFT_LINEGROUP = 0xd2
712 IFT_LOCALTALK = 0x2a
713 IFT_LOOP = 0x18
714 IFT_MEDIAMAILOVERIP = 0x8b
715 IFT_MFSIGLINK = 0xa7
716 IFT_MIOX25 = 0x26
717 IFT_MODEM = 0x30
718 IFT_MPC = 0x71
719 IFT_MPLS = 0xa6
720 IFT_MPLSTUNNEL = 0x96
721 IFT_MSDSL = 0x8f
722 IFT_MVL = 0xbf
723 IFT_MYRINET = 0x63
724 IFT_NFAS = 0xaf
725 IFT_NSIP = 0x1b
726 IFT_OPTICALCHANNEL = 0xc3
727 IFT_OPTICALTRANSPORT = 0xc4
728 IFT_OTHER = 0x1
729 IFT_P10 = 0xc
730 IFT_P80 = 0xd
731 IFT_PARA = 0x22
732 IFT_PFLOG = 0xf5
733 IFT_PFSYNC = 0xf6
734 IFT_PLC = 0xae
735 IFT_PON155 = 0xcf
736 IFT_PON622 = 0xd0
737 IFT_POS = 0xab
738 IFT_PPP = 0x17
739 IFT_PPPMULTILINKBUNDLE = 0x6c
740 IFT_PROPATM = 0xc5
741 IFT_PROPBWAP2MP = 0xb8
742 IFT_PROPCNLS = 0x59
743 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
744 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
745 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
746 IFT_PROPMUX = 0x36
747 IFT_PROPVIRTUAL = 0x35
748 IFT_PROPWIRELESSP2P = 0x9d
749 IFT_PTPSERIAL = 0x16
750 IFT_PVC = 0xf1
751 IFT_Q2931 = 0xc9
752 IFT_QLLC = 0x44
753 IFT_RADIOMAC = 0xbc
754 IFT_RADSL = 0x5f
755 IFT_REACHDSL = 0xc0
756 IFT_RFC1483 = 0x9f
757 IFT_RS232 = 0x21
758 IFT_RSRB = 0x4f
759 IFT_SDLC = 0x11
760 IFT_SDSL = 0x60
761 IFT_SHDSL = 0xa9
762 IFT_SIP = 0x1f
763 IFT_SIPSIG = 0xcc
764 IFT_SIPTG = 0xcb
765 IFT_SLIP = 0x1c
766 IFT_SMDSDXI = 0x2b
767 IFT_SMDSICIP = 0x34
768 IFT_SONET = 0x27
769 IFT_SONETOVERHEADCHANNEL = 0xb9
770 IFT_SONETPATH = 0x32
771 IFT_SONETVT = 0x33
772 IFT_SRP = 0x97
773 IFT_SS7SIGLINK = 0x9c
774 IFT_STACKTOSTACK = 0x6f
775 IFT_STARLAN = 0xb
776 IFT_STF = 0xd7
777 IFT_T1 = 0x12
778 IFT_TDLC = 0x74
779 IFT_TELINK = 0xc8
780 IFT_TERMPAD = 0x5b
781 IFT_TR008 = 0xb0
782 IFT_TRANSPHDLC = 0x7b
783 IFT_TUNNEL = 0x83
784 IFT_ULTRA = 0x1d
785 IFT_USB = 0xa0
786 IFT_V11 = 0x40
787 IFT_V35 = 0x2d
788 IFT_V36 = 0x41
789 IFT_V37 = 0x78
790 IFT_VDSL = 0x61
791 IFT_VIRTUALIPADDRESS = 0x70
792 IFT_VIRTUALTG = 0xca
793 IFT_VOICEDID = 0xd5
794 IFT_VOICEEM = 0x64
795 IFT_VOICEEMFGD = 0xd3
796 IFT_VOICEENCAP = 0x67
797 IFT_VOICEFGDEANA = 0xd4
798 IFT_VOICEFXO = 0x65
799 IFT_VOICEFXS = 0x66
800 IFT_VOICEOVERATM = 0x98
801 IFT_VOICEOVERCABLE = 0xc6
802 IFT_VOICEOVERFRAMERELAY = 0x99
803 IFT_VOICEOVERIP = 0x68
804 IFT_X213 = 0x5d
805 IFT_X25 = 0x5
806 IFT_X25DDN = 0x4
807 IFT_X25HUNTGROUP = 0x7a
808 IFT_X25MLP = 0x79
809 IFT_X25PLE = 0x28
810 IFT_XETHER = 0x1a
811 IGNBRK = 0x1
812 IGNCR = 0x80
813 IGNPAR = 0x4
814 IMAXBEL = 0x2000
815 INLCR = 0x40
816 INPCK = 0x10
817 IN_CLASSA_HOST = 0xffffff
818 IN_CLASSA_MAX = 0x80
819 IN_CLASSA_NET = 0xff000000
820 IN_CLASSA_NSHIFT = 0x18
821 IN_CLASSB_HOST = 0xffff
822 IN_CLASSB_MAX = 0x10000
823 IN_CLASSB_NET = 0xffff0000
824 IN_CLASSB_NSHIFT = 0x10
825 IN_CLASSC_HOST = 0xff
826 IN_CLASSC_NET = 0xffffff00
827 IN_CLASSC_NSHIFT = 0x8
828 IN_CLASSD_HOST = 0xfffffff
829 IN_CLASSD_NET = 0xf0000000
830 IN_CLASSD_NSHIFT = 0x1c
831 IN_LOOPBACKNET = 0x7f
832 IPPROTO_AH = 0x33
833 IPPROTO_CARP = 0x70
834 IPPROTO_DONE = 0x101
835 IPPROTO_DSTOPTS = 0x3c
836 IPPROTO_EGP = 0x8
837 IPPROTO_ENCAP = 0x62
838 IPPROTO_EON = 0x50
839 IPPROTO_ESP = 0x32
840 IPPROTO_ETHERIP = 0x61
841 IPPROTO_FRAGMENT = 0x2c
842 IPPROTO_GGP = 0x3
843 IPPROTO_GRE = 0x2f
844 IPPROTO_HOPOPTS = 0x0
845 IPPROTO_ICMP = 0x1
846 IPPROTO_ICMPV6 = 0x3a
847 IPPROTO_IDP = 0x16
848 IPPROTO_IGMP = 0x2
849 IPPROTO_IP = 0x0
850 IPPROTO_IPCOMP = 0x6c
851 IPPROTO_IPIP = 0x4
852 IPPROTO_IPV4 = 0x4
853 IPPROTO_IPV6 = 0x29
854 IPPROTO_IPV6_ICMP = 0x3a
855 IPPROTO_MAX = 0x100
856 IPPROTO_MAXID = 0x34
857 IPPROTO_MOBILE = 0x37
858 IPPROTO_NONE = 0x3b
859 IPPROTO_PFSYNC = 0xf0
860 IPPROTO_PIM = 0x67
861 IPPROTO_PUP = 0xc
862 IPPROTO_RAW = 0xff
863 IPPROTO_ROUTING = 0x2b
864 IPPROTO_RSVP = 0x2e
865 IPPROTO_TCP = 0x6
866 IPPROTO_TP = 0x1d
867 IPPROTO_UDP = 0x11
868 IPPROTO_VRRP = 0x70
869 IPV6_CHECKSUM = 0x1a
870 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
871 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
872 IPV6_DEFHLIM = 0x40
873 IPV6_DONTFRAG = 0x3e
874 IPV6_DSTOPTS = 0x32
875 IPV6_FAITH = 0x1d
876 IPV6_FLOWINFO_MASK = 0xffffff0f
877 IPV6_FLOWLABEL_MASK = 0xffff0f00
878 IPV6_FRAGTTL = 0x78
879 IPV6_HLIMDEC = 0x1
880 IPV6_HOPLIMIT = 0x2f
881 IPV6_HOPOPTS = 0x31
882 IPV6_IPSEC_POLICY = 0x1c
883 IPV6_JOIN_GROUP = 0xc
884 IPV6_LEAVE_GROUP = 0xd
885 IPV6_MAXHLIM = 0xff
886 IPV6_MAXPACKET = 0xffff
887 IPV6_MMTU = 0x500
888 IPV6_MULTICAST_HOPS = 0xa
889 IPV6_MULTICAST_IF = 0x9
890 IPV6_MULTICAST_LOOP = 0xb
891 IPV6_NEXTHOP = 0x30
892 IPV6_PATHMTU = 0x2c
893 IPV6_PKTINFO = 0x2e
894 IPV6_PORTRANGE = 0xe
895 IPV6_PORTRANGE_DEFAULT = 0x0
896 IPV6_PORTRANGE_HIGH = 0x1
897 IPV6_PORTRANGE_LOW = 0x2
898 IPV6_RECVDSTOPTS = 0x28
899 IPV6_RECVHOPLIMIT = 0x25
900 IPV6_RECVHOPOPTS = 0x27
901 IPV6_RECVPATHMTU = 0x2b
902 IPV6_RECVPKTINFO = 0x24
903 IPV6_RECVRTHDR = 0x26
904 IPV6_RECVTCLASS = 0x39
905 IPV6_RTHDR = 0x33
906 IPV6_RTHDRDSTOPTS = 0x23
907 IPV6_RTHDR_LOOSE = 0x0
908 IPV6_RTHDR_STRICT = 0x1
909 IPV6_RTHDR_TYPE_0 = 0x0
910 IPV6_SOCKOPT_RESERVED1 = 0x3
911 IPV6_TCLASS = 0x3d
912 IPV6_UNICAST_HOPS = 0x4
913 IPV6_USE_MIN_MTU = 0x2a
914 IPV6_V6ONLY = 0x1b
915 IPV6_VERSION = 0x60
916 IPV6_VERSION_MASK = 0xf0
917 IP_ADD_MEMBERSHIP = 0xc
918 IP_DEFAULT_MULTICAST_LOOP = 0x1
919 IP_DEFAULT_MULTICAST_TTL = 0x1
920 IP_DF = 0x4000
921 IP_DROP_MEMBERSHIP = 0xd
922 IP_EF = 0x8000
923 IP_ERRORMTU = 0x15
924 IP_HDRINCL = 0x2
925 IP_IPSEC_POLICY = 0x16
926 IP_MAXPACKET = 0xffff
927 IP_MAX_MEMBERSHIPS = 0x14
928 IP_MF = 0x2000
929 IP_MINFRAGSIZE = 0x45
930 IP_MINTTL = 0x18
931 IP_MSS = 0x240
932 IP_MULTICAST_IF = 0x9
933 IP_MULTICAST_LOOP = 0xb
934 IP_MULTICAST_TTL = 0xa
935 IP_OFFMASK = 0x1fff
936 IP_OPTIONS = 0x1
937 IP_PORTRANGE = 0x13
938 IP_PORTRANGE_DEFAULT = 0x0
939 IP_PORTRANGE_HIGH = 0x1
940 IP_PORTRANGE_LOW = 0x2
941 IP_RECVDSTADDR = 0x7
942 IP_RECVIF = 0x14
943 IP_RECVOPTS = 0x5
944 IP_RECVRETOPTS = 0x6
945 IP_RECVTTL = 0x17
946 IP_RETOPTS = 0x8
947 IP_RF = 0x8000
948 IP_TOS = 0x3
949 IP_TTL = 0x4
950 ISIG = 0x80
951 ISTRIP = 0x20
952 IXANY = 0x800
953 IXOFF = 0x400
954 IXON = 0x200
955 LOCK_EX = 0x2
956 LOCK_NB = 0x4
957 LOCK_SH = 0x1
958 LOCK_UN = 0x8
959 MADV_DONTNEED = 0x4
960 MADV_FREE = 0x6
961 MADV_NORMAL = 0x0
962 MADV_RANDOM = 0x1
963 MADV_SEQUENTIAL = 0x2
964 MADV_SPACEAVAIL = 0x5
965 MADV_WILLNEED = 0x3
966 MAP_ALIGNMENT_16MB = 0x18000000
967 MAP_ALIGNMENT_1TB = 0x28000000
968 MAP_ALIGNMENT_256TB = 0x30000000
969 MAP_ALIGNMENT_4GB = 0x20000000
970 MAP_ALIGNMENT_64KB = 0x10000000
971 MAP_ALIGNMENT_64PB = 0x38000000
972 MAP_ALIGNMENT_MASK = -0x1000000
973 MAP_ALIGNMENT_SHIFT = 0x18
974 MAP_ANON = 0x1000
975 MAP_FILE = 0x0
976 MAP_FIXED = 0x10
977 MAP_HASSEMAPHORE = 0x200
978 MAP_INHERIT = 0x80
979 MAP_INHERIT_COPY = 0x1
980 MAP_INHERIT_DEFAULT = 0x1
981 MAP_INHERIT_DONATE_COPY = 0x3
982 MAP_INHERIT_NONE = 0x2
983 MAP_INHERIT_SHARE = 0x0
984 MAP_NORESERVE = 0x40
985 MAP_PRIVATE = 0x2
986 MAP_RENAME = 0x20
987 MAP_SHARED = 0x1
988 MAP_STACK = 0x2000
989 MAP_TRYFIXED = 0x400
990 MAP_WIRED = 0x800
991 MSG_BCAST = 0x100
992 MSG_CMSG_CLOEXEC = 0x800
993 MSG_CONTROLMBUF = 0x2000000
994 MSG_CTRUNC = 0x20
995 MSG_DONTROUTE = 0x4
996 MSG_DONTWAIT = 0x80
997 MSG_EOR = 0x8
998 MSG_IOVUSRSPACE = 0x4000000
999 MSG_LENUSRSPACE = 0x8000000
1000 MSG_MCAST = 0x200
1001 MSG_NAMEMBUF = 0x1000000
1002 MSG_NBIO = 0x1000
1003 MSG_NOSIGNAL = 0x400
1004 MSG_OOB = 0x1
1005 MSG_PEEK = 0x2
1006 MSG_TRUNC = 0x10
1007 MSG_USERFLAGS = 0xffffff
1008 MSG_WAITALL = 0x40
1009 NAME_MAX = 0x1ff
1010 NET_RT_DUMP = 0x1
1011 NET_RT_FLAGS = 0x2
1012 NET_RT_IFLIST = 0x5
1013 NET_RT_MAXID = 0x6
1014 NET_RT_OIFLIST = 0x4
1015 NET_RT_OOIFLIST = 0x3
1016 NOFLSH = 0x80000000
1017 NOTE_ATTRIB = 0x8
1018 NOTE_CHILD = 0x4
1019 NOTE_DELETE = 0x1
1020 NOTE_EXEC = 0x20000000
1021 NOTE_EXIT = 0x80000000
1022 NOTE_EXTEND = 0x4
1023 NOTE_FORK = 0x40000000
1024 NOTE_LINK = 0x10
1025 NOTE_LOWAT = 0x1
1026 NOTE_PCTRLMASK = 0xf0000000
1027 NOTE_PDATAMASK = 0xfffff
1028 NOTE_RENAME = 0x20
1029 NOTE_REVOKE = 0x40
1030 NOTE_TRACK = 0x1
1031 NOTE_TRACKERR = 0x2
1032 NOTE_WRITE = 0x2
1033 OCRNL = 0x10
1034 OFIOGETBMAP = 0xc004667a
1035 ONLCR = 0x2
1036 ONLRET = 0x40
1037 ONOCR = 0x20
1038 ONOEOT = 0x8
1039 OPOST = 0x1
1040 O_ACCMODE = 0x3
1041 O_ALT_IO = 0x40000
1042 O_APPEND = 0x8
1043 O_ASYNC = 0x40
1044 O_CLOEXEC = 0x400000
1045 O_CREAT = 0x200
1046 O_DIRECT = 0x80000
1047 O_DIRECTORY = 0x200000
1048 O_DSYNC = 0x10000
1049 O_EXCL = 0x800
1050 O_EXLOCK = 0x20
1051 O_FSYNC = 0x80
1052 O_NDELAY = 0x4
1053 O_NOCTTY = 0x8000
1054 O_NOFOLLOW = 0x100
1055 O_NONBLOCK = 0x4
1056 O_NOSIGPIPE = 0x1000000
1057 O_RDONLY = 0x0
1058 O_RDWR = 0x2
1059 O_RSYNC = 0x20000
1060 O_SHLOCK = 0x10
1061 O_SYNC = 0x80
1062 O_TRUNC = 0x400
1063 O_WRONLY = 0x1
1064 PARENB = 0x1000
1065 PARMRK = 0x8
1066 PARODD = 0x2000
1067 PENDIN = 0x20000000
1068 PROT_EXEC = 0x4
1069 PROT_NONE = 0x0
1070 PROT_READ = 0x1
1071 PROT_WRITE = 0x2
1072 PRI_IOFLUSH = 0x7c
1073 PRIO_PGRP = 0x1
1074 PRIO_PROCESS = 0x0
1075 PRIO_USER = 0x2
1076 RLIMIT_AS = 0xa
1077 RLIMIT_CORE = 0x4
1078 RLIMIT_CPU = 0x0
1079 RLIMIT_DATA = 0x2
1080 RLIMIT_FSIZE = 0x1
1081 RLIMIT_NOFILE = 0x8
1082 RLIMIT_STACK = 0x3
1083 RLIM_INFINITY = 0x7fffffffffffffff
1084 RTAX_AUTHOR = 0x6
1085 RTAX_BRD = 0x7
1086 RTAX_DST = 0x0
1087 RTAX_GATEWAY = 0x1
1088 RTAX_GENMASK = 0x3
1089 RTAX_IFA = 0x5
1090 RTAX_IFP = 0x4
1091 RTAX_MAX = 0x9
1092 RTAX_NETMASK = 0x2
1093 RTAX_TAG = 0x8
1094 RTA_AUTHOR = 0x40
1095 RTA_BRD = 0x80
1096 RTA_DST = 0x1
1097 RTA_GATEWAY = 0x2
1098 RTA_GENMASK = 0x8
1099 RTA_IFA = 0x20
1100 RTA_IFP = 0x10
1101 RTA_NETMASK = 0x4
1102 RTA_TAG = 0x100
1103 RTF_ANNOUNCE = 0x20000
1104 RTF_BLACKHOLE = 0x1000
1105 RTF_CLONED = 0x2000
1106 RTF_CLONING = 0x100
1107 RTF_DONE = 0x40
1108 RTF_DYNAMIC = 0x10
1109 RTF_GATEWAY = 0x2
1110 RTF_HOST = 0x4
1111 RTF_LLINFO = 0x400
1112 RTF_MASK = 0x80
1113 RTF_MODIFIED = 0x20
1114 RTF_PROTO1 = 0x8000
1115 RTF_PROTO2 = 0x4000
1116 RTF_REJECT = 0x8
1117 RTF_SRC = 0x10000
1118 RTF_STATIC = 0x800
1119 RTF_UP = 0x1
1120 RTF_XRESOLVE = 0x200
1121 RTM_ADD = 0x1
1122 RTM_CHANGE = 0x3
1123 RTM_CHGADDR = 0x15
1124 RTM_DELADDR = 0xd
1125 RTM_DELETE = 0x2
1126 RTM_GET = 0x4
1127 RTM_IEEE80211 = 0x11
1128 RTM_IFANNOUNCE = 0x10
1129 RTM_IFINFO = 0x14
1130 RTM_LLINFO_UPD = 0x13
1131 RTM_LOCK = 0x8
1132 RTM_LOSING = 0x5
1133 RTM_MISS = 0x7
1134 RTM_NEWADDR = 0xc
1135 RTM_OIFINFO = 0xf
1136 RTM_OLDADD = 0x9
1137 RTM_OLDDEL = 0xa
1138 RTM_OOIFINFO = 0xe
1139 RTM_REDIRECT = 0x6
1140 RTM_RESOLVE = 0xb
1141 RTM_RTTUNIT = 0xf4240
1142 RTM_SETGATE = 0x12
1143 RTM_VERSION = 0x4
1144 RTV_EXPIRE = 0x4
1145 RTV_HOPCOUNT = 0x2
1146 RTV_MTU = 0x1
1147 RTV_RPIPE = 0x8
1148 RTV_RTT = 0x40
1149 RTV_RTTVAR = 0x80
1150 RTV_SPIPE = 0x10
1151 RTV_SSTHRESH = 0x20
1152 RUSAGE_CHILDREN = -0x1
1153 RUSAGE_SELF = 0x0
1154 SCM_CREDS = 0x4
1155 SCM_RIGHTS = 0x1
1156 SCM_TIMESTAMP = 0x8
1157 SHUT_RD = 0x0
1158 SHUT_RDWR = 0x2
1159 SHUT_WR = 0x1
1160 SIOCADDMULTI = 0x80906931
1161 SIOCADDRT = 0x8030720a
1162 SIOCAIFADDR = 0x8040691a
1163 SIOCALIFADDR = 0x8118691c
1164 SIOCATMARK = 0x40047307
1165 SIOCDELMULTI = 0x80906932
1166 SIOCDELRT = 0x8030720b
1167 SIOCDIFADDR = 0x80906919
1168 SIOCDIFPHYADDR = 0x80906949
1169 SIOCDLIFADDR = 0x8118691e
1170 SIOCGDRVSPEC = 0xc01c697b
1171 SIOCGETPFSYNC = 0xc09069f8
1172 SIOCGETSGCNT = 0xc0147534
1173 SIOCGETVIFCNT = 0xc0147533
1174 SIOCGHIWAT = 0x40047301
1175 SIOCGIFADDR = 0xc0906921
1176 SIOCGIFADDRPREF = 0xc0946920
1177 SIOCGIFALIAS = 0xc040691b
1178 SIOCGIFBRDADDR = 0xc0906923
1179 SIOCGIFCAP = 0xc0206976
1180 SIOCGIFCONF = 0xc0086926
1181 SIOCGIFDATA = 0xc0946985
1182 SIOCGIFDLT = 0xc0906977
1183 SIOCGIFDSTADDR = 0xc0906922
1184 SIOCGIFFLAGS = 0xc0906911
1185 SIOCGIFGENERIC = 0xc090693a
1186 SIOCGIFMEDIA = 0xc0286936
1187 SIOCGIFMETRIC = 0xc0906917
1188 SIOCGIFMTU = 0xc090697e
1189 SIOCGIFNETMASK = 0xc0906925
1190 SIOCGIFPDSTADDR = 0xc0906948
1191 SIOCGIFPSRCADDR = 0xc0906947
1192 SIOCGLIFADDR = 0xc118691d
1193 SIOCGLIFPHYADDR = 0xc118694b
1194 SIOCGLINKSTR = 0xc01c6987
1195 SIOCGLOWAT = 0x40047303
1196 SIOCGPGRP = 0x40047309
1197 SIOCGVH = 0xc0906983
1198 SIOCIFCREATE = 0x8090697a
1199 SIOCIFDESTROY = 0x80906979
1200 SIOCIFGCLONERS = 0xc00c6978
1201 SIOCINITIFADDR = 0xc0446984
1202 SIOCSDRVSPEC = 0x801c697b
1203 SIOCSETPFSYNC = 0x809069f7
1204 SIOCSHIWAT = 0x80047300
1205 SIOCSIFADDR = 0x8090690c
1206 SIOCSIFADDRPREF = 0x8094691f
1207 SIOCSIFBRDADDR = 0x80906913
1208 SIOCSIFCAP = 0x80206975
1209 SIOCSIFDSTADDR = 0x8090690e
1210 SIOCSIFFLAGS = 0x80906910
1211 SIOCSIFGENERIC = 0x80906939
1212 SIOCSIFMEDIA = 0xc0906935
1213 SIOCSIFMETRIC = 0x80906918
1214 SIOCSIFMTU = 0x8090697f
1215 SIOCSIFNETMASK = 0x80906916
1216 SIOCSIFPHYADDR = 0x80406946
1217 SIOCSLIFPHYADDR = 0x8118694a
1218 SIOCSLINKSTR = 0x801c6988
1219 SIOCSLOWAT = 0x80047302
1220 SIOCSPGRP = 0x80047308
1221 SIOCSVH = 0xc0906982
1222 SIOCZIFDATA = 0xc0946986
1223 SOCK_CLOEXEC = 0x10000000
1224 SOCK_DGRAM = 0x2
1225 SOCK_FLAGS_MASK = 0xf0000000
1226 SOCK_NONBLOCK = 0x20000000
1227 SOCK_NOSIGPIPE = 0x40000000
1228 SOCK_RAW = 0x3
1229 SOCK_RDM = 0x4
1230 SOCK_SEQPACKET = 0x5
1231 SOCK_STREAM = 0x1
1232 SOL_SOCKET = 0xffff
1233 SOMAXCONN = 0x80
1234 SO_ACCEPTCONN = 0x2
1235 SO_ACCEPTFILTER = 0x1000
1236 SO_BROADCAST = 0x20
1237 SO_DEBUG = 0x1
1238 SO_DONTROUTE = 0x10
1239 SO_ERROR = 0x1007
1240 SO_KEEPALIVE = 0x8
1241 SO_LINGER = 0x80
1242 SO_NOHEADER = 0x100a
1243 SO_NOSIGPIPE = 0x800
1244 SO_OOBINLINE = 0x100
1245 SO_OVERFLOWED = 0x1009
1246 SO_RCVBUF = 0x1002
1247 SO_RCVLOWAT = 0x1004
1248 SO_RCVTIMEO = 0x100c
1249 SO_REUSEADDR = 0x4
1250 SO_REUSEPORT = 0x200
1251 SO_SNDBUF = 0x1001
1252 SO_SNDLOWAT = 0x1003
1253 SO_SNDTIMEO = 0x100b
1254 SO_TIMESTAMP = 0x2000
1255 SO_TYPE = 0x1008
1256 SO_USELOOPBACK = 0x40
1257 SYSCTL_VERSION = 0x1000000
1258 SYSCTL_VERS_0 = 0x0
1259 SYSCTL_VERS_1 = 0x1000000
1260 SYSCTL_VERS_MASK = 0xff000000
1261 S_ARCH1 = 0x10000
1262 S_ARCH2 = 0x20000
1263 S_BLKSIZE = 0x200
1264 S_IEXEC = 0x40
1265 S_IFBLK = 0x6000
1266 S_IFCHR = 0x2000
1267 S_IFDIR = 0x4000
1268 S_IFIFO = 0x1000
1269 S_IFLNK = 0xa000
1270 S_IFMT = 0xf000
1271 S_IFREG = 0x8000
1272 S_IFSOCK = 0xc000
1273 S_IFWHT = 0xe000
1274 S_IREAD = 0x100
1275 S_IRGRP = 0x20
1276 S_IROTH = 0x4
1277 S_IRUSR = 0x100
1278 S_IRWXG = 0x38
1279 S_IRWXO = 0x7
1280 S_IRWXU = 0x1c0
1281 S_ISGID = 0x400
1282 S_ISTXT = 0x200
1283 S_ISUID = 0x800
1284 S_ISVTX = 0x200
1285 S_IWGRP = 0x10
1286 S_IWOTH = 0x2
1287 S_IWRITE = 0x80
1288 S_IWUSR = 0x80
1289 S_IXGRP = 0x8
1290 S_IXOTH = 0x1
1291 S_IXUSR = 0x40
1292 TCIFLUSH = 0x1
1293 TCIOFLUSH = 0x3
1294 TCOFLUSH = 0x2
1295 TCP_CONGCTL = 0x20
1296 TCP_KEEPCNT = 0x6
1297 TCP_KEEPIDLE = 0x3
1298 TCP_KEEPINIT = 0x7
1299 TCP_KEEPINTVL = 0x5
1300 TCP_MAXBURST = 0x4
1301 TCP_MAXSEG = 0x2
1302 TCP_MAXWIN = 0xffff
1303 TCP_MAX_WINSHIFT = 0xe
1304 TCP_MD5SIG = 0x10
1305 TCP_MINMSS = 0xd8
1306 TCP_MSS = 0x218
1307 TCP_NODELAY = 0x1
1308 TCSAFLUSH = 0x2
1309 TIOCCBRK = 0x2000747a
1310 TIOCCDTR = 0x20007478
1311 TIOCCONS = 0x80047462
1312 TIOCDCDTIMESTAMP = 0x400c7458
1313 TIOCDRAIN = 0x2000745e
1314 TIOCEXCL = 0x2000740d
1315 TIOCEXT = 0x80047460
1316 TIOCFLAG_CDTRCTS = 0x10
1317 TIOCFLAG_CLOCAL = 0x2
1318 TIOCFLAG_CRTSCTS = 0x4
1319 TIOCFLAG_MDMBUF = 0x8
1320 TIOCFLAG_SOFTCAR = 0x1
1321 TIOCFLUSH = 0x80047410
1322 TIOCGETA = 0x402c7413
1323 TIOCGETD = 0x4004741a
1324 TIOCGFLAGS = 0x4004745d
1325 TIOCGLINED = 0x40207442
1326 TIOCGPGRP = 0x40047477
1327 TIOCGQSIZE = 0x40047481
1328 TIOCGRANTPT = 0x20007447
1329 TIOCGSID = 0x40047463
1330 TIOCGSIZE = 0x40087468
1331 TIOCGWINSZ = 0x40087468
1332 TIOCMBIC = 0x8004746b
1333 TIOCMBIS = 0x8004746c
1334 TIOCMGET = 0x4004746a
1335 TIOCMSET = 0x8004746d
1336 TIOCM_CAR = 0x40
1337 TIOCM_CD = 0x40
1338 TIOCM_CTS = 0x20
1339 TIOCM_DSR = 0x100
1340 TIOCM_DTR = 0x2
1341 TIOCM_LE = 0x1
1342 TIOCM_RI = 0x80
1343 TIOCM_RNG = 0x80
1344 TIOCM_RTS = 0x4
1345 TIOCM_SR = 0x10
1346 TIOCM_ST = 0x8
1347 TIOCNOTTY = 0x20007471
1348 TIOCNXCL = 0x2000740e
1349 TIOCOUTQ = 0x40047473
1350 TIOCPKT = 0x80047470
1351 TIOCPKT_DATA = 0x0
1352 TIOCPKT_DOSTOP = 0x20
1353 TIOCPKT_FLUSHREAD = 0x1
1354 TIOCPKT_FLUSHWRITE = 0x2
1355 TIOCPKT_IOCTL = 0x40
1356 TIOCPKT_NOSTOP = 0x10
1357 TIOCPKT_START = 0x8
1358 TIOCPKT_STOP = 0x4
1359 TIOCPTMGET = 0x48087446
1360 TIOCPTSNAME = 0x48087448
1361 TIOCRCVFRAME = 0x80047445
1362 TIOCREMOTE = 0x80047469
1363 TIOCSBRK = 0x2000747b
1364 TIOCSCTTY = 0x20007461
1365 TIOCSDTR = 0x20007479
1366 TIOCSETA = 0x802c7414
1367 TIOCSETAF = 0x802c7416
1368 TIOCSETAW = 0x802c7415
1369 TIOCSETD = 0x8004741b
1370 TIOCSFLAGS = 0x8004745c
1371 TIOCSIG = 0x2000745f
1372 TIOCSLINED = 0x80207443
1373 TIOCSPGRP = 0x80047476
1374 TIOCSQSIZE = 0x80047480
1375 TIOCSSIZE = 0x80087467
1376 TIOCSTART = 0x2000746e
1377 TIOCSTAT = 0x80047465
1378 TIOCSTI = 0x80017472
1379 TIOCSTOP = 0x2000746f
1380 TIOCSWINSZ = 0x80087467
1381 TIOCUCNTL = 0x80047466
1382 TIOCXMTFRAME = 0x80047444
1383 TOSTOP = 0x400000
1384 VDISCARD = 0xf
1385 VDSUSP = 0xb
1386 VEOF = 0x0
1387 VEOL = 0x1
1388 VEOL2 = 0x2
1389 VERASE = 0x3
1390 VINTR = 0x8
1391 VKILL = 0x5
1392 VLNEXT = 0xe
1393 VMIN = 0x10
1394 VQUIT = 0x9
1395 VREPRINT = 0x6
1396 VSTART = 0xc
1397 VSTATUS = 0x12
1398 VSTOP = 0xd
1399 VSUSP = 0xa
1400 VTIME = 0x11
1401 VWERASE = 0x4
1402 WALL = 0x8
1403 WALLSIG = 0x8
1404 WALTSIG = 0x4
1405 WCLONE = 0x4
1406 WCOREFLAG = 0x80
1407 WNOHANG = 0x1
1408 WNOWAIT = 0x10000
1409 WNOZOMBIE = 0x20000
1410 WOPTSCHECKED = 0x40000
1411 WSTOPPED = 0x7f
1412 WUNTRACED = 0x2
1413)
1414
1415// Errors
1416const (
1417 E2BIG = syscall.Errno(0x7)
1418 EACCES = syscall.Errno(0xd)
1419 EADDRINUSE = syscall.Errno(0x30)
1420 EADDRNOTAVAIL = syscall.Errno(0x31)
1421 EAFNOSUPPORT = syscall.Errno(0x2f)
1422 EAGAIN = syscall.Errno(0x23)
1423 EALREADY = syscall.Errno(0x25)
1424 EAUTH = syscall.Errno(0x50)
1425 EBADF = syscall.Errno(0x9)
1426 EBADMSG = syscall.Errno(0x58)
1427 EBADRPC = syscall.Errno(0x48)
1428 EBUSY = syscall.Errno(0x10)
1429 ECANCELED = syscall.Errno(0x57)
1430 ECHILD = syscall.Errno(0xa)
1431 ECONNABORTED = syscall.Errno(0x35)
1432 ECONNREFUSED = syscall.Errno(0x3d)
1433 ECONNRESET = syscall.Errno(0x36)
1434 EDEADLK = syscall.Errno(0xb)
1435 EDESTADDRREQ = syscall.Errno(0x27)
1436 EDOM = syscall.Errno(0x21)
1437 EDQUOT = syscall.Errno(0x45)
1438 EEXIST = syscall.Errno(0x11)
1439 EFAULT = syscall.Errno(0xe)
1440 EFBIG = syscall.Errno(0x1b)
1441 EFTYPE = syscall.Errno(0x4f)
1442 EHOSTDOWN = syscall.Errno(0x40)
1443 EHOSTUNREACH = syscall.Errno(0x41)
1444 EIDRM = syscall.Errno(0x52)
1445 EILSEQ = syscall.Errno(0x55)
1446 EINPROGRESS = syscall.Errno(0x24)
1447 EINTR = syscall.Errno(0x4)
1448 EINVAL = syscall.Errno(0x16)
1449 EIO = syscall.Errno(0x5)
1450 EISCONN = syscall.Errno(0x38)
1451 EISDIR = syscall.Errno(0x15)
1452 ELAST = syscall.Errno(0x60)
1453 ELOOP = syscall.Errno(0x3e)
1454 EMFILE = syscall.Errno(0x18)
1455 EMLINK = syscall.Errno(0x1f)
1456 EMSGSIZE = syscall.Errno(0x28)
1457 EMULTIHOP = syscall.Errno(0x5e)
1458 ENAMETOOLONG = syscall.Errno(0x3f)
1459 ENEEDAUTH = syscall.Errno(0x51)
1460 ENETDOWN = syscall.Errno(0x32)
1461 ENETRESET = syscall.Errno(0x34)
1462 ENETUNREACH = syscall.Errno(0x33)
1463 ENFILE = syscall.Errno(0x17)
1464 ENOATTR = syscall.Errno(0x5d)
1465 ENOBUFS = syscall.Errno(0x37)
1466 ENODATA = syscall.Errno(0x59)
1467 ENODEV = syscall.Errno(0x13)
1468 ENOENT = syscall.Errno(0x2)
1469 ENOEXEC = syscall.Errno(0x8)
1470 ENOLCK = syscall.Errno(0x4d)
1471 ENOLINK = syscall.Errno(0x5f)
1472 ENOMEM = syscall.Errno(0xc)
1473 ENOMSG = syscall.Errno(0x53)
1474 ENOPROTOOPT = syscall.Errno(0x2a)
1475 ENOSPC = syscall.Errno(0x1c)
1476 ENOSR = syscall.Errno(0x5a)
1477 ENOSTR = syscall.Errno(0x5b)
1478 ENOSYS = syscall.Errno(0x4e)
1479 ENOTBLK = syscall.Errno(0xf)
1480 ENOTCONN = syscall.Errno(0x39)
1481 ENOTDIR = syscall.Errno(0x14)
1482 ENOTEMPTY = syscall.Errno(0x42)
1483 ENOTSOCK = syscall.Errno(0x26)
1484 ENOTSUP = syscall.Errno(0x56)
1485 ENOTTY = syscall.Errno(0x19)
1486 ENXIO = syscall.Errno(0x6)
1487 EOPNOTSUPP = syscall.Errno(0x2d)
1488 EOVERFLOW = syscall.Errno(0x54)
1489 EPERM = syscall.Errno(0x1)
1490 EPFNOSUPPORT = syscall.Errno(0x2e)
1491 EPIPE = syscall.Errno(0x20)
1492 EPROCLIM = syscall.Errno(0x43)
1493 EPROCUNAVAIL = syscall.Errno(0x4c)
1494 EPROGMISMATCH = syscall.Errno(0x4b)
1495 EPROGUNAVAIL = syscall.Errno(0x4a)
1496 EPROTO = syscall.Errno(0x60)
1497 EPROTONOSUPPORT = syscall.Errno(0x2b)
1498 EPROTOTYPE = syscall.Errno(0x29)
1499 ERANGE = syscall.Errno(0x22)
1500 EREMOTE = syscall.Errno(0x47)
1501 EROFS = syscall.Errno(0x1e)
1502 ERPCMISMATCH = syscall.Errno(0x49)
1503 ESHUTDOWN = syscall.Errno(0x3a)
1504 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1505 ESPIPE = syscall.Errno(0x1d)
1506 ESRCH = syscall.Errno(0x3)
1507 ESTALE = syscall.Errno(0x46)
1508 ETIME = syscall.Errno(0x5c)
1509 ETIMEDOUT = syscall.Errno(0x3c)
1510 ETOOMANYREFS = syscall.Errno(0x3b)
1511 ETXTBSY = syscall.Errno(0x1a)
1512 EUSERS = syscall.Errno(0x44)
1513 EWOULDBLOCK = syscall.Errno(0x23)
1514 EXDEV = syscall.Errno(0x12)
1515)
1516
1517// Signals
1518const (
1519 SIGABRT = syscall.Signal(0x6)
1520 SIGALRM = syscall.Signal(0xe)
1521 SIGBUS = syscall.Signal(0xa)
1522 SIGCHLD = syscall.Signal(0x14)
1523 SIGCONT = syscall.Signal(0x13)
1524 SIGEMT = syscall.Signal(0x7)
1525 SIGFPE = syscall.Signal(0x8)
1526 SIGHUP = syscall.Signal(0x1)
1527 SIGILL = syscall.Signal(0x4)
1528 SIGINFO = syscall.Signal(0x1d)
1529 SIGINT = syscall.Signal(0x2)
1530 SIGIO = syscall.Signal(0x17)
1531 SIGIOT = syscall.Signal(0x6)
1532 SIGKILL = syscall.Signal(0x9)
1533 SIGPIPE = syscall.Signal(0xd)
1534 SIGPROF = syscall.Signal(0x1b)
1535 SIGPWR = syscall.Signal(0x20)
1536 SIGQUIT = syscall.Signal(0x3)
1537 SIGSEGV = syscall.Signal(0xb)
1538 SIGSTOP = syscall.Signal(0x11)
1539 SIGSYS = syscall.Signal(0xc)
1540 SIGTERM = syscall.Signal(0xf)
1541 SIGTRAP = syscall.Signal(0x5)
1542 SIGTSTP = syscall.Signal(0x12)
1543 SIGTTIN = syscall.Signal(0x15)
1544 SIGTTOU = syscall.Signal(0x16)
1545 SIGURG = syscall.Signal(0x10)
1546 SIGUSR1 = syscall.Signal(0x1e)
1547 SIGUSR2 = syscall.Signal(0x1f)
1548 SIGVTALRM = syscall.Signal(0x1a)
1549 SIGWINCH = syscall.Signal(0x1c)
1550 SIGXCPU = syscall.Signal(0x18)
1551 SIGXFSZ = syscall.Signal(0x19)
1552)
1553
1554// Error table
1555var errors = [...]string{
1556 1: "operation not permitted",
1557 2: "no such file or directory",
1558 3: "no such process",
1559 4: "interrupted system call",
1560 5: "input/output error",
1561 6: "device not configured",
1562 7: "argument list too long",
1563 8: "exec format error",
1564 9: "bad file descriptor",
1565 10: "no child processes",
1566 11: "resource deadlock avoided",
1567 12: "cannot allocate memory",
1568 13: "permission denied",
1569 14: "bad address",
1570 15: "block device required",
1571 16: "device busy",
1572 17: "file exists",
1573 18: "cross-device link",
1574 19: "operation not supported by device",
1575 20: "not a directory",
1576 21: "is a directory",
1577 22: "invalid argument",
1578 23: "too many open files in system",
1579 24: "too many open files",
1580 25: "inappropriate ioctl for device",
1581 26: "text file busy",
1582 27: "file too large",
1583 28: "no space left on device",
1584 29: "illegal seek",
1585 30: "read-only file system",
1586 31: "too many links",
1587 32: "broken pipe",
1588 33: "numerical argument out of domain",
1589 34: "result too large or too small",
1590 35: "resource temporarily unavailable",
1591 36: "operation now in progress",
1592 37: "operation already in progress",
1593 38: "socket operation on non-socket",
1594 39: "destination address required",
1595 40: "message too long",
1596 41: "protocol wrong type for socket",
1597 42: "protocol option not available",
1598 43: "protocol not supported",
1599 44: "socket type not supported",
1600 45: "operation not supported",
1601 46: "protocol family not supported",
1602 47: "address family not supported by protocol family",
1603 48: "address already in use",
1604 49: "can't assign requested address",
1605 50: "network is down",
1606 51: "network is unreachable",
1607 52: "network dropped connection on reset",
1608 53: "software caused connection abort",
1609 54: "connection reset by peer",
1610 55: "no buffer space available",
1611 56: "socket is already connected",
1612 57: "socket is not connected",
1613 58: "can't send after socket shutdown",
1614 59: "too many references: can't splice",
1615 60: "connection timed out",
1616 61: "connection refused",
1617 62: "too many levels of symbolic links",
1618 63: "file name too long",
1619 64: "host is down",
1620 65: "no route to host",
1621 66: "directory not empty",
1622 67: "too many processes",
1623 68: "too many users",
1624 69: "disc quota exceeded",
1625 70: "stale NFS file handle",
1626 71: "too many levels of remote in path",
1627 72: "RPC struct is bad",
1628 73: "RPC version wrong",
1629 74: "RPC prog. not avail",
1630 75: "program version wrong",
1631 76: "bad procedure for program",
1632 77: "no locks available",
1633 78: "function not implemented",
1634 79: "inappropriate file type or format",
1635 80: "authentication error",
1636 81: "need authenticator",
1637 82: "identifier removed",
1638 83: "no message of desired type",
1639 84: "value too large to be stored in data type",
1640 85: "illegal byte sequence",
1641 86: "not supported",
1642 87: "operation Canceled",
1643 88: "bad or Corrupt message",
1644 89: "no message available",
1645 90: "no STREAM resources",
1646 91: "not a STREAM",
1647 92: "STREAM ioctl timeout",
1648 93: "attribute not found",
1649 94: "multihop attempted",
1650 95: "link has been severed",
1651 96: "protocol error",
1652}
1653
1654// Signal table
1655var signals = [...]string{
1656 1: "hangup",
1657 2: "interrupt",
1658 3: "quit",
1659 4: "illegal instruction",
1660 5: "trace/BPT trap",
1661 6: "abort trap",
1662 7: "EMT trap",
1663 8: "floating point exception",
1664 9: "killed",
1665 10: "bus error",
1666 11: "segmentation fault",
1667 12: "bad system call",
1668 13: "broken pipe",
1669 14: "alarm clock",
1670 15: "terminated",
1671 16: "urgent I/O condition",
1672 17: "stopped (signal)",
1673 18: "stopped",
1674 19: "continued",
1675 20: "child exited",
1676 21: "stopped (tty input)",
1677 22: "stopped (tty output)",
1678 23: "I/O possible",
1679 24: "cputime limit exceeded",
1680 25: "filesize limit exceeded",
1681 26: "virtual timer expired",
1682 27: "profiling timer expired",
1683 28: "window size changes",
1684 29: "information request",
1685 30: "user defined signal 1",
1686 31: "user defined signal 2",
1687 32: "power fail/restart",
1688}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_386.go
deleted file mode 100644
index 3322e99..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_386.go
+++ /dev/null
@@ -1,1584 +0,0 @@
1// mkerrors.sh -m32
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,openbsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m32 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_BLUETOOTH = 0x20
16 AF_CCITT = 0xa
17 AF_CHAOS = 0x5
18 AF_CNT = 0x15
19 AF_COIP = 0x14
20 AF_DATAKIT = 0x9
21 AF_DECnet = 0xc
22 AF_DLI = 0xd
23 AF_E164 = 0x1a
24 AF_ECMA = 0x8
25 AF_ENCAP = 0x1c
26 AF_HYLINK = 0xf
27 AF_IMPLINK = 0x3
28 AF_INET = 0x2
29 AF_INET6 = 0x18
30 AF_IPX = 0x17
31 AF_ISDN = 0x1a
32 AF_ISO = 0x7
33 AF_KEY = 0x1e
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x24
38 AF_MPLS = 0x21
39 AF_NATM = 0x1b
40 AF_NS = 0x6
41 AF_OSI = 0x7
42 AF_PUP = 0x4
43 AF_ROUTE = 0x11
44 AF_SIP = 0x1d
45 AF_SNA = 0xb
46 AF_UNIX = 0x1
47 AF_UNSPEC = 0x0
48 ARPHRD_ETHER = 0x1
49 ARPHRD_FRELAY = 0xf
50 ARPHRD_IEEE1394 = 0x18
51 ARPHRD_IEEE802 = 0x6
52 B0 = 0x0
53 B110 = 0x6e
54 B115200 = 0x1c200
55 B1200 = 0x4b0
56 B134 = 0x86
57 B14400 = 0x3840
58 B150 = 0x96
59 B1800 = 0x708
60 B19200 = 0x4b00
61 B200 = 0xc8
62 B230400 = 0x38400
63 B2400 = 0x960
64 B28800 = 0x7080
65 B300 = 0x12c
66 B38400 = 0x9600
67 B4800 = 0x12c0
68 B50 = 0x32
69 B57600 = 0xe100
70 B600 = 0x258
71 B7200 = 0x1c20
72 B75 = 0x4b
73 B76800 = 0x12c00
74 B9600 = 0x2580
75 BIOCFLUSH = 0x20004268
76 BIOCGBLEN = 0x40044266
77 BIOCGDIRFILT = 0x4004427c
78 BIOCGDLT = 0x4004426a
79 BIOCGDLTLIST = 0xc008427b
80 BIOCGETIF = 0x4020426b
81 BIOCGFILDROP = 0x40044278
82 BIOCGHDRCMPLT = 0x40044274
83 BIOCGRSIG = 0x40044273
84 BIOCGRTIMEOUT = 0x400c426e
85 BIOCGSTATS = 0x4008426f
86 BIOCIMMEDIATE = 0x80044270
87 BIOCLOCK = 0x20004276
88 BIOCPROMISC = 0x20004269
89 BIOCSBLEN = 0xc0044266
90 BIOCSDIRFILT = 0x8004427d
91 BIOCSDLT = 0x8004427a
92 BIOCSETF = 0x80084267
93 BIOCSETIF = 0x8020426c
94 BIOCSETWF = 0x80084277
95 BIOCSFILDROP = 0x80044279
96 BIOCSHDRCMPLT = 0x80044275
97 BIOCSRSIG = 0x80044272
98 BIOCSRTIMEOUT = 0x800c426d
99 BIOCVERSION = 0x40044271
100 BPF_A = 0x10
101 BPF_ABS = 0x20
102 BPF_ADD = 0x0
103 BPF_ALIGNMENT = 0x4
104 BPF_ALU = 0x4
105 BPF_AND = 0x50
106 BPF_B = 0x10
107 BPF_DIRECTION_IN = 0x1
108 BPF_DIRECTION_OUT = 0x2
109 BPF_DIV = 0x30
110 BPF_H = 0x8
111 BPF_IMM = 0x0
112 BPF_IND = 0x40
113 BPF_JA = 0x0
114 BPF_JEQ = 0x10
115 BPF_JGE = 0x30
116 BPF_JGT = 0x20
117 BPF_JMP = 0x5
118 BPF_JSET = 0x40
119 BPF_K = 0x0
120 BPF_LD = 0x0
121 BPF_LDX = 0x1
122 BPF_LEN = 0x80
123 BPF_LSH = 0x60
124 BPF_MAJOR_VERSION = 0x1
125 BPF_MAXBUFSIZE = 0x200000
126 BPF_MAXINSNS = 0x200
127 BPF_MEM = 0x60
128 BPF_MEMWORDS = 0x10
129 BPF_MINBUFSIZE = 0x20
130 BPF_MINOR_VERSION = 0x1
131 BPF_MISC = 0x7
132 BPF_MSH = 0xa0
133 BPF_MUL = 0x20
134 BPF_NEG = 0x80
135 BPF_OR = 0x40
136 BPF_RELEASE = 0x30bb6
137 BPF_RET = 0x6
138 BPF_RSH = 0x70
139 BPF_ST = 0x2
140 BPF_STX = 0x3
141 BPF_SUB = 0x10
142 BPF_TAX = 0x0
143 BPF_TXA = 0x80
144 BPF_W = 0x0
145 BPF_X = 0x8
146 BRKINT = 0x2
147 CFLUSH = 0xf
148 CLOCAL = 0x8000
149 CREAD = 0x800
150 CS5 = 0x0
151 CS6 = 0x100
152 CS7 = 0x200
153 CS8 = 0x300
154 CSIZE = 0x300
155 CSTART = 0x11
156 CSTATUS = 0xff
157 CSTOP = 0x13
158 CSTOPB = 0x400
159 CSUSP = 0x1a
160 CTL_MAXNAME = 0xc
161 CTL_NET = 0x4
162 DIOCOSFPFLUSH = 0x2000444e
163 DLT_ARCNET = 0x7
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AX25 = 0x3
166 DLT_CHAOS = 0x5
167 DLT_C_HDLC = 0x68
168 DLT_EN10MB = 0x1
169 DLT_EN3MB = 0x2
170 DLT_ENC = 0xd
171 DLT_FDDI = 0xa
172 DLT_IEEE802 = 0x6
173 DLT_IEEE802_11 = 0x69
174 DLT_IEEE802_11_RADIO = 0x7f
175 DLT_LOOP = 0xc
176 DLT_MPLS = 0xdb
177 DLT_NULL = 0x0
178 DLT_PFLOG = 0x75
179 DLT_PFSYNC = 0x12
180 DLT_PPP = 0x9
181 DLT_PPP_BSDOS = 0x10
182 DLT_PPP_ETHER = 0x33
183 DLT_PPP_SERIAL = 0x32
184 DLT_PRONET = 0x4
185 DLT_RAW = 0xe
186 DLT_SLIP = 0x8
187 DLT_SLIP_BSDOS = 0xf
188 DT_BLK = 0x6
189 DT_CHR = 0x2
190 DT_DIR = 0x4
191 DT_FIFO = 0x1
192 DT_LNK = 0xa
193 DT_REG = 0x8
194 DT_SOCK = 0xc
195 DT_UNKNOWN = 0x0
196 ECHO = 0x8
197 ECHOCTL = 0x40
198 ECHOE = 0x2
199 ECHOK = 0x4
200 ECHOKE = 0x1
201 ECHONL = 0x10
202 ECHOPRT = 0x20
203 EMT_TAGOVF = 0x1
204 EMUL_ENABLED = 0x1
205 EMUL_NATIVE = 0x2
206 ENDRUNDISC = 0x9
207 ETHERMIN = 0x2e
208 ETHERMTU = 0x5dc
209 ETHERTYPE_8023 = 0x4
210 ETHERTYPE_AARP = 0x80f3
211 ETHERTYPE_ACCTON = 0x8390
212 ETHERTYPE_AEONIC = 0x8036
213 ETHERTYPE_ALPHA = 0x814a
214 ETHERTYPE_AMBER = 0x6008
215 ETHERTYPE_AMOEBA = 0x8145
216 ETHERTYPE_AOE = 0x88a2
217 ETHERTYPE_APOLLO = 0x80f7
218 ETHERTYPE_APOLLODOMAIN = 0x8019
219 ETHERTYPE_APPLETALK = 0x809b
220 ETHERTYPE_APPLITEK = 0x80c7
221 ETHERTYPE_ARGONAUT = 0x803a
222 ETHERTYPE_ARP = 0x806
223 ETHERTYPE_AT = 0x809b
224 ETHERTYPE_ATALK = 0x809b
225 ETHERTYPE_ATOMIC = 0x86df
226 ETHERTYPE_ATT = 0x8069
227 ETHERTYPE_ATTSTANFORD = 0x8008
228 ETHERTYPE_AUTOPHON = 0x806a
229 ETHERTYPE_AXIS = 0x8856
230 ETHERTYPE_BCLOOP = 0x9003
231 ETHERTYPE_BOFL = 0x8102
232 ETHERTYPE_CABLETRON = 0x7034
233 ETHERTYPE_CHAOS = 0x804
234 ETHERTYPE_COMDESIGN = 0x806c
235 ETHERTYPE_COMPUGRAPHIC = 0x806d
236 ETHERTYPE_COUNTERPOINT = 0x8062
237 ETHERTYPE_CRONUS = 0x8004
238 ETHERTYPE_CRONUSVLN = 0x8003
239 ETHERTYPE_DCA = 0x1234
240 ETHERTYPE_DDE = 0x807b
241 ETHERTYPE_DEBNI = 0xaaaa
242 ETHERTYPE_DECAM = 0x8048
243 ETHERTYPE_DECCUST = 0x6006
244 ETHERTYPE_DECDIAG = 0x6005
245 ETHERTYPE_DECDNS = 0x803c
246 ETHERTYPE_DECDTS = 0x803e
247 ETHERTYPE_DECEXPER = 0x6000
248 ETHERTYPE_DECLAST = 0x8041
249 ETHERTYPE_DECLTM = 0x803f
250 ETHERTYPE_DECMUMPS = 0x6009
251 ETHERTYPE_DECNETBIOS = 0x8040
252 ETHERTYPE_DELTACON = 0x86de
253 ETHERTYPE_DIDDLE = 0x4321
254 ETHERTYPE_DLOG1 = 0x660
255 ETHERTYPE_DLOG2 = 0x661
256 ETHERTYPE_DN = 0x6003
257 ETHERTYPE_DOGFIGHT = 0x1989
258 ETHERTYPE_DSMD = 0x8039
259 ETHERTYPE_ECMA = 0x803
260 ETHERTYPE_ENCRYPT = 0x803d
261 ETHERTYPE_ES = 0x805d
262 ETHERTYPE_EXCELAN = 0x8010
263 ETHERTYPE_EXPERDATA = 0x8049
264 ETHERTYPE_FLIP = 0x8146
265 ETHERTYPE_FLOWCONTROL = 0x8808
266 ETHERTYPE_FRARP = 0x808
267 ETHERTYPE_GENDYN = 0x8068
268 ETHERTYPE_HAYES = 0x8130
269 ETHERTYPE_HIPPI_FP = 0x8180
270 ETHERTYPE_HITACHI = 0x8820
271 ETHERTYPE_HP = 0x8005
272 ETHERTYPE_IEEEPUP = 0xa00
273 ETHERTYPE_IEEEPUPAT = 0xa01
274 ETHERTYPE_IMLBL = 0x4c42
275 ETHERTYPE_IMLBLDIAG = 0x424c
276 ETHERTYPE_IP = 0x800
277 ETHERTYPE_IPAS = 0x876c
278 ETHERTYPE_IPV6 = 0x86dd
279 ETHERTYPE_IPX = 0x8137
280 ETHERTYPE_IPXNEW = 0x8037
281 ETHERTYPE_KALPANA = 0x8582
282 ETHERTYPE_LANBRIDGE = 0x8038
283 ETHERTYPE_LANPROBE = 0x8888
284 ETHERTYPE_LAT = 0x6004
285 ETHERTYPE_LBACK = 0x9000
286 ETHERTYPE_LITTLE = 0x8060
287 ETHERTYPE_LLDP = 0x88cc
288 ETHERTYPE_LOGICRAFT = 0x8148
289 ETHERTYPE_LOOPBACK = 0x9000
290 ETHERTYPE_MATRA = 0x807a
291 ETHERTYPE_MAX = 0xffff
292 ETHERTYPE_MERIT = 0x807c
293 ETHERTYPE_MICP = 0x873a
294 ETHERTYPE_MOPDL = 0x6001
295 ETHERTYPE_MOPRC = 0x6002
296 ETHERTYPE_MOTOROLA = 0x818d
297 ETHERTYPE_MPLS = 0x8847
298 ETHERTYPE_MPLS_MCAST = 0x8848
299 ETHERTYPE_MUMPS = 0x813f
300 ETHERTYPE_NBPCC = 0x3c04
301 ETHERTYPE_NBPCLAIM = 0x3c09
302 ETHERTYPE_NBPCLREQ = 0x3c05
303 ETHERTYPE_NBPCLRSP = 0x3c06
304 ETHERTYPE_NBPCREQ = 0x3c02
305 ETHERTYPE_NBPCRSP = 0x3c03
306 ETHERTYPE_NBPDG = 0x3c07
307 ETHERTYPE_NBPDGB = 0x3c08
308 ETHERTYPE_NBPDLTE = 0x3c0a
309 ETHERTYPE_NBPRAR = 0x3c0c
310 ETHERTYPE_NBPRAS = 0x3c0b
311 ETHERTYPE_NBPRST = 0x3c0d
312 ETHERTYPE_NBPSCD = 0x3c01
313 ETHERTYPE_NBPVCD = 0x3c00
314 ETHERTYPE_NBS = 0x802
315 ETHERTYPE_NCD = 0x8149
316 ETHERTYPE_NESTAR = 0x8006
317 ETHERTYPE_NETBEUI = 0x8191
318 ETHERTYPE_NOVELL = 0x8138
319 ETHERTYPE_NS = 0x600
320 ETHERTYPE_NSAT = 0x601
321 ETHERTYPE_NSCOMPAT = 0x807
322 ETHERTYPE_NTRAILER = 0x10
323 ETHERTYPE_OS9 = 0x7007
324 ETHERTYPE_OS9NET = 0x7009
325 ETHERTYPE_PACER = 0x80c6
326 ETHERTYPE_PAE = 0x888e
327 ETHERTYPE_PCS = 0x4242
328 ETHERTYPE_PLANNING = 0x8044
329 ETHERTYPE_PPP = 0x880b
330 ETHERTYPE_PPPOE = 0x8864
331 ETHERTYPE_PPPOEDISC = 0x8863
332 ETHERTYPE_PRIMENTS = 0x7031
333 ETHERTYPE_PUP = 0x200
334 ETHERTYPE_PUPAT = 0x200
335 ETHERTYPE_QINQ = 0x88a8
336 ETHERTYPE_RACAL = 0x7030
337 ETHERTYPE_RATIONAL = 0x8150
338 ETHERTYPE_RAWFR = 0x6559
339 ETHERTYPE_RCL = 0x1995
340 ETHERTYPE_RDP = 0x8739
341 ETHERTYPE_RETIX = 0x80f2
342 ETHERTYPE_REVARP = 0x8035
343 ETHERTYPE_SCA = 0x6007
344 ETHERTYPE_SECTRA = 0x86db
345 ETHERTYPE_SECUREDATA = 0x876d
346 ETHERTYPE_SGITW = 0x817e
347 ETHERTYPE_SG_BOUNCE = 0x8016
348 ETHERTYPE_SG_DIAG = 0x8013
349 ETHERTYPE_SG_NETGAMES = 0x8014
350 ETHERTYPE_SG_RESV = 0x8015
351 ETHERTYPE_SIMNET = 0x5208
352 ETHERTYPE_SLOW = 0x8809
353 ETHERTYPE_SNA = 0x80d5
354 ETHERTYPE_SNMP = 0x814c
355 ETHERTYPE_SONIX = 0xfaf5
356 ETHERTYPE_SPIDER = 0x809f
357 ETHERTYPE_SPRITE = 0x500
358 ETHERTYPE_STP = 0x8181
359 ETHERTYPE_TALARIS = 0x812b
360 ETHERTYPE_TALARISMC = 0x852b
361 ETHERTYPE_TCPCOMP = 0x876b
362 ETHERTYPE_TCPSM = 0x9002
363 ETHERTYPE_TEC = 0x814f
364 ETHERTYPE_TIGAN = 0x802f
365 ETHERTYPE_TRAIL = 0x1000
366 ETHERTYPE_TRANSETHER = 0x6558
367 ETHERTYPE_TYMSHARE = 0x802e
368 ETHERTYPE_UBBST = 0x7005
369 ETHERTYPE_UBDEBUG = 0x900
370 ETHERTYPE_UBDIAGLOOP = 0x7002
371 ETHERTYPE_UBDL = 0x7000
372 ETHERTYPE_UBNIU = 0x7001
373 ETHERTYPE_UBNMC = 0x7003
374 ETHERTYPE_VALID = 0x1600
375 ETHERTYPE_VARIAN = 0x80dd
376 ETHERTYPE_VAXELN = 0x803b
377 ETHERTYPE_VEECO = 0x8067
378 ETHERTYPE_VEXP = 0x805b
379 ETHERTYPE_VGLAB = 0x8131
380 ETHERTYPE_VINES = 0xbad
381 ETHERTYPE_VINESECHO = 0xbaf
382 ETHERTYPE_VINESLOOP = 0xbae
383 ETHERTYPE_VITAL = 0xff00
384 ETHERTYPE_VLAN = 0x8100
385 ETHERTYPE_VLTLMAN = 0x8080
386 ETHERTYPE_VPROD = 0x805c
387 ETHERTYPE_VURESERVED = 0x8147
388 ETHERTYPE_WATERLOO = 0x8130
389 ETHERTYPE_WELLFLEET = 0x8103
390 ETHERTYPE_X25 = 0x805
391 ETHERTYPE_X75 = 0x801
392 ETHERTYPE_XNSSM = 0x9001
393 ETHERTYPE_XTP = 0x817d
394 ETHER_ADDR_LEN = 0x6
395 ETHER_ALIGN = 0x2
396 ETHER_CRC_LEN = 0x4
397 ETHER_CRC_POLY_BE = 0x4c11db6
398 ETHER_CRC_POLY_LE = 0xedb88320
399 ETHER_HDR_LEN = 0xe
400 ETHER_MAX_DIX_LEN = 0x600
401 ETHER_MAX_LEN = 0x5ee
402 ETHER_MIN_LEN = 0x40
403 ETHER_TYPE_LEN = 0x2
404 ETHER_VLAN_ENCAP_LEN = 0x4
405 EVFILT_AIO = -0x3
406 EVFILT_PROC = -0x5
407 EVFILT_READ = -0x1
408 EVFILT_SIGNAL = -0x6
409 EVFILT_SYSCOUNT = 0x7
410 EVFILT_TIMER = -0x7
411 EVFILT_VNODE = -0x4
412 EVFILT_WRITE = -0x2
413 EV_ADD = 0x1
414 EV_CLEAR = 0x20
415 EV_DELETE = 0x2
416 EV_DISABLE = 0x8
417 EV_ENABLE = 0x4
418 EV_EOF = 0x8000
419 EV_ERROR = 0x4000
420 EV_FLAG1 = 0x2000
421 EV_ONESHOT = 0x10
422 EV_SYSFLAGS = 0xf000
423 EXTA = 0x4b00
424 EXTB = 0x9600
425 EXTPROC = 0x800
426 FD_CLOEXEC = 0x1
427 FD_SETSIZE = 0x400
428 FLUSHO = 0x800000
429 F_DUPFD = 0x0
430 F_DUPFD_CLOEXEC = 0xa
431 F_GETFD = 0x1
432 F_GETFL = 0x3
433 F_GETLK = 0x7
434 F_GETOWN = 0x5
435 F_OK = 0x0
436 F_RDLCK = 0x1
437 F_SETFD = 0x2
438 F_SETFL = 0x4
439 F_SETLK = 0x8
440 F_SETLKW = 0x9
441 F_SETOWN = 0x6
442 F_UNLCK = 0x2
443 F_WRLCK = 0x3
444 HUPCL = 0x4000
445 ICANON = 0x100
446 ICMP6_FILTER = 0x12
447 ICRNL = 0x100
448 IEXTEN = 0x400
449 IFAN_ARRIVAL = 0x0
450 IFAN_DEPARTURE = 0x1
451 IFA_ROUTE = 0x1
452 IFF_ALLMULTI = 0x200
453 IFF_BROADCAST = 0x2
454 IFF_CANTCHANGE = 0x8e52
455 IFF_DEBUG = 0x4
456 IFF_LINK0 = 0x1000
457 IFF_LINK1 = 0x2000
458 IFF_LINK2 = 0x4000
459 IFF_LOOPBACK = 0x8
460 IFF_MULTICAST = 0x8000
461 IFF_NOARP = 0x80
462 IFF_NOTRAILERS = 0x20
463 IFF_OACTIVE = 0x400
464 IFF_POINTOPOINT = 0x10
465 IFF_PROMISC = 0x100
466 IFF_RUNNING = 0x40
467 IFF_SIMPLEX = 0x800
468 IFF_UP = 0x1
469 IFNAMSIZ = 0x10
470 IFT_1822 = 0x2
471 IFT_A12MPPSWITCH = 0x82
472 IFT_AAL2 = 0xbb
473 IFT_AAL5 = 0x31
474 IFT_ADSL = 0x5e
475 IFT_AFLANE8023 = 0x3b
476 IFT_AFLANE8025 = 0x3c
477 IFT_ARAP = 0x58
478 IFT_ARCNET = 0x23
479 IFT_ARCNETPLUS = 0x24
480 IFT_ASYNC = 0x54
481 IFT_ATM = 0x25
482 IFT_ATMDXI = 0x69
483 IFT_ATMFUNI = 0x6a
484 IFT_ATMIMA = 0x6b
485 IFT_ATMLOGICAL = 0x50
486 IFT_ATMRADIO = 0xbd
487 IFT_ATMSUBINTERFACE = 0x86
488 IFT_ATMVCIENDPT = 0xc2
489 IFT_ATMVIRTUAL = 0x95
490 IFT_BGPPOLICYACCOUNTING = 0xa2
491 IFT_BLUETOOTH = 0xf8
492 IFT_BRIDGE = 0xd1
493 IFT_BSC = 0x53
494 IFT_CARP = 0xf7
495 IFT_CCTEMUL = 0x3d
496 IFT_CEPT = 0x13
497 IFT_CES = 0x85
498 IFT_CHANNEL = 0x46
499 IFT_CNR = 0x55
500 IFT_COFFEE = 0x84
501 IFT_COMPOSITELINK = 0x9b
502 IFT_DCN = 0x8d
503 IFT_DIGITALPOWERLINE = 0x8a
504 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
505 IFT_DLSW = 0x4a
506 IFT_DOCSCABLEDOWNSTREAM = 0x80
507 IFT_DOCSCABLEMACLAYER = 0x7f
508 IFT_DOCSCABLEUPSTREAM = 0x81
509 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
510 IFT_DS0 = 0x51
511 IFT_DS0BUNDLE = 0x52
512 IFT_DS1FDL = 0xaa
513 IFT_DS3 = 0x1e
514 IFT_DTM = 0x8c
515 IFT_DUMMY = 0xf1
516 IFT_DVBASILN = 0xac
517 IFT_DVBASIOUT = 0xad
518 IFT_DVBRCCDOWNSTREAM = 0x93
519 IFT_DVBRCCMACLAYER = 0x92
520 IFT_DVBRCCUPSTREAM = 0x94
521 IFT_ECONET = 0xce
522 IFT_ENC = 0xf4
523 IFT_EON = 0x19
524 IFT_EPLRS = 0x57
525 IFT_ESCON = 0x49
526 IFT_ETHER = 0x6
527 IFT_FAITH = 0xf3
528 IFT_FAST = 0x7d
529 IFT_FASTETHER = 0x3e
530 IFT_FASTETHERFX = 0x45
531 IFT_FDDI = 0xf
532 IFT_FIBRECHANNEL = 0x38
533 IFT_FRAMERELAYINTERCONNECT = 0x3a
534 IFT_FRAMERELAYMPI = 0x5c
535 IFT_FRDLCIENDPT = 0xc1
536 IFT_FRELAY = 0x20
537 IFT_FRELAYDCE = 0x2c
538 IFT_FRF16MFRBUNDLE = 0xa3
539 IFT_FRFORWARD = 0x9e
540 IFT_G703AT2MB = 0x43
541 IFT_G703AT64K = 0x42
542 IFT_GIF = 0xf0
543 IFT_GIGABITETHERNET = 0x75
544 IFT_GR303IDT = 0xb2
545 IFT_GR303RDT = 0xb1
546 IFT_H323GATEKEEPER = 0xa4
547 IFT_H323PROXY = 0xa5
548 IFT_HDH1822 = 0x3
549 IFT_HDLC = 0x76
550 IFT_HDSL2 = 0xa8
551 IFT_HIPERLAN2 = 0xb7
552 IFT_HIPPI = 0x2f
553 IFT_HIPPIINTERFACE = 0x39
554 IFT_HOSTPAD = 0x5a
555 IFT_HSSI = 0x2e
556 IFT_HY = 0xe
557 IFT_IBM370PARCHAN = 0x48
558 IFT_IDSL = 0x9a
559 IFT_IEEE1394 = 0x90
560 IFT_IEEE80211 = 0x47
561 IFT_IEEE80212 = 0x37
562 IFT_IEEE8023ADLAG = 0xa1
563 IFT_IFGSN = 0x91
564 IFT_IMT = 0xbe
565 IFT_INFINIBAND = 0xc7
566 IFT_INTERLEAVE = 0x7c
567 IFT_IP = 0x7e
568 IFT_IPFORWARD = 0x8e
569 IFT_IPOVERATM = 0x72
570 IFT_IPOVERCDLC = 0x6d
571 IFT_IPOVERCLAW = 0x6e
572 IFT_IPSWITCH = 0x4e
573 IFT_ISDN = 0x3f
574 IFT_ISDNBASIC = 0x14
575 IFT_ISDNPRIMARY = 0x15
576 IFT_ISDNS = 0x4b
577 IFT_ISDNU = 0x4c
578 IFT_ISO88022LLC = 0x29
579 IFT_ISO88023 = 0x7
580 IFT_ISO88024 = 0x8
581 IFT_ISO88025 = 0x9
582 IFT_ISO88025CRFPINT = 0x62
583 IFT_ISO88025DTR = 0x56
584 IFT_ISO88025FIBER = 0x73
585 IFT_ISO88026 = 0xa
586 IFT_ISUP = 0xb3
587 IFT_L2VLAN = 0x87
588 IFT_L3IPVLAN = 0x88
589 IFT_L3IPXVLAN = 0x89
590 IFT_LAPB = 0x10
591 IFT_LAPD = 0x4d
592 IFT_LAPF = 0x77
593 IFT_LINEGROUP = 0xd2
594 IFT_LOCALTALK = 0x2a
595 IFT_LOOP = 0x18
596 IFT_MEDIAMAILOVERIP = 0x8b
597 IFT_MFSIGLINK = 0xa7
598 IFT_MIOX25 = 0x26
599 IFT_MODEM = 0x30
600 IFT_MPC = 0x71
601 IFT_MPLS = 0xa6
602 IFT_MPLSTUNNEL = 0x96
603 IFT_MSDSL = 0x8f
604 IFT_MVL = 0xbf
605 IFT_MYRINET = 0x63
606 IFT_NFAS = 0xaf
607 IFT_NSIP = 0x1b
608 IFT_OPTICALCHANNEL = 0xc3
609 IFT_OPTICALTRANSPORT = 0xc4
610 IFT_OTHER = 0x1
611 IFT_P10 = 0xc
612 IFT_P80 = 0xd
613 IFT_PARA = 0x22
614 IFT_PFLOG = 0xf5
615 IFT_PFLOW = 0xf9
616 IFT_PFSYNC = 0xf6
617 IFT_PLC = 0xae
618 IFT_PON155 = 0xcf
619 IFT_PON622 = 0xd0
620 IFT_POS = 0xab
621 IFT_PPP = 0x17
622 IFT_PPPMULTILINKBUNDLE = 0x6c
623 IFT_PROPATM = 0xc5
624 IFT_PROPBWAP2MP = 0xb8
625 IFT_PROPCNLS = 0x59
626 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
627 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
628 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
629 IFT_PROPMUX = 0x36
630 IFT_PROPVIRTUAL = 0x35
631 IFT_PROPWIRELESSP2P = 0x9d
632 IFT_PTPSERIAL = 0x16
633 IFT_PVC = 0xf2
634 IFT_Q2931 = 0xc9
635 IFT_QLLC = 0x44
636 IFT_RADIOMAC = 0xbc
637 IFT_RADSL = 0x5f
638 IFT_REACHDSL = 0xc0
639 IFT_RFC1483 = 0x9f
640 IFT_RS232 = 0x21
641 IFT_RSRB = 0x4f
642 IFT_SDLC = 0x11
643 IFT_SDSL = 0x60
644 IFT_SHDSL = 0xa9
645 IFT_SIP = 0x1f
646 IFT_SIPSIG = 0xcc
647 IFT_SIPTG = 0xcb
648 IFT_SLIP = 0x1c
649 IFT_SMDSDXI = 0x2b
650 IFT_SMDSICIP = 0x34
651 IFT_SONET = 0x27
652 IFT_SONETOVERHEADCHANNEL = 0xb9
653 IFT_SONETPATH = 0x32
654 IFT_SONETVT = 0x33
655 IFT_SRP = 0x97
656 IFT_SS7SIGLINK = 0x9c
657 IFT_STACKTOSTACK = 0x6f
658 IFT_STARLAN = 0xb
659 IFT_T1 = 0x12
660 IFT_TDLC = 0x74
661 IFT_TELINK = 0xc8
662 IFT_TERMPAD = 0x5b
663 IFT_TR008 = 0xb0
664 IFT_TRANSPHDLC = 0x7b
665 IFT_TUNNEL = 0x83
666 IFT_ULTRA = 0x1d
667 IFT_USB = 0xa0
668 IFT_V11 = 0x40
669 IFT_V35 = 0x2d
670 IFT_V36 = 0x41
671 IFT_V37 = 0x78
672 IFT_VDSL = 0x61
673 IFT_VIRTUALIPADDRESS = 0x70
674 IFT_VIRTUALTG = 0xca
675 IFT_VOICEDID = 0xd5
676 IFT_VOICEEM = 0x64
677 IFT_VOICEEMFGD = 0xd3
678 IFT_VOICEENCAP = 0x67
679 IFT_VOICEFGDEANA = 0xd4
680 IFT_VOICEFXO = 0x65
681 IFT_VOICEFXS = 0x66
682 IFT_VOICEOVERATM = 0x98
683 IFT_VOICEOVERCABLE = 0xc6
684 IFT_VOICEOVERFRAMERELAY = 0x99
685 IFT_VOICEOVERIP = 0x68
686 IFT_X213 = 0x5d
687 IFT_X25 = 0x5
688 IFT_X25DDN = 0x4
689 IFT_X25HUNTGROUP = 0x7a
690 IFT_X25MLP = 0x79
691 IFT_X25PLE = 0x28
692 IFT_XETHER = 0x1a
693 IGNBRK = 0x1
694 IGNCR = 0x80
695 IGNPAR = 0x4
696 IMAXBEL = 0x2000
697 INLCR = 0x40
698 INPCK = 0x10
699 IN_CLASSA_HOST = 0xffffff
700 IN_CLASSA_MAX = 0x80
701 IN_CLASSA_NET = 0xff000000
702 IN_CLASSA_NSHIFT = 0x18
703 IN_CLASSB_HOST = 0xffff
704 IN_CLASSB_MAX = 0x10000
705 IN_CLASSB_NET = 0xffff0000
706 IN_CLASSB_NSHIFT = 0x10
707 IN_CLASSC_HOST = 0xff
708 IN_CLASSC_NET = 0xffffff00
709 IN_CLASSC_NSHIFT = 0x8
710 IN_CLASSD_HOST = 0xfffffff
711 IN_CLASSD_NET = 0xf0000000
712 IN_CLASSD_NSHIFT = 0x1c
713 IN_LOOPBACKNET = 0x7f
714 IN_RFC3021_HOST = 0x1
715 IN_RFC3021_NET = 0xfffffffe
716 IN_RFC3021_NSHIFT = 0x1f
717 IPPROTO_AH = 0x33
718 IPPROTO_CARP = 0x70
719 IPPROTO_DIVERT = 0x102
720 IPPROTO_DIVERT_INIT = 0x2
721 IPPROTO_DIVERT_RESP = 0x1
722 IPPROTO_DONE = 0x101
723 IPPROTO_DSTOPTS = 0x3c
724 IPPROTO_EGP = 0x8
725 IPPROTO_ENCAP = 0x62
726 IPPROTO_EON = 0x50
727 IPPROTO_ESP = 0x32
728 IPPROTO_ETHERIP = 0x61
729 IPPROTO_FRAGMENT = 0x2c
730 IPPROTO_GGP = 0x3
731 IPPROTO_GRE = 0x2f
732 IPPROTO_HOPOPTS = 0x0
733 IPPROTO_ICMP = 0x1
734 IPPROTO_ICMPV6 = 0x3a
735 IPPROTO_IDP = 0x16
736 IPPROTO_IGMP = 0x2
737 IPPROTO_IP = 0x0
738 IPPROTO_IPCOMP = 0x6c
739 IPPROTO_IPIP = 0x4
740 IPPROTO_IPV4 = 0x4
741 IPPROTO_IPV6 = 0x29
742 IPPROTO_MAX = 0x100
743 IPPROTO_MAXID = 0x103
744 IPPROTO_MOBILE = 0x37
745 IPPROTO_MPLS = 0x89
746 IPPROTO_NONE = 0x3b
747 IPPROTO_PFSYNC = 0xf0
748 IPPROTO_PIM = 0x67
749 IPPROTO_PUP = 0xc
750 IPPROTO_RAW = 0xff
751 IPPROTO_ROUTING = 0x2b
752 IPPROTO_RSVP = 0x2e
753 IPPROTO_TCP = 0x6
754 IPPROTO_TP = 0x1d
755 IPPROTO_UDP = 0x11
756 IPV6_AUTH_LEVEL = 0x35
757 IPV6_AUTOFLOWLABEL = 0x3b
758 IPV6_CHECKSUM = 0x1a
759 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
760 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
761 IPV6_DEFHLIM = 0x40
762 IPV6_DONTFRAG = 0x3e
763 IPV6_DSTOPTS = 0x32
764 IPV6_ESP_NETWORK_LEVEL = 0x37
765 IPV6_ESP_TRANS_LEVEL = 0x36
766 IPV6_FAITH = 0x1d
767 IPV6_FLOWINFO_MASK = 0xffffff0f
768 IPV6_FLOWLABEL_MASK = 0xffff0f00
769 IPV6_FRAGTTL = 0x78
770 IPV6_HLIMDEC = 0x1
771 IPV6_HOPLIMIT = 0x2f
772 IPV6_HOPOPTS = 0x31
773 IPV6_IPCOMP_LEVEL = 0x3c
774 IPV6_JOIN_GROUP = 0xc
775 IPV6_LEAVE_GROUP = 0xd
776 IPV6_MAXHLIM = 0xff
777 IPV6_MAXPACKET = 0xffff
778 IPV6_MMTU = 0x500
779 IPV6_MULTICAST_HOPS = 0xa
780 IPV6_MULTICAST_IF = 0x9
781 IPV6_MULTICAST_LOOP = 0xb
782 IPV6_NEXTHOP = 0x30
783 IPV6_OPTIONS = 0x1
784 IPV6_PATHMTU = 0x2c
785 IPV6_PIPEX = 0x3f
786 IPV6_PKTINFO = 0x2e
787 IPV6_PORTRANGE = 0xe
788 IPV6_PORTRANGE_DEFAULT = 0x0
789 IPV6_PORTRANGE_HIGH = 0x1
790 IPV6_PORTRANGE_LOW = 0x2
791 IPV6_RECVDSTOPTS = 0x28
792 IPV6_RECVDSTPORT = 0x40
793 IPV6_RECVHOPLIMIT = 0x25
794 IPV6_RECVHOPOPTS = 0x27
795 IPV6_RECVPATHMTU = 0x2b
796 IPV6_RECVPKTINFO = 0x24
797 IPV6_RECVRTHDR = 0x26
798 IPV6_RECVTCLASS = 0x39
799 IPV6_RTABLE = 0x1021
800 IPV6_RTHDR = 0x33
801 IPV6_RTHDRDSTOPTS = 0x23
802 IPV6_RTHDR_LOOSE = 0x0
803 IPV6_RTHDR_STRICT = 0x1
804 IPV6_RTHDR_TYPE_0 = 0x0
805 IPV6_SOCKOPT_RESERVED1 = 0x3
806 IPV6_TCLASS = 0x3d
807 IPV6_UNICAST_HOPS = 0x4
808 IPV6_USE_MIN_MTU = 0x2a
809 IPV6_V6ONLY = 0x1b
810 IPV6_VERSION = 0x60
811 IPV6_VERSION_MASK = 0xf0
812 IP_ADD_MEMBERSHIP = 0xc
813 IP_AUTH_LEVEL = 0x14
814 IP_DEFAULT_MULTICAST_LOOP = 0x1
815 IP_DEFAULT_MULTICAST_TTL = 0x1
816 IP_DF = 0x4000
817 IP_DIVERTFL = 0x1022
818 IP_DROP_MEMBERSHIP = 0xd
819 IP_ESP_NETWORK_LEVEL = 0x16
820 IP_ESP_TRANS_LEVEL = 0x15
821 IP_HDRINCL = 0x2
822 IP_IPCOMP_LEVEL = 0x1d
823 IP_IPSECFLOWINFO = 0x24
824 IP_IPSEC_LOCAL_AUTH = 0x1b
825 IP_IPSEC_LOCAL_CRED = 0x19
826 IP_IPSEC_LOCAL_ID = 0x17
827 IP_IPSEC_REMOTE_AUTH = 0x1c
828 IP_IPSEC_REMOTE_CRED = 0x1a
829 IP_IPSEC_REMOTE_ID = 0x18
830 IP_MAXPACKET = 0xffff
831 IP_MAX_MEMBERSHIPS = 0xfff
832 IP_MF = 0x2000
833 IP_MINTTL = 0x20
834 IP_MIN_MEMBERSHIPS = 0xf
835 IP_MSS = 0x240
836 IP_MULTICAST_IF = 0x9
837 IP_MULTICAST_LOOP = 0xb
838 IP_MULTICAST_TTL = 0xa
839 IP_OFFMASK = 0x1fff
840 IP_OPTIONS = 0x1
841 IP_PIPEX = 0x22
842 IP_PORTRANGE = 0x13
843 IP_PORTRANGE_DEFAULT = 0x0
844 IP_PORTRANGE_HIGH = 0x1
845 IP_PORTRANGE_LOW = 0x2
846 IP_RECVDSTADDR = 0x7
847 IP_RECVDSTPORT = 0x21
848 IP_RECVIF = 0x1e
849 IP_RECVOPTS = 0x5
850 IP_RECVRETOPTS = 0x6
851 IP_RECVRTABLE = 0x23
852 IP_RECVTTL = 0x1f
853 IP_RETOPTS = 0x8
854 IP_RF = 0x8000
855 IP_RTABLE = 0x1021
856 IP_TOS = 0x3
857 IP_TTL = 0x4
858 ISIG = 0x80
859 ISTRIP = 0x20
860 IXANY = 0x800
861 IXOFF = 0x400
862 IXON = 0x200
863 LCNT_OVERLOAD_FLUSH = 0x6
864 LOCK_EX = 0x2
865 LOCK_NB = 0x4
866 LOCK_SH = 0x1
867 LOCK_UN = 0x8
868 MADV_DONTNEED = 0x4
869 MADV_FREE = 0x6
870 MADV_NORMAL = 0x0
871 MADV_RANDOM = 0x1
872 MADV_SEQUENTIAL = 0x2
873 MADV_SPACEAVAIL = 0x5
874 MADV_WILLNEED = 0x3
875 MAP_ANON = 0x1000
876 MAP_COPY = 0x4
877 MAP_FILE = 0x0
878 MAP_FIXED = 0x10
879 MAP_FLAGMASK = 0x1ff7
880 MAP_HASSEMAPHORE = 0x200
881 MAP_INHERIT = 0x80
882 MAP_INHERIT_COPY = 0x1
883 MAP_INHERIT_DONATE_COPY = 0x3
884 MAP_INHERIT_NONE = 0x2
885 MAP_INHERIT_SHARE = 0x0
886 MAP_NOEXTEND = 0x100
887 MAP_NORESERVE = 0x40
888 MAP_PRIVATE = 0x2
889 MAP_RENAME = 0x20
890 MAP_SHARED = 0x1
891 MAP_TRYFIXED = 0x400
892 MCL_CURRENT = 0x1
893 MCL_FUTURE = 0x2
894 MSG_BCAST = 0x100
895 MSG_CTRUNC = 0x20
896 MSG_DONTROUTE = 0x4
897 MSG_DONTWAIT = 0x80
898 MSG_EOR = 0x8
899 MSG_MCAST = 0x200
900 MSG_NOSIGNAL = 0x400
901 MSG_OOB = 0x1
902 MSG_PEEK = 0x2
903 MSG_TRUNC = 0x10
904 MSG_WAITALL = 0x40
905 MS_ASYNC = 0x1
906 MS_INVALIDATE = 0x4
907 MS_SYNC = 0x2
908 NAME_MAX = 0xff
909 NET_RT_DUMP = 0x1
910 NET_RT_FLAGS = 0x2
911 NET_RT_IFLIST = 0x3
912 NET_RT_MAXID = 0x6
913 NET_RT_STATS = 0x4
914 NET_RT_TABLE = 0x5
915 NOFLSH = 0x80000000
916 NOTE_ATTRIB = 0x8
917 NOTE_CHILD = 0x4
918 NOTE_DELETE = 0x1
919 NOTE_EOF = 0x2
920 NOTE_EXEC = 0x20000000
921 NOTE_EXIT = 0x80000000
922 NOTE_EXTEND = 0x4
923 NOTE_FORK = 0x40000000
924 NOTE_LINK = 0x10
925 NOTE_LOWAT = 0x1
926 NOTE_PCTRLMASK = 0xf0000000
927 NOTE_PDATAMASK = 0xfffff
928 NOTE_RENAME = 0x20
929 NOTE_REVOKE = 0x40
930 NOTE_TRACK = 0x1
931 NOTE_TRACKERR = 0x2
932 NOTE_TRUNCATE = 0x80
933 NOTE_WRITE = 0x2
934 OCRNL = 0x10
935 ONLCR = 0x2
936 ONLRET = 0x80
937 ONOCR = 0x40
938 ONOEOT = 0x8
939 OPOST = 0x1
940 O_ACCMODE = 0x3
941 O_APPEND = 0x8
942 O_ASYNC = 0x40
943 O_CLOEXEC = 0x10000
944 O_CREAT = 0x200
945 O_DIRECTORY = 0x20000
946 O_DSYNC = 0x80
947 O_EXCL = 0x800
948 O_EXLOCK = 0x20
949 O_FSYNC = 0x80
950 O_NDELAY = 0x4
951 O_NOCTTY = 0x8000
952 O_NOFOLLOW = 0x100
953 O_NONBLOCK = 0x4
954 O_RDONLY = 0x0
955 O_RDWR = 0x2
956 O_RSYNC = 0x80
957 O_SHLOCK = 0x10
958 O_SYNC = 0x80
959 O_TRUNC = 0x400
960 O_WRONLY = 0x1
961 PARENB = 0x1000
962 PARMRK = 0x8
963 PARODD = 0x2000
964 PENDIN = 0x20000000
965 PF_FLUSH = 0x1
966 PRIO_PGRP = 0x1
967 PRIO_PROCESS = 0x0
968 PRIO_USER = 0x2
969 PROT_EXEC = 0x4
970 PROT_NONE = 0x0
971 PROT_READ = 0x1
972 PROT_WRITE = 0x2
973 PT_MASK = 0x3ff000
974 RLIMIT_CORE = 0x4
975 RLIMIT_CPU = 0x0
976 RLIMIT_DATA = 0x2
977 RLIMIT_FSIZE = 0x1
978 RLIMIT_NOFILE = 0x8
979 RLIMIT_STACK = 0x3
980 RLIM_INFINITY = 0x7fffffffffffffff
981 RTAX_AUTHOR = 0x6
982 RTAX_BRD = 0x7
983 RTAX_DST = 0x0
984 RTAX_GATEWAY = 0x1
985 RTAX_GENMASK = 0x3
986 RTAX_IFA = 0x5
987 RTAX_IFP = 0x4
988 RTAX_LABEL = 0xa
989 RTAX_MAX = 0xb
990 RTAX_NETMASK = 0x2
991 RTAX_SRC = 0x8
992 RTAX_SRCMASK = 0x9
993 RTA_AUTHOR = 0x40
994 RTA_BRD = 0x80
995 RTA_DST = 0x1
996 RTA_GATEWAY = 0x2
997 RTA_GENMASK = 0x8
998 RTA_IFA = 0x20
999 RTA_IFP = 0x10
1000 RTA_LABEL = 0x400
1001 RTA_NETMASK = 0x4
1002 RTA_SRC = 0x100
1003 RTA_SRCMASK = 0x200
1004 RTF_ANNOUNCE = 0x4000
1005 RTF_BLACKHOLE = 0x1000
1006 RTF_CLONED = 0x10000
1007 RTF_CLONING = 0x100
1008 RTF_DONE = 0x40
1009 RTF_DYNAMIC = 0x10
1010 RTF_FMASK = 0x10f808
1011 RTF_GATEWAY = 0x2
1012 RTF_HOST = 0x4
1013 RTF_LLINFO = 0x400
1014 RTF_MASK = 0x80
1015 RTF_MODIFIED = 0x20
1016 RTF_MPATH = 0x40000
1017 RTF_MPLS = 0x100000
1018 RTF_PERMANENT_ARP = 0x2000
1019 RTF_PROTO1 = 0x8000
1020 RTF_PROTO2 = 0x4000
1021 RTF_PROTO3 = 0x2000
1022 RTF_REJECT = 0x8
1023 RTF_SOURCE = 0x20000
1024 RTF_STATIC = 0x800
1025 RTF_TUNNEL = 0x100000
1026 RTF_UP = 0x1
1027 RTF_USETRAILERS = 0x8000
1028 RTF_XRESOLVE = 0x200
1029 RTM_ADD = 0x1
1030 RTM_CHANGE = 0x3
1031 RTM_DELADDR = 0xd
1032 RTM_DELETE = 0x2
1033 RTM_DESYNC = 0x10
1034 RTM_GET = 0x4
1035 RTM_IFANNOUNCE = 0xf
1036 RTM_IFINFO = 0xe
1037 RTM_LOCK = 0x8
1038 RTM_LOSING = 0x5
1039 RTM_MAXSIZE = 0x800
1040 RTM_MISS = 0x7
1041 RTM_NEWADDR = 0xc
1042 RTM_REDIRECT = 0x6
1043 RTM_RESOLVE = 0xb
1044 RTM_RTTUNIT = 0xf4240
1045 RTM_VERSION = 0x5
1046 RTV_EXPIRE = 0x4
1047 RTV_HOPCOUNT = 0x2
1048 RTV_MTU = 0x1
1049 RTV_RPIPE = 0x8
1050 RTV_RTT = 0x40
1051 RTV_RTTVAR = 0x80
1052 RTV_SPIPE = 0x10
1053 RTV_SSTHRESH = 0x20
1054 RT_TABLEID_MAX = 0xff
1055 RUSAGE_CHILDREN = -0x1
1056 RUSAGE_SELF = 0x0
1057 RUSAGE_THREAD = 0x1
1058 SCM_RIGHTS = 0x1
1059 SCM_TIMESTAMP = 0x4
1060 SHUT_RD = 0x0
1061 SHUT_RDWR = 0x2
1062 SHUT_WR = 0x1
1063 SIOCADDMULTI = 0x80206931
1064 SIOCAIFADDR = 0x8040691a
1065 SIOCAIFGROUP = 0x80246987
1066 SIOCALIFADDR = 0x8218691c
1067 SIOCATMARK = 0x40047307
1068 SIOCBRDGADD = 0x8054693c
1069 SIOCBRDGADDS = 0x80546941
1070 SIOCBRDGARL = 0x806e694d
1071 SIOCBRDGDADDR = 0x81286947
1072 SIOCBRDGDEL = 0x8054693d
1073 SIOCBRDGDELS = 0x80546942
1074 SIOCBRDGFLUSH = 0x80546948
1075 SIOCBRDGFRL = 0x806e694e
1076 SIOCBRDGGCACHE = 0xc0146941
1077 SIOCBRDGGFD = 0xc0146952
1078 SIOCBRDGGHT = 0xc0146951
1079 SIOCBRDGGIFFLGS = 0xc054693e
1080 SIOCBRDGGMA = 0xc0146953
1081 SIOCBRDGGPARAM = 0xc03c6958
1082 SIOCBRDGGPRI = 0xc0146950
1083 SIOCBRDGGRL = 0xc028694f
1084 SIOCBRDGGSIFS = 0xc054693c
1085 SIOCBRDGGTO = 0xc0146946
1086 SIOCBRDGIFS = 0xc0546942
1087 SIOCBRDGRTS = 0xc0186943
1088 SIOCBRDGSADDR = 0xc1286944
1089 SIOCBRDGSCACHE = 0x80146940
1090 SIOCBRDGSFD = 0x80146952
1091 SIOCBRDGSHT = 0x80146951
1092 SIOCBRDGSIFCOST = 0x80546955
1093 SIOCBRDGSIFFLGS = 0x8054693f
1094 SIOCBRDGSIFPRIO = 0x80546954
1095 SIOCBRDGSMA = 0x80146953
1096 SIOCBRDGSPRI = 0x80146950
1097 SIOCBRDGSPROTO = 0x8014695a
1098 SIOCBRDGSTO = 0x80146945
1099 SIOCBRDGSTXHC = 0x80146959
1100 SIOCDELMULTI = 0x80206932
1101 SIOCDIFADDR = 0x80206919
1102 SIOCDIFGROUP = 0x80246989
1103 SIOCDIFPHYADDR = 0x80206949
1104 SIOCDLIFADDR = 0x8218691e
1105 SIOCGETKALIVE = 0xc01869a4
1106 SIOCGETLABEL = 0x8020699a
1107 SIOCGETPFLOW = 0xc02069fe
1108 SIOCGETPFSYNC = 0xc02069f8
1109 SIOCGETSGCNT = 0xc0147534
1110 SIOCGETVIFCNT = 0xc0147533
1111 SIOCGETVLAN = 0xc0206990
1112 SIOCGHIWAT = 0x40047301
1113 SIOCGIFADDR = 0xc0206921
1114 SIOCGIFASYNCMAP = 0xc020697c
1115 SIOCGIFBRDADDR = 0xc0206923
1116 SIOCGIFCONF = 0xc0086924
1117 SIOCGIFDATA = 0xc020691b
1118 SIOCGIFDESCR = 0xc0206981
1119 SIOCGIFDSTADDR = 0xc0206922
1120 SIOCGIFFLAGS = 0xc0206911
1121 SIOCGIFGATTR = 0xc024698b
1122 SIOCGIFGENERIC = 0xc020693a
1123 SIOCGIFGMEMB = 0xc024698a
1124 SIOCGIFGROUP = 0xc0246988
1125 SIOCGIFHARDMTU = 0xc02069a5
1126 SIOCGIFMEDIA = 0xc0286936
1127 SIOCGIFMETRIC = 0xc0206917
1128 SIOCGIFMTU = 0xc020697e
1129 SIOCGIFNETMASK = 0xc0206925
1130 SIOCGIFPDSTADDR = 0xc0206948
1131 SIOCGIFPRIORITY = 0xc020699c
1132 SIOCGIFPSRCADDR = 0xc0206947
1133 SIOCGIFRDOMAIN = 0xc02069a0
1134 SIOCGIFRTLABEL = 0xc0206983
1135 SIOCGIFTIMESLOT = 0xc0206986
1136 SIOCGIFXFLAGS = 0xc020699e
1137 SIOCGLIFADDR = 0xc218691d
1138 SIOCGLIFPHYADDR = 0xc218694b
1139 SIOCGLIFPHYRTABLE = 0xc02069a2
1140 SIOCGLIFPHYTTL = 0xc02069a9
1141 SIOCGLOWAT = 0x40047303
1142 SIOCGPGRP = 0x40047309
1143 SIOCGSPPPPARAMS = 0xc0206994
1144 SIOCGVH = 0xc02069f6
1145 SIOCGVNETID = 0xc02069a7
1146 SIOCIFCREATE = 0x8020697a
1147 SIOCIFDESTROY = 0x80206979
1148 SIOCIFGCLONERS = 0xc00c6978
1149 SIOCSETKALIVE = 0x801869a3
1150 SIOCSETLABEL = 0x80206999
1151 SIOCSETPFLOW = 0x802069fd
1152 SIOCSETPFSYNC = 0x802069f7
1153 SIOCSETVLAN = 0x8020698f
1154 SIOCSHIWAT = 0x80047300
1155 SIOCSIFADDR = 0x8020690c
1156 SIOCSIFASYNCMAP = 0x8020697d
1157 SIOCSIFBRDADDR = 0x80206913
1158 SIOCSIFDESCR = 0x80206980
1159 SIOCSIFDSTADDR = 0x8020690e
1160 SIOCSIFFLAGS = 0x80206910
1161 SIOCSIFGATTR = 0x8024698c
1162 SIOCSIFGENERIC = 0x80206939
1163 SIOCSIFLLADDR = 0x8020691f
1164 SIOCSIFMEDIA = 0xc0206935
1165 SIOCSIFMETRIC = 0x80206918
1166 SIOCSIFMTU = 0x8020697f
1167 SIOCSIFNETMASK = 0x80206916
1168 SIOCSIFPHYADDR = 0x80406946
1169 SIOCSIFPRIORITY = 0x8020699b
1170 SIOCSIFRDOMAIN = 0x8020699f
1171 SIOCSIFRTLABEL = 0x80206982
1172 SIOCSIFTIMESLOT = 0x80206985
1173 SIOCSIFXFLAGS = 0x8020699d
1174 SIOCSLIFPHYADDR = 0x8218694a
1175 SIOCSLIFPHYRTABLE = 0x802069a1
1176 SIOCSLIFPHYTTL = 0x802069a8
1177 SIOCSLOWAT = 0x80047302
1178 SIOCSPGRP = 0x80047308
1179 SIOCSSPPPPARAMS = 0x80206993
1180 SIOCSVH = 0xc02069f5
1181 SIOCSVNETID = 0x802069a6
1182 SOCK_DGRAM = 0x2
1183 SOCK_RAW = 0x3
1184 SOCK_RDM = 0x4
1185 SOCK_SEQPACKET = 0x5
1186 SOCK_STREAM = 0x1
1187 SOL_SOCKET = 0xffff
1188 SOMAXCONN = 0x80
1189 SO_ACCEPTCONN = 0x2
1190 SO_BINDANY = 0x1000
1191 SO_BROADCAST = 0x20
1192 SO_DEBUG = 0x1
1193 SO_DONTROUTE = 0x10
1194 SO_ERROR = 0x1007
1195 SO_KEEPALIVE = 0x8
1196 SO_LINGER = 0x80
1197 SO_NETPROC = 0x1020
1198 SO_OOBINLINE = 0x100
1199 SO_PEERCRED = 0x1022
1200 SO_RCVBUF = 0x1002
1201 SO_RCVLOWAT = 0x1004
1202 SO_RCVTIMEO = 0x1006
1203 SO_REUSEADDR = 0x4
1204 SO_REUSEPORT = 0x200
1205 SO_RTABLE = 0x1021
1206 SO_SNDBUF = 0x1001
1207 SO_SNDLOWAT = 0x1003
1208 SO_SNDTIMEO = 0x1005
1209 SO_SPLICE = 0x1023
1210 SO_TIMESTAMP = 0x800
1211 SO_TYPE = 0x1008
1212 SO_USELOOPBACK = 0x40
1213 TCIFLUSH = 0x1
1214 TCIOFLUSH = 0x3
1215 TCOFLUSH = 0x2
1216 TCP_MAXBURST = 0x4
1217 TCP_MAXSEG = 0x2
1218 TCP_MAXWIN = 0xffff
1219 TCP_MAX_SACK = 0x3
1220 TCP_MAX_WINSHIFT = 0xe
1221 TCP_MD5SIG = 0x4
1222 TCP_MSS = 0x200
1223 TCP_NODELAY = 0x1
1224 TCP_NOPUSH = 0x10
1225 TCP_NSTATES = 0xb
1226 TCP_SACK_ENABLE = 0x8
1227 TCSAFLUSH = 0x2
1228 TIOCCBRK = 0x2000747a
1229 TIOCCDTR = 0x20007478
1230 TIOCCONS = 0x80047462
1231 TIOCDRAIN = 0x2000745e
1232 TIOCEXCL = 0x2000740d
1233 TIOCEXT = 0x80047460
1234 TIOCFLAG_CLOCAL = 0x2
1235 TIOCFLAG_CRTSCTS = 0x4
1236 TIOCFLAG_MDMBUF = 0x8
1237 TIOCFLAG_PPS = 0x10
1238 TIOCFLAG_SOFTCAR = 0x1
1239 TIOCFLUSH = 0x80047410
1240 TIOCGETA = 0x402c7413
1241 TIOCGETD = 0x4004741a
1242 TIOCGFLAGS = 0x4004745d
1243 TIOCGPGRP = 0x40047477
1244 TIOCGSID = 0x40047463
1245 TIOCGTSTAMP = 0x400c745b
1246 TIOCGWINSZ = 0x40087468
1247 TIOCMBIC = 0x8004746b
1248 TIOCMBIS = 0x8004746c
1249 TIOCMGET = 0x4004746a
1250 TIOCMODG = 0x4004746a
1251 TIOCMODS = 0x8004746d
1252 TIOCMSET = 0x8004746d
1253 TIOCM_CAR = 0x40
1254 TIOCM_CD = 0x40
1255 TIOCM_CTS = 0x20
1256 TIOCM_DSR = 0x100
1257 TIOCM_DTR = 0x2
1258 TIOCM_LE = 0x1
1259 TIOCM_RI = 0x80
1260 TIOCM_RNG = 0x80
1261 TIOCM_RTS = 0x4
1262 TIOCM_SR = 0x10
1263 TIOCM_ST = 0x8
1264 TIOCNOTTY = 0x20007471
1265 TIOCNXCL = 0x2000740e
1266 TIOCOUTQ = 0x40047473
1267 TIOCPKT = 0x80047470
1268 TIOCPKT_DATA = 0x0
1269 TIOCPKT_DOSTOP = 0x20
1270 TIOCPKT_FLUSHREAD = 0x1
1271 TIOCPKT_FLUSHWRITE = 0x2
1272 TIOCPKT_IOCTL = 0x40
1273 TIOCPKT_NOSTOP = 0x10
1274 TIOCPKT_START = 0x8
1275 TIOCPKT_STOP = 0x4
1276 TIOCREMOTE = 0x80047469
1277 TIOCSBRK = 0x2000747b
1278 TIOCSCTTY = 0x20007461
1279 TIOCSDTR = 0x20007479
1280 TIOCSETA = 0x802c7414
1281 TIOCSETAF = 0x802c7416
1282 TIOCSETAW = 0x802c7415
1283 TIOCSETD = 0x8004741b
1284 TIOCSFLAGS = 0x8004745c
1285 TIOCSIG = 0x8004745f
1286 TIOCSPGRP = 0x80047476
1287 TIOCSTART = 0x2000746e
1288 TIOCSTAT = 0x80047465
1289 TIOCSTI = 0x80017472
1290 TIOCSTOP = 0x2000746f
1291 TIOCSTSTAMP = 0x8008745a
1292 TIOCSWINSZ = 0x80087467
1293 TIOCUCNTL = 0x80047466
1294 TOSTOP = 0x400000
1295 VDISCARD = 0xf
1296 VDSUSP = 0xb
1297 VEOF = 0x0
1298 VEOL = 0x1
1299 VEOL2 = 0x2
1300 VERASE = 0x3
1301 VINTR = 0x8
1302 VKILL = 0x5
1303 VLNEXT = 0xe
1304 VMIN = 0x10
1305 VQUIT = 0x9
1306 VREPRINT = 0x6
1307 VSTART = 0xc
1308 VSTATUS = 0x12
1309 VSTOP = 0xd
1310 VSUSP = 0xa
1311 VTIME = 0x11
1312 VWERASE = 0x4
1313 WALTSIG = 0x4
1314 WCONTINUED = 0x8
1315 WCOREFLAG = 0x80
1316 WNOHANG = 0x1
1317 WSTOPPED = 0x7f
1318 WUNTRACED = 0x2
1319)
1320
1321// Errors
1322const (
1323 E2BIG = syscall.Errno(0x7)
1324 EACCES = syscall.Errno(0xd)
1325 EADDRINUSE = syscall.Errno(0x30)
1326 EADDRNOTAVAIL = syscall.Errno(0x31)
1327 EAFNOSUPPORT = syscall.Errno(0x2f)
1328 EAGAIN = syscall.Errno(0x23)
1329 EALREADY = syscall.Errno(0x25)
1330 EAUTH = syscall.Errno(0x50)
1331 EBADF = syscall.Errno(0x9)
1332 EBADRPC = syscall.Errno(0x48)
1333 EBUSY = syscall.Errno(0x10)
1334 ECANCELED = syscall.Errno(0x58)
1335 ECHILD = syscall.Errno(0xa)
1336 ECONNABORTED = syscall.Errno(0x35)
1337 ECONNREFUSED = syscall.Errno(0x3d)
1338 ECONNRESET = syscall.Errno(0x36)
1339 EDEADLK = syscall.Errno(0xb)
1340 EDESTADDRREQ = syscall.Errno(0x27)
1341 EDOM = syscall.Errno(0x21)
1342 EDQUOT = syscall.Errno(0x45)
1343 EEXIST = syscall.Errno(0x11)
1344 EFAULT = syscall.Errno(0xe)
1345 EFBIG = syscall.Errno(0x1b)
1346 EFTYPE = syscall.Errno(0x4f)
1347 EHOSTDOWN = syscall.Errno(0x40)
1348 EHOSTUNREACH = syscall.Errno(0x41)
1349 EIDRM = syscall.Errno(0x59)
1350 EILSEQ = syscall.Errno(0x54)
1351 EINPROGRESS = syscall.Errno(0x24)
1352 EINTR = syscall.Errno(0x4)
1353 EINVAL = syscall.Errno(0x16)
1354 EIO = syscall.Errno(0x5)
1355 EIPSEC = syscall.Errno(0x52)
1356 EISCONN = syscall.Errno(0x38)
1357 EISDIR = syscall.Errno(0x15)
1358 ELAST = syscall.Errno(0x5b)
1359 ELOOP = syscall.Errno(0x3e)
1360 EMEDIUMTYPE = syscall.Errno(0x56)
1361 EMFILE = syscall.Errno(0x18)
1362 EMLINK = syscall.Errno(0x1f)
1363 EMSGSIZE = syscall.Errno(0x28)
1364 ENAMETOOLONG = syscall.Errno(0x3f)
1365 ENEEDAUTH = syscall.Errno(0x51)
1366 ENETDOWN = syscall.Errno(0x32)
1367 ENETRESET = syscall.Errno(0x34)
1368 ENETUNREACH = syscall.Errno(0x33)
1369 ENFILE = syscall.Errno(0x17)
1370 ENOATTR = syscall.Errno(0x53)
1371 ENOBUFS = syscall.Errno(0x37)
1372 ENODEV = syscall.Errno(0x13)
1373 ENOENT = syscall.Errno(0x2)
1374 ENOEXEC = syscall.Errno(0x8)
1375 ENOLCK = syscall.Errno(0x4d)
1376 ENOMEDIUM = syscall.Errno(0x55)
1377 ENOMEM = syscall.Errno(0xc)
1378 ENOMSG = syscall.Errno(0x5a)
1379 ENOPROTOOPT = syscall.Errno(0x2a)
1380 ENOSPC = syscall.Errno(0x1c)
1381 ENOSYS = syscall.Errno(0x4e)
1382 ENOTBLK = syscall.Errno(0xf)
1383 ENOTCONN = syscall.Errno(0x39)
1384 ENOTDIR = syscall.Errno(0x14)
1385 ENOTEMPTY = syscall.Errno(0x42)
1386 ENOTSOCK = syscall.Errno(0x26)
1387 ENOTSUP = syscall.Errno(0x5b)
1388 ENOTTY = syscall.Errno(0x19)
1389 ENXIO = syscall.Errno(0x6)
1390 EOPNOTSUPP = syscall.Errno(0x2d)
1391 EOVERFLOW = syscall.Errno(0x57)
1392 EPERM = syscall.Errno(0x1)
1393 EPFNOSUPPORT = syscall.Errno(0x2e)
1394 EPIPE = syscall.Errno(0x20)
1395 EPROCLIM = syscall.Errno(0x43)
1396 EPROCUNAVAIL = syscall.Errno(0x4c)
1397 EPROGMISMATCH = syscall.Errno(0x4b)
1398 EPROGUNAVAIL = syscall.Errno(0x4a)
1399 EPROTONOSUPPORT = syscall.Errno(0x2b)
1400 EPROTOTYPE = syscall.Errno(0x29)
1401 ERANGE = syscall.Errno(0x22)
1402 EREMOTE = syscall.Errno(0x47)
1403 EROFS = syscall.Errno(0x1e)
1404 ERPCMISMATCH = syscall.Errno(0x49)
1405 ESHUTDOWN = syscall.Errno(0x3a)
1406 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1407 ESPIPE = syscall.Errno(0x1d)
1408 ESRCH = syscall.Errno(0x3)
1409 ESTALE = syscall.Errno(0x46)
1410 ETIMEDOUT = syscall.Errno(0x3c)
1411 ETOOMANYREFS = syscall.Errno(0x3b)
1412 ETXTBSY = syscall.Errno(0x1a)
1413 EUSERS = syscall.Errno(0x44)
1414 EWOULDBLOCK = syscall.Errno(0x23)
1415 EXDEV = syscall.Errno(0x12)
1416)
1417
1418// Signals
1419const (
1420 SIGABRT = syscall.Signal(0x6)
1421 SIGALRM = syscall.Signal(0xe)
1422 SIGBUS = syscall.Signal(0xa)
1423 SIGCHLD = syscall.Signal(0x14)
1424 SIGCONT = syscall.Signal(0x13)
1425 SIGEMT = syscall.Signal(0x7)
1426 SIGFPE = syscall.Signal(0x8)
1427 SIGHUP = syscall.Signal(0x1)
1428 SIGILL = syscall.Signal(0x4)
1429 SIGINFO = syscall.Signal(0x1d)
1430 SIGINT = syscall.Signal(0x2)
1431 SIGIO = syscall.Signal(0x17)
1432 SIGIOT = syscall.Signal(0x6)
1433 SIGKILL = syscall.Signal(0x9)
1434 SIGPIPE = syscall.Signal(0xd)
1435 SIGPROF = syscall.Signal(0x1b)
1436 SIGQUIT = syscall.Signal(0x3)
1437 SIGSEGV = syscall.Signal(0xb)
1438 SIGSTOP = syscall.Signal(0x11)
1439 SIGSYS = syscall.Signal(0xc)
1440 SIGTERM = syscall.Signal(0xf)
1441 SIGTHR = syscall.Signal(0x20)
1442 SIGTRAP = syscall.Signal(0x5)
1443 SIGTSTP = syscall.Signal(0x12)
1444 SIGTTIN = syscall.Signal(0x15)
1445 SIGTTOU = syscall.Signal(0x16)
1446 SIGURG = syscall.Signal(0x10)
1447 SIGUSR1 = syscall.Signal(0x1e)
1448 SIGUSR2 = syscall.Signal(0x1f)
1449 SIGVTALRM = syscall.Signal(0x1a)
1450 SIGWINCH = syscall.Signal(0x1c)
1451 SIGXCPU = syscall.Signal(0x18)
1452 SIGXFSZ = syscall.Signal(0x19)
1453)
1454
1455// Error table
1456var errors = [...]string{
1457 1: "operation not permitted",
1458 2: "no such file or directory",
1459 3: "no such process",
1460 4: "interrupted system call",
1461 5: "input/output error",
1462 6: "device not configured",
1463 7: "argument list too long",
1464 8: "exec format error",
1465 9: "bad file descriptor",
1466 10: "no child processes",
1467 11: "resource deadlock avoided",
1468 12: "cannot allocate memory",
1469 13: "permission denied",
1470 14: "bad address",
1471 15: "block device required",
1472 16: "device busy",
1473 17: "file exists",
1474 18: "cross-device link",
1475 19: "operation not supported by device",
1476 20: "not a directory",
1477 21: "is a directory",
1478 22: "invalid argument",
1479 23: "too many open files in system",
1480 24: "too many open files",
1481 25: "inappropriate ioctl for device",
1482 26: "text file busy",
1483 27: "file too large",
1484 28: "no space left on device",
1485 29: "illegal seek",
1486 30: "read-only file system",
1487 31: "too many links",
1488 32: "broken pipe",
1489 33: "numerical argument out of domain",
1490 34: "result too large",
1491 35: "resource temporarily unavailable",
1492 36: "operation now in progress",
1493 37: "operation already in progress",
1494 38: "socket operation on non-socket",
1495 39: "destination address required",
1496 40: "message too long",
1497 41: "protocol wrong type for socket",
1498 42: "protocol not available",
1499 43: "protocol not supported",
1500 44: "socket type not supported",
1501 45: "operation not supported",
1502 46: "protocol family not supported",
1503 47: "address family not supported by protocol family",
1504 48: "address already in use",
1505 49: "can't assign requested address",
1506 50: "network is down",
1507 51: "network is unreachable",
1508 52: "network dropped connection on reset",
1509 53: "software caused connection abort",
1510 54: "connection reset by peer",
1511 55: "no buffer space available",
1512 56: "socket is already connected",
1513 57: "socket is not connected",
1514 58: "can't send after socket shutdown",
1515 59: "too many references: can't splice",
1516 60: "connection timed out",
1517 61: "connection refused",
1518 62: "too many levels of symbolic links",
1519 63: "file name too long",
1520 64: "host is down",
1521 65: "no route to host",
1522 66: "directory not empty",
1523 67: "too many processes",
1524 68: "too many users",
1525 69: "disc quota exceeded",
1526 70: "stale NFS file handle",
1527 71: "too many levels of remote in path",
1528 72: "RPC struct is bad",
1529 73: "RPC version wrong",
1530 74: "RPC prog. not avail",
1531 75: "program version wrong",
1532 76: "bad procedure for program",
1533 77: "no locks available",
1534 78: "function not implemented",
1535 79: "inappropriate file type or format",
1536 80: "authentication error",
1537 81: "need authenticator",
1538 82: "IPsec processing failure",
1539 83: "attribute not found",
1540 84: "illegal byte sequence",
1541 85: "no medium found",
1542 86: "wrong medium type",
1543 87: "value too large to be stored in data type",
1544 88: "operation canceled",
1545 89: "identifier removed",
1546 90: "no message of desired type",
1547 91: "not supported",
1548}
1549
1550// Signal table
1551var signals = [...]string{
1552 1: "hangup",
1553 2: "interrupt",
1554 3: "quit",
1555 4: "illegal instruction",
1556 5: "trace/BPT trap",
1557 6: "abort trap",
1558 7: "EMT trap",
1559 8: "floating point exception",
1560 9: "killed",
1561 10: "bus error",
1562 11: "segmentation fault",
1563 12: "bad system call",
1564 13: "broken pipe",
1565 14: "alarm clock",
1566 15: "terminated",
1567 16: "urgent I/O condition",
1568 17: "stopped (signal)",
1569 18: "stopped",
1570 19: "continued",
1571 20: "child exited",
1572 21: "stopped (tty input)",
1573 22: "stopped (tty output)",
1574 23: "I/O possible",
1575 24: "cputime limit exceeded",
1576 25: "filesize limit exceeded",
1577 26: "virtual timer expired",
1578 27: "profiling timer expired",
1579 28: "window size changes",
1580 29: "information request",
1581 30: "user defined signal 1",
1582 31: "user defined signal 2",
1583 32: "thread AST",
1584}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
deleted file mode 100644
index 1758ecc..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
+++ /dev/null
@@ -1,1583 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,openbsd
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_APPLETALK = 0x10
15 AF_BLUETOOTH = 0x20
16 AF_CCITT = 0xa
17 AF_CHAOS = 0x5
18 AF_CNT = 0x15
19 AF_COIP = 0x14
20 AF_DATAKIT = 0x9
21 AF_DECnet = 0xc
22 AF_DLI = 0xd
23 AF_E164 = 0x1a
24 AF_ECMA = 0x8
25 AF_ENCAP = 0x1c
26 AF_HYLINK = 0xf
27 AF_IMPLINK = 0x3
28 AF_INET = 0x2
29 AF_INET6 = 0x18
30 AF_IPX = 0x17
31 AF_ISDN = 0x1a
32 AF_ISO = 0x7
33 AF_KEY = 0x1e
34 AF_LAT = 0xe
35 AF_LINK = 0x12
36 AF_LOCAL = 0x1
37 AF_MAX = 0x24
38 AF_MPLS = 0x21
39 AF_NATM = 0x1b
40 AF_NS = 0x6
41 AF_OSI = 0x7
42 AF_PUP = 0x4
43 AF_ROUTE = 0x11
44 AF_SIP = 0x1d
45 AF_SNA = 0xb
46 AF_UNIX = 0x1
47 AF_UNSPEC = 0x0
48 ARPHRD_ETHER = 0x1
49 ARPHRD_FRELAY = 0xf
50 ARPHRD_IEEE1394 = 0x18
51 ARPHRD_IEEE802 = 0x6
52 B0 = 0x0
53 B110 = 0x6e
54 B115200 = 0x1c200
55 B1200 = 0x4b0
56 B134 = 0x86
57 B14400 = 0x3840
58 B150 = 0x96
59 B1800 = 0x708
60 B19200 = 0x4b00
61 B200 = 0xc8
62 B230400 = 0x38400
63 B2400 = 0x960
64 B28800 = 0x7080
65 B300 = 0x12c
66 B38400 = 0x9600
67 B4800 = 0x12c0
68 B50 = 0x32
69 B57600 = 0xe100
70 B600 = 0x258
71 B7200 = 0x1c20
72 B75 = 0x4b
73 B76800 = 0x12c00
74 B9600 = 0x2580
75 BIOCFLUSH = 0x20004268
76 BIOCGBLEN = 0x40044266
77 BIOCGDIRFILT = 0x4004427c
78 BIOCGDLT = 0x4004426a
79 BIOCGDLTLIST = 0xc010427b
80 BIOCGETIF = 0x4020426b
81 BIOCGFILDROP = 0x40044278
82 BIOCGHDRCMPLT = 0x40044274
83 BIOCGRSIG = 0x40044273
84 BIOCGRTIMEOUT = 0x4010426e
85 BIOCGSTATS = 0x4008426f
86 BIOCIMMEDIATE = 0x80044270
87 BIOCLOCK = 0x20004276
88 BIOCPROMISC = 0x20004269
89 BIOCSBLEN = 0xc0044266
90 BIOCSDIRFILT = 0x8004427d
91 BIOCSDLT = 0x8004427a
92 BIOCSETF = 0x80104267
93 BIOCSETIF = 0x8020426c
94 BIOCSETWF = 0x80104277
95 BIOCSFILDROP = 0x80044279
96 BIOCSHDRCMPLT = 0x80044275
97 BIOCSRSIG = 0x80044272
98 BIOCSRTIMEOUT = 0x8010426d
99 BIOCVERSION = 0x40044271
100 BPF_A = 0x10
101 BPF_ABS = 0x20
102 BPF_ADD = 0x0
103 BPF_ALIGNMENT = 0x4
104 BPF_ALU = 0x4
105 BPF_AND = 0x50
106 BPF_B = 0x10
107 BPF_DIRECTION_IN = 0x1
108 BPF_DIRECTION_OUT = 0x2
109 BPF_DIV = 0x30
110 BPF_H = 0x8
111 BPF_IMM = 0x0
112 BPF_IND = 0x40
113 BPF_JA = 0x0
114 BPF_JEQ = 0x10
115 BPF_JGE = 0x30
116 BPF_JGT = 0x20
117 BPF_JMP = 0x5
118 BPF_JSET = 0x40
119 BPF_K = 0x0
120 BPF_LD = 0x0
121 BPF_LDX = 0x1
122 BPF_LEN = 0x80
123 BPF_LSH = 0x60
124 BPF_MAJOR_VERSION = 0x1
125 BPF_MAXBUFSIZE = 0x200000
126 BPF_MAXINSNS = 0x200
127 BPF_MEM = 0x60
128 BPF_MEMWORDS = 0x10
129 BPF_MINBUFSIZE = 0x20
130 BPF_MINOR_VERSION = 0x1
131 BPF_MISC = 0x7
132 BPF_MSH = 0xa0
133 BPF_MUL = 0x20
134 BPF_NEG = 0x80
135 BPF_OR = 0x40
136 BPF_RELEASE = 0x30bb6
137 BPF_RET = 0x6
138 BPF_RSH = 0x70
139 BPF_ST = 0x2
140 BPF_STX = 0x3
141 BPF_SUB = 0x10
142 BPF_TAX = 0x0
143 BPF_TXA = 0x80
144 BPF_W = 0x0
145 BPF_X = 0x8
146 BRKINT = 0x2
147 CFLUSH = 0xf
148 CLOCAL = 0x8000
149 CREAD = 0x800
150 CS5 = 0x0
151 CS6 = 0x100
152 CS7 = 0x200
153 CS8 = 0x300
154 CSIZE = 0x300
155 CSTART = 0x11
156 CSTATUS = 0xff
157 CSTOP = 0x13
158 CSTOPB = 0x400
159 CSUSP = 0x1a
160 CTL_MAXNAME = 0xc
161 CTL_NET = 0x4
162 DIOCOSFPFLUSH = 0x2000444e
163 DLT_ARCNET = 0x7
164 DLT_ATM_RFC1483 = 0xb
165 DLT_AX25 = 0x3
166 DLT_CHAOS = 0x5
167 DLT_C_HDLC = 0x68
168 DLT_EN10MB = 0x1
169 DLT_EN3MB = 0x2
170 DLT_ENC = 0xd
171 DLT_FDDI = 0xa
172 DLT_IEEE802 = 0x6
173 DLT_IEEE802_11 = 0x69
174 DLT_IEEE802_11_RADIO = 0x7f
175 DLT_LOOP = 0xc
176 DLT_MPLS = 0xdb
177 DLT_NULL = 0x0
178 DLT_PFLOG = 0x75
179 DLT_PFSYNC = 0x12
180 DLT_PPP = 0x9
181 DLT_PPP_BSDOS = 0x10
182 DLT_PPP_ETHER = 0x33
183 DLT_PPP_SERIAL = 0x32
184 DLT_PRONET = 0x4
185 DLT_RAW = 0xe
186 DLT_SLIP = 0x8
187 DLT_SLIP_BSDOS = 0xf
188 DT_BLK = 0x6
189 DT_CHR = 0x2
190 DT_DIR = 0x4
191 DT_FIFO = 0x1
192 DT_LNK = 0xa
193 DT_REG = 0x8
194 DT_SOCK = 0xc
195 DT_UNKNOWN = 0x0
196 ECHO = 0x8
197 ECHOCTL = 0x40
198 ECHOE = 0x2
199 ECHOK = 0x4
200 ECHOKE = 0x1
201 ECHONL = 0x10
202 ECHOPRT = 0x20
203 EMT_TAGOVF = 0x1
204 EMUL_ENABLED = 0x1
205 EMUL_NATIVE = 0x2
206 ENDRUNDISC = 0x9
207 ETHERMIN = 0x2e
208 ETHERMTU = 0x5dc
209 ETHERTYPE_8023 = 0x4
210 ETHERTYPE_AARP = 0x80f3
211 ETHERTYPE_ACCTON = 0x8390
212 ETHERTYPE_AEONIC = 0x8036
213 ETHERTYPE_ALPHA = 0x814a
214 ETHERTYPE_AMBER = 0x6008
215 ETHERTYPE_AMOEBA = 0x8145
216 ETHERTYPE_AOE = 0x88a2
217 ETHERTYPE_APOLLO = 0x80f7
218 ETHERTYPE_APOLLODOMAIN = 0x8019
219 ETHERTYPE_APPLETALK = 0x809b
220 ETHERTYPE_APPLITEK = 0x80c7
221 ETHERTYPE_ARGONAUT = 0x803a
222 ETHERTYPE_ARP = 0x806
223 ETHERTYPE_AT = 0x809b
224 ETHERTYPE_ATALK = 0x809b
225 ETHERTYPE_ATOMIC = 0x86df
226 ETHERTYPE_ATT = 0x8069
227 ETHERTYPE_ATTSTANFORD = 0x8008
228 ETHERTYPE_AUTOPHON = 0x806a
229 ETHERTYPE_AXIS = 0x8856
230 ETHERTYPE_BCLOOP = 0x9003
231 ETHERTYPE_BOFL = 0x8102
232 ETHERTYPE_CABLETRON = 0x7034
233 ETHERTYPE_CHAOS = 0x804
234 ETHERTYPE_COMDESIGN = 0x806c
235 ETHERTYPE_COMPUGRAPHIC = 0x806d
236 ETHERTYPE_COUNTERPOINT = 0x8062
237 ETHERTYPE_CRONUS = 0x8004
238 ETHERTYPE_CRONUSVLN = 0x8003
239 ETHERTYPE_DCA = 0x1234
240 ETHERTYPE_DDE = 0x807b
241 ETHERTYPE_DEBNI = 0xaaaa
242 ETHERTYPE_DECAM = 0x8048
243 ETHERTYPE_DECCUST = 0x6006
244 ETHERTYPE_DECDIAG = 0x6005
245 ETHERTYPE_DECDNS = 0x803c
246 ETHERTYPE_DECDTS = 0x803e
247 ETHERTYPE_DECEXPER = 0x6000
248 ETHERTYPE_DECLAST = 0x8041
249 ETHERTYPE_DECLTM = 0x803f
250 ETHERTYPE_DECMUMPS = 0x6009
251 ETHERTYPE_DECNETBIOS = 0x8040
252 ETHERTYPE_DELTACON = 0x86de
253 ETHERTYPE_DIDDLE = 0x4321
254 ETHERTYPE_DLOG1 = 0x660
255 ETHERTYPE_DLOG2 = 0x661
256 ETHERTYPE_DN = 0x6003
257 ETHERTYPE_DOGFIGHT = 0x1989
258 ETHERTYPE_DSMD = 0x8039
259 ETHERTYPE_ECMA = 0x803
260 ETHERTYPE_ENCRYPT = 0x803d
261 ETHERTYPE_ES = 0x805d
262 ETHERTYPE_EXCELAN = 0x8010
263 ETHERTYPE_EXPERDATA = 0x8049
264 ETHERTYPE_FLIP = 0x8146
265 ETHERTYPE_FLOWCONTROL = 0x8808
266 ETHERTYPE_FRARP = 0x808
267 ETHERTYPE_GENDYN = 0x8068
268 ETHERTYPE_HAYES = 0x8130
269 ETHERTYPE_HIPPI_FP = 0x8180
270 ETHERTYPE_HITACHI = 0x8820
271 ETHERTYPE_HP = 0x8005
272 ETHERTYPE_IEEEPUP = 0xa00
273 ETHERTYPE_IEEEPUPAT = 0xa01
274 ETHERTYPE_IMLBL = 0x4c42
275 ETHERTYPE_IMLBLDIAG = 0x424c
276 ETHERTYPE_IP = 0x800
277 ETHERTYPE_IPAS = 0x876c
278 ETHERTYPE_IPV6 = 0x86dd
279 ETHERTYPE_IPX = 0x8137
280 ETHERTYPE_IPXNEW = 0x8037
281 ETHERTYPE_KALPANA = 0x8582
282 ETHERTYPE_LANBRIDGE = 0x8038
283 ETHERTYPE_LANPROBE = 0x8888
284 ETHERTYPE_LAT = 0x6004
285 ETHERTYPE_LBACK = 0x9000
286 ETHERTYPE_LITTLE = 0x8060
287 ETHERTYPE_LLDP = 0x88cc
288 ETHERTYPE_LOGICRAFT = 0x8148
289 ETHERTYPE_LOOPBACK = 0x9000
290 ETHERTYPE_MATRA = 0x807a
291 ETHERTYPE_MAX = 0xffff
292 ETHERTYPE_MERIT = 0x807c
293 ETHERTYPE_MICP = 0x873a
294 ETHERTYPE_MOPDL = 0x6001
295 ETHERTYPE_MOPRC = 0x6002
296 ETHERTYPE_MOTOROLA = 0x818d
297 ETHERTYPE_MPLS = 0x8847
298 ETHERTYPE_MPLS_MCAST = 0x8848
299 ETHERTYPE_MUMPS = 0x813f
300 ETHERTYPE_NBPCC = 0x3c04
301 ETHERTYPE_NBPCLAIM = 0x3c09
302 ETHERTYPE_NBPCLREQ = 0x3c05
303 ETHERTYPE_NBPCLRSP = 0x3c06
304 ETHERTYPE_NBPCREQ = 0x3c02
305 ETHERTYPE_NBPCRSP = 0x3c03
306 ETHERTYPE_NBPDG = 0x3c07
307 ETHERTYPE_NBPDGB = 0x3c08
308 ETHERTYPE_NBPDLTE = 0x3c0a
309 ETHERTYPE_NBPRAR = 0x3c0c
310 ETHERTYPE_NBPRAS = 0x3c0b
311 ETHERTYPE_NBPRST = 0x3c0d
312 ETHERTYPE_NBPSCD = 0x3c01
313 ETHERTYPE_NBPVCD = 0x3c00
314 ETHERTYPE_NBS = 0x802
315 ETHERTYPE_NCD = 0x8149
316 ETHERTYPE_NESTAR = 0x8006
317 ETHERTYPE_NETBEUI = 0x8191
318 ETHERTYPE_NOVELL = 0x8138
319 ETHERTYPE_NS = 0x600
320 ETHERTYPE_NSAT = 0x601
321 ETHERTYPE_NSCOMPAT = 0x807
322 ETHERTYPE_NTRAILER = 0x10
323 ETHERTYPE_OS9 = 0x7007
324 ETHERTYPE_OS9NET = 0x7009
325 ETHERTYPE_PACER = 0x80c6
326 ETHERTYPE_PAE = 0x888e
327 ETHERTYPE_PCS = 0x4242
328 ETHERTYPE_PLANNING = 0x8044
329 ETHERTYPE_PPP = 0x880b
330 ETHERTYPE_PPPOE = 0x8864
331 ETHERTYPE_PPPOEDISC = 0x8863
332 ETHERTYPE_PRIMENTS = 0x7031
333 ETHERTYPE_PUP = 0x200
334 ETHERTYPE_PUPAT = 0x200
335 ETHERTYPE_QINQ = 0x88a8
336 ETHERTYPE_RACAL = 0x7030
337 ETHERTYPE_RATIONAL = 0x8150
338 ETHERTYPE_RAWFR = 0x6559
339 ETHERTYPE_RCL = 0x1995
340 ETHERTYPE_RDP = 0x8739
341 ETHERTYPE_RETIX = 0x80f2
342 ETHERTYPE_REVARP = 0x8035
343 ETHERTYPE_SCA = 0x6007
344 ETHERTYPE_SECTRA = 0x86db
345 ETHERTYPE_SECUREDATA = 0x876d
346 ETHERTYPE_SGITW = 0x817e
347 ETHERTYPE_SG_BOUNCE = 0x8016
348 ETHERTYPE_SG_DIAG = 0x8013
349 ETHERTYPE_SG_NETGAMES = 0x8014
350 ETHERTYPE_SG_RESV = 0x8015
351 ETHERTYPE_SIMNET = 0x5208
352 ETHERTYPE_SLOW = 0x8809
353 ETHERTYPE_SNA = 0x80d5
354 ETHERTYPE_SNMP = 0x814c
355 ETHERTYPE_SONIX = 0xfaf5
356 ETHERTYPE_SPIDER = 0x809f
357 ETHERTYPE_SPRITE = 0x500
358 ETHERTYPE_STP = 0x8181
359 ETHERTYPE_TALARIS = 0x812b
360 ETHERTYPE_TALARISMC = 0x852b
361 ETHERTYPE_TCPCOMP = 0x876b
362 ETHERTYPE_TCPSM = 0x9002
363 ETHERTYPE_TEC = 0x814f
364 ETHERTYPE_TIGAN = 0x802f
365 ETHERTYPE_TRAIL = 0x1000
366 ETHERTYPE_TRANSETHER = 0x6558
367 ETHERTYPE_TYMSHARE = 0x802e
368 ETHERTYPE_UBBST = 0x7005
369 ETHERTYPE_UBDEBUG = 0x900
370 ETHERTYPE_UBDIAGLOOP = 0x7002
371 ETHERTYPE_UBDL = 0x7000
372 ETHERTYPE_UBNIU = 0x7001
373 ETHERTYPE_UBNMC = 0x7003
374 ETHERTYPE_VALID = 0x1600
375 ETHERTYPE_VARIAN = 0x80dd
376 ETHERTYPE_VAXELN = 0x803b
377 ETHERTYPE_VEECO = 0x8067
378 ETHERTYPE_VEXP = 0x805b
379 ETHERTYPE_VGLAB = 0x8131
380 ETHERTYPE_VINES = 0xbad
381 ETHERTYPE_VINESECHO = 0xbaf
382 ETHERTYPE_VINESLOOP = 0xbae
383 ETHERTYPE_VITAL = 0xff00
384 ETHERTYPE_VLAN = 0x8100
385 ETHERTYPE_VLTLMAN = 0x8080
386 ETHERTYPE_VPROD = 0x805c
387 ETHERTYPE_VURESERVED = 0x8147
388 ETHERTYPE_WATERLOO = 0x8130
389 ETHERTYPE_WELLFLEET = 0x8103
390 ETHERTYPE_X25 = 0x805
391 ETHERTYPE_X75 = 0x801
392 ETHERTYPE_XNSSM = 0x9001
393 ETHERTYPE_XTP = 0x817d
394 ETHER_ADDR_LEN = 0x6
395 ETHER_ALIGN = 0x2
396 ETHER_CRC_LEN = 0x4
397 ETHER_CRC_POLY_BE = 0x4c11db6
398 ETHER_CRC_POLY_LE = 0xedb88320
399 ETHER_HDR_LEN = 0xe
400 ETHER_MAX_DIX_LEN = 0x600
401 ETHER_MAX_LEN = 0x5ee
402 ETHER_MIN_LEN = 0x40
403 ETHER_TYPE_LEN = 0x2
404 ETHER_VLAN_ENCAP_LEN = 0x4
405 EVFILT_AIO = -0x3
406 EVFILT_PROC = -0x5
407 EVFILT_READ = -0x1
408 EVFILT_SIGNAL = -0x6
409 EVFILT_SYSCOUNT = 0x7
410 EVFILT_TIMER = -0x7
411 EVFILT_VNODE = -0x4
412 EVFILT_WRITE = -0x2
413 EV_ADD = 0x1
414 EV_CLEAR = 0x20
415 EV_DELETE = 0x2
416 EV_DISABLE = 0x8
417 EV_ENABLE = 0x4
418 EV_EOF = 0x8000
419 EV_ERROR = 0x4000
420 EV_FLAG1 = 0x2000
421 EV_ONESHOT = 0x10
422 EV_SYSFLAGS = 0xf000
423 EXTA = 0x4b00
424 EXTB = 0x9600
425 EXTPROC = 0x800
426 FD_CLOEXEC = 0x1
427 FD_SETSIZE = 0x400
428 FLUSHO = 0x800000
429 F_DUPFD = 0x0
430 F_DUPFD_CLOEXEC = 0xa
431 F_GETFD = 0x1
432 F_GETFL = 0x3
433 F_GETLK = 0x7
434 F_GETOWN = 0x5
435 F_OK = 0x0
436 F_RDLCK = 0x1
437 F_SETFD = 0x2
438 F_SETFL = 0x4
439 F_SETLK = 0x8
440 F_SETLKW = 0x9
441 F_SETOWN = 0x6
442 F_UNLCK = 0x2
443 F_WRLCK = 0x3
444 HUPCL = 0x4000
445 ICANON = 0x100
446 ICMP6_FILTER = 0x12
447 ICRNL = 0x100
448 IEXTEN = 0x400
449 IFAN_ARRIVAL = 0x0
450 IFAN_DEPARTURE = 0x1
451 IFA_ROUTE = 0x1
452 IFF_ALLMULTI = 0x200
453 IFF_BROADCAST = 0x2
454 IFF_CANTCHANGE = 0x8e52
455 IFF_DEBUG = 0x4
456 IFF_LINK0 = 0x1000
457 IFF_LINK1 = 0x2000
458 IFF_LINK2 = 0x4000
459 IFF_LOOPBACK = 0x8
460 IFF_MULTICAST = 0x8000
461 IFF_NOARP = 0x80
462 IFF_NOTRAILERS = 0x20
463 IFF_OACTIVE = 0x400
464 IFF_POINTOPOINT = 0x10
465 IFF_PROMISC = 0x100
466 IFF_RUNNING = 0x40
467 IFF_SIMPLEX = 0x800
468 IFF_UP = 0x1
469 IFNAMSIZ = 0x10
470 IFT_1822 = 0x2
471 IFT_A12MPPSWITCH = 0x82
472 IFT_AAL2 = 0xbb
473 IFT_AAL5 = 0x31
474 IFT_ADSL = 0x5e
475 IFT_AFLANE8023 = 0x3b
476 IFT_AFLANE8025 = 0x3c
477 IFT_ARAP = 0x58
478 IFT_ARCNET = 0x23
479 IFT_ARCNETPLUS = 0x24
480 IFT_ASYNC = 0x54
481 IFT_ATM = 0x25
482 IFT_ATMDXI = 0x69
483 IFT_ATMFUNI = 0x6a
484 IFT_ATMIMA = 0x6b
485 IFT_ATMLOGICAL = 0x50
486 IFT_ATMRADIO = 0xbd
487 IFT_ATMSUBINTERFACE = 0x86
488 IFT_ATMVCIENDPT = 0xc2
489 IFT_ATMVIRTUAL = 0x95
490 IFT_BGPPOLICYACCOUNTING = 0xa2
491 IFT_BLUETOOTH = 0xf8
492 IFT_BRIDGE = 0xd1
493 IFT_BSC = 0x53
494 IFT_CARP = 0xf7
495 IFT_CCTEMUL = 0x3d
496 IFT_CEPT = 0x13
497 IFT_CES = 0x85
498 IFT_CHANNEL = 0x46
499 IFT_CNR = 0x55
500 IFT_COFFEE = 0x84
501 IFT_COMPOSITELINK = 0x9b
502 IFT_DCN = 0x8d
503 IFT_DIGITALPOWERLINE = 0x8a
504 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
505 IFT_DLSW = 0x4a
506 IFT_DOCSCABLEDOWNSTREAM = 0x80
507 IFT_DOCSCABLEMACLAYER = 0x7f
508 IFT_DOCSCABLEUPSTREAM = 0x81
509 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
510 IFT_DS0 = 0x51
511 IFT_DS0BUNDLE = 0x52
512 IFT_DS1FDL = 0xaa
513 IFT_DS3 = 0x1e
514 IFT_DTM = 0x8c
515 IFT_DUMMY = 0xf1
516 IFT_DVBASILN = 0xac
517 IFT_DVBASIOUT = 0xad
518 IFT_DVBRCCDOWNSTREAM = 0x93
519 IFT_DVBRCCMACLAYER = 0x92
520 IFT_DVBRCCUPSTREAM = 0x94
521 IFT_ECONET = 0xce
522 IFT_ENC = 0xf4
523 IFT_EON = 0x19
524 IFT_EPLRS = 0x57
525 IFT_ESCON = 0x49
526 IFT_ETHER = 0x6
527 IFT_FAITH = 0xf3
528 IFT_FAST = 0x7d
529 IFT_FASTETHER = 0x3e
530 IFT_FASTETHERFX = 0x45
531 IFT_FDDI = 0xf
532 IFT_FIBRECHANNEL = 0x38
533 IFT_FRAMERELAYINTERCONNECT = 0x3a
534 IFT_FRAMERELAYMPI = 0x5c
535 IFT_FRDLCIENDPT = 0xc1
536 IFT_FRELAY = 0x20
537 IFT_FRELAYDCE = 0x2c
538 IFT_FRF16MFRBUNDLE = 0xa3
539 IFT_FRFORWARD = 0x9e
540 IFT_G703AT2MB = 0x43
541 IFT_G703AT64K = 0x42
542 IFT_GIF = 0xf0
543 IFT_GIGABITETHERNET = 0x75
544 IFT_GR303IDT = 0xb2
545 IFT_GR303RDT = 0xb1
546 IFT_H323GATEKEEPER = 0xa4
547 IFT_H323PROXY = 0xa5
548 IFT_HDH1822 = 0x3
549 IFT_HDLC = 0x76
550 IFT_HDSL2 = 0xa8
551 IFT_HIPERLAN2 = 0xb7
552 IFT_HIPPI = 0x2f
553 IFT_HIPPIINTERFACE = 0x39
554 IFT_HOSTPAD = 0x5a
555 IFT_HSSI = 0x2e
556 IFT_HY = 0xe
557 IFT_IBM370PARCHAN = 0x48
558 IFT_IDSL = 0x9a
559 IFT_IEEE1394 = 0x90
560 IFT_IEEE80211 = 0x47
561 IFT_IEEE80212 = 0x37
562 IFT_IEEE8023ADLAG = 0xa1
563 IFT_IFGSN = 0x91
564 IFT_IMT = 0xbe
565 IFT_INFINIBAND = 0xc7
566 IFT_INTERLEAVE = 0x7c
567 IFT_IP = 0x7e
568 IFT_IPFORWARD = 0x8e
569 IFT_IPOVERATM = 0x72
570 IFT_IPOVERCDLC = 0x6d
571 IFT_IPOVERCLAW = 0x6e
572 IFT_IPSWITCH = 0x4e
573 IFT_ISDN = 0x3f
574 IFT_ISDNBASIC = 0x14
575 IFT_ISDNPRIMARY = 0x15
576 IFT_ISDNS = 0x4b
577 IFT_ISDNU = 0x4c
578 IFT_ISO88022LLC = 0x29
579 IFT_ISO88023 = 0x7
580 IFT_ISO88024 = 0x8
581 IFT_ISO88025 = 0x9
582 IFT_ISO88025CRFPINT = 0x62
583 IFT_ISO88025DTR = 0x56
584 IFT_ISO88025FIBER = 0x73
585 IFT_ISO88026 = 0xa
586 IFT_ISUP = 0xb3
587 IFT_L2VLAN = 0x87
588 IFT_L3IPVLAN = 0x88
589 IFT_L3IPXVLAN = 0x89
590 IFT_LAPB = 0x10
591 IFT_LAPD = 0x4d
592 IFT_LAPF = 0x77
593 IFT_LINEGROUP = 0xd2
594 IFT_LOCALTALK = 0x2a
595 IFT_LOOP = 0x18
596 IFT_MEDIAMAILOVERIP = 0x8b
597 IFT_MFSIGLINK = 0xa7
598 IFT_MIOX25 = 0x26
599 IFT_MODEM = 0x30
600 IFT_MPC = 0x71
601 IFT_MPLS = 0xa6
602 IFT_MPLSTUNNEL = 0x96
603 IFT_MSDSL = 0x8f
604 IFT_MVL = 0xbf
605 IFT_MYRINET = 0x63
606 IFT_NFAS = 0xaf
607 IFT_NSIP = 0x1b
608 IFT_OPTICALCHANNEL = 0xc3
609 IFT_OPTICALTRANSPORT = 0xc4
610 IFT_OTHER = 0x1
611 IFT_P10 = 0xc
612 IFT_P80 = 0xd
613 IFT_PARA = 0x22
614 IFT_PFLOG = 0xf5
615 IFT_PFLOW = 0xf9
616 IFT_PFSYNC = 0xf6
617 IFT_PLC = 0xae
618 IFT_PON155 = 0xcf
619 IFT_PON622 = 0xd0
620 IFT_POS = 0xab
621 IFT_PPP = 0x17
622 IFT_PPPMULTILINKBUNDLE = 0x6c
623 IFT_PROPATM = 0xc5
624 IFT_PROPBWAP2MP = 0xb8
625 IFT_PROPCNLS = 0x59
626 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
627 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
628 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
629 IFT_PROPMUX = 0x36
630 IFT_PROPVIRTUAL = 0x35
631 IFT_PROPWIRELESSP2P = 0x9d
632 IFT_PTPSERIAL = 0x16
633 IFT_PVC = 0xf2
634 IFT_Q2931 = 0xc9
635 IFT_QLLC = 0x44
636 IFT_RADIOMAC = 0xbc
637 IFT_RADSL = 0x5f
638 IFT_REACHDSL = 0xc0
639 IFT_RFC1483 = 0x9f
640 IFT_RS232 = 0x21
641 IFT_RSRB = 0x4f
642 IFT_SDLC = 0x11
643 IFT_SDSL = 0x60
644 IFT_SHDSL = 0xa9
645 IFT_SIP = 0x1f
646 IFT_SIPSIG = 0xcc
647 IFT_SIPTG = 0xcb
648 IFT_SLIP = 0x1c
649 IFT_SMDSDXI = 0x2b
650 IFT_SMDSICIP = 0x34
651 IFT_SONET = 0x27
652 IFT_SONETOVERHEADCHANNEL = 0xb9
653 IFT_SONETPATH = 0x32
654 IFT_SONETVT = 0x33
655 IFT_SRP = 0x97
656 IFT_SS7SIGLINK = 0x9c
657 IFT_STACKTOSTACK = 0x6f
658 IFT_STARLAN = 0xb
659 IFT_T1 = 0x12
660 IFT_TDLC = 0x74
661 IFT_TELINK = 0xc8
662 IFT_TERMPAD = 0x5b
663 IFT_TR008 = 0xb0
664 IFT_TRANSPHDLC = 0x7b
665 IFT_TUNNEL = 0x83
666 IFT_ULTRA = 0x1d
667 IFT_USB = 0xa0
668 IFT_V11 = 0x40
669 IFT_V35 = 0x2d
670 IFT_V36 = 0x41
671 IFT_V37 = 0x78
672 IFT_VDSL = 0x61
673 IFT_VIRTUALIPADDRESS = 0x70
674 IFT_VIRTUALTG = 0xca
675 IFT_VOICEDID = 0xd5
676 IFT_VOICEEM = 0x64
677 IFT_VOICEEMFGD = 0xd3
678 IFT_VOICEENCAP = 0x67
679 IFT_VOICEFGDEANA = 0xd4
680 IFT_VOICEFXO = 0x65
681 IFT_VOICEFXS = 0x66
682 IFT_VOICEOVERATM = 0x98
683 IFT_VOICEOVERCABLE = 0xc6
684 IFT_VOICEOVERFRAMERELAY = 0x99
685 IFT_VOICEOVERIP = 0x68
686 IFT_X213 = 0x5d
687 IFT_X25 = 0x5
688 IFT_X25DDN = 0x4
689 IFT_X25HUNTGROUP = 0x7a
690 IFT_X25MLP = 0x79
691 IFT_X25PLE = 0x28
692 IFT_XETHER = 0x1a
693 IGNBRK = 0x1
694 IGNCR = 0x80
695 IGNPAR = 0x4
696 IMAXBEL = 0x2000
697 INLCR = 0x40
698 INPCK = 0x10
699 IN_CLASSA_HOST = 0xffffff
700 IN_CLASSA_MAX = 0x80
701 IN_CLASSA_NET = 0xff000000
702 IN_CLASSA_NSHIFT = 0x18
703 IN_CLASSB_HOST = 0xffff
704 IN_CLASSB_MAX = 0x10000
705 IN_CLASSB_NET = 0xffff0000
706 IN_CLASSB_NSHIFT = 0x10
707 IN_CLASSC_HOST = 0xff
708 IN_CLASSC_NET = 0xffffff00
709 IN_CLASSC_NSHIFT = 0x8
710 IN_CLASSD_HOST = 0xfffffff
711 IN_CLASSD_NET = 0xf0000000
712 IN_CLASSD_NSHIFT = 0x1c
713 IN_LOOPBACKNET = 0x7f
714 IN_RFC3021_HOST = 0x1
715 IN_RFC3021_NET = 0xfffffffe
716 IN_RFC3021_NSHIFT = 0x1f
717 IPPROTO_AH = 0x33
718 IPPROTO_CARP = 0x70
719 IPPROTO_DIVERT = 0x102
720 IPPROTO_DIVERT_INIT = 0x2
721 IPPROTO_DIVERT_RESP = 0x1
722 IPPROTO_DONE = 0x101
723 IPPROTO_DSTOPTS = 0x3c
724 IPPROTO_EGP = 0x8
725 IPPROTO_ENCAP = 0x62
726 IPPROTO_EON = 0x50
727 IPPROTO_ESP = 0x32
728 IPPROTO_ETHERIP = 0x61
729 IPPROTO_FRAGMENT = 0x2c
730 IPPROTO_GGP = 0x3
731 IPPROTO_GRE = 0x2f
732 IPPROTO_HOPOPTS = 0x0
733 IPPROTO_ICMP = 0x1
734 IPPROTO_ICMPV6 = 0x3a
735 IPPROTO_IDP = 0x16
736 IPPROTO_IGMP = 0x2
737 IPPROTO_IP = 0x0
738 IPPROTO_IPCOMP = 0x6c
739 IPPROTO_IPIP = 0x4
740 IPPROTO_IPV4 = 0x4
741 IPPROTO_IPV6 = 0x29
742 IPPROTO_MAX = 0x100
743 IPPROTO_MAXID = 0x103
744 IPPROTO_MOBILE = 0x37
745 IPPROTO_MPLS = 0x89
746 IPPROTO_NONE = 0x3b
747 IPPROTO_PFSYNC = 0xf0
748 IPPROTO_PIM = 0x67
749 IPPROTO_PUP = 0xc
750 IPPROTO_RAW = 0xff
751 IPPROTO_ROUTING = 0x2b
752 IPPROTO_RSVP = 0x2e
753 IPPROTO_TCP = 0x6
754 IPPROTO_TP = 0x1d
755 IPPROTO_UDP = 0x11
756 IPV6_AUTH_LEVEL = 0x35
757 IPV6_AUTOFLOWLABEL = 0x3b
758 IPV6_CHECKSUM = 0x1a
759 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
760 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
761 IPV6_DEFHLIM = 0x40
762 IPV6_DONTFRAG = 0x3e
763 IPV6_DSTOPTS = 0x32
764 IPV6_ESP_NETWORK_LEVEL = 0x37
765 IPV6_ESP_TRANS_LEVEL = 0x36
766 IPV6_FAITH = 0x1d
767 IPV6_FLOWINFO_MASK = 0xffffff0f
768 IPV6_FLOWLABEL_MASK = 0xffff0f00
769 IPV6_FRAGTTL = 0x78
770 IPV6_HLIMDEC = 0x1
771 IPV6_HOPLIMIT = 0x2f
772 IPV6_HOPOPTS = 0x31
773 IPV6_IPCOMP_LEVEL = 0x3c
774 IPV6_JOIN_GROUP = 0xc
775 IPV6_LEAVE_GROUP = 0xd
776 IPV6_MAXHLIM = 0xff
777 IPV6_MAXPACKET = 0xffff
778 IPV6_MMTU = 0x500
779 IPV6_MULTICAST_HOPS = 0xa
780 IPV6_MULTICAST_IF = 0x9
781 IPV6_MULTICAST_LOOP = 0xb
782 IPV6_NEXTHOP = 0x30
783 IPV6_OPTIONS = 0x1
784 IPV6_PATHMTU = 0x2c
785 IPV6_PIPEX = 0x3f
786 IPV6_PKTINFO = 0x2e
787 IPV6_PORTRANGE = 0xe
788 IPV6_PORTRANGE_DEFAULT = 0x0
789 IPV6_PORTRANGE_HIGH = 0x1
790 IPV6_PORTRANGE_LOW = 0x2
791 IPV6_RECVDSTOPTS = 0x28
792 IPV6_RECVDSTPORT = 0x40
793 IPV6_RECVHOPLIMIT = 0x25
794 IPV6_RECVHOPOPTS = 0x27
795 IPV6_RECVPATHMTU = 0x2b
796 IPV6_RECVPKTINFO = 0x24
797 IPV6_RECVRTHDR = 0x26
798 IPV6_RECVTCLASS = 0x39
799 IPV6_RTABLE = 0x1021
800 IPV6_RTHDR = 0x33
801 IPV6_RTHDRDSTOPTS = 0x23
802 IPV6_RTHDR_LOOSE = 0x0
803 IPV6_RTHDR_STRICT = 0x1
804 IPV6_RTHDR_TYPE_0 = 0x0
805 IPV6_SOCKOPT_RESERVED1 = 0x3
806 IPV6_TCLASS = 0x3d
807 IPV6_UNICAST_HOPS = 0x4
808 IPV6_USE_MIN_MTU = 0x2a
809 IPV6_V6ONLY = 0x1b
810 IPV6_VERSION = 0x60
811 IPV6_VERSION_MASK = 0xf0
812 IP_ADD_MEMBERSHIP = 0xc
813 IP_AUTH_LEVEL = 0x14
814 IP_DEFAULT_MULTICAST_LOOP = 0x1
815 IP_DEFAULT_MULTICAST_TTL = 0x1
816 IP_DF = 0x4000
817 IP_DIVERTFL = 0x1022
818 IP_DROP_MEMBERSHIP = 0xd
819 IP_ESP_NETWORK_LEVEL = 0x16
820 IP_ESP_TRANS_LEVEL = 0x15
821 IP_HDRINCL = 0x2
822 IP_IPCOMP_LEVEL = 0x1d
823 IP_IPSECFLOWINFO = 0x24
824 IP_IPSEC_LOCAL_AUTH = 0x1b
825 IP_IPSEC_LOCAL_CRED = 0x19
826 IP_IPSEC_LOCAL_ID = 0x17
827 IP_IPSEC_REMOTE_AUTH = 0x1c
828 IP_IPSEC_REMOTE_CRED = 0x1a
829 IP_IPSEC_REMOTE_ID = 0x18
830 IP_MAXPACKET = 0xffff
831 IP_MAX_MEMBERSHIPS = 0xfff
832 IP_MF = 0x2000
833 IP_MINTTL = 0x20
834 IP_MIN_MEMBERSHIPS = 0xf
835 IP_MSS = 0x240
836 IP_MULTICAST_IF = 0x9
837 IP_MULTICAST_LOOP = 0xb
838 IP_MULTICAST_TTL = 0xa
839 IP_OFFMASK = 0x1fff
840 IP_OPTIONS = 0x1
841 IP_PIPEX = 0x22
842 IP_PORTRANGE = 0x13
843 IP_PORTRANGE_DEFAULT = 0x0
844 IP_PORTRANGE_HIGH = 0x1
845 IP_PORTRANGE_LOW = 0x2
846 IP_RECVDSTADDR = 0x7
847 IP_RECVDSTPORT = 0x21
848 IP_RECVIF = 0x1e
849 IP_RECVOPTS = 0x5
850 IP_RECVRETOPTS = 0x6
851 IP_RECVRTABLE = 0x23
852 IP_RECVTTL = 0x1f
853 IP_RETOPTS = 0x8
854 IP_RF = 0x8000
855 IP_RTABLE = 0x1021
856 IP_TOS = 0x3
857 IP_TTL = 0x4
858 ISIG = 0x80
859 ISTRIP = 0x20
860 IXANY = 0x800
861 IXOFF = 0x400
862 IXON = 0x200
863 LCNT_OVERLOAD_FLUSH = 0x6
864 LOCK_EX = 0x2
865 LOCK_NB = 0x4
866 LOCK_SH = 0x1
867 LOCK_UN = 0x8
868 MADV_DONTNEED = 0x4
869 MADV_FREE = 0x6
870 MADV_NORMAL = 0x0
871 MADV_RANDOM = 0x1
872 MADV_SEQUENTIAL = 0x2
873 MADV_SPACEAVAIL = 0x5
874 MADV_WILLNEED = 0x3
875 MAP_ANON = 0x1000
876 MAP_COPY = 0x4
877 MAP_FILE = 0x0
878 MAP_FIXED = 0x10
879 MAP_FLAGMASK = 0x1ff7
880 MAP_HASSEMAPHORE = 0x200
881 MAP_INHERIT = 0x80
882 MAP_INHERIT_COPY = 0x1
883 MAP_INHERIT_DONATE_COPY = 0x3
884 MAP_INHERIT_NONE = 0x2
885 MAP_INHERIT_SHARE = 0x0
886 MAP_NOEXTEND = 0x100
887 MAP_NORESERVE = 0x40
888 MAP_PRIVATE = 0x2
889 MAP_RENAME = 0x20
890 MAP_SHARED = 0x1
891 MAP_TRYFIXED = 0x400
892 MCL_CURRENT = 0x1
893 MCL_FUTURE = 0x2
894 MSG_BCAST = 0x100
895 MSG_CTRUNC = 0x20
896 MSG_DONTROUTE = 0x4
897 MSG_DONTWAIT = 0x80
898 MSG_EOR = 0x8
899 MSG_MCAST = 0x200
900 MSG_NOSIGNAL = 0x400
901 MSG_OOB = 0x1
902 MSG_PEEK = 0x2
903 MSG_TRUNC = 0x10
904 MSG_WAITALL = 0x40
905 MS_ASYNC = 0x1
906 MS_INVALIDATE = 0x4
907 MS_SYNC = 0x2
908 NAME_MAX = 0xff
909 NET_RT_DUMP = 0x1
910 NET_RT_FLAGS = 0x2
911 NET_RT_IFLIST = 0x3
912 NET_RT_MAXID = 0x6
913 NET_RT_STATS = 0x4
914 NET_RT_TABLE = 0x5
915 NOFLSH = 0x80000000
916 NOTE_ATTRIB = 0x8
917 NOTE_CHILD = 0x4
918 NOTE_DELETE = 0x1
919 NOTE_EOF = 0x2
920 NOTE_EXEC = 0x20000000
921 NOTE_EXIT = 0x80000000
922 NOTE_EXTEND = 0x4
923 NOTE_FORK = 0x40000000
924 NOTE_LINK = 0x10
925 NOTE_LOWAT = 0x1
926 NOTE_PCTRLMASK = 0xf0000000
927 NOTE_PDATAMASK = 0xfffff
928 NOTE_RENAME = 0x20
929 NOTE_REVOKE = 0x40
930 NOTE_TRACK = 0x1
931 NOTE_TRACKERR = 0x2
932 NOTE_TRUNCATE = 0x80
933 NOTE_WRITE = 0x2
934 OCRNL = 0x10
935 ONLCR = 0x2
936 ONLRET = 0x80
937 ONOCR = 0x40
938 ONOEOT = 0x8
939 OPOST = 0x1
940 O_ACCMODE = 0x3
941 O_APPEND = 0x8
942 O_ASYNC = 0x40
943 O_CLOEXEC = 0x10000
944 O_CREAT = 0x200
945 O_DIRECTORY = 0x20000
946 O_DSYNC = 0x80
947 O_EXCL = 0x800
948 O_EXLOCK = 0x20
949 O_FSYNC = 0x80
950 O_NDELAY = 0x4
951 O_NOCTTY = 0x8000
952 O_NOFOLLOW = 0x100
953 O_NONBLOCK = 0x4
954 O_RDONLY = 0x0
955 O_RDWR = 0x2
956 O_RSYNC = 0x80
957 O_SHLOCK = 0x10
958 O_SYNC = 0x80
959 O_TRUNC = 0x400
960 O_WRONLY = 0x1
961 PARENB = 0x1000
962 PARMRK = 0x8
963 PARODD = 0x2000
964 PENDIN = 0x20000000
965 PF_FLUSH = 0x1
966 PRIO_PGRP = 0x1
967 PRIO_PROCESS = 0x0
968 PRIO_USER = 0x2
969 PROT_EXEC = 0x4
970 PROT_NONE = 0x0
971 PROT_READ = 0x1
972 PROT_WRITE = 0x2
973 RLIMIT_CORE = 0x4
974 RLIMIT_CPU = 0x0
975 RLIMIT_DATA = 0x2
976 RLIMIT_FSIZE = 0x1
977 RLIMIT_NOFILE = 0x8
978 RLIMIT_STACK = 0x3
979 RLIM_INFINITY = 0x7fffffffffffffff
980 RTAX_AUTHOR = 0x6
981 RTAX_BRD = 0x7
982 RTAX_DST = 0x0
983 RTAX_GATEWAY = 0x1
984 RTAX_GENMASK = 0x3
985 RTAX_IFA = 0x5
986 RTAX_IFP = 0x4
987 RTAX_LABEL = 0xa
988 RTAX_MAX = 0xb
989 RTAX_NETMASK = 0x2
990 RTAX_SRC = 0x8
991 RTAX_SRCMASK = 0x9
992 RTA_AUTHOR = 0x40
993 RTA_BRD = 0x80
994 RTA_DST = 0x1
995 RTA_GATEWAY = 0x2
996 RTA_GENMASK = 0x8
997 RTA_IFA = 0x20
998 RTA_IFP = 0x10
999 RTA_LABEL = 0x400
1000 RTA_NETMASK = 0x4
1001 RTA_SRC = 0x100
1002 RTA_SRCMASK = 0x200
1003 RTF_ANNOUNCE = 0x4000
1004 RTF_BLACKHOLE = 0x1000
1005 RTF_CLONED = 0x10000
1006 RTF_CLONING = 0x100
1007 RTF_DONE = 0x40
1008 RTF_DYNAMIC = 0x10
1009 RTF_FMASK = 0x10f808
1010 RTF_GATEWAY = 0x2
1011 RTF_HOST = 0x4
1012 RTF_LLINFO = 0x400
1013 RTF_MASK = 0x80
1014 RTF_MODIFIED = 0x20
1015 RTF_MPATH = 0x40000
1016 RTF_MPLS = 0x100000
1017 RTF_PERMANENT_ARP = 0x2000
1018 RTF_PROTO1 = 0x8000
1019 RTF_PROTO2 = 0x4000
1020 RTF_PROTO3 = 0x2000
1021 RTF_REJECT = 0x8
1022 RTF_SOURCE = 0x20000
1023 RTF_STATIC = 0x800
1024 RTF_TUNNEL = 0x100000
1025 RTF_UP = 0x1
1026 RTF_USETRAILERS = 0x8000
1027 RTF_XRESOLVE = 0x200
1028 RTM_ADD = 0x1
1029 RTM_CHANGE = 0x3
1030 RTM_DELADDR = 0xd
1031 RTM_DELETE = 0x2
1032 RTM_DESYNC = 0x10
1033 RTM_GET = 0x4
1034 RTM_IFANNOUNCE = 0xf
1035 RTM_IFINFO = 0xe
1036 RTM_LOCK = 0x8
1037 RTM_LOSING = 0x5
1038 RTM_MAXSIZE = 0x800
1039 RTM_MISS = 0x7
1040 RTM_NEWADDR = 0xc
1041 RTM_REDIRECT = 0x6
1042 RTM_RESOLVE = 0xb
1043 RTM_RTTUNIT = 0xf4240
1044 RTM_VERSION = 0x5
1045 RTV_EXPIRE = 0x4
1046 RTV_HOPCOUNT = 0x2
1047 RTV_MTU = 0x1
1048 RTV_RPIPE = 0x8
1049 RTV_RTT = 0x40
1050 RTV_RTTVAR = 0x80
1051 RTV_SPIPE = 0x10
1052 RTV_SSTHRESH = 0x20
1053 RT_TABLEID_MAX = 0xff
1054 RUSAGE_CHILDREN = -0x1
1055 RUSAGE_SELF = 0x0
1056 RUSAGE_THREAD = 0x1
1057 SCM_RIGHTS = 0x1
1058 SCM_TIMESTAMP = 0x4
1059 SHUT_RD = 0x0
1060 SHUT_RDWR = 0x2
1061 SHUT_WR = 0x1
1062 SIOCADDMULTI = 0x80206931
1063 SIOCAIFADDR = 0x8040691a
1064 SIOCAIFGROUP = 0x80286987
1065 SIOCALIFADDR = 0x8218691c
1066 SIOCATMARK = 0x40047307
1067 SIOCBRDGADD = 0x8058693c
1068 SIOCBRDGADDS = 0x80586941
1069 SIOCBRDGARL = 0x806e694d
1070 SIOCBRDGDADDR = 0x81286947
1071 SIOCBRDGDEL = 0x8058693d
1072 SIOCBRDGDELS = 0x80586942
1073 SIOCBRDGFLUSH = 0x80586948
1074 SIOCBRDGFRL = 0x806e694e
1075 SIOCBRDGGCACHE = 0xc0146941
1076 SIOCBRDGGFD = 0xc0146952
1077 SIOCBRDGGHT = 0xc0146951
1078 SIOCBRDGGIFFLGS = 0xc058693e
1079 SIOCBRDGGMA = 0xc0146953
1080 SIOCBRDGGPARAM = 0xc0406958
1081 SIOCBRDGGPRI = 0xc0146950
1082 SIOCBRDGGRL = 0xc030694f
1083 SIOCBRDGGSIFS = 0xc058693c
1084 SIOCBRDGGTO = 0xc0146946
1085 SIOCBRDGIFS = 0xc0586942
1086 SIOCBRDGRTS = 0xc0206943
1087 SIOCBRDGSADDR = 0xc1286944
1088 SIOCBRDGSCACHE = 0x80146940
1089 SIOCBRDGSFD = 0x80146952
1090 SIOCBRDGSHT = 0x80146951
1091 SIOCBRDGSIFCOST = 0x80586955
1092 SIOCBRDGSIFFLGS = 0x8058693f
1093 SIOCBRDGSIFPRIO = 0x80586954
1094 SIOCBRDGSMA = 0x80146953
1095 SIOCBRDGSPRI = 0x80146950
1096 SIOCBRDGSPROTO = 0x8014695a
1097 SIOCBRDGSTO = 0x80146945
1098 SIOCBRDGSTXHC = 0x80146959
1099 SIOCDELMULTI = 0x80206932
1100 SIOCDIFADDR = 0x80206919
1101 SIOCDIFGROUP = 0x80286989
1102 SIOCDIFPHYADDR = 0x80206949
1103 SIOCDLIFADDR = 0x8218691e
1104 SIOCGETKALIVE = 0xc01869a4
1105 SIOCGETLABEL = 0x8020699a
1106 SIOCGETPFLOW = 0xc02069fe
1107 SIOCGETPFSYNC = 0xc02069f8
1108 SIOCGETSGCNT = 0xc0207534
1109 SIOCGETVIFCNT = 0xc0287533
1110 SIOCGETVLAN = 0xc0206990
1111 SIOCGHIWAT = 0x40047301
1112 SIOCGIFADDR = 0xc0206921
1113 SIOCGIFASYNCMAP = 0xc020697c
1114 SIOCGIFBRDADDR = 0xc0206923
1115 SIOCGIFCONF = 0xc0106924
1116 SIOCGIFDATA = 0xc020691b
1117 SIOCGIFDESCR = 0xc0206981
1118 SIOCGIFDSTADDR = 0xc0206922
1119 SIOCGIFFLAGS = 0xc0206911
1120 SIOCGIFGATTR = 0xc028698b
1121 SIOCGIFGENERIC = 0xc020693a
1122 SIOCGIFGMEMB = 0xc028698a
1123 SIOCGIFGROUP = 0xc0286988
1124 SIOCGIFHARDMTU = 0xc02069a5
1125 SIOCGIFMEDIA = 0xc0306936
1126 SIOCGIFMETRIC = 0xc0206917
1127 SIOCGIFMTU = 0xc020697e
1128 SIOCGIFNETMASK = 0xc0206925
1129 SIOCGIFPDSTADDR = 0xc0206948
1130 SIOCGIFPRIORITY = 0xc020699c
1131 SIOCGIFPSRCADDR = 0xc0206947
1132 SIOCGIFRDOMAIN = 0xc02069a0
1133 SIOCGIFRTLABEL = 0xc0206983
1134 SIOCGIFTIMESLOT = 0xc0206986
1135 SIOCGIFXFLAGS = 0xc020699e
1136 SIOCGLIFADDR = 0xc218691d
1137 SIOCGLIFPHYADDR = 0xc218694b
1138 SIOCGLIFPHYRTABLE = 0xc02069a2
1139 SIOCGLIFPHYTTL = 0xc02069a9
1140 SIOCGLOWAT = 0x40047303
1141 SIOCGPGRP = 0x40047309
1142 SIOCGSPPPPARAMS = 0xc0206994
1143 SIOCGVH = 0xc02069f6
1144 SIOCGVNETID = 0xc02069a7
1145 SIOCIFCREATE = 0x8020697a
1146 SIOCIFDESTROY = 0x80206979
1147 SIOCIFGCLONERS = 0xc0106978
1148 SIOCSETKALIVE = 0x801869a3
1149 SIOCSETLABEL = 0x80206999
1150 SIOCSETPFLOW = 0x802069fd
1151 SIOCSETPFSYNC = 0x802069f7
1152 SIOCSETVLAN = 0x8020698f
1153 SIOCSHIWAT = 0x80047300
1154 SIOCSIFADDR = 0x8020690c
1155 SIOCSIFASYNCMAP = 0x8020697d
1156 SIOCSIFBRDADDR = 0x80206913
1157 SIOCSIFDESCR = 0x80206980
1158 SIOCSIFDSTADDR = 0x8020690e
1159 SIOCSIFFLAGS = 0x80206910
1160 SIOCSIFGATTR = 0x8028698c
1161 SIOCSIFGENERIC = 0x80206939
1162 SIOCSIFLLADDR = 0x8020691f
1163 SIOCSIFMEDIA = 0xc0206935
1164 SIOCSIFMETRIC = 0x80206918
1165 SIOCSIFMTU = 0x8020697f
1166 SIOCSIFNETMASK = 0x80206916
1167 SIOCSIFPHYADDR = 0x80406946
1168 SIOCSIFPRIORITY = 0x8020699b
1169 SIOCSIFRDOMAIN = 0x8020699f
1170 SIOCSIFRTLABEL = 0x80206982
1171 SIOCSIFTIMESLOT = 0x80206985
1172 SIOCSIFXFLAGS = 0x8020699d
1173 SIOCSLIFPHYADDR = 0x8218694a
1174 SIOCSLIFPHYRTABLE = 0x802069a1
1175 SIOCSLIFPHYTTL = 0x802069a8
1176 SIOCSLOWAT = 0x80047302
1177 SIOCSPGRP = 0x80047308
1178 SIOCSSPPPPARAMS = 0x80206993
1179 SIOCSVH = 0xc02069f5
1180 SIOCSVNETID = 0x802069a6
1181 SOCK_DGRAM = 0x2
1182 SOCK_RAW = 0x3
1183 SOCK_RDM = 0x4
1184 SOCK_SEQPACKET = 0x5
1185 SOCK_STREAM = 0x1
1186 SOL_SOCKET = 0xffff
1187 SOMAXCONN = 0x80
1188 SO_ACCEPTCONN = 0x2
1189 SO_BINDANY = 0x1000
1190 SO_BROADCAST = 0x20
1191 SO_DEBUG = 0x1
1192 SO_DONTROUTE = 0x10
1193 SO_ERROR = 0x1007
1194 SO_KEEPALIVE = 0x8
1195 SO_LINGER = 0x80
1196 SO_NETPROC = 0x1020
1197 SO_OOBINLINE = 0x100
1198 SO_PEERCRED = 0x1022
1199 SO_RCVBUF = 0x1002
1200 SO_RCVLOWAT = 0x1004
1201 SO_RCVTIMEO = 0x1006
1202 SO_REUSEADDR = 0x4
1203 SO_REUSEPORT = 0x200
1204 SO_RTABLE = 0x1021
1205 SO_SNDBUF = 0x1001
1206 SO_SNDLOWAT = 0x1003
1207 SO_SNDTIMEO = 0x1005
1208 SO_SPLICE = 0x1023
1209 SO_TIMESTAMP = 0x800
1210 SO_TYPE = 0x1008
1211 SO_USELOOPBACK = 0x40
1212 TCIFLUSH = 0x1
1213 TCIOFLUSH = 0x3
1214 TCOFLUSH = 0x2
1215 TCP_MAXBURST = 0x4
1216 TCP_MAXSEG = 0x2
1217 TCP_MAXWIN = 0xffff
1218 TCP_MAX_SACK = 0x3
1219 TCP_MAX_WINSHIFT = 0xe
1220 TCP_MD5SIG = 0x4
1221 TCP_MSS = 0x200
1222 TCP_NODELAY = 0x1
1223 TCP_NOPUSH = 0x10
1224 TCP_NSTATES = 0xb
1225 TCP_SACK_ENABLE = 0x8
1226 TCSAFLUSH = 0x2
1227 TIOCCBRK = 0x2000747a
1228 TIOCCDTR = 0x20007478
1229 TIOCCONS = 0x80047462
1230 TIOCDRAIN = 0x2000745e
1231 TIOCEXCL = 0x2000740d
1232 TIOCEXT = 0x80047460
1233 TIOCFLAG_CLOCAL = 0x2
1234 TIOCFLAG_CRTSCTS = 0x4
1235 TIOCFLAG_MDMBUF = 0x8
1236 TIOCFLAG_PPS = 0x10
1237 TIOCFLAG_SOFTCAR = 0x1
1238 TIOCFLUSH = 0x80047410
1239 TIOCGETA = 0x402c7413
1240 TIOCGETD = 0x4004741a
1241 TIOCGFLAGS = 0x4004745d
1242 TIOCGPGRP = 0x40047477
1243 TIOCGSID = 0x40047463
1244 TIOCGTSTAMP = 0x4010745b
1245 TIOCGWINSZ = 0x40087468
1246 TIOCMBIC = 0x8004746b
1247 TIOCMBIS = 0x8004746c
1248 TIOCMGET = 0x4004746a
1249 TIOCMODG = 0x4004746a
1250 TIOCMODS = 0x8004746d
1251 TIOCMSET = 0x8004746d
1252 TIOCM_CAR = 0x40
1253 TIOCM_CD = 0x40
1254 TIOCM_CTS = 0x20
1255 TIOCM_DSR = 0x100
1256 TIOCM_DTR = 0x2
1257 TIOCM_LE = 0x1
1258 TIOCM_RI = 0x80
1259 TIOCM_RNG = 0x80
1260 TIOCM_RTS = 0x4
1261 TIOCM_SR = 0x10
1262 TIOCM_ST = 0x8
1263 TIOCNOTTY = 0x20007471
1264 TIOCNXCL = 0x2000740e
1265 TIOCOUTQ = 0x40047473
1266 TIOCPKT = 0x80047470
1267 TIOCPKT_DATA = 0x0
1268 TIOCPKT_DOSTOP = 0x20
1269 TIOCPKT_FLUSHREAD = 0x1
1270 TIOCPKT_FLUSHWRITE = 0x2
1271 TIOCPKT_IOCTL = 0x40
1272 TIOCPKT_NOSTOP = 0x10
1273 TIOCPKT_START = 0x8
1274 TIOCPKT_STOP = 0x4
1275 TIOCREMOTE = 0x80047469
1276 TIOCSBRK = 0x2000747b
1277 TIOCSCTTY = 0x20007461
1278 TIOCSDTR = 0x20007479
1279 TIOCSETA = 0x802c7414
1280 TIOCSETAF = 0x802c7416
1281 TIOCSETAW = 0x802c7415
1282 TIOCSETD = 0x8004741b
1283 TIOCSFLAGS = 0x8004745c
1284 TIOCSIG = 0x8004745f
1285 TIOCSPGRP = 0x80047476
1286 TIOCSTART = 0x2000746e
1287 TIOCSTAT = 0x80047465
1288 TIOCSTI = 0x80017472
1289 TIOCSTOP = 0x2000746f
1290 TIOCSTSTAMP = 0x8008745a
1291 TIOCSWINSZ = 0x80087467
1292 TIOCUCNTL = 0x80047466
1293 TOSTOP = 0x400000
1294 VDISCARD = 0xf
1295 VDSUSP = 0xb
1296 VEOF = 0x0
1297 VEOL = 0x1
1298 VEOL2 = 0x2
1299 VERASE = 0x3
1300 VINTR = 0x8
1301 VKILL = 0x5
1302 VLNEXT = 0xe
1303 VMIN = 0x10
1304 VQUIT = 0x9
1305 VREPRINT = 0x6
1306 VSTART = 0xc
1307 VSTATUS = 0x12
1308 VSTOP = 0xd
1309 VSUSP = 0xa
1310 VTIME = 0x11
1311 VWERASE = 0x4
1312 WALTSIG = 0x4
1313 WCONTINUED = 0x8
1314 WCOREFLAG = 0x80
1315 WNOHANG = 0x1
1316 WSTOPPED = 0x7f
1317 WUNTRACED = 0x2
1318)
1319
1320// Errors
1321const (
1322 E2BIG = syscall.Errno(0x7)
1323 EACCES = syscall.Errno(0xd)
1324 EADDRINUSE = syscall.Errno(0x30)
1325 EADDRNOTAVAIL = syscall.Errno(0x31)
1326 EAFNOSUPPORT = syscall.Errno(0x2f)
1327 EAGAIN = syscall.Errno(0x23)
1328 EALREADY = syscall.Errno(0x25)
1329 EAUTH = syscall.Errno(0x50)
1330 EBADF = syscall.Errno(0x9)
1331 EBADRPC = syscall.Errno(0x48)
1332 EBUSY = syscall.Errno(0x10)
1333 ECANCELED = syscall.Errno(0x58)
1334 ECHILD = syscall.Errno(0xa)
1335 ECONNABORTED = syscall.Errno(0x35)
1336 ECONNREFUSED = syscall.Errno(0x3d)
1337 ECONNRESET = syscall.Errno(0x36)
1338 EDEADLK = syscall.Errno(0xb)
1339 EDESTADDRREQ = syscall.Errno(0x27)
1340 EDOM = syscall.Errno(0x21)
1341 EDQUOT = syscall.Errno(0x45)
1342 EEXIST = syscall.Errno(0x11)
1343 EFAULT = syscall.Errno(0xe)
1344 EFBIG = syscall.Errno(0x1b)
1345 EFTYPE = syscall.Errno(0x4f)
1346 EHOSTDOWN = syscall.Errno(0x40)
1347 EHOSTUNREACH = syscall.Errno(0x41)
1348 EIDRM = syscall.Errno(0x59)
1349 EILSEQ = syscall.Errno(0x54)
1350 EINPROGRESS = syscall.Errno(0x24)
1351 EINTR = syscall.Errno(0x4)
1352 EINVAL = syscall.Errno(0x16)
1353 EIO = syscall.Errno(0x5)
1354 EIPSEC = syscall.Errno(0x52)
1355 EISCONN = syscall.Errno(0x38)
1356 EISDIR = syscall.Errno(0x15)
1357 ELAST = syscall.Errno(0x5b)
1358 ELOOP = syscall.Errno(0x3e)
1359 EMEDIUMTYPE = syscall.Errno(0x56)
1360 EMFILE = syscall.Errno(0x18)
1361 EMLINK = syscall.Errno(0x1f)
1362 EMSGSIZE = syscall.Errno(0x28)
1363 ENAMETOOLONG = syscall.Errno(0x3f)
1364 ENEEDAUTH = syscall.Errno(0x51)
1365 ENETDOWN = syscall.Errno(0x32)
1366 ENETRESET = syscall.Errno(0x34)
1367 ENETUNREACH = syscall.Errno(0x33)
1368 ENFILE = syscall.Errno(0x17)
1369 ENOATTR = syscall.Errno(0x53)
1370 ENOBUFS = syscall.Errno(0x37)
1371 ENODEV = syscall.Errno(0x13)
1372 ENOENT = syscall.Errno(0x2)
1373 ENOEXEC = syscall.Errno(0x8)
1374 ENOLCK = syscall.Errno(0x4d)
1375 ENOMEDIUM = syscall.Errno(0x55)
1376 ENOMEM = syscall.Errno(0xc)
1377 ENOMSG = syscall.Errno(0x5a)
1378 ENOPROTOOPT = syscall.Errno(0x2a)
1379 ENOSPC = syscall.Errno(0x1c)
1380 ENOSYS = syscall.Errno(0x4e)
1381 ENOTBLK = syscall.Errno(0xf)
1382 ENOTCONN = syscall.Errno(0x39)
1383 ENOTDIR = syscall.Errno(0x14)
1384 ENOTEMPTY = syscall.Errno(0x42)
1385 ENOTSOCK = syscall.Errno(0x26)
1386 ENOTSUP = syscall.Errno(0x5b)
1387 ENOTTY = syscall.Errno(0x19)
1388 ENXIO = syscall.Errno(0x6)
1389 EOPNOTSUPP = syscall.Errno(0x2d)
1390 EOVERFLOW = syscall.Errno(0x57)
1391 EPERM = syscall.Errno(0x1)
1392 EPFNOSUPPORT = syscall.Errno(0x2e)
1393 EPIPE = syscall.Errno(0x20)
1394 EPROCLIM = syscall.Errno(0x43)
1395 EPROCUNAVAIL = syscall.Errno(0x4c)
1396 EPROGMISMATCH = syscall.Errno(0x4b)
1397 EPROGUNAVAIL = syscall.Errno(0x4a)
1398 EPROTONOSUPPORT = syscall.Errno(0x2b)
1399 EPROTOTYPE = syscall.Errno(0x29)
1400 ERANGE = syscall.Errno(0x22)
1401 EREMOTE = syscall.Errno(0x47)
1402 EROFS = syscall.Errno(0x1e)
1403 ERPCMISMATCH = syscall.Errno(0x49)
1404 ESHUTDOWN = syscall.Errno(0x3a)
1405 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1406 ESPIPE = syscall.Errno(0x1d)
1407 ESRCH = syscall.Errno(0x3)
1408 ESTALE = syscall.Errno(0x46)
1409 ETIMEDOUT = syscall.Errno(0x3c)
1410 ETOOMANYREFS = syscall.Errno(0x3b)
1411 ETXTBSY = syscall.Errno(0x1a)
1412 EUSERS = syscall.Errno(0x44)
1413 EWOULDBLOCK = syscall.Errno(0x23)
1414 EXDEV = syscall.Errno(0x12)
1415)
1416
1417// Signals
1418const (
1419 SIGABRT = syscall.Signal(0x6)
1420 SIGALRM = syscall.Signal(0xe)
1421 SIGBUS = syscall.Signal(0xa)
1422 SIGCHLD = syscall.Signal(0x14)
1423 SIGCONT = syscall.Signal(0x13)
1424 SIGEMT = syscall.Signal(0x7)
1425 SIGFPE = syscall.Signal(0x8)
1426 SIGHUP = syscall.Signal(0x1)
1427 SIGILL = syscall.Signal(0x4)
1428 SIGINFO = syscall.Signal(0x1d)
1429 SIGINT = syscall.Signal(0x2)
1430 SIGIO = syscall.Signal(0x17)
1431 SIGIOT = syscall.Signal(0x6)
1432 SIGKILL = syscall.Signal(0x9)
1433 SIGPIPE = syscall.Signal(0xd)
1434 SIGPROF = syscall.Signal(0x1b)
1435 SIGQUIT = syscall.Signal(0x3)
1436 SIGSEGV = syscall.Signal(0xb)
1437 SIGSTOP = syscall.Signal(0x11)
1438 SIGSYS = syscall.Signal(0xc)
1439 SIGTERM = syscall.Signal(0xf)
1440 SIGTHR = syscall.Signal(0x20)
1441 SIGTRAP = syscall.Signal(0x5)
1442 SIGTSTP = syscall.Signal(0x12)
1443 SIGTTIN = syscall.Signal(0x15)
1444 SIGTTOU = syscall.Signal(0x16)
1445 SIGURG = syscall.Signal(0x10)
1446 SIGUSR1 = syscall.Signal(0x1e)
1447 SIGUSR2 = syscall.Signal(0x1f)
1448 SIGVTALRM = syscall.Signal(0x1a)
1449 SIGWINCH = syscall.Signal(0x1c)
1450 SIGXCPU = syscall.Signal(0x18)
1451 SIGXFSZ = syscall.Signal(0x19)
1452)
1453
1454// Error table
1455var errors = [...]string{
1456 1: "operation not permitted",
1457 2: "no such file or directory",
1458 3: "no such process",
1459 4: "interrupted system call",
1460 5: "input/output error",
1461 6: "device not configured",
1462 7: "argument list too long",
1463 8: "exec format error",
1464 9: "bad file descriptor",
1465 10: "no child processes",
1466 11: "resource deadlock avoided",
1467 12: "cannot allocate memory",
1468 13: "permission denied",
1469 14: "bad address",
1470 15: "block device required",
1471 16: "device busy",
1472 17: "file exists",
1473 18: "cross-device link",
1474 19: "operation not supported by device",
1475 20: "not a directory",
1476 21: "is a directory",
1477 22: "invalid argument",
1478 23: "too many open files in system",
1479 24: "too many open files",
1480 25: "inappropriate ioctl for device",
1481 26: "text file busy",
1482 27: "file too large",
1483 28: "no space left on device",
1484 29: "illegal seek",
1485 30: "read-only file system",
1486 31: "too many links",
1487 32: "broken pipe",
1488 33: "numerical argument out of domain",
1489 34: "result too large",
1490 35: "resource temporarily unavailable",
1491 36: "operation now in progress",
1492 37: "operation already in progress",
1493 38: "socket operation on non-socket",
1494 39: "destination address required",
1495 40: "message too long",
1496 41: "protocol wrong type for socket",
1497 42: "protocol not available",
1498 43: "protocol not supported",
1499 44: "socket type not supported",
1500 45: "operation not supported",
1501 46: "protocol family not supported",
1502 47: "address family not supported by protocol family",
1503 48: "address already in use",
1504 49: "can't assign requested address",
1505 50: "network is down",
1506 51: "network is unreachable",
1507 52: "network dropped connection on reset",
1508 53: "software caused connection abort",
1509 54: "connection reset by peer",
1510 55: "no buffer space available",
1511 56: "socket is already connected",
1512 57: "socket is not connected",
1513 58: "can't send after socket shutdown",
1514 59: "too many references: can't splice",
1515 60: "connection timed out",
1516 61: "connection refused",
1517 62: "too many levels of symbolic links",
1518 63: "file name too long",
1519 64: "host is down",
1520 65: "no route to host",
1521 66: "directory not empty",
1522 67: "too many processes",
1523 68: "too many users",
1524 69: "disc quota exceeded",
1525 70: "stale NFS file handle",
1526 71: "too many levels of remote in path",
1527 72: "RPC struct is bad",
1528 73: "RPC version wrong",
1529 74: "RPC prog. not avail",
1530 75: "program version wrong",
1531 76: "bad procedure for program",
1532 77: "no locks available",
1533 78: "function not implemented",
1534 79: "inappropriate file type or format",
1535 80: "authentication error",
1536 81: "need authenticator",
1537 82: "IPsec processing failure",
1538 83: "attribute not found",
1539 84: "illegal byte sequence",
1540 85: "no medium found",
1541 86: "wrong medium type",
1542 87: "value too large to be stored in data type",
1543 88: "operation canceled",
1544 89: "identifier removed",
1545 90: "no message of desired type",
1546 91: "not supported",
1547}
1548
1549// Signal table
1550var signals = [...]string{
1551 1: "hangup",
1552 2: "interrupt",
1553 3: "quit",
1554 4: "illegal instruction",
1555 5: "trace/BPT trap",
1556 6: "abort trap",
1557 7: "EMT trap",
1558 8: "floating point exception",
1559 9: "killed",
1560 10: "bus error",
1561 11: "segmentation fault",
1562 12: "bad system call",
1563 13: "broken pipe",
1564 14: "alarm clock",
1565 15: "terminated",
1566 16: "urgent I/O condition",
1567 17: "stopped (signal)",
1568 18: "stopped",
1569 19: "continued",
1570 20: "child exited",
1571 21: "stopped (tty input)",
1572 22: "stopped (tty output)",
1573 23: "I/O possible",
1574 24: "cputime limit exceeded",
1575 25: "filesize limit exceeded",
1576 26: "virtual timer expired",
1577 27: "profiling timer expired",
1578 28: "window size changes",
1579 29: "information request",
1580 30: "user defined signal 1",
1581 31: "user defined signal 2",
1582 32: "thread AST",
1583}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_solaris_amd64.go
deleted file mode 100644
index a08922b..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zerrors_solaris_amd64.go
+++ /dev/null
@@ -1,1436 +0,0 @@
1// mkerrors.sh -m64
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,solaris
5
6// Created by cgo -godefs - DO NOT EDIT
7// cgo -godefs -- -m64 _const.go
8
9package unix
10
11import "syscall"
12
13const (
14 AF_802 = 0x12
15 AF_APPLETALK = 0x10
16 AF_CCITT = 0xa
17 AF_CHAOS = 0x5
18 AF_DATAKIT = 0x9
19 AF_DECnet = 0xc
20 AF_DLI = 0xd
21 AF_ECMA = 0x8
22 AF_FILE = 0x1
23 AF_GOSIP = 0x16
24 AF_HYLINK = 0xf
25 AF_IMPLINK = 0x3
26 AF_INET = 0x2
27 AF_INET6 = 0x1a
28 AF_INET_OFFLOAD = 0x1e
29 AF_IPX = 0x17
30 AF_KEY = 0x1b
31 AF_LAT = 0xe
32 AF_LINK = 0x19
33 AF_LOCAL = 0x1
34 AF_MAX = 0x20
35 AF_NBS = 0x7
36 AF_NCA = 0x1c
37 AF_NIT = 0x11
38 AF_NS = 0x6
39 AF_OSI = 0x13
40 AF_OSINET = 0x15
41 AF_PACKET = 0x20
42 AF_POLICY = 0x1d
43 AF_PUP = 0x4
44 AF_ROUTE = 0x18
45 AF_SNA = 0xb
46 AF_TRILL = 0x1f
47 AF_UNIX = 0x1
48 AF_UNSPEC = 0x0
49 AF_X25 = 0x14
50 ARPHRD_ARCNET = 0x7
51 ARPHRD_ATM = 0x10
52 ARPHRD_AX25 = 0x3
53 ARPHRD_CHAOS = 0x5
54 ARPHRD_EETHER = 0x2
55 ARPHRD_ETHER = 0x1
56 ARPHRD_FC = 0x12
57 ARPHRD_FRAME = 0xf
58 ARPHRD_HDLC = 0x11
59 ARPHRD_IB = 0x20
60 ARPHRD_IEEE802 = 0x6
61 ARPHRD_IPATM = 0x13
62 ARPHRD_METRICOM = 0x17
63 ARPHRD_TUNNEL = 0x1f
64 B0 = 0x0
65 B110 = 0x3
66 B115200 = 0x12
67 B1200 = 0x9
68 B134 = 0x4
69 B150 = 0x5
70 B153600 = 0x13
71 B1800 = 0xa
72 B19200 = 0xe
73 B200 = 0x6
74 B230400 = 0x14
75 B2400 = 0xb
76 B300 = 0x7
77 B307200 = 0x15
78 B38400 = 0xf
79 B460800 = 0x16
80 B4800 = 0xc
81 B50 = 0x1
82 B57600 = 0x10
83 B600 = 0x8
84 B75 = 0x2
85 B76800 = 0x11
86 B921600 = 0x17
87 B9600 = 0xd
88 BIOCFLUSH = 0x20004268
89 BIOCGBLEN = 0x40044266
90 BIOCGDLT = 0x4004426a
91 BIOCGDLTLIST = -0x3fefbd89
92 BIOCGDLTLIST32 = -0x3ff7bd89
93 BIOCGETIF = 0x4020426b
94 BIOCGETLIF = 0x4078426b
95 BIOCGHDRCMPLT = 0x40044274
96 BIOCGRTIMEOUT = 0x4010427b
97 BIOCGRTIMEOUT32 = 0x4008427b
98 BIOCGSEESENT = 0x40044278
99 BIOCGSTATS = 0x4080426f
100 BIOCGSTATSOLD = 0x4008426f
101 BIOCIMMEDIATE = -0x7ffbbd90
102 BIOCPROMISC = 0x20004269
103 BIOCSBLEN = -0x3ffbbd9a
104 BIOCSDLT = -0x7ffbbd8a
105 BIOCSETF = -0x7fefbd99
106 BIOCSETF32 = -0x7ff7bd99
107 BIOCSETIF = -0x7fdfbd94
108 BIOCSETLIF = -0x7f87bd94
109 BIOCSHDRCMPLT = -0x7ffbbd8b
110 BIOCSRTIMEOUT = -0x7fefbd86
111 BIOCSRTIMEOUT32 = -0x7ff7bd86
112 BIOCSSEESENT = -0x7ffbbd87
113 BIOCSTCPF = -0x7fefbd8e
114 BIOCSUDPF = -0x7fefbd8d
115 BIOCVERSION = 0x40044271
116 BPF_A = 0x10
117 BPF_ABS = 0x20
118 BPF_ADD = 0x0
119 BPF_ALIGNMENT = 0x4
120 BPF_ALU = 0x4
121 BPF_AND = 0x50
122 BPF_B = 0x10
123 BPF_DFLTBUFSIZE = 0x100000
124 BPF_DIV = 0x30
125 BPF_H = 0x8
126 BPF_IMM = 0x0
127 BPF_IND = 0x40
128 BPF_JA = 0x0
129 BPF_JEQ = 0x10
130 BPF_JGE = 0x30
131 BPF_JGT = 0x20
132 BPF_JMP = 0x5
133 BPF_JSET = 0x40
134 BPF_K = 0x0
135 BPF_LD = 0x0
136 BPF_LDX = 0x1
137 BPF_LEN = 0x80
138 BPF_LSH = 0x60
139 BPF_MAJOR_VERSION = 0x1
140 BPF_MAXBUFSIZE = 0x1000000
141 BPF_MAXINSNS = 0x200
142 BPF_MEM = 0x60
143 BPF_MEMWORDS = 0x10
144 BPF_MINBUFSIZE = 0x20
145 BPF_MINOR_VERSION = 0x1
146 BPF_MISC = 0x7
147 BPF_MSH = 0xa0
148 BPF_MUL = 0x20
149 BPF_NEG = 0x80
150 BPF_OR = 0x40
151 BPF_RELEASE = 0x30bb6
152 BPF_RET = 0x6
153 BPF_RSH = 0x70
154 BPF_ST = 0x2
155 BPF_STX = 0x3
156 BPF_SUB = 0x10
157 BPF_TAX = 0x0
158 BPF_TXA = 0x80
159 BPF_W = 0x0
160 BPF_X = 0x8
161 BRKINT = 0x2
162 CFLUSH = 0xf
163 CLOCAL = 0x800
164 CLOCK_HIGHRES = 0x4
165 CLOCK_LEVEL = 0xa
166 CLOCK_MONOTONIC = 0x4
167 CLOCK_PROCESS_CPUTIME_ID = 0x5
168 CLOCK_PROF = 0x2
169 CLOCK_REALTIME = 0x3
170 CLOCK_THREAD_CPUTIME_ID = 0x2
171 CLOCK_VIRTUAL = 0x1
172 CREAD = 0x80
173 CS5 = 0x0
174 CS6 = 0x10
175 CS7 = 0x20
176 CS8 = 0x30
177 CSIZE = 0x30
178 CSTART = 0x11
179 CSTATUS = 0x14
180 CSTOP = 0x13
181 CSTOPB = 0x40
182 CSUSP = 0x1a
183 CSWTCH = 0x1a
184 DLT_AIRONET_HEADER = 0x78
185 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
186 DLT_ARCNET = 0x7
187 DLT_ARCNET_LINUX = 0x81
188 DLT_ATM_CLIP = 0x13
189 DLT_ATM_RFC1483 = 0xb
190 DLT_AURORA = 0x7e
191 DLT_AX25 = 0x3
192 DLT_BACNET_MS_TP = 0xa5
193 DLT_CHAOS = 0x5
194 DLT_CISCO_IOS = 0x76
195 DLT_C_HDLC = 0x68
196 DLT_DOCSIS = 0x8f
197 DLT_ECONET = 0x73
198 DLT_EN10MB = 0x1
199 DLT_EN3MB = 0x2
200 DLT_ENC = 0x6d
201 DLT_ERF_ETH = 0xaf
202 DLT_ERF_POS = 0xb0
203 DLT_FDDI = 0xa
204 DLT_FRELAY = 0x6b
205 DLT_GCOM_SERIAL = 0xad
206 DLT_GCOM_T1E1 = 0xac
207 DLT_GPF_F = 0xab
208 DLT_GPF_T = 0xaa
209 DLT_GPRS_LLC = 0xa9
210 DLT_HDLC = 0x10
211 DLT_HHDLC = 0x79
212 DLT_HIPPI = 0xf
213 DLT_IBM_SN = 0x92
214 DLT_IBM_SP = 0x91
215 DLT_IEEE802 = 0x6
216 DLT_IEEE802_11 = 0x69
217 DLT_IEEE802_11_RADIO = 0x7f
218 DLT_IEEE802_11_RADIO_AVS = 0xa3
219 DLT_IPNET = 0xe2
220 DLT_IPOIB = 0xa2
221 DLT_IP_OVER_FC = 0x7a
222 DLT_JUNIPER_ATM1 = 0x89
223 DLT_JUNIPER_ATM2 = 0x87
224 DLT_JUNIPER_CHDLC = 0xb5
225 DLT_JUNIPER_ES = 0x84
226 DLT_JUNIPER_ETHER = 0xb2
227 DLT_JUNIPER_FRELAY = 0xb4
228 DLT_JUNIPER_GGSN = 0x85
229 DLT_JUNIPER_MFR = 0x86
230 DLT_JUNIPER_MLFR = 0x83
231 DLT_JUNIPER_MLPPP = 0x82
232 DLT_JUNIPER_MONITOR = 0xa4
233 DLT_JUNIPER_PIC_PEER = 0xae
234 DLT_JUNIPER_PPP = 0xb3
235 DLT_JUNIPER_PPPOE = 0xa7
236 DLT_JUNIPER_PPPOE_ATM = 0xa8
237 DLT_JUNIPER_SERVICES = 0x88
238 DLT_LINUX_IRDA = 0x90
239 DLT_LINUX_LAPD = 0xb1
240 DLT_LINUX_SLL = 0x71
241 DLT_LOOP = 0x6c
242 DLT_LTALK = 0x72
243 DLT_MTP2 = 0x8c
244 DLT_MTP2_WITH_PHDR = 0x8b
245 DLT_MTP3 = 0x8d
246 DLT_NULL = 0x0
247 DLT_PCI_EXP = 0x7d
248 DLT_PFLOG = 0x75
249 DLT_PFSYNC = 0x12
250 DLT_PPP = 0x9
251 DLT_PPP_BSDOS = 0xe
252 DLT_PPP_PPPD = 0xa6
253 DLT_PRISM_HEADER = 0x77
254 DLT_PRONET = 0x4
255 DLT_RAW = 0xc
256 DLT_RAWAF_MASK = 0x2240000
257 DLT_RIO = 0x7c
258 DLT_SCCP = 0x8e
259 DLT_SLIP = 0x8
260 DLT_SLIP_BSDOS = 0xd
261 DLT_SUNATM = 0x7b
262 DLT_SYMANTEC_FIREWALL = 0x63
263 DLT_TZSP = 0x80
264 ECHO = 0x8
265 ECHOCTL = 0x200
266 ECHOE = 0x10
267 ECHOK = 0x20
268 ECHOKE = 0x800
269 ECHONL = 0x40
270 ECHOPRT = 0x400
271 EMPTY_SET = 0x0
272 EMT_CPCOVF = 0x1
273 EQUALITY_CHECK = 0x0
274 EXTA = 0xe
275 EXTB = 0xf
276 FD_CLOEXEC = 0x1
277 FD_NFDBITS = 0x40
278 FD_SETSIZE = 0x10000
279 FLUSHALL = 0x1
280 FLUSHDATA = 0x0
281 FLUSHO = 0x2000
282 F_ALLOCSP = 0xa
283 F_ALLOCSP64 = 0xa
284 F_BADFD = 0x2e
285 F_BLKSIZE = 0x13
286 F_BLOCKS = 0x12
287 F_CHKFL = 0x8
288 F_COMPAT = 0x8
289 F_DUP2FD = 0x9
290 F_DUP2FD_CLOEXEC = 0x24
291 F_DUPFD = 0x0
292 F_DUPFD_CLOEXEC = 0x25
293 F_FREESP = 0xb
294 F_FREESP64 = 0xb
295 F_GETFD = 0x1
296 F_GETFL = 0x3
297 F_GETLK = 0xe
298 F_GETLK64 = 0xe
299 F_GETOWN = 0x17
300 F_GETXFL = 0x2d
301 F_HASREMOTELOCKS = 0x1a
302 F_ISSTREAM = 0xd
303 F_MANDDNY = 0x10
304 F_MDACC = 0x20
305 F_NODNY = 0x0
306 F_NPRIV = 0x10
307 F_PRIV = 0xf
308 F_QUOTACTL = 0x11
309 F_RDACC = 0x1
310 F_RDDNY = 0x1
311 F_RDLCK = 0x1
312 F_REVOKE = 0x19
313 F_RMACC = 0x4
314 F_RMDNY = 0x4
315 F_RWACC = 0x3
316 F_RWDNY = 0x3
317 F_SETFD = 0x2
318 F_SETFL = 0x4
319 F_SETLK = 0x6
320 F_SETLK64 = 0x6
321 F_SETLK64_NBMAND = 0x2a
322 F_SETLKW = 0x7
323 F_SETLKW64 = 0x7
324 F_SETLK_NBMAND = 0x2a
325 F_SETOWN = 0x18
326 F_SHARE = 0x28
327 F_SHARE_NBMAND = 0x2b
328 F_UNLCK = 0x3
329 F_UNLKSYS = 0x4
330 F_UNSHARE = 0x29
331 F_WRACC = 0x2
332 F_WRDNY = 0x2
333 F_WRLCK = 0x2
334 HUPCL = 0x400
335 ICANON = 0x2
336 ICRNL = 0x100
337 IEXTEN = 0x8000
338 IFF_ADDRCONF = 0x80000
339 IFF_ALLMULTI = 0x200
340 IFF_ANYCAST = 0x400000
341 IFF_BROADCAST = 0x2
342 IFF_CANTCHANGE = 0x7f203003b5a
343 IFF_COS_ENABLED = 0x200000000
344 IFF_DEBUG = 0x4
345 IFF_DEPRECATED = 0x40000
346 IFF_DHCPRUNNING = 0x4000
347 IFF_DUPLICATE = 0x4000000000
348 IFF_FAILED = 0x10000000
349 IFF_FIXEDMTU = 0x1000000000
350 IFF_INACTIVE = 0x40000000
351 IFF_INTELLIGENT = 0x400
352 IFF_IPMP = 0x8000000000
353 IFF_IPMP_CANTCHANGE = 0x10000000
354 IFF_IPMP_INVALID = 0x1ec200080
355 IFF_IPV4 = 0x1000000
356 IFF_IPV6 = 0x2000000
357 IFF_L3PROTECT = 0x40000000000
358 IFF_LOOPBACK = 0x8
359 IFF_MULTICAST = 0x800
360 IFF_MULTI_BCAST = 0x1000
361 IFF_NOACCEPT = 0x4000000
362 IFF_NOARP = 0x80
363 IFF_NOFAILOVER = 0x8000000
364 IFF_NOLINKLOCAL = 0x20000000000
365 IFF_NOLOCAL = 0x20000
366 IFF_NONUD = 0x200000
367 IFF_NORTEXCH = 0x800000
368 IFF_NOTRAILERS = 0x20
369 IFF_NOXMIT = 0x10000
370 IFF_OFFLINE = 0x80000000
371 IFF_POINTOPOINT = 0x10
372 IFF_PREFERRED = 0x400000000
373 IFF_PRIVATE = 0x8000
374 IFF_PROMISC = 0x100
375 IFF_ROUTER = 0x100000
376 IFF_RUNNING = 0x40
377 IFF_STANDBY = 0x20000000
378 IFF_TEMPORARY = 0x800000000
379 IFF_UNNUMBERED = 0x2000
380 IFF_UP = 0x1
381 IFF_VIRTUAL = 0x2000000000
382 IFF_VRRP = 0x10000000000
383 IFF_XRESOLV = 0x100000000
384 IFNAMSIZ = 0x10
385 IFT_1822 = 0x2
386 IFT_6TO4 = 0xca
387 IFT_AAL5 = 0x31
388 IFT_ARCNET = 0x23
389 IFT_ARCNETPLUS = 0x24
390 IFT_ATM = 0x25
391 IFT_CEPT = 0x13
392 IFT_DS3 = 0x1e
393 IFT_EON = 0x19
394 IFT_ETHER = 0x6
395 IFT_FDDI = 0xf
396 IFT_FRELAY = 0x20
397 IFT_FRELAYDCE = 0x2c
398 IFT_HDH1822 = 0x3
399 IFT_HIPPI = 0x2f
400 IFT_HSSI = 0x2e
401 IFT_HY = 0xe
402 IFT_IB = 0xc7
403 IFT_IPV4 = 0xc8
404 IFT_IPV6 = 0xc9
405 IFT_ISDNBASIC = 0x14
406 IFT_ISDNPRIMARY = 0x15
407 IFT_ISO88022LLC = 0x29
408 IFT_ISO88023 = 0x7
409 IFT_ISO88024 = 0x8
410 IFT_ISO88025 = 0x9
411 IFT_ISO88026 = 0xa
412 IFT_LAPB = 0x10
413 IFT_LOCALTALK = 0x2a
414 IFT_LOOP = 0x18
415 IFT_MIOX25 = 0x26
416 IFT_MODEM = 0x30
417 IFT_NSIP = 0x1b
418 IFT_OTHER = 0x1
419 IFT_P10 = 0xc
420 IFT_P80 = 0xd
421 IFT_PARA = 0x22
422 IFT_PPP = 0x17
423 IFT_PROPMUX = 0x36
424 IFT_PROPVIRTUAL = 0x35
425 IFT_PTPSERIAL = 0x16
426 IFT_RS232 = 0x21
427 IFT_SDLC = 0x11
428 IFT_SIP = 0x1f
429 IFT_SLIP = 0x1c
430 IFT_SMDSDXI = 0x2b
431 IFT_SMDSICIP = 0x34
432 IFT_SONET = 0x27
433 IFT_SONETPATH = 0x32
434 IFT_SONETVT = 0x33
435 IFT_STARLAN = 0xb
436 IFT_T1 = 0x12
437 IFT_ULTRA = 0x1d
438 IFT_V35 = 0x2d
439 IFT_X25 = 0x5
440 IFT_X25DDN = 0x4
441 IFT_X25PLE = 0x28
442 IFT_XETHER = 0x1a
443 IGNBRK = 0x1
444 IGNCR = 0x80
445 IGNPAR = 0x4
446 IMAXBEL = 0x2000
447 INLCR = 0x40
448 INPCK = 0x10
449 IN_AUTOCONF_MASK = 0xffff0000
450 IN_AUTOCONF_NET = 0xa9fe0000
451 IN_CLASSA_HOST = 0xffffff
452 IN_CLASSA_MAX = 0x80
453 IN_CLASSA_NET = 0xff000000
454 IN_CLASSA_NSHIFT = 0x18
455 IN_CLASSB_HOST = 0xffff
456 IN_CLASSB_MAX = 0x10000
457 IN_CLASSB_NET = 0xffff0000
458 IN_CLASSB_NSHIFT = 0x10
459 IN_CLASSC_HOST = 0xff
460 IN_CLASSC_NET = 0xffffff00
461 IN_CLASSC_NSHIFT = 0x8
462 IN_CLASSD_HOST = 0xfffffff
463 IN_CLASSD_NET = 0xf0000000
464 IN_CLASSD_NSHIFT = 0x1c
465 IN_CLASSE_NET = 0xffffffff
466 IN_LOOPBACKNET = 0x7f
467 IN_PRIVATE12_MASK = 0xfff00000
468 IN_PRIVATE12_NET = 0xac100000
469 IN_PRIVATE16_MASK = 0xffff0000
470 IN_PRIVATE16_NET = 0xc0a80000
471 IN_PRIVATE8_MASK = 0xff000000
472 IN_PRIVATE8_NET = 0xa000000
473 IPPROTO_AH = 0x33
474 IPPROTO_DSTOPTS = 0x3c
475 IPPROTO_EGP = 0x8
476 IPPROTO_ENCAP = 0x4
477 IPPROTO_EON = 0x50
478 IPPROTO_ESP = 0x32
479 IPPROTO_FRAGMENT = 0x2c
480 IPPROTO_GGP = 0x3
481 IPPROTO_HELLO = 0x3f
482 IPPROTO_HOPOPTS = 0x0
483 IPPROTO_ICMP = 0x1
484 IPPROTO_ICMPV6 = 0x3a
485 IPPROTO_IDP = 0x16
486 IPPROTO_IGMP = 0x2
487 IPPROTO_IP = 0x0
488 IPPROTO_IPV6 = 0x29
489 IPPROTO_MAX = 0x100
490 IPPROTO_ND = 0x4d
491 IPPROTO_NONE = 0x3b
492 IPPROTO_OSPF = 0x59
493 IPPROTO_PIM = 0x67
494 IPPROTO_PUP = 0xc
495 IPPROTO_RAW = 0xff
496 IPPROTO_ROUTING = 0x2b
497 IPPROTO_RSVP = 0x2e
498 IPPROTO_SCTP = 0x84
499 IPPROTO_TCP = 0x6
500 IPPROTO_UDP = 0x11
501 IPV6_ADD_MEMBERSHIP = 0x9
502 IPV6_BOUND_IF = 0x41
503 IPV6_CHECKSUM = 0x18
504 IPV6_DONTFRAG = 0x21
505 IPV6_DROP_MEMBERSHIP = 0xa
506 IPV6_DSTOPTS = 0xf
507 IPV6_FLOWINFO_FLOWLABEL = 0xffff0f00
508 IPV6_FLOWINFO_TCLASS = 0xf00f
509 IPV6_HOPLIMIT = 0xc
510 IPV6_HOPOPTS = 0xe
511 IPV6_JOIN_GROUP = 0x9
512 IPV6_LEAVE_GROUP = 0xa
513 IPV6_MULTICAST_HOPS = 0x7
514 IPV6_MULTICAST_IF = 0x6
515 IPV6_MULTICAST_LOOP = 0x8
516 IPV6_NEXTHOP = 0xd
517 IPV6_PAD1_OPT = 0x0
518 IPV6_PATHMTU = 0x25
519 IPV6_PKTINFO = 0xb
520 IPV6_PREFER_SRC_CGA = 0x20
521 IPV6_PREFER_SRC_CGADEFAULT = 0x10
522 IPV6_PREFER_SRC_CGAMASK = 0x30
523 IPV6_PREFER_SRC_COA = 0x2
524 IPV6_PREFER_SRC_DEFAULT = 0x15
525 IPV6_PREFER_SRC_HOME = 0x1
526 IPV6_PREFER_SRC_MASK = 0x3f
527 IPV6_PREFER_SRC_MIPDEFAULT = 0x1
528 IPV6_PREFER_SRC_MIPMASK = 0x3
529 IPV6_PREFER_SRC_NONCGA = 0x10
530 IPV6_PREFER_SRC_PUBLIC = 0x4
531 IPV6_PREFER_SRC_TMP = 0x8
532 IPV6_PREFER_SRC_TMPDEFAULT = 0x4
533 IPV6_PREFER_SRC_TMPMASK = 0xc
534 IPV6_RECVDSTOPTS = 0x28
535 IPV6_RECVHOPLIMIT = 0x13
536 IPV6_RECVHOPOPTS = 0x14
537 IPV6_RECVPATHMTU = 0x24
538 IPV6_RECVPKTINFO = 0x12
539 IPV6_RECVRTHDR = 0x16
540 IPV6_RECVRTHDRDSTOPTS = 0x17
541 IPV6_RECVTCLASS = 0x19
542 IPV6_RTHDR = 0x10
543 IPV6_RTHDRDSTOPTS = 0x11
544 IPV6_RTHDR_TYPE_0 = 0x0
545 IPV6_SEC_OPT = 0x22
546 IPV6_SRC_PREFERENCES = 0x23
547 IPV6_TCLASS = 0x26
548 IPV6_UNICAST_HOPS = 0x5
549 IPV6_UNSPEC_SRC = 0x42
550 IPV6_USE_MIN_MTU = 0x20
551 IPV6_V6ONLY = 0x27
552 IP_ADD_MEMBERSHIP = 0x13
553 IP_ADD_SOURCE_MEMBERSHIP = 0x17
554 IP_BLOCK_SOURCE = 0x15
555 IP_BOUND_IF = 0x41
556 IP_BROADCAST = 0x106
557 IP_BROADCAST_TTL = 0x43
558 IP_DEFAULT_MULTICAST_LOOP = 0x1
559 IP_DEFAULT_MULTICAST_TTL = 0x1
560 IP_DF = 0x4000
561 IP_DHCPINIT_IF = 0x45
562 IP_DONTFRAG = 0x1b
563 IP_DONTROUTE = 0x105
564 IP_DROP_MEMBERSHIP = 0x14
565 IP_DROP_SOURCE_MEMBERSHIP = 0x18
566 IP_HDRINCL = 0x2
567 IP_MAXPACKET = 0xffff
568 IP_MF = 0x2000
569 IP_MSS = 0x240
570 IP_MULTICAST_IF = 0x10
571 IP_MULTICAST_LOOP = 0x12
572 IP_MULTICAST_TTL = 0x11
573 IP_NEXTHOP = 0x19
574 IP_OPTIONS = 0x1
575 IP_PKTINFO = 0x1a
576 IP_RECVDSTADDR = 0x7
577 IP_RECVIF = 0x9
578 IP_RECVOPTS = 0x5
579 IP_RECVPKTINFO = 0x1a
580 IP_RECVRETOPTS = 0x6
581 IP_RECVSLLA = 0xa
582 IP_RECVTTL = 0xb
583 IP_RETOPTS = 0x8
584 IP_REUSEADDR = 0x104
585 IP_SEC_OPT = 0x22
586 IP_TOS = 0x3
587 IP_TTL = 0x4
588 IP_UNBLOCK_SOURCE = 0x16
589 IP_UNSPEC_SRC = 0x42
590 ISIG = 0x1
591 ISTRIP = 0x20
592 IXANY = 0x800
593 IXOFF = 0x1000
594 IXON = 0x400
595 MADV_ACCESS_DEFAULT = 0x6
596 MADV_ACCESS_LWP = 0x7
597 MADV_ACCESS_MANY = 0x8
598 MADV_DONTNEED = 0x4
599 MADV_FREE = 0x5
600 MADV_NORMAL = 0x0
601 MADV_RANDOM = 0x1
602 MADV_SEQUENTIAL = 0x2
603 MADV_WILLNEED = 0x3
604 MAP_32BIT = 0x80
605 MAP_ALIGN = 0x200
606 MAP_ANON = 0x100
607 MAP_ANONYMOUS = 0x100
608 MAP_FIXED = 0x10
609 MAP_INITDATA = 0x800
610 MAP_NORESERVE = 0x40
611 MAP_PRIVATE = 0x2
612 MAP_RENAME = 0x20
613 MAP_SHARED = 0x1
614 MAP_TEXT = 0x400
615 MAP_TYPE = 0xf
616 MCL_CURRENT = 0x1
617 MCL_FUTURE = 0x2
618 MSG_CTRUNC = 0x10
619 MSG_DONTROUTE = 0x4
620 MSG_DONTWAIT = 0x80
621 MSG_DUPCTRL = 0x800
622 MSG_EOR = 0x8
623 MSG_MAXIOVLEN = 0x10
624 MSG_NOTIFICATION = 0x100
625 MSG_OOB = 0x1
626 MSG_PEEK = 0x2
627 MSG_TRUNC = 0x20
628 MSG_WAITALL = 0x40
629 MSG_XPG4_2 = 0x8000
630 MS_ASYNC = 0x1
631 MS_INVALIDATE = 0x2
632 MS_OLDSYNC = 0x0
633 MS_SYNC = 0x4
634 M_FLUSH = 0x86
635 NOFLSH = 0x80
636 OCRNL = 0x8
637 OFDEL = 0x80
638 OFILL = 0x40
639 ONLCR = 0x4
640 ONLRET = 0x20
641 ONOCR = 0x10
642 OPENFAIL = -0x1
643 OPOST = 0x1
644 O_ACCMODE = 0x600003
645 O_APPEND = 0x8
646 O_CLOEXEC = 0x800000
647 O_CREAT = 0x100
648 O_DSYNC = 0x40
649 O_EXCL = 0x400
650 O_EXEC = 0x400000
651 O_LARGEFILE = 0x2000
652 O_NDELAY = 0x4
653 O_NOCTTY = 0x800
654 O_NOFOLLOW = 0x20000
655 O_NOLINKS = 0x40000
656 O_NONBLOCK = 0x80
657 O_RDONLY = 0x0
658 O_RDWR = 0x2
659 O_RSYNC = 0x8000
660 O_SEARCH = 0x200000
661 O_SIOCGIFCONF = -0x3ff796ec
662 O_SIOCGLIFCONF = -0x3fef9688
663 O_SYNC = 0x10
664 O_TRUNC = 0x200
665 O_WRONLY = 0x1
666 O_XATTR = 0x4000
667 PARENB = 0x100
668 PAREXT = 0x100000
669 PARMRK = 0x8
670 PARODD = 0x200
671 PENDIN = 0x4000
672 PRIO_PGRP = 0x1
673 PRIO_PROCESS = 0x0
674 PRIO_USER = 0x2
675 PROT_EXEC = 0x4
676 PROT_NONE = 0x0
677 PROT_READ = 0x1
678 PROT_WRITE = 0x2
679 RLIMIT_AS = 0x6
680 RLIMIT_CORE = 0x4
681 RLIMIT_CPU = 0x0
682 RLIMIT_DATA = 0x2
683 RLIMIT_FSIZE = 0x1
684 RLIMIT_NOFILE = 0x5
685 RLIMIT_STACK = 0x3
686 RLIM_INFINITY = -0x3
687 RTAX_AUTHOR = 0x6
688 RTAX_BRD = 0x7
689 RTAX_DST = 0x0
690 RTAX_GATEWAY = 0x1
691 RTAX_GENMASK = 0x3
692 RTAX_IFA = 0x5
693 RTAX_IFP = 0x4
694 RTAX_MAX = 0x9
695 RTAX_NETMASK = 0x2
696 RTAX_SRC = 0x8
697 RTA_AUTHOR = 0x40
698 RTA_BRD = 0x80
699 RTA_DST = 0x1
700 RTA_GATEWAY = 0x2
701 RTA_GENMASK = 0x8
702 RTA_IFA = 0x20
703 RTA_IFP = 0x10
704 RTA_NETMASK = 0x4
705 RTA_NUMBITS = 0x9
706 RTA_SRC = 0x100
707 RTF_BLACKHOLE = 0x1000
708 RTF_CLONING = 0x100
709 RTF_DONE = 0x40
710 RTF_DYNAMIC = 0x10
711 RTF_GATEWAY = 0x2
712 RTF_HOST = 0x4
713 RTF_INDIRECT = 0x40000
714 RTF_KERNEL = 0x80000
715 RTF_LLINFO = 0x400
716 RTF_MASK = 0x80
717 RTF_MODIFIED = 0x20
718 RTF_MULTIRT = 0x10000
719 RTF_PRIVATE = 0x2000
720 RTF_PROTO1 = 0x8000
721 RTF_PROTO2 = 0x4000
722 RTF_REJECT = 0x8
723 RTF_SETSRC = 0x20000
724 RTF_STATIC = 0x800
725 RTF_UP = 0x1
726 RTF_XRESOLVE = 0x200
727 RTF_ZONE = 0x100000
728 RTM_ADD = 0x1
729 RTM_CHANGE = 0x3
730 RTM_CHGADDR = 0xf
731 RTM_DELADDR = 0xd
732 RTM_DELETE = 0x2
733 RTM_FREEADDR = 0x10
734 RTM_GET = 0x4
735 RTM_IFINFO = 0xe
736 RTM_LOCK = 0x8
737 RTM_LOSING = 0x5
738 RTM_MISS = 0x7
739 RTM_NEWADDR = 0xc
740 RTM_OLDADD = 0x9
741 RTM_OLDDEL = 0xa
742 RTM_REDIRECT = 0x6
743 RTM_RESOLVE = 0xb
744 RTM_VERSION = 0x3
745 RTV_EXPIRE = 0x4
746 RTV_HOPCOUNT = 0x2
747 RTV_MTU = 0x1
748 RTV_RPIPE = 0x8
749 RTV_RTT = 0x40
750 RTV_RTTVAR = 0x80
751 RTV_SPIPE = 0x10
752 RTV_SSTHRESH = 0x20
753 RT_AWARE = 0x1
754 RUSAGE_CHILDREN = -0x1
755 RUSAGE_SELF = 0x0
756 SCM_RIGHTS = 0x1010
757 SCM_TIMESTAMP = 0x1013
758 SCM_UCRED = 0x1012
759 SHUT_RD = 0x0
760 SHUT_RDWR = 0x2
761 SHUT_WR = 0x1
762 SIG2STR_MAX = 0x20
763 SIOCADDMULTI = -0x7fdf96cf
764 SIOCADDRT = -0x7fcf8df6
765 SIOCATMARK = 0x40047307
766 SIOCDARP = -0x7fdb96e0
767 SIOCDELMULTI = -0x7fdf96ce
768 SIOCDELRT = -0x7fcf8df5
769 SIOCDXARP = -0x7fff9658
770 SIOCGARP = -0x3fdb96e1
771 SIOCGDSTINFO = -0x3fff965c
772 SIOCGENADDR = -0x3fdf96ab
773 SIOCGENPSTATS = -0x3fdf96c7
774 SIOCGETLSGCNT = -0x3fef8deb
775 SIOCGETNAME = 0x40107334
776 SIOCGETPEER = 0x40107335
777 SIOCGETPROP = -0x3fff8f44
778 SIOCGETSGCNT = -0x3feb8deb
779 SIOCGETSYNC = -0x3fdf96d3
780 SIOCGETVIFCNT = -0x3feb8dec
781 SIOCGHIWAT = 0x40047301
782 SIOCGIFADDR = -0x3fdf96f3
783 SIOCGIFBRDADDR = -0x3fdf96e9
784 SIOCGIFCONF = -0x3ff796a4
785 SIOCGIFDSTADDR = -0x3fdf96f1
786 SIOCGIFFLAGS = -0x3fdf96ef
787 SIOCGIFHWADDR = -0x3fdf9647
788 SIOCGIFINDEX = -0x3fdf96a6
789 SIOCGIFMEM = -0x3fdf96ed
790 SIOCGIFMETRIC = -0x3fdf96e5
791 SIOCGIFMTU = -0x3fdf96ea
792 SIOCGIFMUXID = -0x3fdf96a8
793 SIOCGIFNETMASK = -0x3fdf96e7
794 SIOCGIFNUM = 0x40046957
795 SIOCGIP6ADDRPOLICY = -0x3fff965e
796 SIOCGIPMSFILTER = -0x3ffb964c
797 SIOCGLIFADDR = -0x3f87968f
798 SIOCGLIFBINDING = -0x3f879666
799 SIOCGLIFBRDADDR = -0x3f879685
800 SIOCGLIFCONF = -0x3fef965b
801 SIOCGLIFDADSTATE = -0x3f879642
802 SIOCGLIFDSTADDR = -0x3f87968d
803 SIOCGLIFFLAGS = -0x3f87968b
804 SIOCGLIFGROUPINFO = -0x3f4b9663
805 SIOCGLIFGROUPNAME = -0x3f879664
806 SIOCGLIFHWADDR = -0x3f879640
807 SIOCGLIFINDEX = -0x3f87967b
808 SIOCGLIFLNKINFO = -0x3f879674
809 SIOCGLIFMETRIC = -0x3f879681
810 SIOCGLIFMTU = -0x3f879686
811 SIOCGLIFMUXID = -0x3f87967d
812 SIOCGLIFNETMASK = -0x3f879683
813 SIOCGLIFNUM = -0x3ff3967e
814 SIOCGLIFSRCOF = -0x3fef964f
815 SIOCGLIFSUBNET = -0x3f879676
816 SIOCGLIFTOKEN = -0x3f879678
817 SIOCGLIFUSESRC = -0x3f879651
818 SIOCGLIFZONE = -0x3f879656
819 SIOCGLOWAT = 0x40047303
820 SIOCGMSFILTER = -0x3ffb964e
821 SIOCGPGRP = 0x40047309
822 SIOCGSTAMP = -0x3fef9646
823 SIOCGXARP = -0x3fff9659
824 SIOCIFDETACH = -0x7fdf96c8
825 SIOCILB = -0x3ffb9645
826 SIOCLIFADDIF = -0x3f879691
827 SIOCLIFDELND = -0x7f879673
828 SIOCLIFGETND = -0x3f879672
829 SIOCLIFREMOVEIF = -0x7f879692
830 SIOCLIFSETND = -0x7f879671
831 SIOCLOWER = -0x7fdf96d7
832 SIOCSARP = -0x7fdb96e2
833 SIOCSCTPGOPT = -0x3fef9653
834 SIOCSCTPPEELOFF = -0x3ffb9652
835 SIOCSCTPSOPT = -0x7fef9654
836 SIOCSENABLESDP = -0x3ffb9649
837 SIOCSETPROP = -0x7ffb8f43
838 SIOCSETSYNC = -0x7fdf96d4
839 SIOCSHIWAT = -0x7ffb8d00
840 SIOCSIFADDR = -0x7fdf96f4
841 SIOCSIFBRDADDR = -0x7fdf96e8
842 SIOCSIFDSTADDR = -0x7fdf96f2
843 SIOCSIFFLAGS = -0x7fdf96f0
844 SIOCSIFINDEX = -0x7fdf96a5
845 SIOCSIFMEM = -0x7fdf96ee
846 SIOCSIFMETRIC = -0x7fdf96e4
847 SIOCSIFMTU = -0x7fdf96eb
848 SIOCSIFMUXID = -0x7fdf96a7
849 SIOCSIFNAME = -0x7fdf96b7
850 SIOCSIFNETMASK = -0x7fdf96e6
851 SIOCSIP6ADDRPOLICY = -0x7fff965d
852 SIOCSIPMSFILTER = -0x7ffb964b
853 SIOCSLGETREQ = -0x3fdf96b9
854 SIOCSLIFADDR = -0x7f879690
855 SIOCSLIFBRDADDR = -0x7f879684
856 SIOCSLIFDSTADDR = -0x7f87968e
857 SIOCSLIFFLAGS = -0x7f87968c
858 SIOCSLIFGROUPNAME = -0x7f879665
859 SIOCSLIFINDEX = -0x7f87967a
860 SIOCSLIFLNKINFO = -0x7f879675
861 SIOCSLIFMETRIC = -0x7f879680
862 SIOCSLIFMTU = -0x7f879687
863 SIOCSLIFMUXID = -0x7f87967c
864 SIOCSLIFNAME = -0x3f87967f
865 SIOCSLIFNETMASK = -0x7f879682
866 SIOCSLIFPREFIX = -0x3f879641
867 SIOCSLIFSUBNET = -0x7f879677
868 SIOCSLIFTOKEN = -0x7f879679
869 SIOCSLIFUSESRC = -0x7f879650
870 SIOCSLIFZONE = -0x7f879655
871 SIOCSLOWAT = -0x7ffb8cfe
872 SIOCSLSTAT = -0x7fdf96b8
873 SIOCSMSFILTER = -0x7ffb964d
874 SIOCSPGRP = -0x7ffb8cf8
875 SIOCSPROMISC = -0x7ffb96d0
876 SIOCSQPTR = -0x3ffb9648
877 SIOCSSDSTATS = -0x3fdf96d2
878 SIOCSSESTATS = -0x3fdf96d1
879 SIOCSXARP = -0x7fff965a
880 SIOCTMYADDR = -0x3ff79670
881 SIOCTMYSITE = -0x3ff7966e
882 SIOCTONLINK = -0x3ff7966f
883 SIOCUPPER = -0x7fdf96d8
884 SIOCX25RCV = -0x3fdf96c4
885 SIOCX25TBL = -0x3fdf96c3
886 SIOCX25XMT = -0x3fdf96c5
887 SIOCXPROTO = 0x20007337
888 SOCK_CLOEXEC = 0x80000
889 SOCK_DGRAM = 0x1
890 SOCK_NDELAY = 0x200000
891 SOCK_NONBLOCK = 0x100000
892 SOCK_RAW = 0x4
893 SOCK_RDM = 0x5
894 SOCK_SEQPACKET = 0x6
895 SOCK_STREAM = 0x2
896 SOCK_TYPE_MASK = 0xffff
897 SOL_FILTER = 0xfffc
898 SOL_PACKET = 0xfffd
899 SOL_ROUTE = 0xfffe
900 SOL_SOCKET = 0xffff
901 SOMAXCONN = 0x80
902 SO_ACCEPTCONN = 0x2
903 SO_ALL = 0x3f
904 SO_ALLZONES = 0x1014
905 SO_ANON_MLP = 0x100a
906 SO_ATTACH_FILTER = 0x40000001
907 SO_BAND = 0x4000
908 SO_BROADCAST = 0x20
909 SO_COPYOPT = 0x80000
910 SO_DEBUG = 0x1
911 SO_DELIM = 0x8000
912 SO_DETACH_FILTER = 0x40000002
913 SO_DGRAM_ERRIND = 0x200
914 SO_DOMAIN = 0x100c
915 SO_DONTLINGER = -0x81
916 SO_DONTROUTE = 0x10
917 SO_ERROPT = 0x40000
918 SO_ERROR = 0x1007
919 SO_EXCLBIND = 0x1015
920 SO_HIWAT = 0x10
921 SO_ISNTTY = 0x800
922 SO_ISTTY = 0x400
923 SO_KEEPALIVE = 0x8
924 SO_LINGER = 0x80
925 SO_LOWAT = 0x20
926 SO_MAC_EXEMPT = 0x100b
927 SO_MAC_IMPLICIT = 0x1016
928 SO_MAXBLK = 0x100000
929 SO_MAXPSZ = 0x8
930 SO_MINPSZ = 0x4
931 SO_MREADOFF = 0x80
932 SO_MREADON = 0x40
933 SO_NDELOFF = 0x200
934 SO_NDELON = 0x100
935 SO_NODELIM = 0x10000
936 SO_OOBINLINE = 0x100
937 SO_PROTOTYPE = 0x1009
938 SO_RCVBUF = 0x1002
939 SO_RCVLOWAT = 0x1004
940 SO_RCVPSH = 0x100d
941 SO_RCVTIMEO = 0x1006
942 SO_READOPT = 0x1
943 SO_RECVUCRED = 0x400
944 SO_REUSEADDR = 0x4
945 SO_SECATTR = 0x1011
946 SO_SNDBUF = 0x1001
947 SO_SNDLOWAT = 0x1003
948 SO_SNDTIMEO = 0x1005
949 SO_STRHOLD = 0x20000
950 SO_TAIL = 0x200000
951 SO_TIMESTAMP = 0x1013
952 SO_TONSTOP = 0x2000
953 SO_TOSTOP = 0x1000
954 SO_TYPE = 0x1008
955 SO_USELOOPBACK = 0x40
956 SO_VRRP = 0x1017
957 SO_WROFF = 0x2
958 TCFLSH = 0x5407
959 TCGETA = 0x5401
960 TCGETS = 0x540d
961 TCIFLUSH = 0x0
962 TCIOFLUSH = 0x2
963 TCOFLUSH = 0x1
964 TCP_ABORT_THRESHOLD = 0x11
965 TCP_ANONPRIVBIND = 0x20
966 TCP_CONN_ABORT_THRESHOLD = 0x13
967 TCP_CONN_NOTIFY_THRESHOLD = 0x12
968 TCP_CORK = 0x18
969 TCP_EXCLBIND = 0x21
970 TCP_INIT_CWND = 0x15
971 TCP_KEEPALIVE = 0x8
972 TCP_KEEPALIVE_ABORT_THRESHOLD = 0x17
973 TCP_KEEPALIVE_THRESHOLD = 0x16
974 TCP_KEEPCNT = 0x23
975 TCP_KEEPIDLE = 0x22
976 TCP_KEEPINTVL = 0x24
977 TCP_LINGER2 = 0x1c
978 TCP_MAXSEG = 0x2
979 TCP_MSS = 0x218
980 TCP_NODELAY = 0x1
981 TCP_NOTIFY_THRESHOLD = 0x10
982 TCP_RECVDSTADDR = 0x14
983 TCP_RTO_INITIAL = 0x19
984 TCP_RTO_MAX = 0x1b
985 TCP_RTO_MIN = 0x1a
986 TCSAFLUSH = 0x5410
987 TCSBRK = 0x5405
988 TCSETA = 0x5402
989 TCSETAF = 0x5404
990 TCSETAW = 0x5403
991 TCSETS = 0x540e
992 TCSETSF = 0x5410
993 TCSETSW = 0x540f
994 TCXONC = 0x5406
995 TIOC = 0x5400
996 TIOCCBRK = 0x747a
997 TIOCCDTR = 0x7478
998 TIOCCILOOP = 0x746c
999 TIOCEXCL = 0x740d
1000 TIOCFLUSH = 0x7410
1001 TIOCGETC = 0x7412
1002 TIOCGETD = 0x7400
1003 TIOCGETP = 0x7408
1004 TIOCGLTC = 0x7474
1005 TIOCGPGRP = 0x7414
1006 TIOCGPPS = 0x547d
1007 TIOCGPPSEV = 0x547f
1008 TIOCGSID = 0x7416
1009 TIOCGSOFTCAR = 0x5469
1010 TIOCGWINSZ = 0x5468
1011 TIOCHPCL = 0x7402
1012 TIOCKBOF = 0x5409
1013 TIOCKBON = 0x5408
1014 TIOCLBIC = 0x747e
1015 TIOCLBIS = 0x747f
1016 TIOCLGET = 0x747c
1017 TIOCLSET = 0x747d
1018 TIOCMBIC = 0x741c
1019 TIOCMBIS = 0x741b
1020 TIOCMGET = 0x741d
1021 TIOCMSET = 0x741a
1022 TIOCM_CAR = 0x40
1023 TIOCM_CD = 0x40
1024 TIOCM_CTS = 0x20
1025 TIOCM_DSR = 0x100
1026 TIOCM_DTR = 0x2
1027 TIOCM_LE = 0x1
1028 TIOCM_RI = 0x80
1029 TIOCM_RNG = 0x80
1030 TIOCM_RTS = 0x4
1031 TIOCM_SR = 0x10
1032 TIOCM_ST = 0x8
1033 TIOCNOTTY = 0x7471
1034 TIOCNXCL = 0x740e
1035 TIOCOUTQ = 0x7473
1036 TIOCREMOTE = 0x741e
1037 TIOCSBRK = 0x747b
1038 TIOCSCTTY = 0x7484
1039 TIOCSDTR = 0x7479
1040 TIOCSETC = 0x7411
1041 TIOCSETD = 0x7401
1042 TIOCSETN = 0x740a
1043 TIOCSETP = 0x7409
1044 TIOCSIGNAL = 0x741f
1045 TIOCSILOOP = 0x746d
1046 TIOCSLTC = 0x7475
1047 TIOCSPGRP = 0x7415
1048 TIOCSPPS = 0x547e
1049 TIOCSSOFTCAR = 0x546a
1050 TIOCSTART = 0x746e
1051 TIOCSTI = 0x7417
1052 TIOCSTOP = 0x746f
1053 TIOCSWINSZ = 0x5467
1054 TOSTOP = 0x100
1055 VCEOF = 0x8
1056 VCEOL = 0x9
1057 VDISCARD = 0xd
1058 VDSUSP = 0xb
1059 VEOF = 0x4
1060 VEOL = 0x5
1061 VEOL2 = 0x6
1062 VERASE = 0x2
1063 VINTR = 0x0
1064 VKILL = 0x3
1065 VLNEXT = 0xf
1066 VMIN = 0x4
1067 VQUIT = 0x1
1068 VREPRINT = 0xc
1069 VSTART = 0x8
1070 VSTATUS = 0x10
1071 VSTOP = 0x9
1072 VSUSP = 0xa
1073 VSWTCH = 0x7
1074 VT0 = 0x0
1075 VT1 = 0x4000
1076 VTDLY = 0x4000
1077 VTIME = 0x5
1078 VWERASE = 0xe
1079 WCONTFLG = 0xffff
1080 WCONTINUED = 0x8
1081 WCOREFLG = 0x80
1082 WEXITED = 0x1
1083 WNOHANG = 0x40
1084 WNOWAIT = 0x80
1085 WOPTMASK = 0xcf
1086 WRAP = 0x20000
1087 WSIGMASK = 0x7f
1088 WSTOPFLG = 0x7f
1089 WSTOPPED = 0x4
1090 WTRAPPED = 0x2
1091 WUNTRACED = 0x4
1092)
1093
1094// Errors
1095const (
1096 E2BIG = syscall.Errno(0x7)
1097 EACCES = syscall.Errno(0xd)
1098 EADDRINUSE = syscall.Errno(0x7d)
1099 EADDRNOTAVAIL = syscall.Errno(0x7e)
1100 EADV = syscall.Errno(0x44)
1101 EAFNOSUPPORT = syscall.Errno(0x7c)
1102 EAGAIN = syscall.Errno(0xb)
1103 EALREADY = syscall.Errno(0x95)
1104 EBADE = syscall.Errno(0x32)
1105 EBADF = syscall.Errno(0x9)
1106 EBADFD = syscall.Errno(0x51)
1107 EBADMSG = syscall.Errno(0x4d)
1108 EBADR = syscall.Errno(0x33)
1109 EBADRQC = syscall.Errno(0x36)
1110 EBADSLT = syscall.Errno(0x37)
1111 EBFONT = syscall.Errno(0x39)
1112 EBUSY = syscall.Errno(0x10)
1113 ECANCELED = syscall.Errno(0x2f)
1114 ECHILD = syscall.Errno(0xa)
1115 ECHRNG = syscall.Errno(0x25)
1116 ECOMM = syscall.Errno(0x46)
1117 ECONNABORTED = syscall.Errno(0x82)
1118 ECONNREFUSED = syscall.Errno(0x92)
1119 ECONNRESET = syscall.Errno(0x83)
1120 EDEADLK = syscall.Errno(0x2d)
1121 EDEADLOCK = syscall.Errno(0x38)
1122 EDESTADDRREQ = syscall.Errno(0x60)
1123 EDOM = syscall.Errno(0x21)
1124 EDQUOT = syscall.Errno(0x31)
1125 EEXIST = syscall.Errno(0x11)
1126 EFAULT = syscall.Errno(0xe)
1127 EFBIG = syscall.Errno(0x1b)
1128 EHOSTDOWN = syscall.Errno(0x93)
1129 EHOSTUNREACH = syscall.Errno(0x94)
1130 EIDRM = syscall.Errno(0x24)
1131 EILSEQ = syscall.Errno(0x58)
1132 EINPROGRESS = syscall.Errno(0x96)
1133 EINTR = syscall.Errno(0x4)
1134 EINVAL = syscall.Errno(0x16)
1135 EIO = syscall.Errno(0x5)
1136 EISCONN = syscall.Errno(0x85)
1137 EISDIR = syscall.Errno(0x15)
1138 EL2HLT = syscall.Errno(0x2c)
1139 EL2NSYNC = syscall.Errno(0x26)
1140 EL3HLT = syscall.Errno(0x27)
1141 EL3RST = syscall.Errno(0x28)
1142 ELIBACC = syscall.Errno(0x53)
1143 ELIBBAD = syscall.Errno(0x54)
1144 ELIBEXEC = syscall.Errno(0x57)
1145 ELIBMAX = syscall.Errno(0x56)
1146 ELIBSCN = syscall.Errno(0x55)
1147 ELNRNG = syscall.Errno(0x29)
1148 ELOCKUNMAPPED = syscall.Errno(0x48)
1149 ELOOP = syscall.Errno(0x5a)
1150 EMFILE = syscall.Errno(0x18)
1151 EMLINK = syscall.Errno(0x1f)
1152 EMSGSIZE = syscall.Errno(0x61)
1153 EMULTIHOP = syscall.Errno(0x4a)
1154 ENAMETOOLONG = syscall.Errno(0x4e)
1155 ENETDOWN = syscall.Errno(0x7f)
1156 ENETRESET = syscall.Errno(0x81)
1157 ENETUNREACH = syscall.Errno(0x80)
1158 ENFILE = syscall.Errno(0x17)
1159 ENOANO = syscall.Errno(0x35)
1160 ENOBUFS = syscall.Errno(0x84)
1161 ENOCSI = syscall.Errno(0x2b)
1162 ENODATA = syscall.Errno(0x3d)
1163 ENODEV = syscall.Errno(0x13)
1164 ENOENT = syscall.Errno(0x2)
1165 ENOEXEC = syscall.Errno(0x8)
1166 ENOLCK = syscall.Errno(0x2e)
1167 ENOLINK = syscall.Errno(0x43)
1168 ENOMEM = syscall.Errno(0xc)
1169 ENOMSG = syscall.Errno(0x23)
1170 ENONET = syscall.Errno(0x40)
1171 ENOPKG = syscall.Errno(0x41)
1172 ENOPROTOOPT = syscall.Errno(0x63)
1173 ENOSPC = syscall.Errno(0x1c)
1174 ENOSR = syscall.Errno(0x3f)
1175 ENOSTR = syscall.Errno(0x3c)
1176 ENOSYS = syscall.Errno(0x59)
1177 ENOTACTIVE = syscall.Errno(0x49)
1178 ENOTBLK = syscall.Errno(0xf)
1179 ENOTCONN = syscall.Errno(0x86)
1180 ENOTDIR = syscall.Errno(0x14)
1181 ENOTEMPTY = syscall.Errno(0x5d)
1182 ENOTRECOVERABLE = syscall.Errno(0x3b)
1183 ENOTSOCK = syscall.Errno(0x5f)
1184 ENOTSUP = syscall.Errno(0x30)
1185 ENOTTY = syscall.Errno(0x19)
1186 ENOTUNIQ = syscall.Errno(0x50)
1187 ENXIO = syscall.Errno(0x6)
1188 EOPNOTSUPP = syscall.Errno(0x7a)
1189 EOVERFLOW = syscall.Errno(0x4f)
1190 EOWNERDEAD = syscall.Errno(0x3a)
1191 EPERM = syscall.Errno(0x1)
1192 EPFNOSUPPORT = syscall.Errno(0x7b)
1193 EPIPE = syscall.Errno(0x20)
1194 EPROTO = syscall.Errno(0x47)
1195 EPROTONOSUPPORT = syscall.Errno(0x78)
1196 EPROTOTYPE = syscall.Errno(0x62)
1197 ERANGE = syscall.Errno(0x22)
1198 EREMCHG = syscall.Errno(0x52)
1199 EREMOTE = syscall.Errno(0x42)
1200 ERESTART = syscall.Errno(0x5b)
1201 EROFS = syscall.Errno(0x1e)
1202 ESHUTDOWN = syscall.Errno(0x8f)
1203 ESOCKTNOSUPPORT = syscall.Errno(0x79)
1204 ESPIPE = syscall.Errno(0x1d)
1205 ESRCH = syscall.Errno(0x3)
1206 ESRMNT = syscall.Errno(0x45)
1207 ESTALE = syscall.Errno(0x97)
1208 ESTRPIPE = syscall.Errno(0x5c)
1209 ETIME = syscall.Errno(0x3e)
1210 ETIMEDOUT = syscall.Errno(0x91)
1211 ETOOMANYREFS = syscall.Errno(0x90)
1212 ETXTBSY = syscall.Errno(0x1a)
1213 EUNATCH = syscall.Errno(0x2a)
1214 EUSERS = syscall.Errno(0x5e)
1215 EWOULDBLOCK = syscall.Errno(0xb)
1216 EXDEV = syscall.Errno(0x12)
1217 EXFULL = syscall.Errno(0x34)
1218)
1219
1220// Signals
1221const (
1222 SIGABRT = syscall.Signal(0x6)
1223 SIGALRM = syscall.Signal(0xe)
1224 SIGBUS = syscall.Signal(0xa)
1225 SIGCANCEL = syscall.Signal(0x24)
1226 SIGCHLD = syscall.Signal(0x12)
1227 SIGCLD = syscall.Signal(0x12)
1228 SIGCONT = syscall.Signal(0x19)
1229 SIGEMT = syscall.Signal(0x7)
1230 SIGFPE = syscall.Signal(0x8)
1231 SIGFREEZE = syscall.Signal(0x22)
1232 SIGHUP = syscall.Signal(0x1)
1233 SIGILL = syscall.Signal(0x4)
1234 SIGINFO = syscall.Signal(0x29)
1235 SIGINT = syscall.Signal(0x2)
1236 SIGIO = syscall.Signal(0x16)
1237 SIGIOT = syscall.Signal(0x6)
1238 SIGJVM1 = syscall.Signal(0x27)
1239 SIGJVM2 = syscall.Signal(0x28)
1240 SIGKILL = syscall.Signal(0x9)
1241 SIGLOST = syscall.Signal(0x25)
1242 SIGLWP = syscall.Signal(0x21)
1243 SIGPIPE = syscall.Signal(0xd)
1244 SIGPOLL = syscall.Signal(0x16)
1245 SIGPROF = syscall.Signal(0x1d)
1246 SIGPWR = syscall.Signal(0x13)
1247 SIGQUIT = syscall.Signal(0x3)
1248 SIGSEGV = syscall.Signal(0xb)
1249 SIGSTOP = syscall.Signal(0x17)
1250 SIGSYS = syscall.Signal(0xc)
1251 SIGTERM = syscall.Signal(0xf)
1252 SIGTHAW = syscall.Signal(0x23)
1253 SIGTRAP = syscall.Signal(0x5)
1254 SIGTSTP = syscall.Signal(0x18)
1255 SIGTTIN = syscall.Signal(0x1a)
1256 SIGTTOU = syscall.Signal(0x1b)
1257 SIGURG = syscall.Signal(0x15)
1258 SIGUSR1 = syscall.Signal(0x10)
1259 SIGUSR2 = syscall.Signal(0x11)
1260 SIGVTALRM = syscall.Signal(0x1c)
1261 SIGWAITING = syscall.Signal(0x20)
1262 SIGWINCH = syscall.Signal(0x14)
1263 SIGXCPU = syscall.Signal(0x1e)
1264 SIGXFSZ = syscall.Signal(0x1f)
1265 SIGXRES = syscall.Signal(0x26)
1266)
1267
1268// Error table
1269var errors = [...]string{
1270 1: "not owner",
1271 2: "no such file or directory",
1272 3: "no such process",
1273 4: "interrupted system call",
1274 5: "I/O error",
1275 6: "no such device or address",
1276 7: "arg list too long",
1277 8: "exec format error",
1278 9: "bad file number",
1279 10: "no child processes",
1280 11: "resource temporarily unavailable",
1281 12: "not enough space",
1282 13: "permission denied",
1283 14: "bad address",
1284 15: "block device required",
1285 16: "device busy",
1286 17: "file exists",
1287 18: "cross-device link",
1288 19: "no such device",
1289 20: "not a directory",
1290 21: "is a directory",
1291 22: "invalid argument",
1292 23: "file table overflow",
1293 24: "too many open files",
1294 25: "inappropriate ioctl for device",
1295 26: "text file busy",
1296 27: "file too large",
1297 28: "no space left on device",
1298 29: "illegal seek",
1299 30: "read-only file system",
1300 31: "too many links",
1301 32: "broken pipe",
1302 33: "argument out of domain",
1303 34: "result too large",
1304 35: "no message of desired type",
1305 36: "identifier removed",
1306 37: "channel number out of range",
1307 38: "level 2 not synchronized",
1308 39: "level 3 halted",
1309 40: "level 3 reset",
1310 41: "link number out of range",
1311 42: "protocol driver not attached",
1312 43: "no CSI structure available",
1313 44: "level 2 halted",
1314 45: "deadlock situation detected/avoided",
1315 46: "no record locks available",
1316 47: "operation canceled",
1317 48: "operation not supported",
1318 49: "disc quota exceeded",
1319 50: "bad exchange descriptor",
1320 51: "bad request descriptor",
1321 52: "message tables full",
1322 53: "anode table overflow",
1323 54: "bad request code",
1324 55: "invalid slot",
1325 56: "file locking deadlock",
1326 57: "bad font file format",
1327 58: "owner of the lock died",
1328 59: "lock is not recoverable",
1329 60: "not a stream device",
1330 61: "no data available",
1331 62: "timer expired",
1332 63: "out of stream resources",
1333 64: "machine is not on the network",
1334 65: "package not installed",
1335 66: "object is remote",
1336 67: "link has been severed",
1337 68: "advertise error",
1338 69: "srmount error",
1339 70: "communication error on send",
1340 71: "protocol error",
1341 72: "locked lock was unmapped ",
1342 73: "facility is not active",
1343 74: "multihop attempted",
1344 77: "not a data message",
1345 78: "file name too long",
1346 79: "value too large for defined data type",
1347 80: "name not unique on network",
1348 81: "file descriptor in bad state",
1349 82: "remote address changed",
1350 83: "can not access a needed shared library",
1351 84: "accessing a corrupted shared library",
1352 85: ".lib section in a.out corrupted",
1353 86: "attempting to link in more shared libraries than system limit",
1354 87: "can not exec a shared library directly",
1355 88: "illegal byte sequence",
1356 89: "operation not applicable",
1357 90: "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
1358 91: "error 91",
1359 92: "error 92",
1360 93: "directory not empty",
1361 94: "too many users",
1362 95: "socket operation on non-socket",
1363 96: "destination address required",
1364 97: "message too long",
1365 98: "protocol wrong type for socket",
1366 99: "option not supported by protocol",
1367 120: "protocol not supported",
1368 121: "socket type not supported",
1369 122: "operation not supported on transport endpoint",
1370 123: "protocol family not supported",
1371 124: "address family not supported by protocol family",
1372 125: "address already in use",
1373 126: "cannot assign requested address",
1374 127: "network is down",
1375 128: "network is unreachable",
1376 129: "network dropped connection because of reset",
1377 130: "software caused connection abort",
1378 131: "connection reset by peer",
1379 132: "no buffer space available",
1380 133: "transport endpoint is already connected",
1381 134: "transport endpoint is not connected",
1382 143: "cannot send after socket shutdown",
1383 144: "too many references: cannot splice",
1384 145: "connection timed out",
1385 146: "connection refused",
1386 147: "host is down",
1387 148: "no route to host",
1388 149: "operation already in progress",
1389 150: "operation now in progress",
1390 151: "stale NFS file handle",
1391}
1392
1393// Signal table
1394var signals = [...]string{
1395 1: "hangup",
1396 2: "interrupt",
1397 3: "quit",
1398 4: "illegal Instruction",
1399 5: "trace/Breakpoint Trap",
1400 6: "abort",
1401 7: "emulation Trap",
1402 8: "arithmetic Exception",
1403 9: "killed",
1404 10: "bus Error",
1405 11: "segmentation Fault",
1406 12: "bad System Call",
1407 13: "broken Pipe",
1408 14: "alarm Clock",
1409 15: "terminated",
1410 16: "user Signal 1",
1411 17: "user Signal 2",
1412 18: "child Status Changed",
1413 19: "power-Fail/Restart",
1414 20: "window Size Change",
1415 21: "urgent Socket Condition",
1416 22: "pollable Event",
1417 23: "stopped (signal)",
1418 24: "stopped (user)",
1419 25: "continued",
1420 26: "stopped (tty input)",
1421 27: "stopped (tty output)",
1422 28: "virtual Timer Expired",
1423 29: "profiling Timer Expired",
1424 30: "cpu Limit Exceeded",
1425 31: "file Size Limit Exceeded",
1426 32: "no runnable lwp",
1427 33: "inter-lwp signal",
1428 34: "checkpoint Freeze",
1429 35: "checkpoint Thaw",
1430 36: "thread Cancellation",
1431 37: "resource Lost",
1432 38: "resource Control Exceeded",
1433 39: "reserved for JVM 1",
1434 40: "reserved for JVM 2",
1435 41: "information Request",
1436}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_386.go
deleted file mode 100644
index a15aaf1..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_386.go
+++ /dev/null
@@ -1,1426 +0,0 @@
1// mksyscall.pl -l32 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,darwin
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
271 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func pipe() (r int, w int, err error) {
281 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
282 r = int(r0)
283 w = int(r1)
284 if e1 != 0 {
285 err = errnoErr(e1)
286 }
287 return
288}
289
290// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
291
292func kill(pid int, signum int, posix int) (err error) {
293 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
294 if e1 != 0 {
295 err = errnoErr(e1)
296 }
297 return
298}
299
300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
301
302func Access(path string, mode uint32) (err error) {
303 var _p0 *byte
304 _p0, err = BytePtrFromString(path)
305 if err != nil {
306 return
307 }
308 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
309 use(unsafe.Pointer(_p0))
310 if e1 != 0 {
311 err = errnoErr(e1)
312 }
313 return
314}
315
316// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
317
318func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
319 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
320 if e1 != 0 {
321 err = errnoErr(e1)
322 }
323 return
324}
325
326// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
327
328func Chdir(path string) (err error) {
329 var _p0 *byte
330 _p0, err = BytePtrFromString(path)
331 if err != nil {
332 return
333 }
334 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
335 use(unsafe.Pointer(_p0))
336 if e1 != 0 {
337 err = errnoErr(e1)
338 }
339 return
340}
341
342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
343
344func Chflags(path string, flags int) (err error) {
345 var _p0 *byte
346 _p0, err = BytePtrFromString(path)
347 if err != nil {
348 return
349 }
350 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
351 use(unsafe.Pointer(_p0))
352 if e1 != 0 {
353 err = errnoErr(e1)
354 }
355 return
356}
357
358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
359
360func Chmod(path string, mode uint32) (err error) {
361 var _p0 *byte
362 _p0, err = BytePtrFromString(path)
363 if err != nil {
364 return
365 }
366 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
367 use(unsafe.Pointer(_p0))
368 if e1 != 0 {
369 err = errnoErr(e1)
370 }
371 return
372}
373
374// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
375
376func Chown(path string, uid int, gid int) (err error) {
377 var _p0 *byte
378 _p0, err = BytePtrFromString(path)
379 if err != nil {
380 return
381 }
382 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
383 use(unsafe.Pointer(_p0))
384 if e1 != 0 {
385 err = errnoErr(e1)
386 }
387 return
388}
389
390// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
391
392func Chroot(path string) (err error) {
393 var _p0 *byte
394 _p0, err = BytePtrFromString(path)
395 if err != nil {
396 return
397 }
398 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
399 use(unsafe.Pointer(_p0))
400 if e1 != 0 {
401 err = errnoErr(e1)
402 }
403 return
404}
405
406// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
407
408func Close(fd int) (err error) {
409 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
410 if e1 != 0 {
411 err = errnoErr(e1)
412 }
413 return
414}
415
416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
417
418func Dup(fd int) (nfd int, err error) {
419 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
420 nfd = int(r0)
421 if e1 != 0 {
422 err = errnoErr(e1)
423 }
424 return
425}
426
427// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
428
429func Dup2(from int, to int) (err error) {
430 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
431 if e1 != 0 {
432 err = errnoErr(e1)
433 }
434 return
435}
436
437// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
438
439func Exchangedata(path1 string, path2 string, options int) (err error) {
440 var _p0 *byte
441 _p0, err = BytePtrFromString(path1)
442 if err != nil {
443 return
444 }
445 var _p1 *byte
446 _p1, err = BytePtrFromString(path2)
447 if err != nil {
448 return
449 }
450 _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
451 use(unsafe.Pointer(_p0))
452 use(unsafe.Pointer(_p1))
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Exit(code int) {
462 Syscall(SYS_EXIT, uintptr(code), 0, 0)
463 return
464}
465
466// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
467
468func Fchdir(fd int) (err error) {
469 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
470 if e1 != 0 {
471 err = errnoErr(e1)
472 }
473 return
474}
475
476// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
477
478func Fchflags(fd int, flags int) (err error) {
479 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
480 if e1 != 0 {
481 err = errnoErr(e1)
482 }
483 return
484}
485
486// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
487
488func Fchmod(fd int, mode uint32) (err error) {
489 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
490 if e1 != 0 {
491 err = errnoErr(e1)
492 }
493 return
494}
495
496// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
497
498func Fchown(fd int, uid int, gid int) (err error) {
499 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
500 if e1 != 0 {
501 err = errnoErr(e1)
502 }
503 return
504}
505
506// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
507
508func Flock(fd int, how int) (err error) {
509 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
510 if e1 != 0 {
511 err = errnoErr(e1)
512 }
513 return
514}
515
516// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
517
518func Fpathconf(fd int, name int) (val int, err error) {
519 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
520 val = int(r0)
521 if e1 != 0 {
522 err = errnoErr(e1)
523 }
524 return
525}
526
527// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
528
529func Fstat(fd int, stat *Stat_t) (err error) {
530 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
531 if e1 != 0 {
532 err = errnoErr(e1)
533 }
534 return
535}
536
537// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
538
539func Fstatfs(fd int, stat *Statfs_t) (err error) {
540 _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
541 if e1 != 0 {
542 err = errnoErr(e1)
543 }
544 return
545}
546
547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
548
549func Fsync(fd int) (err error) {
550 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
551 if e1 != 0 {
552 err = errnoErr(e1)
553 }
554 return
555}
556
557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
558
559func Ftruncate(fd int, length int64) (err error) {
560 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
570 var _p0 unsafe.Pointer
571 if len(buf) > 0 {
572 _p0 = unsafe.Pointer(&buf[0])
573 } else {
574 _p0 = unsafe.Pointer(&_zero)
575 }
576 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
577 n = int(r0)
578 if e1 != 0 {
579 err = errnoErr(e1)
580 }
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getdtablesize() (size int) {
587 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
588 size = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Getegid() (egid int) {
595 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
596 egid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Geteuid() (uid int) {
603 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
604 uid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getgid() (gid int) {
611 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
612 gid = int(r0)
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func Getpgid(pid int) (pgid int, err error) {
619 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
620 pgid = int(r0)
621 if e1 != 0 {
622 err = errnoErr(e1)
623 }
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpgrp() (pgrp int) {
630 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
631 pgrp = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getpid() (pid int) {
638 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
639 pid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getppid() (ppid int) {
646 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
647 ppid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getpriority(which int, who int) (prio int, err error) {
654 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
655 prio = int(r0)
656 if e1 != 0 {
657 err = errnoErr(e1)
658 }
659 return
660}
661
662// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
663
664func Getrlimit(which int, lim *Rlimit) (err error) {
665 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
666 if e1 != 0 {
667 err = errnoErr(e1)
668 }
669 return
670}
671
672// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
673
674func Getrusage(who int, rusage *Rusage) (err error) {
675 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Getsid(pid int) (sid int, err error) {
685 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
686 sid = int(r0)
687 if e1 != 0 {
688 err = errnoErr(e1)
689 }
690 return
691}
692
693// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694
695func Getuid() (uid int) {
696 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
697 uid = int(r0)
698 return
699}
700
701// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
702
703func Issetugid() (tainted bool) {
704 r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
705 tainted = bool(r0 != 0)
706 return
707}
708
709// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
710
711func Kqueue() (fd int, err error) {
712 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
713 fd = int(r0)
714 if e1 != 0 {
715 err = errnoErr(e1)
716 }
717 return
718}
719
720// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
721
722func Lchown(path string, uid int, gid int) (err error) {
723 var _p0 *byte
724 _p0, err = BytePtrFromString(path)
725 if err != nil {
726 return
727 }
728 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
729 use(unsafe.Pointer(_p0))
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Link(path string, link string) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 var _p1 *byte
745 _p1, err = BytePtrFromString(link)
746 if err != nil {
747 return
748 }
749 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
750 use(unsafe.Pointer(_p0))
751 use(unsafe.Pointer(_p1))
752 if e1 != 0 {
753 err = errnoErr(e1)
754 }
755 return
756}
757
758// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
759
760func Listen(s int, backlog int) (err error) {
761 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Lstat(path string, stat *Stat_t) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mkdir(path string, mode uint32) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mkfifo(path string, mode uint32) (err error) {
803 var _p0 *byte
804 _p0, err = BytePtrFromString(path)
805 if err != nil {
806 return
807 }
808 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
809 use(unsafe.Pointer(_p0))
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mknod(path string, mode uint32, dev int) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
825 use(unsafe.Pointer(_p0))
826 if e1 != 0 {
827 err = errnoErr(e1)
828 }
829 return
830}
831
832// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
833
834func Mlock(b []byte) (err error) {
835 var _p0 unsafe.Pointer
836 if len(b) > 0 {
837 _p0 = unsafe.Pointer(&b[0])
838 } else {
839 _p0 = unsafe.Pointer(&_zero)
840 }
841 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
842 if e1 != 0 {
843 err = errnoErr(e1)
844 }
845 return
846}
847
848// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
849
850func Mlockall(flags int) (err error) {
851 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Mprotect(b []byte, prot int) (err error) {
861 var _p0 unsafe.Pointer
862 if len(b) > 0 {
863 _p0 = unsafe.Pointer(&b[0])
864 } else {
865 _p0 = unsafe.Pointer(&_zero)
866 }
867 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
868 if e1 != 0 {
869 err = errnoErr(e1)
870 }
871 return
872}
873
874// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
875
876func Munlock(b []byte) (err error) {
877 var _p0 unsafe.Pointer
878 if len(b) > 0 {
879 _p0 = unsafe.Pointer(&b[0])
880 } else {
881 _p0 = unsafe.Pointer(&_zero)
882 }
883 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
884 if e1 != 0 {
885 err = errnoErr(e1)
886 }
887 return
888}
889
890// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
891
892func Munlockall() (err error) {
893 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
894 if e1 != 0 {
895 err = errnoErr(e1)
896 }
897 return
898}
899
900// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
901
902func Open(path string, mode int, perm uint32) (fd int, err error) {
903 var _p0 *byte
904 _p0, err = BytePtrFromString(path)
905 if err != nil {
906 return
907 }
908 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
909 use(unsafe.Pointer(_p0))
910 fd = int(r0)
911 if e1 != 0 {
912 err = errnoErr(e1)
913 }
914 return
915}
916
917// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
918
919func Pathconf(path string, name int) (val int, err error) {
920 var _p0 *byte
921 _p0, err = BytePtrFromString(path)
922 if err != nil {
923 return
924 }
925 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
926 use(unsafe.Pointer(_p0))
927 val = int(r0)
928 if e1 != 0 {
929 err = errnoErr(e1)
930 }
931 return
932}
933
934// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
935
936func Pread(fd int, p []byte, offset int64) (n int, err error) {
937 var _p0 unsafe.Pointer
938 if len(p) > 0 {
939 _p0 = unsafe.Pointer(&p[0])
940 } else {
941 _p0 = unsafe.Pointer(&_zero)
942 }
943 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
944 n = int(r0)
945 if e1 != 0 {
946 err = errnoErr(e1)
947 }
948 return
949}
950
951// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
952
953func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
954 var _p0 unsafe.Pointer
955 if len(p) > 0 {
956 _p0 = unsafe.Pointer(&p[0])
957 } else {
958 _p0 = unsafe.Pointer(&_zero)
959 }
960 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
961 n = int(r0)
962 if e1 != 0 {
963 err = errnoErr(e1)
964 }
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func read(fd int, p []byte) (n int, err error) {
971 var _p0 unsafe.Pointer
972 if len(p) > 0 {
973 _p0 = unsafe.Pointer(&p[0])
974 } else {
975 _p0 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
978 n = int(r0)
979 if e1 != 0 {
980 err = errnoErr(e1)
981 }
982 return
983}
984
985// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
986
987func Readlink(path string, buf []byte) (n int, err error) {
988 var _p0 *byte
989 _p0, err = BytePtrFromString(path)
990 if err != nil {
991 return
992 }
993 var _p1 unsafe.Pointer
994 if len(buf) > 0 {
995 _p1 = unsafe.Pointer(&buf[0])
996 } else {
997 _p1 = unsafe.Pointer(&_zero)
998 }
999 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1000 use(unsafe.Pointer(_p0))
1001 n = int(r0)
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Rename(from string, to string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(from)
1013 if err != nil {
1014 return
1015 }
1016 var _p1 *byte
1017 _p1, err = BytePtrFromString(to)
1018 if err != nil {
1019 return
1020 }
1021 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1022 use(unsafe.Pointer(_p0))
1023 use(unsafe.Pointer(_p1))
1024 if e1 != 0 {
1025 err = errnoErr(e1)
1026 }
1027 return
1028}
1029
1030// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1031
1032func Revoke(path string) (err error) {
1033 var _p0 *byte
1034 _p0, err = BytePtrFromString(path)
1035 if err != nil {
1036 return
1037 }
1038 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1039 use(unsafe.Pointer(_p0))
1040 if e1 != 0 {
1041 err = errnoErr(e1)
1042 }
1043 return
1044}
1045
1046// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1047
1048func Rmdir(path string) (err error) {
1049 var _p0 *byte
1050 _p0, err = BytePtrFromString(path)
1051 if err != nil {
1052 return
1053 }
1054 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1055 use(unsafe.Pointer(_p0))
1056 if e1 != 0 {
1057 err = errnoErr(e1)
1058 }
1059 return
1060}
1061
1062// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1063
1064func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1065 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
1066 newoffset = int64(int64(r1)<<32 | int64(r0))
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1076 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setegid(egid int) (err error) {
1086 _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Seteuid(euid int) (err error) {
1096 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setgid(gid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setlogin(name string) (err error) {
1116 var _p0 *byte
1117 _p0, err = BytePtrFromString(name)
1118 if err != nil {
1119 return
1120 }
1121 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1122 use(unsafe.Pointer(_p0))
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Setpgid(pid int, pgid int) (err error) {
1132 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Setpriority(which int, who int, prio int) (err error) {
1142 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1143 if e1 != 0 {
1144 err = errnoErr(e1)
1145 }
1146 return
1147}
1148
1149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1150
1151func Setprivexec(flag int) (err error) {
1152 _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
1153 if e1 != 0 {
1154 err = errnoErr(e1)
1155 }
1156 return
1157}
1158
1159// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1160
1161func Setregid(rgid int, egid int) (err error) {
1162 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1163 if e1 != 0 {
1164 err = errnoErr(e1)
1165 }
1166 return
1167}
1168
1169// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1170
1171func Setreuid(ruid int, euid int) (err error) {
1172 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1173 if e1 != 0 {
1174 err = errnoErr(e1)
1175 }
1176 return
1177}
1178
1179// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1180
1181func Setrlimit(which int, lim *Rlimit) (err error) {
1182 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1183 if e1 != 0 {
1184 err = errnoErr(e1)
1185 }
1186 return
1187}
1188
1189// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1190
1191func Setsid() (pid int, err error) {
1192 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1193 pid = int(r0)
1194 if e1 != 0 {
1195 err = errnoErr(e1)
1196 }
1197 return
1198}
1199
1200// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1201
1202func Settimeofday(tp *Timeval) (err error) {
1203 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1204 if e1 != 0 {
1205 err = errnoErr(e1)
1206 }
1207 return
1208}
1209
1210// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1211
1212func Setuid(uid int) (err error) {
1213 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1214 if e1 != 0 {
1215 err = errnoErr(e1)
1216 }
1217 return
1218}
1219
1220// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1221
1222func Stat(path string, stat *Stat_t) (err error) {
1223 var _p0 *byte
1224 _p0, err = BytePtrFromString(path)
1225 if err != nil {
1226 return
1227 }
1228 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1229 use(unsafe.Pointer(_p0))
1230 if e1 != 0 {
1231 err = errnoErr(e1)
1232 }
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Statfs(path string, stat *Statfs_t) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Symlink(path string, link string) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 var _p1 *byte
1261 _p1, err = BytePtrFromString(link)
1262 if err != nil {
1263 return
1264 }
1265 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1266 use(unsafe.Pointer(_p0))
1267 use(unsafe.Pointer(_p1))
1268 if e1 != 0 {
1269 err = errnoErr(e1)
1270 }
1271 return
1272}
1273
1274// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1275
1276func Sync() (err error) {
1277 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1278 if e1 != 0 {
1279 err = errnoErr(e1)
1280 }
1281 return
1282}
1283
1284// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1285
1286func Truncate(path string, length int64) (err error) {
1287 var _p0 *byte
1288 _p0, err = BytePtrFromString(path)
1289 if err != nil {
1290 return
1291 }
1292 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
1293 use(unsafe.Pointer(_p0))
1294 if e1 != 0 {
1295 err = errnoErr(e1)
1296 }
1297 return
1298}
1299
1300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1301
1302func Umask(newmask int) (oldmask int) {
1303 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1304 oldmask = int(r0)
1305 return
1306}
1307
1308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1309
1310func Undelete(path string) (err error) {
1311 var _p0 *byte
1312 _p0, err = BytePtrFromString(path)
1313 if err != nil {
1314 return
1315 }
1316 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1317 use(unsafe.Pointer(_p0))
1318 if e1 != 0 {
1319 err = errnoErr(e1)
1320 }
1321 return
1322}
1323
1324// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1325
1326func Unlink(path string) (err error) {
1327 var _p0 *byte
1328 _p0, err = BytePtrFromString(path)
1329 if err != nil {
1330 return
1331 }
1332 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1333 use(unsafe.Pointer(_p0))
1334 if e1 != 0 {
1335 err = errnoErr(e1)
1336 }
1337 return
1338}
1339
1340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1341
1342func Unmount(path string, flags int) (err error) {
1343 var _p0 *byte
1344 _p0, err = BytePtrFromString(path)
1345 if err != nil {
1346 return
1347 }
1348 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1349 use(unsafe.Pointer(_p0))
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func write(fd int, p []byte) (n int, err error) {
1359 var _p0 unsafe.Pointer
1360 if len(p) > 0 {
1361 _p0 = unsafe.Pointer(&p[0])
1362 } else {
1363 _p0 = unsafe.Pointer(&_zero)
1364 }
1365 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1366 n = int(r0)
1367 if e1 != 0 {
1368 err = errnoErr(e1)
1369 }
1370 return
1371}
1372
1373// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1374
1375func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1376 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
1377 ret = uintptr(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func munmap(addr uintptr, length uintptr) (err error) {
1387 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1388 if e1 != 0 {
1389 err = errnoErr(e1)
1390 }
1391 return
1392}
1393
1394// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1395
1396func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1397 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1398 n = int(r0)
1399 if e1 != 0 {
1400 err = errnoErr(e1)
1401 }
1402 return
1403}
1404
1405// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1406
1407func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1408 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1409 n = int(r0)
1410 if e1 != 0 {
1411 err = errnoErr(e1)
1412 }
1413 return
1414}
1415
1416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1417
1418func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
1419 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1420 sec = int32(r0)
1421 usec = int32(r1)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
deleted file mode 100644
index 74606b2..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
+++ /dev/null
@@ -1,1442 +0,0 @@
1// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,darwin
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
271 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func pipe() (r int, w int, err error) {
281 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
282 r = int(r0)
283 w = int(r1)
284 if e1 != 0 {
285 err = errnoErr(e1)
286 }
287 return
288}
289
290// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
291
292func kill(pid int, signum int, posix int) (err error) {
293 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
294 if e1 != 0 {
295 err = errnoErr(e1)
296 }
297 return
298}
299
300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
301
302func Access(path string, mode uint32) (err error) {
303 var _p0 *byte
304 _p0, err = BytePtrFromString(path)
305 if err != nil {
306 return
307 }
308 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
309 use(unsafe.Pointer(_p0))
310 if e1 != 0 {
311 err = errnoErr(e1)
312 }
313 return
314}
315
316// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
317
318func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
319 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
320 if e1 != 0 {
321 err = errnoErr(e1)
322 }
323 return
324}
325
326// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
327
328func Chdir(path string) (err error) {
329 var _p0 *byte
330 _p0, err = BytePtrFromString(path)
331 if err != nil {
332 return
333 }
334 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
335 use(unsafe.Pointer(_p0))
336 if e1 != 0 {
337 err = errnoErr(e1)
338 }
339 return
340}
341
342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
343
344func Chflags(path string, flags int) (err error) {
345 var _p0 *byte
346 _p0, err = BytePtrFromString(path)
347 if err != nil {
348 return
349 }
350 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
351 use(unsafe.Pointer(_p0))
352 if e1 != 0 {
353 err = errnoErr(e1)
354 }
355 return
356}
357
358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
359
360func Chmod(path string, mode uint32) (err error) {
361 var _p0 *byte
362 _p0, err = BytePtrFromString(path)
363 if err != nil {
364 return
365 }
366 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
367 use(unsafe.Pointer(_p0))
368 if e1 != 0 {
369 err = errnoErr(e1)
370 }
371 return
372}
373
374// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
375
376func Chown(path string, uid int, gid int) (err error) {
377 var _p0 *byte
378 _p0, err = BytePtrFromString(path)
379 if err != nil {
380 return
381 }
382 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
383 use(unsafe.Pointer(_p0))
384 if e1 != 0 {
385 err = errnoErr(e1)
386 }
387 return
388}
389
390// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
391
392func Chroot(path string) (err error) {
393 var _p0 *byte
394 _p0, err = BytePtrFromString(path)
395 if err != nil {
396 return
397 }
398 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
399 use(unsafe.Pointer(_p0))
400 if e1 != 0 {
401 err = errnoErr(e1)
402 }
403 return
404}
405
406// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
407
408func Close(fd int) (err error) {
409 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
410 if e1 != 0 {
411 err = errnoErr(e1)
412 }
413 return
414}
415
416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
417
418func Dup(fd int) (nfd int, err error) {
419 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
420 nfd = int(r0)
421 if e1 != 0 {
422 err = errnoErr(e1)
423 }
424 return
425}
426
427// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
428
429func Dup2(from int, to int) (err error) {
430 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
431 if e1 != 0 {
432 err = errnoErr(e1)
433 }
434 return
435}
436
437// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
438
439func Exchangedata(path1 string, path2 string, options int) (err error) {
440 var _p0 *byte
441 _p0, err = BytePtrFromString(path1)
442 if err != nil {
443 return
444 }
445 var _p1 *byte
446 _p1, err = BytePtrFromString(path2)
447 if err != nil {
448 return
449 }
450 _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
451 use(unsafe.Pointer(_p0))
452 use(unsafe.Pointer(_p1))
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Exit(code int) {
462 Syscall(SYS_EXIT, uintptr(code), 0, 0)
463 return
464}
465
466// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
467
468func Fchdir(fd int) (err error) {
469 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
470 if e1 != 0 {
471 err = errnoErr(e1)
472 }
473 return
474}
475
476// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
477
478func Fchflags(fd int, flags int) (err error) {
479 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
480 if e1 != 0 {
481 err = errnoErr(e1)
482 }
483 return
484}
485
486// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
487
488func Fchmod(fd int, mode uint32) (err error) {
489 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
490 if e1 != 0 {
491 err = errnoErr(e1)
492 }
493 return
494}
495
496// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
497
498func Fchown(fd int, uid int, gid int) (err error) {
499 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
500 if e1 != 0 {
501 err = errnoErr(e1)
502 }
503 return
504}
505
506// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
507
508func Flock(fd int, how int) (err error) {
509 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
510 if e1 != 0 {
511 err = errnoErr(e1)
512 }
513 return
514}
515
516// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
517
518func Fpathconf(fd int, name int) (val int, err error) {
519 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
520 val = int(r0)
521 if e1 != 0 {
522 err = errnoErr(e1)
523 }
524 return
525}
526
527// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
528
529func Fstat(fd int, stat *Stat_t) (err error) {
530 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
531 if e1 != 0 {
532 err = errnoErr(e1)
533 }
534 return
535}
536
537// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
538
539func Fstatfs(fd int, stat *Statfs_t) (err error) {
540 _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
541 if e1 != 0 {
542 err = errnoErr(e1)
543 }
544 return
545}
546
547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
548
549func Fsync(fd int) (err error) {
550 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
551 if e1 != 0 {
552 err = errnoErr(e1)
553 }
554 return
555}
556
557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
558
559func Ftruncate(fd int, length int64) (err error) {
560 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
570 var _p0 unsafe.Pointer
571 if len(buf) > 0 {
572 _p0 = unsafe.Pointer(&buf[0])
573 } else {
574 _p0 = unsafe.Pointer(&_zero)
575 }
576 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
577 n = int(r0)
578 if e1 != 0 {
579 err = errnoErr(e1)
580 }
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getdtablesize() (size int) {
587 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
588 size = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Getegid() (egid int) {
595 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
596 egid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Geteuid() (uid int) {
603 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
604 uid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getgid() (gid int) {
611 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
612 gid = int(r0)
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func Getpgid(pid int) (pgid int, err error) {
619 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
620 pgid = int(r0)
621 if e1 != 0 {
622 err = errnoErr(e1)
623 }
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpgrp() (pgrp int) {
630 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
631 pgrp = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getpid() (pid int) {
638 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
639 pid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getppid() (ppid int) {
646 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
647 ppid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getpriority(which int, who int) (prio int, err error) {
654 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
655 prio = int(r0)
656 if e1 != 0 {
657 err = errnoErr(e1)
658 }
659 return
660}
661
662// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
663
664func Getrlimit(which int, lim *Rlimit) (err error) {
665 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
666 if e1 != 0 {
667 err = errnoErr(e1)
668 }
669 return
670}
671
672// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
673
674func Getrusage(who int, rusage *Rusage) (err error) {
675 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Getsid(pid int) (sid int, err error) {
685 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
686 sid = int(r0)
687 if e1 != 0 {
688 err = errnoErr(e1)
689 }
690 return
691}
692
693// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694
695func Getuid() (uid int) {
696 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
697 uid = int(r0)
698 return
699}
700
701// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
702
703func Issetugid() (tainted bool) {
704 r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
705 tainted = bool(r0 != 0)
706 return
707}
708
709// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
710
711func Kqueue() (fd int, err error) {
712 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
713 fd = int(r0)
714 if e1 != 0 {
715 err = errnoErr(e1)
716 }
717 return
718}
719
720// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
721
722func Lchown(path string, uid int, gid int) (err error) {
723 var _p0 *byte
724 _p0, err = BytePtrFromString(path)
725 if err != nil {
726 return
727 }
728 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
729 use(unsafe.Pointer(_p0))
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Link(path string, link string) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 var _p1 *byte
745 _p1, err = BytePtrFromString(link)
746 if err != nil {
747 return
748 }
749 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
750 use(unsafe.Pointer(_p0))
751 use(unsafe.Pointer(_p1))
752 if e1 != 0 {
753 err = errnoErr(e1)
754 }
755 return
756}
757
758// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
759
760func Listen(s int, backlog int) (err error) {
761 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Lstat(path string, stat *Stat_t) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mkdir(path string, mode uint32) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mkfifo(path string, mode uint32) (err error) {
803 var _p0 *byte
804 _p0, err = BytePtrFromString(path)
805 if err != nil {
806 return
807 }
808 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
809 use(unsafe.Pointer(_p0))
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mknod(path string, mode uint32, dev int) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
825 use(unsafe.Pointer(_p0))
826 if e1 != 0 {
827 err = errnoErr(e1)
828 }
829 return
830}
831
832// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
833
834func Mlock(b []byte) (err error) {
835 var _p0 unsafe.Pointer
836 if len(b) > 0 {
837 _p0 = unsafe.Pointer(&b[0])
838 } else {
839 _p0 = unsafe.Pointer(&_zero)
840 }
841 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
842 if e1 != 0 {
843 err = errnoErr(e1)
844 }
845 return
846}
847
848// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
849
850func Mlockall(flags int) (err error) {
851 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Mprotect(b []byte, prot int) (err error) {
861 var _p0 unsafe.Pointer
862 if len(b) > 0 {
863 _p0 = unsafe.Pointer(&b[0])
864 } else {
865 _p0 = unsafe.Pointer(&_zero)
866 }
867 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
868 if e1 != 0 {
869 err = errnoErr(e1)
870 }
871 return
872}
873
874// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
875
876func Munlock(b []byte) (err error) {
877 var _p0 unsafe.Pointer
878 if len(b) > 0 {
879 _p0 = unsafe.Pointer(&b[0])
880 } else {
881 _p0 = unsafe.Pointer(&_zero)
882 }
883 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
884 if e1 != 0 {
885 err = errnoErr(e1)
886 }
887 return
888}
889
890// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
891
892func Munlockall() (err error) {
893 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
894 if e1 != 0 {
895 err = errnoErr(e1)
896 }
897 return
898}
899
900// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
901
902func Open(path string, mode int, perm uint32) (fd int, err error) {
903 var _p0 *byte
904 _p0, err = BytePtrFromString(path)
905 if err != nil {
906 return
907 }
908 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
909 use(unsafe.Pointer(_p0))
910 fd = int(r0)
911 if e1 != 0 {
912 err = errnoErr(e1)
913 }
914 return
915}
916
917// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
918
919func Pathconf(path string, name int) (val int, err error) {
920 var _p0 *byte
921 _p0, err = BytePtrFromString(path)
922 if err != nil {
923 return
924 }
925 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
926 use(unsafe.Pointer(_p0))
927 val = int(r0)
928 if e1 != 0 {
929 err = errnoErr(e1)
930 }
931 return
932}
933
934// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
935
936func Pread(fd int, p []byte, offset int64) (n int, err error) {
937 var _p0 unsafe.Pointer
938 if len(p) > 0 {
939 _p0 = unsafe.Pointer(&p[0])
940 } else {
941 _p0 = unsafe.Pointer(&_zero)
942 }
943 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
944 n = int(r0)
945 if e1 != 0 {
946 err = errnoErr(e1)
947 }
948 return
949}
950
951// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
952
953func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
954 var _p0 unsafe.Pointer
955 if len(p) > 0 {
956 _p0 = unsafe.Pointer(&p[0])
957 } else {
958 _p0 = unsafe.Pointer(&_zero)
959 }
960 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
961 n = int(r0)
962 if e1 != 0 {
963 err = errnoErr(e1)
964 }
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func read(fd int, p []byte) (n int, err error) {
971 var _p0 unsafe.Pointer
972 if len(p) > 0 {
973 _p0 = unsafe.Pointer(&p[0])
974 } else {
975 _p0 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
978 n = int(r0)
979 if e1 != 0 {
980 err = errnoErr(e1)
981 }
982 return
983}
984
985// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
986
987func Readlink(path string, buf []byte) (n int, err error) {
988 var _p0 *byte
989 _p0, err = BytePtrFromString(path)
990 if err != nil {
991 return
992 }
993 var _p1 unsafe.Pointer
994 if len(buf) > 0 {
995 _p1 = unsafe.Pointer(&buf[0])
996 } else {
997 _p1 = unsafe.Pointer(&_zero)
998 }
999 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1000 use(unsafe.Pointer(_p0))
1001 n = int(r0)
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Rename(from string, to string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(from)
1013 if err != nil {
1014 return
1015 }
1016 var _p1 *byte
1017 _p1, err = BytePtrFromString(to)
1018 if err != nil {
1019 return
1020 }
1021 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1022 use(unsafe.Pointer(_p0))
1023 use(unsafe.Pointer(_p1))
1024 if e1 != 0 {
1025 err = errnoErr(e1)
1026 }
1027 return
1028}
1029
1030// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1031
1032func Revoke(path string) (err error) {
1033 var _p0 *byte
1034 _p0, err = BytePtrFromString(path)
1035 if err != nil {
1036 return
1037 }
1038 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1039 use(unsafe.Pointer(_p0))
1040 if e1 != 0 {
1041 err = errnoErr(e1)
1042 }
1043 return
1044}
1045
1046// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1047
1048func Rmdir(path string) (err error) {
1049 var _p0 *byte
1050 _p0, err = BytePtrFromString(path)
1051 if err != nil {
1052 return
1053 }
1054 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1055 use(unsafe.Pointer(_p0))
1056 if e1 != 0 {
1057 err = errnoErr(e1)
1058 }
1059 return
1060}
1061
1062// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1063
1064func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1065 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1066 newoffset = int64(r0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1076 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setegid(egid int) (err error) {
1086 _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Seteuid(euid int) (err error) {
1096 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setgid(gid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setlogin(name string) (err error) {
1116 var _p0 *byte
1117 _p0, err = BytePtrFromString(name)
1118 if err != nil {
1119 return
1120 }
1121 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1122 use(unsafe.Pointer(_p0))
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Setpgid(pid int, pgid int) (err error) {
1132 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Setpriority(which int, who int, prio int) (err error) {
1142 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1143 if e1 != 0 {
1144 err = errnoErr(e1)
1145 }
1146 return
1147}
1148
1149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1150
1151func Setprivexec(flag int) (err error) {
1152 _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
1153 if e1 != 0 {
1154 err = errnoErr(e1)
1155 }
1156 return
1157}
1158
1159// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1160
1161func Setregid(rgid int, egid int) (err error) {
1162 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1163 if e1 != 0 {
1164 err = errnoErr(e1)
1165 }
1166 return
1167}
1168
1169// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1170
1171func Setreuid(ruid int, euid int) (err error) {
1172 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1173 if e1 != 0 {
1174 err = errnoErr(e1)
1175 }
1176 return
1177}
1178
1179// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1180
1181func Setrlimit(which int, lim *Rlimit) (err error) {
1182 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1183 if e1 != 0 {
1184 err = errnoErr(e1)
1185 }
1186 return
1187}
1188
1189// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1190
1191func Setsid() (pid int, err error) {
1192 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1193 pid = int(r0)
1194 if e1 != 0 {
1195 err = errnoErr(e1)
1196 }
1197 return
1198}
1199
1200// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1201
1202func Settimeofday(tp *Timeval) (err error) {
1203 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1204 if e1 != 0 {
1205 err = errnoErr(e1)
1206 }
1207 return
1208}
1209
1210// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1211
1212func Setuid(uid int) (err error) {
1213 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1214 if e1 != 0 {
1215 err = errnoErr(e1)
1216 }
1217 return
1218}
1219
1220// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1221
1222func Stat(path string, stat *Stat_t) (err error) {
1223 var _p0 *byte
1224 _p0, err = BytePtrFromString(path)
1225 if err != nil {
1226 return
1227 }
1228 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1229 use(unsafe.Pointer(_p0))
1230 if e1 != 0 {
1231 err = errnoErr(e1)
1232 }
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Statfs(path string, stat *Statfs_t) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Symlink(path string, link string) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 var _p1 *byte
1261 _p1, err = BytePtrFromString(link)
1262 if err != nil {
1263 return
1264 }
1265 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1266 use(unsafe.Pointer(_p0))
1267 use(unsafe.Pointer(_p1))
1268 if e1 != 0 {
1269 err = errnoErr(e1)
1270 }
1271 return
1272}
1273
1274// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1275
1276func Sync() (err error) {
1277 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1278 if e1 != 0 {
1279 err = errnoErr(e1)
1280 }
1281 return
1282}
1283
1284// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1285
1286func Truncate(path string, length int64) (err error) {
1287 var _p0 *byte
1288 _p0, err = BytePtrFromString(path)
1289 if err != nil {
1290 return
1291 }
1292 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1293 use(unsafe.Pointer(_p0))
1294 if e1 != 0 {
1295 err = errnoErr(e1)
1296 }
1297 return
1298}
1299
1300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1301
1302func Umask(newmask int) (oldmask int) {
1303 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1304 oldmask = int(r0)
1305 return
1306}
1307
1308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1309
1310func Undelete(path string) (err error) {
1311 var _p0 *byte
1312 _p0, err = BytePtrFromString(path)
1313 if err != nil {
1314 return
1315 }
1316 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1317 use(unsafe.Pointer(_p0))
1318 if e1 != 0 {
1319 err = errnoErr(e1)
1320 }
1321 return
1322}
1323
1324// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1325
1326func Unlink(path string) (err error) {
1327 var _p0 *byte
1328 _p0, err = BytePtrFromString(path)
1329 if err != nil {
1330 return
1331 }
1332 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1333 use(unsafe.Pointer(_p0))
1334 if e1 != 0 {
1335 err = errnoErr(e1)
1336 }
1337 return
1338}
1339
1340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1341
1342func Unmount(path string, flags int) (err error) {
1343 var _p0 *byte
1344 _p0, err = BytePtrFromString(path)
1345 if err != nil {
1346 return
1347 }
1348 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1349 use(unsafe.Pointer(_p0))
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func write(fd int, p []byte) (n int, err error) {
1359 var _p0 unsafe.Pointer
1360 if len(p) > 0 {
1361 _p0 = unsafe.Pointer(&p[0])
1362 } else {
1363 _p0 = unsafe.Pointer(&_zero)
1364 }
1365 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1366 n = int(r0)
1367 if e1 != 0 {
1368 err = errnoErr(e1)
1369 }
1370 return
1371}
1372
1373// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1374
1375func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1376 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1377 ret = uintptr(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func munmap(addr uintptr, length uintptr) (err error) {
1387 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1388 if e1 != 0 {
1389 err = errnoErr(e1)
1390 }
1391 return
1392}
1393
1394// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1395
1396func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1397 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1398 n = int(r0)
1399 if e1 != 0 {
1400 err = errnoErr(e1)
1401 }
1402 return
1403}
1404
1405// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1406
1407func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1408 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1409 n = int(r0)
1410 if e1 != 0 {
1411 err = errnoErr(e1)
1412 }
1413 return
1414}
1415
1416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1417
1418func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
1419 var _p0 *byte
1420 _p0, err = BytePtrFromString(path)
1421 if err != nil {
1422 return
1423 }
1424 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
1425 use(unsafe.Pointer(_p0))
1426 if e1 != 0 {
1427 err = errnoErr(e1)
1428 }
1429 return
1430}
1431
1432// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1433
1434func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
1435 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1436 sec = int64(r0)
1437 usec = int32(r1)
1438 if e1 != 0 {
1439 err = errnoErr(e1)
1440 }
1441 return
1442}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm.go
deleted file mode 100644
index 640e854..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm.go
+++ /dev/null
@@ -1,1426 +0,0 @@
1// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,darwin
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
271 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func pipe() (r int, w int, err error) {
281 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
282 r = int(r0)
283 w = int(r1)
284 if e1 != 0 {
285 err = errnoErr(e1)
286 }
287 return
288}
289
290// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
291
292func kill(pid int, signum int, posix int) (err error) {
293 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
294 if e1 != 0 {
295 err = errnoErr(e1)
296 }
297 return
298}
299
300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
301
302func Access(path string, mode uint32) (err error) {
303 var _p0 *byte
304 _p0, err = BytePtrFromString(path)
305 if err != nil {
306 return
307 }
308 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
309 use(unsafe.Pointer(_p0))
310 if e1 != 0 {
311 err = errnoErr(e1)
312 }
313 return
314}
315
316// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
317
318func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
319 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
320 if e1 != 0 {
321 err = errnoErr(e1)
322 }
323 return
324}
325
326// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
327
328func Chdir(path string) (err error) {
329 var _p0 *byte
330 _p0, err = BytePtrFromString(path)
331 if err != nil {
332 return
333 }
334 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
335 use(unsafe.Pointer(_p0))
336 if e1 != 0 {
337 err = errnoErr(e1)
338 }
339 return
340}
341
342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
343
344func Chflags(path string, flags int) (err error) {
345 var _p0 *byte
346 _p0, err = BytePtrFromString(path)
347 if err != nil {
348 return
349 }
350 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
351 use(unsafe.Pointer(_p0))
352 if e1 != 0 {
353 err = errnoErr(e1)
354 }
355 return
356}
357
358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
359
360func Chmod(path string, mode uint32) (err error) {
361 var _p0 *byte
362 _p0, err = BytePtrFromString(path)
363 if err != nil {
364 return
365 }
366 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
367 use(unsafe.Pointer(_p0))
368 if e1 != 0 {
369 err = errnoErr(e1)
370 }
371 return
372}
373
374// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
375
376func Chown(path string, uid int, gid int) (err error) {
377 var _p0 *byte
378 _p0, err = BytePtrFromString(path)
379 if err != nil {
380 return
381 }
382 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
383 use(unsafe.Pointer(_p0))
384 if e1 != 0 {
385 err = errnoErr(e1)
386 }
387 return
388}
389
390// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
391
392func Chroot(path string) (err error) {
393 var _p0 *byte
394 _p0, err = BytePtrFromString(path)
395 if err != nil {
396 return
397 }
398 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
399 use(unsafe.Pointer(_p0))
400 if e1 != 0 {
401 err = errnoErr(e1)
402 }
403 return
404}
405
406// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
407
408func Close(fd int) (err error) {
409 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
410 if e1 != 0 {
411 err = errnoErr(e1)
412 }
413 return
414}
415
416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
417
418func Dup(fd int) (nfd int, err error) {
419 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
420 nfd = int(r0)
421 if e1 != 0 {
422 err = errnoErr(e1)
423 }
424 return
425}
426
427// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
428
429func Dup2(from int, to int) (err error) {
430 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
431 if e1 != 0 {
432 err = errnoErr(e1)
433 }
434 return
435}
436
437// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
438
439func Exchangedata(path1 string, path2 string, options int) (err error) {
440 var _p0 *byte
441 _p0, err = BytePtrFromString(path1)
442 if err != nil {
443 return
444 }
445 var _p1 *byte
446 _p1, err = BytePtrFromString(path2)
447 if err != nil {
448 return
449 }
450 _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
451 use(unsafe.Pointer(_p0))
452 use(unsafe.Pointer(_p1))
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Exit(code int) {
462 Syscall(SYS_EXIT, uintptr(code), 0, 0)
463 return
464}
465
466// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
467
468func Fchdir(fd int) (err error) {
469 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
470 if e1 != 0 {
471 err = errnoErr(e1)
472 }
473 return
474}
475
476// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
477
478func Fchflags(fd int, flags int) (err error) {
479 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
480 if e1 != 0 {
481 err = errnoErr(e1)
482 }
483 return
484}
485
486// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
487
488func Fchmod(fd int, mode uint32) (err error) {
489 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
490 if e1 != 0 {
491 err = errnoErr(e1)
492 }
493 return
494}
495
496// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
497
498func Fchown(fd int, uid int, gid int) (err error) {
499 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
500 if e1 != 0 {
501 err = errnoErr(e1)
502 }
503 return
504}
505
506// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
507
508func Flock(fd int, how int) (err error) {
509 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
510 if e1 != 0 {
511 err = errnoErr(e1)
512 }
513 return
514}
515
516// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
517
518func Fpathconf(fd int, name int) (val int, err error) {
519 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
520 val = int(r0)
521 if e1 != 0 {
522 err = errnoErr(e1)
523 }
524 return
525}
526
527// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
528
529func Fstat(fd int, stat *Stat_t) (err error) {
530 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
531 if e1 != 0 {
532 err = errnoErr(e1)
533 }
534 return
535}
536
537// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
538
539func Fstatfs(fd int, stat *Statfs_t) (err error) {
540 _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
541 if e1 != 0 {
542 err = errnoErr(e1)
543 }
544 return
545}
546
547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
548
549func Fsync(fd int) (err error) {
550 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
551 if e1 != 0 {
552 err = errnoErr(e1)
553 }
554 return
555}
556
557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
558
559func Ftruncate(fd int, length int64) (err error) {
560 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
570 var _p0 unsafe.Pointer
571 if len(buf) > 0 {
572 _p0 = unsafe.Pointer(&buf[0])
573 } else {
574 _p0 = unsafe.Pointer(&_zero)
575 }
576 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
577 n = int(r0)
578 if e1 != 0 {
579 err = errnoErr(e1)
580 }
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getdtablesize() (size int) {
587 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
588 size = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Getegid() (egid int) {
595 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
596 egid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Geteuid() (uid int) {
603 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
604 uid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getgid() (gid int) {
611 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
612 gid = int(r0)
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func Getpgid(pid int) (pgid int, err error) {
619 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
620 pgid = int(r0)
621 if e1 != 0 {
622 err = errnoErr(e1)
623 }
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpgrp() (pgrp int) {
630 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
631 pgrp = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getpid() (pid int) {
638 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
639 pid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getppid() (ppid int) {
646 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
647 ppid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getpriority(which int, who int) (prio int, err error) {
654 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
655 prio = int(r0)
656 if e1 != 0 {
657 err = errnoErr(e1)
658 }
659 return
660}
661
662// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
663
664func Getrlimit(which int, lim *Rlimit) (err error) {
665 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
666 if e1 != 0 {
667 err = errnoErr(e1)
668 }
669 return
670}
671
672// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
673
674func Getrusage(who int, rusage *Rusage) (err error) {
675 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Getsid(pid int) (sid int, err error) {
685 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
686 sid = int(r0)
687 if e1 != 0 {
688 err = errnoErr(e1)
689 }
690 return
691}
692
693// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694
695func Getuid() (uid int) {
696 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
697 uid = int(r0)
698 return
699}
700
701// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
702
703func Issetugid() (tainted bool) {
704 r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
705 tainted = bool(r0 != 0)
706 return
707}
708
709// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
710
711func Kqueue() (fd int, err error) {
712 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
713 fd = int(r0)
714 if e1 != 0 {
715 err = errnoErr(e1)
716 }
717 return
718}
719
720// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
721
722func Lchown(path string, uid int, gid int) (err error) {
723 var _p0 *byte
724 _p0, err = BytePtrFromString(path)
725 if err != nil {
726 return
727 }
728 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
729 use(unsafe.Pointer(_p0))
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Link(path string, link string) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 var _p1 *byte
745 _p1, err = BytePtrFromString(link)
746 if err != nil {
747 return
748 }
749 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
750 use(unsafe.Pointer(_p0))
751 use(unsafe.Pointer(_p1))
752 if e1 != 0 {
753 err = errnoErr(e1)
754 }
755 return
756}
757
758// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
759
760func Listen(s int, backlog int) (err error) {
761 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Lstat(path string, stat *Stat_t) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mkdir(path string, mode uint32) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mkfifo(path string, mode uint32) (err error) {
803 var _p0 *byte
804 _p0, err = BytePtrFromString(path)
805 if err != nil {
806 return
807 }
808 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
809 use(unsafe.Pointer(_p0))
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mknod(path string, mode uint32, dev int) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
825 use(unsafe.Pointer(_p0))
826 if e1 != 0 {
827 err = errnoErr(e1)
828 }
829 return
830}
831
832// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
833
834func Mlock(b []byte) (err error) {
835 var _p0 unsafe.Pointer
836 if len(b) > 0 {
837 _p0 = unsafe.Pointer(&b[0])
838 } else {
839 _p0 = unsafe.Pointer(&_zero)
840 }
841 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
842 if e1 != 0 {
843 err = errnoErr(e1)
844 }
845 return
846}
847
848// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
849
850func Mlockall(flags int) (err error) {
851 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Mprotect(b []byte, prot int) (err error) {
861 var _p0 unsafe.Pointer
862 if len(b) > 0 {
863 _p0 = unsafe.Pointer(&b[0])
864 } else {
865 _p0 = unsafe.Pointer(&_zero)
866 }
867 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
868 if e1 != 0 {
869 err = errnoErr(e1)
870 }
871 return
872}
873
874// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
875
876func Munlock(b []byte) (err error) {
877 var _p0 unsafe.Pointer
878 if len(b) > 0 {
879 _p0 = unsafe.Pointer(&b[0])
880 } else {
881 _p0 = unsafe.Pointer(&_zero)
882 }
883 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
884 if e1 != 0 {
885 err = errnoErr(e1)
886 }
887 return
888}
889
890// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
891
892func Munlockall() (err error) {
893 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
894 if e1 != 0 {
895 err = errnoErr(e1)
896 }
897 return
898}
899
900// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
901
902func Open(path string, mode int, perm uint32) (fd int, err error) {
903 var _p0 *byte
904 _p0, err = BytePtrFromString(path)
905 if err != nil {
906 return
907 }
908 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
909 use(unsafe.Pointer(_p0))
910 fd = int(r0)
911 if e1 != 0 {
912 err = errnoErr(e1)
913 }
914 return
915}
916
917// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
918
919func Pathconf(path string, name int) (val int, err error) {
920 var _p0 *byte
921 _p0, err = BytePtrFromString(path)
922 if err != nil {
923 return
924 }
925 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
926 use(unsafe.Pointer(_p0))
927 val = int(r0)
928 if e1 != 0 {
929 err = errnoErr(e1)
930 }
931 return
932}
933
934// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
935
936func Pread(fd int, p []byte, offset int64) (n int, err error) {
937 var _p0 unsafe.Pointer
938 if len(p) > 0 {
939 _p0 = unsafe.Pointer(&p[0])
940 } else {
941 _p0 = unsafe.Pointer(&_zero)
942 }
943 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
944 n = int(r0)
945 if e1 != 0 {
946 err = errnoErr(e1)
947 }
948 return
949}
950
951// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
952
953func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
954 var _p0 unsafe.Pointer
955 if len(p) > 0 {
956 _p0 = unsafe.Pointer(&p[0])
957 } else {
958 _p0 = unsafe.Pointer(&_zero)
959 }
960 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
961 n = int(r0)
962 if e1 != 0 {
963 err = errnoErr(e1)
964 }
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func read(fd int, p []byte) (n int, err error) {
971 var _p0 unsafe.Pointer
972 if len(p) > 0 {
973 _p0 = unsafe.Pointer(&p[0])
974 } else {
975 _p0 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
978 n = int(r0)
979 if e1 != 0 {
980 err = errnoErr(e1)
981 }
982 return
983}
984
985// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
986
987func Readlink(path string, buf []byte) (n int, err error) {
988 var _p0 *byte
989 _p0, err = BytePtrFromString(path)
990 if err != nil {
991 return
992 }
993 var _p1 unsafe.Pointer
994 if len(buf) > 0 {
995 _p1 = unsafe.Pointer(&buf[0])
996 } else {
997 _p1 = unsafe.Pointer(&_zero)
998 }
999 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1000 use(unsafe.Pointer(_p0))
1001 n = int(r0)
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Rename(from string, to string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(from)
1013 if err != nil {
1014 return
1015 }
1016 var _p1 *byte
1017 _p1, err = BytePtrFromString(to)
1018 if err != nil {
1019 return
1020 }
1021 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1022 use(unsafe.Pointer(_p0))
1023 use(unsafe.Pointer(_p1))
1024 if e1 != 0 {
1025 err = errnoErr(e1)
1026 }
1027 return
1028}
1029
1030// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1031
1032func Revoke(path string) (err error) {
1033 var _p0 *byte
1034 _p0, err = BytePtrFromString(path)
1035 if err != nil {
1036 return
1037 }
1038 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1039 use(unsafe.Pointer(_p0))
1040 if e1 != 0 {
1041 err = errnoErr(e1)
1042 }
1043 return
1044}
1045
1046// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1047
1048func Rmdir(path string) (err error) {
1049 var _p0 *byte
1050 _p0, err = BytePtrFromString(path)
1051 if err != nil {
1052 return
1053 }
1054 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1055 use(unsafe.Pointer(_p0))
1056 if e1 != 0 {
1057 err = errnoErr(e1)
1058 }
1059 return
1060}
1061
1062// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1063
1064func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1065 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1066 newoffset = int64(r0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1076 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setegid(egid int) (err error) {
1086 _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Seteuid(euid int) (err error) {
1096 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setgid(gid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setlogin(name string) (err error) {
1116 var _p0 *byte
1117 _p0, err = BytePtrFromString(name)
1118 if err != nil {
1119 return
1120 }
1121 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1122 use(unsafe.Pointer(_p0))
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Setpgid(pid int, pgid int) (err error) {
1132 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Setpriority(which int, who int, prio int) (err error) {
1142 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1143 if e1 != 0 {
1144 err = errnoErr(e1)
1145 }
1146 return
1147}
1148
1149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1150
1151func Setprivexec(flag int) (err error) {
1152 _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
1153 if e1 != 0 {
1154 err = errnoErr(e1)
1155 }
1156 return
1157}
1158
1159// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1160
1161func Setregid(rgid int, egid int) (err error) {
1162 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1163 if e1 != 0 {
1164 err = errnoErr(e1)
1165 }
1166 return
1167}
1168
1169// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1170
1171func Setreuid(ruid int, euid int) (err error) {
1172 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1173 if e1 != 0 {
1174 err = errnoErr(e1)
1175 }
1176 return
1177}
1178
1179// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1180
1181func Setrlimit(which int, lim *Rlimit) (err error) {
1182 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1183 if e1 != 0 {
1184 err = errnoErr(e1)
1185 }
1186 return
1187}
1188
1189// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1190
1191func Setsid() (pid int, err error) {
1192 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1193 pid = int(r0)
1194 if e1 != 0 {
1195 err = errnoErr(e1)
1196 }
1197 return
1198}
1199
1200// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1201
1202func Settimeofday(tp *Timeval) (err error) {
1203 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1204 if e1 != 0 {
1205 err = errnoErr(e1)
1206 }
1207 return
1208}
1209
1210// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1211
1212func Setuid(uid int) (err error) {
1213 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1214 if e1 != 0 {
1215 err = errnoErr(e1)
1216 }
1217 return
1218}
1219
1220// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1221
1222func Stat(path string, stat *Stat_t) (err error) {
1223 var _p0 *byte
1224 _p0, err = BytePtrFromString(path)
1225 if err != nil {
1226 return
1227 }
1228 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1229 use(unsafe.Pointer(_p0))
1230 if e1 != 0 {
1231 err = errnoErr(e1)
1232 }
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Statfs(path string, stat *Statfs_t) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Symlink(path string, link string) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 var _p1 *byte
1261 _p1, err = BytePtrFromString(link)
1262 if err != nil {
1263 return
1264 }
1265 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1266 use(unsafe.Pointer(_p0))
1267 use(unsafe.Pointer(_p1))
1268 if e1 != 0 {
1269 err = errnoErr(e1)
1270 }
1271 return
1272}
1273
1274// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1275
1276func Sync() (err error) {
1277 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1278 if e1 != 0 {
1279 err = errnoErr(e1)
1280 }
1281 return
1282}
1283
1284// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1285
1286func Truncate(path string, length int64) (err error) {
1287 var _p0 *byte
1288 _p0, err = BytePtrFromString(path)
1289 if err != nil {
1290 return
1291 }
1292 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1293 use(unsafe.Pointer(_p0))
1294 if e1 != 0 {
1295 err = errnoErr(e1)
1296 }
1297 return
1298}
1299
1300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1301
1302func Umask(newmask int) (oldmask int) {
1303 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1304 oldmask = int(r0)
1305 return
1306}
1307
1308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1309
1310func Undelete(path string) (err error) {
1311 var _p0 *byte
1312 _p0, err = BytePtrFromString(path)
1313 if err != nil {
1314 return
1315 }
1316 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1317 use(unsafe.Pointer(_p0))
1318 if e1 != 0 {
1319 err = errnoErr(e1)
1320 }
1321 return
1322}
1323
1324// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1325
1326func Unlink(path string) (err error) {
1327 var _p0 *byte
1328 _p0, err = BytePtrFromString(path)
1329 if err != nil {
1330 return
1331 }
1332 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1333 use(unsafe.Pointer(_p0))
1334 if e1 != 0 {
1335 err = errnoErr(e1)
1336 }
1337 return
1338}
1339
1340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1341
1342func Unmount(path string, flags int) (err error) {
1343 var _p0 *byte
1344 _p0, err = BytePtrFromString(path)
1345 if err != nil {
1346 return
1347 }
1348 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1349 use(unsafe.Pointer(_p0))
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func write(fd int, p []byte) (n int, err error) {
1359 var _p0 unsafe.Pointer
1360 if len(p) > 0 {
1361 _p0 = unsafe.Pointer(&p[0])
1362 } else {
1363 _p0 = unsafe.Pointer(&_zero)
1364 }
1365 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1366 n = int(r0)
1367 if e1 != 0 {
1368 err = errnoErr(e1)
1369 }
1370 return
1371}
1372
1373// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1374
1375func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1376 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1377 ret = uintptr(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func munmap(addr uintptr, length uintptr) (err error) {
1387 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1388 if e1 != 0 {
1389 err = errnoErr(e1)
1390 }
1391 return
1392}
1393
1394// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1395
1396func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1397 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1398 n = int(r0)
1399 if e1 != 0 {
1400 err = errnoErr(e1)
1401 }
1402 return
1403}
1404
1405// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1406
1407func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1408 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1409 n = int(r0)
1410 if e1 != 0 {
1411 err = errnoErr(e1)
1412 }
1413 return
1414}
1415
1416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1417
1418func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
1419 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1420 sec = int32(r0)
1421 usec = int32(r1)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
deleted file mode 100644
index 933f67b..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
+++ /dev/null
@@ -1,1426 +0,0 @@
1// mksyscall.pl syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm64,darwin
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
271 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func pipe() (r int, w int, err error) {
281 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
282 r = int(r0)
283 w = int(r1)
284 if e1 != 0 {
285 err = errnoErr(e1)
286 }
287 return
288}
289
290// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
291
292func kill(pid int, signum int, posix int) (err error) {
293 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
294 if e1 != 0 {
295 err = errnoErr(e1)
296 }
297 return
298}
299
300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
301
302func Access(path string, mode uint32) (err error) {
303 var _p0 *byte
304 _p0, err = BytePtrFromString(path)
305 if err != nil {
306 return
307 }
308 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
309 use(unsafe.Pointer(_p0))
310 if e1 != 0 {
311 err = errnoErr(e1)
312 }
313 return
314}
315
316// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
317
318func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
319 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
320 if e1 != 0 {
321 err = errnoErr(e1)
322 }
323 return
324}
325
326// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
327
328func Chdir(path string) (err error) {
329 var _p0 *byte
330 _p0, err = BytePtrFromString(path)
331 if err != nil {
332 return
333 }
334 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
335 use(unsafe.Pointer(_p0))
336 if e1 != 0 {
337 err = errnoErr(e1)
338 }
339 return
340}
341
342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
343
344func Chflags(path string, flags int) (err error) {
345 var _p0 *byte
346 _p0, err = BytePtrFromString(path)
347 if err != nil {
348 return
349 }
350 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
351 use(unsafe.Pointer(_p0))
352 if e1 != 0 {
353 err = errnoErr(e1)
354 }
355 return
356}
357
358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
359
360func Chmod(path string, mode uint32) (err error) {
361 var _p0 *byte
362 _p0, err = BytePtrFromString(path)
363 if err != nil {
364 return
365 }
366 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
367 use(unsafe.Pointer(_p0))
368 if e1 != 0 {
369 err = errnoErr(e1)
370 }
371 return
372}
373
374// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
375
376func Chown(path string, uid int, gid int) (err error) {
377 var _p0 *byte
378 _p0, err = BytePtrFromString(path)
379 if err != nil {
380 return
381 }
382 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
383 use(unsafe.Pointer(_p0))
384 if e1 != 0 {
385 err = errnoErr(e1)
386 }
387 return
388}
389
390// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
391
392func Chroot(path string) (err error) {
393 var _p0 *byte
394 _p0, err = BytePtrFromString(path)
395 if err != nil {
396 return
397 }
398 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
399 use(unsafe.Pointer(_p0))
400 if e1 != 0 {
401 err = errnoErr(e1)
402 }
403 return
404}
405
406// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
407
408func Close(fd int) (err error) {
409 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
410 if e1 != 0 {
411 err = errnoErr(e1)
412 }
413 return
414}
415
416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
417
418func Dup(fd int) (nfd int, err error) {
419 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
420 nfd = int(r0)
421 if e1 != 0 {
422 err = errnoErr(e1)
423 }
424 return
425}
426
427// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
428
429func Dup2(from int, to int) (err error) {
430 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
431 if e1 != 0 {
432 err = errnoErr(e1)
433 }
434 return
435}
436
437// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
438
439func Exchangedata(path1 string, path2 string, options int) (err error) {
440 var _p0 *byte
441 _p0, err = BytePtrFromString(path1)
442 if err != nil {
443 return
444 }
445 var _p1 *byte
446 _p1, err = BytePtrFromString(path2)
447 if err != nil {
448 return
449 }
450 _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
451 use(unsafe.Pointer(_p0))
452 use(unsafe.Pointer(_p1))
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Exit(code int) {
462 Syscall(SYS_EXIT, uintptr(code), 0, 0)
463 return
464}
465
466// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
467
468func Fchdir(fd int) (err error) {
469 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
470 if e1 != 0 {
471 err = errnoErr(e1)
472 }
473 return
474}
475
476// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
477
478func Fchflags(fd int, flags int) (err error) {
479 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
480 if e1 != 0 {
481 err = errnoErr(e1)
482 }
483 return
484}
485
486// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
487
488func Fchmod(fd int, mode uint32) (err error) {
489 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
490 if e1 != 0 {
491 err = errnoErr(e1)
492 }
493 return
494}
495
496// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
497
498func Fchown(fd int, uid int, gid int) (err error) {
499 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
500 if e1 != 0 {
501 err = errnoErr(e1)
502 }
503 return
504}
505
506// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
507
508func Flock(fd int, how int) (err error) {
509 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
510 if e1 != 0 {
511 err = errnoErr(e1)
512 }
513 return
514}
515
516// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
517
518func Fpathconf(fd int, name int) (val int, err error) {
519 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
520 val = int(r0)
521 if e1 != 0 {
522 err = errnoErr(e1)
523 }
524 return
525}
526
527// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
528
529func Fstat(fd int, stat *Stat_t) (err error) {
530 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
531 if e1 != 0 {
532 err = errnoErr(e1)
533 }
534 return
535}
536
537// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
538
539func Fstatfs(fd int, stat *Statfs_t) (err error) {
540 _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
541 if e1 != 0 {
542 err = errnoErr(e1)
543 }
544 return
545}
546
547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
548
549func Fsync(fd int) (err error) {
550 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
551 if e1 != 0 {
552 err = errnoErr(e1)
553 }
554 return
555}
556
557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
558
559func Ftruncate(fd int, length int64) (err error) {
560 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
570 var _p0 unsafe.Pointer
571 if len(buf) > 0 {
572 _p0 = unsafe.Pointer(&buf[0])
573 } else {
574 _p0 = unsafe.Pointer(&_zero)
575 }
576 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
577 n = int(r0)
578 if e1 != 0 {
579 err = errnoErr(e1)
580 }
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getdtablesize() (size int) {
587 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
588 size = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Getegid() (egid int) {
595 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
596 egid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Geteuid() (uid int) {
603 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
604 uid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getgid() (gid int) {
611 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
612 gid = int(r0)
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func Getpgid(pid int) (pgid int, err error) {
619 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
620 pgid = int(r0)
621 if e1 != 0 {
622 err = errnoErr(e1)
623 }
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpgrp() (pgrp int) {
630 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
631 pgrp = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getpid() (pid int) {
638 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
639 pid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getppid() (ppid int) {
646 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
647 ppid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getpriority(which int, who int) (prio int, err error) {
654 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
655 prio = int(r0)
656 if e1 != 0 {
657 err = errnoErr(e1)
658 }
659 return
660}
661
662// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
663
664func Getrlimit(which int, lim *Rlimit) (err error) {
665 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
666 if e1 != 0 {
667 err = errnoErr(e1)
668 }
669 return
670}
671
672// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
673
674func Getrusage(who int, rusage *Rusage) (err error) {
675 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Getsid(pid int) (sid int, err error) {
685 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
686 sid = int(r0)
687 if e1 != 0 {
688 err = errnoErr(e1)
689 }
690 return
691}
692
693// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694
695func Getuid() (uid int) {
696 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
697 uid = int(r0)
698 return
699}
700
701// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
702
703func Issetugid() (tainted bool) {
704 r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
705 tainted = bool(r0 != 0)
706 return
707}
708
709// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
710
711func Kqueue() (fd int, err error) {
712 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
713 fd = int(r0)
714 if e1 != 0 {
715 err = errnoErr(e1)
716 }
717 return
718}
719
720// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
721
722func Lchown(path string, uid int, gid int) (err error) {
723 var _p0 *byte
724 _p0, err = BytePtrFromString(path)
725 if err != nil {
726 return
727 }
728 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
729 use(unsafe.Pointer(_p0))
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Link(path string, link string) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 var _p1 *byte
745 _p1, err = BytePtrFromString(link)
746 if err != nil {
747 return
748 }
749 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
750 use(unsafe.Pointer(_p0))
751 use(unsafe.Pointer(_p1))
752 if e1 != 0 {
753 err = errnoErr(e1)
754 }
755 return
756}
757
758// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
759
760func Listen(s int, backlog int) (err error) {
761 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Lstat(path string, stat *Stat_t) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mkdir(path string, mode uint32) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mkfifo(path string, mode uint32) (err error) {
803 var _p0 *byte
804 _p0, err = BytePtrFromString(path)
805 if err != nil {
806 return
807 }
808 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
809 use(unsafe.Pointer(_p0))
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mknod(path string, mode uint32, dev int) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
825 use(unsafe.Pointer(_p0))
826 if e1 != 0 {
827 err = errnoErr(e1)
828 }
829 return
830}
831
832// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
833
834func Mlock(b []byte) (err error) {
835 var _p0 unsafe.Pointer
836 if len(b) > 0 {
837 _p0 = unsafe.Pointer(&b[0])
838 } else {
839 _p0 = unsafe.Pointer(&_zero)
840 }
841 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
842 if e1 != 0 {
843 err = errnoErr(e1)
844 }
845 return
846}
847
848// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
849
850func Mlockall(flags int) (err error) {
851 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Mprotect(b []byte, prot int) (err error) {
861 var _p0 unsafe.Pointer
862 if len(b) > 0 {
863 _p0 = unsafe.Pointer(&b[0])
864 } else {
865 _p0 = unsafe.Pointer(&_zero)
866 }
867 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
868 if e1 != 0 {
869 err = errnoErr(e1)
870 }
871 return
872}
873
874// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
875
876func Munlock(b []byte) (err error) {
877 var _p0 unsafe.Pointer
878 if len(b) > 0 {
879 _p0 = unsafe.Pointer(&b[0])
880 } else {
881 _p0 = unsafe.Pointer(&_zero)
882 }
883 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
884 if e1 != 0 {
885 err = errnoErr(e1)
886 }
887 return
888}
889
890// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
891
892func Munlockall() (err error) {
893 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
894 if e1 != 0 {
895 err = errnoErr(e1)
896 }
897 return
898}
899
900// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
901
902func Open(path string, mode int, perm uint32) (fd int, err error) {
903 var _p0 *byte
904 _p0, err = BytePtrFromString(path)
905 if err != nil {
906 return
907 }
908 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
909 use(unsafe.Pointer(_p0))
910 fd = int(r0)
911 if e1 != 0 {
912 err = errnoErr(e1)
913 }
914 return
915}
916
917// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
918
919func Pathconf(path string, name int) (val int, err error) {
920 var _p0 *byte
921 _p0, err = BytePtrFromString(path)
922 if err != nil {
923 return
924 }
925 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
926 use(unsafe.Pointer(_p0))
927 val = int(r0)
928 if e1 != 0 {
929 err = errnoErr(e1)
930 }
931 return
932}
933
934// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
935
936func Pread(fd int, p []byte, offset int64) (n int, err error) {
937 var _p0 unsafe.Pointer
938 if len(p) > 0 {
939 _p0 = unsafe.Pointer(&p[0])
940 } else {
941 _p0 = unsafe.Pointer(&_zero)
942 }
943 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
944 n = int(r0)
945 if e1 != 0 {
946 err = errnoErr(e1)
947 }
948 return
949}
950
951// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
952
953func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
954 var _p0 unsafe.Pointer
955 if len(p) > 0 {
956 _p0 = unsafe.Pointer(&p[0])
957 } else {
958 _p0 = unsafe.Pointer(&_zero)
959 }
960 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
961 n = int(r0)
962 if e1 != 0 {
963 err = errnoErr(e1)
964 }
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func read(fd int, p []byte) (n int, err error) {
971 var _p0 unsafe.Pointer
972 if len(p) > 0 {
973 _p0 = unsafe.Pointer(&p[0])
974 } else {
975 _p0 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
978 n = int(r0)
979 if e1 != 0 {
980 err = errnoErr(e1)
981 }
982 return
983}
984
985// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
986
987func Readlink(path string, buf []byte) (n int, err error) {
988 var _p0 *byte
989 _p0, err = BytePtrFromString(path)
990 if err != nil {
991 return
992 }
993 var _p1 unsafe.Pointer
994 if len(buf) > 0 {
995 _p1 = unsafe.Pointer(&buf[0])
996 } else {
997 _p1 = unsafe.Pointer(&_zero)
998 }
999 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1000 use(unsafe.Pointer(_p0))
1001 n = int(r0)
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Rename(from string, to string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(from)
1013 if err != nil {
1014 return
1015 }
1016 var _p1 *byte
1017 _p1, err = BytePtrFromString(to)
1018 if err != nil {
1019 return
1020 }
1021 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1022 use(unsafe.Pointer(_p0))
1023 use(unsafe.Pointer(_p1))
1024 if e1 != 0 {
1025 err = errnoErr(e1)
1026 }
1027 return
1028}
1029
1030// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1031
1032func Revoke(path string) (err error) {
1033 var _p0 *byte
1034 _p0, err = BytePtrFromString(path)
1035 if err != nil {
1036 return
1037 }
1038 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1039 use(unsafe.Pointer(_p0))
1040 if e1 != 0 {
1041 err = errnoErr(e1)
1042 }
1043 return
1044}
1045
1046// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1047
1048func Rmdir(path string) (err error) {
1049 var _p0 *byte
1050 _p0, err = BytePtrFromString(path)
1051 if err != nil {
1052 return
1053 }
1054 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1055 use(unsafe.Pointer(_p0))
1056 if e1 != 0 {
1057 err = errnoErr(e1)
1058 }
1059 return
1060}
1061
1062// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1063
1064func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1065 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1066 newoffset = int64(r0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1076 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setegid(egid int) (err error) {
1086 _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Seteuid(euid int) (err error) {
1096 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setgid(gid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setlogin(name string) (err error) {
1116 var _p0 *byte
1117 _p0, err = BytePtrFromString(name)
1118 if err != nil {
1119 return
1120 }
1121 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1122 use(unsafe.Pointer(_p0))
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Setpgid(pid int, pgid int) (err error) {
1132 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Setpriority(which int, who int, prio int) (err error) {
1142 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1143 if e1 != 0 {
1144 err = errnoErr(e1)
1145 }
1146 return
1147}
1148
1149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1150
1151func Setprivexec(flag int) (err error) {
1152 _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
1153 if e1 != 0 {
1154 err = errnoErr(e1)
1155 }
1156 return
1157}
1158
1159// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1160
1161func Setregid(rgid int, egid int) (err error) {
1162 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1163 if e1 != 0 {
1164 err = errnoErr(e1)
1165 }
1166 return
1167}
1168
1169// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1170
1171func Setreuid(ruid int, euid int) (err error) {
1172 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1173 if e1 != 0 {
1174 err = errnoErr(e1)
1175 }
1176 return
1177}
1178
1179// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1180
1181func Setrlimit(which int, lim *Rlimit) (err error) {
1182 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1183 if e1 != 0 {
1184 err = errnoErr(e1)
1185 }
1186 return
1187}
1188
1189// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1190
1191func Setsid() (pid int, err error) {
1192 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1193 pid = int(r0)
1194 if e1 != 0 {
1195 err = errnoErr(e1)
1196 }
1197 return
1198}
1199
1200// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1201
1202func Settimeofday(tp *Timeval) (err error) {
1203 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1204 if e1 != 0 {
1205 err = errnoErr(e1)
1206 }
1207 return
1208}
1209
1210// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1211
1212func Setuid(uid int) (err error) {
1213 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1214 if e1 != 0 {
1215 err = errnoErr(e1)
1216 }
1217 return
1218}
1219
1220// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1221
1222func Stat(path string, stat *Stat_t) (err error) {
1223 var _p0 *byte
1224 _p0, err = BytePtrFromString(path)
1225 if err != nil {
1226 return
1227 }
1228 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1229 use(unsafe.Pointer(_p0))
1230 if e1 != 0 {
1231 err = errnoErr(e1)
1232 }
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Statfs(path string, stat *Statfs_t) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Symlink(path string, link string) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 var _p1 *byte
1261 _p1, err = BytePtrFromString(link)
1262 if err != nil {
1263 return
1264 }
1265 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1266 use(unsafe.Pointer(_p0))
1267 use(unsafe.Pointer(_p1))
1268 if e1 != 0 {
1269 err = errnoErr(e1)
1270 }
1271 return
1272}
1273
1274// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1275
1276func Sync() (err error) {
1277 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1278 if e1 != 0 {
1279 err = errnoErr(e1)
1280 }
1281 return
1282}
1283
1284// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1285
1286func Truncate(path string, length int64) (err error) {
1287 var _p0 *byte
1288 _p0, err = BytePtrFromString(path)
1289 if err != nil {
1290 return
1291 }
1292 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1293 use(unsafe.Pointer(_p0))
1294 if e1 != 0 {
1295 err = errnoErr(e1)
1296 }
1297 return
1298}
1299
1300// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1301
1302func Umask(newmask int) (oldmask int) {
1303 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1304 oldmask = int(r0)
1305 return
1306}
1307
1308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1309
1310func Undelete(path string) (err error) {
1311 var _p0 *byte
1312 _p0, err = BytePtrFromString(path)
1313 if err != nil {
1314 return
1315 }
1316 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1317 use(unsafe.Pointer(_p0))
1318 if e1 != 0 {
1319 err = errnoErr(e1)
1320 }
1321 return
1322}
1323
1324// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1325
1326func Unlink(path string) (err error) {
1327 var _p0 *byte
1328 _p0, err = BytePtrFromString(path)
1329 if err != nil {
1330 return
1331 }
1332 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1333 use(unsafe.Pointer(_p0))
1334 if e1 != 0 {
1335 err = errnoErr(e1)
1336 }
1337 return
1338}
1339
1340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1341
1342func Unmount(path string, flags int) (err error) {
1343 var _p0 *byte
1344 _p0, err = BytePtrFromString(path)
1345 if err != nil {
1346 return
1347 }
1348 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1349 use(unsafe.Pointer(_p0))
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func write(fd int, p []byte) (n int, err error) {
1359 var _p0 unsafe.Pointer
1360 if len(p) > 0 {
1361 _p0 = unsafe.Pointer(&p[0])
1362 } else {
1363 _p0 = unsafe.Pointer(&_zero)
1364 }
1365 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1366 n = int(r0)
1367 if e1 != 0 {
1368 err = errnoErr(e1)
1369 }
1370 return
1371}
1372
1373// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1374
1375func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1376 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1377 ret = uintptr(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func munmap(addr uintptr, length uintptr) (err error) {
1387 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1388 if e1 != 0 {
1389 err = errnoErr(e1)
1390 }
1391 return
1392}
1393
1394// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1395
1396func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1397 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1398 n = int(r0)
1399 if e1 != 0 {
1400 err = errnoErr(e1)
1401 }
1402 return
1403}
1404
1405// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1406
1407func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1408 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1409 n = int(r0)
1410 if e1 != 0 {
1411 err = errnoErr(e1)
1412 }
1413 return
1414}
1415
1416// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1417
1418func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
1419 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1420 sec = int64(r0)
1421 usec = int32(r1)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_386.go
deleted file mode 100644
index 32e46af..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_386.go
+++ /dev/null
@@ -1,1412 +0,0 @@
1// mksyscall.pl -l32 -dragonfly syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,dragonfly
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (r int, w int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 r = int(r0)
273 w = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func extpread(fd int, p []byte, flags int, offset int64) (n int, err error) {
283 var _p0 unsafe.Pointer
284 if len(p) > 0 {
285 _p0 = unsafe.Pointer(&p[0])
286 } else {
287 _p0 = unsafe.Pointer(&_zero)
288 }
289 r0, _, e1 := Syscall6(SYS_EXTPREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), uintptr(offset>>32))
290 n = int(r0)
291 if e1 != 0 {
292 err = errnoErr(e1)
293 }
294 return
295}
296
297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
298
299func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
300 var _p0 unsafe.Pointer
301 if len(p) > 0 {
302 _p0 = unsafe.Pointer(&p[0])
303 } else {
304 _p0 = unsafe.Pointer(&_zero)
305 }
306 r0, _, e1 := Syscall6(SYS_EXTPWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), uintptr(offset>>32))
307 n = int(r0)
308 if e1 != 0 {
309 err = errnoErr(e1)
310 }
311 return
312}
313
314// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
315
316func Access(path string, mode uint32) (err error) {
317 var _p0 *byte
318 _p0, err = BytePtrFromString(path)
319 if err != nil {
320 return
321 }
322 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
323 use(unsafe.Pointer(_p0))
324 if e1 != 0 {
325 err = errnoErr(e1)
326 }
327 return
328}
329
330// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
331
332func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
333 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
334 if e1 != 0 {
335 err = errnoErr(e1)
336 }
337 return
338}
339
340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
341
342func Chdir(path string) (err error) {
343 var _p0 *byte
344 _p0, err = BytePtrFromString(path)
345 if err != nil {
346 return
347 }
348 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
349 use(unsafe.Pointer(_p0))
350 if e1 != 0 {
351 err = errnoErr(e1)
352 }
353 return
354}
355
356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
357
358func Chflags(path string, flags int) (err error) {
359 var _p0 *byte
360 _p0, err = BytePtrFromString(path)
361 if err != nil {
362 return
363 }
364 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
365 use(unsafe.Pointer(_p0))
366 if e1 != 0 {
367 err = errnoErr(e1)
368 }
369 return
370}
371
372// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
373
374func Chmod(path string, mode uint32) (err error) {
375 var _p0 *byte
376 _p0, err = BytePtrFromString(path)
377 if err != nil {
378 return
379 }
380 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
381 use(unsafe.Pointer(_p0))
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Chown(path string, uid int, gid int) (err error) {
391 var _p0 *byte
392 _p0, err = BytePtrFromString(path)
393 if err != nil {
394 return
395 }
396 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
397 use(unsafe.Pointer(_p0))
398 if e1 != 0 {
399 err = errnoErr(e1)
400 }
401 return
402}
403
404// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
405
406func Chroot(path string) (err error) {
407 var _p0 *byte
408 _p0, err = BytePtrFromString(path)
409 if err != nil {
410 return
411 }
412 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
413 use(unsafe.Pointer(_p0))
414 if e1 != 0 {
415 err = errnoErr(e1)
416 }
417 return
418}
419
420// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
421
422func Close(fd int) (err error) {
423 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
424 if e1 != 0 {
425 err = errnoErr(e1)
426 }
427 return
428}
429
430// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
431
432func Dup(fd int) (nfd int, err error) {
433 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
434 nfd = int(r0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Dup2(from int, to int) (err error) {
444 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
445 if e1 != 0 {
446 err = errnoErr(e1)
447 }
448 return
449}
450
451// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
452
453func Exit(code int) {
454 Syscall(SYS_EXIT, uintptr(code), 0, 0)
455 return
456}
457
458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
459
460func Fchdir(fd int) (err error) {
461 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
462 if e1 != 0 {
463 err = errnoErr(e1)
464 }
465 return
466}
467
468// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
469
470func Fchflags(fd int, flags int) (err error) {
471 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
472 if e1 != 0 {
473 err = errnoErr(e1)
474 }
475 return
476}
477
478// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
479
480func Fchmod(fd int, mode uint32) (err error) {
481 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
482 if e1 != 0 {
483 err = errnoErr(e1)
484 }
485 return
486}
487
488// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
489
490func Fchown(fd int, uid int, gid int) (err error) {
491 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
492 if e1 != 0 {
493 err = errnoErr(e1)
494 }
495 return
496}
497
498// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
499
500func Flock(fd int, how int) (err error) {
501 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
502 if e1 != 0 {
503 err = errnoErr(e1)
504 }
505 return
506}
507
508// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
509
510func Fpathconf(fd int, name int) (val int, err error) {
511 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
512 val = int(r0)
513 if e1 != 0 {
514 err = errnoErr(e1)
515 }
516 return
517}
518
519// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
520
521func Fstat(fd int, stat *Stat_t) (err error) {
522 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
523 if e1 != 0 {
524 err = errnoErr(e1)
525 }
526 return
527}
528
529// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
530
531func Fstatfs(fd int, stat *Statfs_t) (err error) {
532 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
533 if e1 != 0 {
534 err = errnoErr(e1)
535 }
536 return
537}
538
539// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
540
541func Fsync(fd int) (err error) {
542 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
543 if e1 != 0 {
544 err = errnoErr(e1)
545 }
546 return
547}
548
549// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
550
551func Ftruncate(fd int, length int64) (err error) {
552 _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
553 if e1 != 0 {
554 err = errnoErr(e1)
555 }
556 return
557}
558
559// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
560
561func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
562 var _p0 unsafe.Pointer
563 if len(buf) > 0 {
564 _p0 = unsafe.Pointer(&buf[0])
565 } else {
566 _p0 = unsafe.Pointer(&_zero)
567 }
568 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
569 n = int(r0)
570 if e1 != 0 {
571 err = errnoErr(e1)
572 }
573 return
574}
575
576// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
577
578func Getdtablesize() (size int) {
579 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
580 size = int(r0)
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getegid() (egid int) {
587 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
588 egid = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Geteuid() (uid int) {
595 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
596 uid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Getgid() (gid int) {
603 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
604 gid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getpgid(pid int) (pgid int, err error) {
611 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
612 pgid = int(r0)
613 if e1 != 0 {
614 err = errnoErr(e1)
615 }
616 return
617}
618
619// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
620
621func Getpgrp() (pgrp int) {
622 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
623 pgrp = int(r0)
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpid() (pid int) {
630 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
631 pid = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getppid() (ppid int) {
638 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
639 ppid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getpriority(which int, who int) (prio int, err error) {
646 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
647 prio = int(r0)
648 if e1 != 0 {
649 err = errnoErr(e1)
650 }
651 return
652}
653
654// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
655
656func Getrlimit(which int, lim *Rlimit) (err error) {
657 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
658 if e1 != 0 {
659 err = errnoErr(e1)
660 }
661 return
662}
663
664// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
665
666func Getrusage(who int, rusage *Rusage) (err error) {
667 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
668 if e1 != 0 {
669 err = errnoErr(e1)
670 }
671 return
672}
673
674// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
675
676func Getsid(pid int) (sid int, err error) {
677 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
678 sid = int(r0)
679 if e1 != 0 {
680 err = errnoErr(e1)
681 }
682 return
683}
684
685// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686
687func Gettimeofday(tv *Timeval) (err error) {
688 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
689 if e1 != 0 {
690 err = errnoErr(e1)
691 }
692 return
693}
694
695// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
696
697func Getuid() (uid int) {
698 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
699 uid = int(r0)
700 return
701}
702
703// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
704
705func Issetugid() (tainted bool) {
706 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
707 tainted = bool(r0 != 0)
708 return
709}
710
711// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
712
713func Kill(pid int, signum syscall.Signal) (err error) {
714 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Kqueue() (fd int, err error) {
724 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
725 fd = int(r0)
726 if e1 != 0 {
727 err = errnoErr(e1)
728 }
729 return
730}
731
732// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
733
734func Lchown(path string, uid int, gid int) (err error) {
735 var _p0 *byte
736 _p0, err = BytePtrFromString(path)
737 if err != nil {
738 return
739 }
740 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
741 use(unsafe.Pointer(_p0))
742 if e1 != 0 {
743 err = errnoErr(e1)
744 }
745 return
746}
747
748// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
749
750func Link(path string, link string) (err error) {
751 var _p0 *byte
752 _p0, err = BytePtrFromString(path)
753 if err != nil {
754 return
755 }
756 var _p1 *byte
757 _p1, err = BytePtrFromString(link)
758 if err != nil {
759 return
760 }
761 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
762 use(unsafe.Pointer(_p0))
763 use(unsafe.Pointer(_p1))
764 if e1 != 0 {
765 err = errnoErr(e1)
766 }
767 return
768}
769
770// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
771
772func Listen(s int, backlog int) (err error) {
773 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
774 if e1 != 0 {
775 err = errnoErr(e1)
776 }
777 return
778}
779
780// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
781
782func Lstat(path string, stat *Stat_t) (err error) {
783 var _p0 *byte
784 _p0, err = BytePtrFromString(path)
785 if err != nil {
786 return
787 }
788 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
789 use(unsafe.Pointer(_p0))
790 if e1 != 0 {
791 err = errnoErr(e1)
792 }
793 return
794}
795
796// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
797
798func Mkdir(path string, mode uint32) (err error) {
799 var _p0 *byte
800 _p0, err = BytePtrFromString(path)
801 if err != nil {
802 return
803 }
804 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
805 use(unsafe.Pointer(_p0))
806 if e1 != 0 {
807 err = errnoErr(e1)
808 }
809 return
810}
811
812// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
813
814func Mkfifo(path string, mode uint32) (err error) {
815 var _p0 *byte
816 _p0, err = BytePtrFromString(path)
817 if err != nil {
818 return
819 }
820 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
821 use(unsafe.Pointer(_p0))
822 if e1 != 0 {
823 err = errnoErr(e1)
824 }
825 return
826}
827
828// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
829
830func Mknod(path string, mode uint32, dev int) (err error) {
831 var _p0 *byte
832 _p0, err = BytePtrFromString(path)
833 if err != nil {
834 return
835 }
836 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
837 use(unsafe.Pointer(_p0))
838 if e1 != 0 {
839 err = errnoErr(e1)
840 }
841 return
842}
843
844// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
845
846func Mlock(b []byte) (err error) {
847 var _p0 unsafe.Pointer
848 if len(b) > 0 {
849 _p0 = unsafe.Pointer(&b[0])
850 } else {
851 _p0 = unsafe.Pointer(&_zero)
852 }
853 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Mlockall(flags int) (err error) {
863 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
864 if e1 != 0 {
865 err = errnoErr(e1)
866 }
867 return
868}
869
870// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
871
872func Mprotect(b []byte, prot int) (err error) {
873 var _p0 unsafe.Pointer
874 if len(b) > 0 {
875 _p0 = unsafe.Pointer(&b[0])
876 } else {
877 _p0 = unsafe.Pointer(&_zero)
878 }
879 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
880 if e1 != 0 {
881 err = errnoErr(e1)
882 }
883 return
884}
885
886// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
887
888func Munlock(b []byte) (err error) {
889 var _p0 unsafe.Pointer
890 if len(b) > 0 {
891 _p0 = unsafe.Pointer(&b[0])
892 } else {
893 _p0 = unsafe.Pointer(&_zero)
894 }
895 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Munlockall() (err error) {
905 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
906 if e1 != 0 {
907 err = errnoErr(e1)
908 }
909 return
910}
911
912// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
913
914func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
915 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
916 if e1 != 0 {
917 err = errnoErr(e1)
918 }
919 return
920}
921
922// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
923
924func Open(path string, mode int, perm uint32) (fd int, err error) {
925 var _p0 *byte
926 _p0, err = BytePtrFromString(path)
927 if err != nil {
928 return
929 }
930 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
931 use(unsafe.Pointer(_p0))
932 fd = int(r0)
933 if e1 != 0 {
934 err = errnoErr(e1)
935 }
936 return
937}
938
939// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
940
941func Pathconf(path string, name int) (val int, err error) {
942 var _p0 *byte
943 _p0, err = BytePtrFromString(path)
944 if err != nil {
945 return
946 }
947 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
948 use(unsafe.Pointer(_p0))
949 val = int(r0)
950 if e1 != 0 {
951 err = errnoErr(e1)
952 }
953 return
954}
955
956// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
957
958func read(fd int, p []byte) (n int, err error) {
959 var _p0 unsafe.Pointer
960 if len(p) > 0 {
961 _p0 = unsafe.Pointer(&p[0])
962 } else {
963 _p0 = unsafe.Pointer(&_zero)
964 }
965 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
966 n = int(r0)
967 if e1 != 0 {
968 err = errnoErr(e1)
969 }
970 return
971}
972
973// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
974
975func Readlink(path string, buf []byte) (n int, err error) {
976 var _p0 *byte
977 _p0, err = BytePtrFromString(path)
978 if err != nil {
979 return
980 }
981 var _p1 unsafe.Pointer
982 if len(buf) > 0 {
983 _p1 = unsafe.Pointer(&buf[0])
984 } else {
985 _p1 = unsafe.Pointer(&_zero)
986 }
987 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
988 use(unsafe.Pointer(_p0))
989 n = int(r0)
990 if e1 != 0 {
991 err = errnoErr(e1)
992 }
993 return
994}
995
996// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
997
998func Rename(from string, to string) (err error) {
999 var _p0 *byte
1000 _p0, err = BytePtrFromString(from)
1001 if err != nil {
1002 return
1003 }
1004 var _p1 *byte
1005 _p1, err = BytePtrFromString(to)
1006 if err != nil {
1007 return
1008 }
1009 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1010 use(unsafe.Pointer(_p0))
1011 use(unsafe.Pointer(_p1))
1012 if e1 != 0 {
1013 err = errnoErr(e1)
1014 }
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Revoke(path string) (err error) {
1021 var _p0 *byte
1022 _p0, err = BytePtrFromString(path)
1023 if err != nil {
1024 return
1025 }
1026 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1027 use(unsafe.Pointer(_p0))
1028 if e1 != 0 {
1029 err = errnoErr(e1)
1030 }
1031 return
1032}
1033
1034// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1035
1036func Rmdir(path string) (err error) {
1037 var _p0 *byte
1038 _p0, err = BytePtrFromString(path)
1039 if err != nil {
1040 return
1041 }
1042 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1043 use(unsafe.Pointer(_p0))
1044 if e1 != 0 {
1045 err = errnoErr(e1)
1046 }
1047 return
1048}
1049
1050// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1051
1052func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1053 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
1054 newoffset = int64(int64(r1)<<32 | int64(r0))
1055 if e1 != 0 {
1056 err = errnoErr(e1)
1057 }
1058 return
1059}
1060
1061// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1062
1063func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1064 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1065 if e1 != 0 {
1066 err = errnoErr(e1)
1067 }
1068 return
1069}
1070
1071// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1072
1073func Setegid(egid int) (err error) {
1074 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1075 if e1 != 0 {
1076 err = errnoErr(e1)
1077 }
1078 return
1079}
1080
1081// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1082
1083func Seteuid(euid int) (err error) {
1084 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1085 if e1 != 0 {
1086 err = errnoErr(e1)
1087 }
1088 return
1089}
1090
1091// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1092
1093func Setgid(gid int) (err error) {
1094 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1095 if e1 != 0 {
1096 err = errnoErr(e1)
1097 }
1098 return
1099}
1100
1101// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1102
1103func Setlogin(name string) (err error) {
1104 var _p0 *byte
1105 _p0, err = BytePtrFromString(name)
1106 if err != nil {
1107 return
1108 }
1109 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1110 use(unsafe.Pointer(_p0))
1111 if e1 != 0 {
1112 err = errnoErr(e1)
1113 }
1114 return
1115}
1116
1117// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1118
1119func Setpgid(pid int, pgid int) (err error) {
1120 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1121 if e1 != 0 {
1122 err = errnoErr(e1)
1123 }
1124 return
1125}
1126
1127// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1128
1129func Setpriority(which int, who int, prio int) (err error) {
1130 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1131 if e1 != 0 {
1132 err = errnoErr(e1)
1133 }
1134 return
1135}
1136
1137// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1138
1139func Setregid(rgid int, egid int) (err error) {
1140 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1141 if e1 != 0 {
1142 err = errnoErr(e1)
1143 }
1144 return
1145}
1146
1147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1148
1149func Setreuid(ruid int, euid int) (err error) {
1150 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1151 if e1 != 0 {
1152 err = errnoErr(e1)
1153 }
1154 return
1155}
1156
1157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1158
1159func Setresgid(rgid int, egid int, sgid int) (err error) {
1160 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1161 if e1 != 0 {
1162 err = errnoErr(e1)
1163 }
1164 return
1165}
1166
1167// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1168
1169func Setresuid(ruid int, euid int, suid int) (err error) {
1170 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1171 if e1 != 0 {
1172 err = errnoErr(e1)
1173 }
1174 return
1175}
1176
1177// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1178
1179func Setrlimit(which int, lim *Rlimit) (err error) {
1180 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Setsid() (pid int, err error) {
1190 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1191 pid = int(r0)
1192 if e1 != 0 {
1193 err = errnoErr(e1)
1194 }
1195 return
1196}
1197
1198// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1199
1200func Settimeofday(tp *Timeval) (err error) {
1201 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1202 if e1 != 0 {
1203 err = errnoErr(e1)
1204 }
1205 return
1206}
1207
1208// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1209
1210func Setuid(uid int) (err error) {
1211 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1212 if e1 != 0 {
1213 err = errnoErr(e1)
1214 }
1215 return
1216}
1217
1218// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1219
1220func Stat(path string, stat *Stat_t) (err error) {
1221 var _p0 *byte
1222 _p0, err = BytePtrFromString(path)
1223 if err != nil {
1224 return
1225 }
1226 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1227 use(unsafe.Pointer(_p0))
1228 if e1 != 0 {
1229 err = errnoErr(e1)
1230 }
1231 return
1232}
1233
1234// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1235
1236func Statfs(path string, stat *Statfs_t) (err error) {
1237 var _p0 *byte
1238 _p0, err = BytePtrFromString(path)
1239 if err != nil {
1240 return
1241 }
1242 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1243 use(unsafe.Pointer(_p0))
1244 if e1 != 0 {
1245 err = errnoErr(e1)
1246 }
1247 return
1248}
1249
1250// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1251
1252func Symlink(path string, link string) (err error) {
1253 var _p0 *byte
1254 _p0, err = BytePtrFromString(path)
1255 if err != nil {
1256 return
1257 }
1258 var _p1 *byte
1259 _p1, err = BytePtrFromString(link)
1260 if err != nil {
1261 return
1262 }
1263 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1264 use(unsafe.Pointer(_p0))
1265 use(unsafe.Pointer(_p1))
1266 if e1 != 0 {
1267 err = errnoErr(e1)
1268 }
1269 return
1270}
1271
1272// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1273
1274func Sync() (err error) {
1275 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1276 if e1 != 0 {
1277 err = errnoErr(e1)
1278 }
1279 return
1280}
1281
1282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1283
1284func Truncate(path string, length int64) (err error) {
1285 var _p0 *byte
1286 _p0, err = BytePtrFromString(path)
1287 if err != nil {
1288 return
1289 }
1290 _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1291 use(unsafe.Pointer(_p0))
1292 if e1 != 0 {
1293 err = errnoErr(e1)
1294 }
1295 return
1296}
1297
1298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1299
1300func Umask(newmask int) (oldmask int) {
1301 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1302 oldmask = int(r0)
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func Undelete(path string) (err error) {
1309 var _p0 *byte
1310 _p0, err = BytePtrFromString(path)
1311 if err != nil {
1312 return
1313 }
1314 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1315 use(unsafe.Pointer(_p0))
1316 if e1 != 0 {
1317 err = errnoErr(e1)
1318 }
1319 return
1320}
1321
1322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1323
1324func Unlink(path string) (err error) {
1325 var _p0 *byte
1326 _p0, err = BytePtrFromString(path)
1327 if err != nil {
1328 return
1329 }
1330 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1331 use(unsafe.Pointer(_p0))
1332 if e1 != 0 {
1333 err = errnoErr(e1)
1334 }
1335 return
1336}
1337
1338// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1339
1340func Unmount(path string, flags int) (err error) {
1341 var _p0 *byte
1342 _p0, err = BytePtrFromString(path)
1343 if err != nil {
1344 return
1345 }
1346 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1347 use(unsafe.Pointer(_p0))
1348 if e1 != 0 {
1349 err = errnoErr(e1)
1350 }
1351 return
1352}
1353
1354// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1355
1356func write(fd int, p []byte) (n int, err error) {
1357 var _p0 unsafe.Pointer
1358 if len(p) > 0 {
1359 _p0 = unsafe.Pointer(&p[0])
1360 } else {
1361 _p0 = unsafe.Pointer(&_zero)
1362 }
1363 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1364 n = int(r0)
1365 if e1 != 0 {
1366 err = errnoErr(e1)
1367 }
1368 return
1369}
1370
1371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1372
1373func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1374 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
1375 ret = uintptr(r0)
1376 if e1 != 0 {
1377 err = errnoErr(e1)
1378 }
1379 return
1380}
1381
1382// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1383
1384func munmap(addr uintptr, length uintptr) (err error) {
1385 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1386 if e1 != 0 {
1387 err = errnoErr(e1)
1388 }
1389 return
1390}
1391
1392// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1393
1394func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1395 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1396 n = int(r0)
1397 if e1 != 0 {
1398 err = errnoErr(e1)
1399 }
1400 return
1401}
1402
1403// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1404
1405func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1406 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1407 n = int(r0)
1408 if e1 != 0 {
1409 err = errnoErr(e1)
1410 }
1411 return
1412}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
deleted file mode 100644
index 3fa6ff7..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
+++ /dev/null
@@ -1,1412 +0,0 @@
1// mksyscall.pl -dragonfly syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,dragonfly
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (r int, w int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 r = int(r0)
273 w = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func extpread(fd int, p []byte, flags int, offset int64) (n int, err error) {
283 var _p0 unsafe.Pointer
284 if len(p) > 0 {
285 _p0 = unsafe.Pointer(&p[0])
286 } else {
287 _p0 = unsafe.Pointer(&_zero)
288 }
289 r0, _, e1 := Syscall6(SYS_EXTPREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
290 n = int(r0)
291 if e1 != 0 {
292 err = errnoErr(e1)
293 }
294 return
295}
296
297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
298
299func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
300 var _p0 unsafe.Pointer
301 if len(p) > 0 {
302 _p0 = unsafe.Pointer(&p[0])
303 } else {
304 _p0 = unsafe.Pointer(&_zero)
305 }
306 r0, _, e1 := Syscall6(SYS_EXTPWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), 0)
307 n = int(r0)
308 if e1 != 0 {
309 err = errnoErr(e1)
310 }
311 return
312}
313
314// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
315
316func Access(path string, mode uint32) (err error) {
317 var _p0 *byte
318 _p0, err = BytePtrFromString(path)
319 if err != nil {
320 return
321 }
322 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
323 use(unsafe.Pointer(_p0))
324 if e1 != 0 {
325 err = errnoErr(e1)
326 }
327 return
328}
329
330// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
331
332func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
333 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
334 if e1 != 0 {
335 err = errnoErr(e1)
336 }
337 return
338}
339
340// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
341
342func Chdir(path string) (err error) {
343 var _p0 *byte
344 _p0, err = BytePtrFromString(path)
345 if err != nil {
346 return
347 }
348 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
349 use(unsafe.Pointer(_p0))
350 if e1 != 0 {
351 err = errnoErr(e1)
352 }
353 return
354}
355
356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
357
358func Chflags(path string, flags int) (err error) {
359 var _p0 *byte
360 _p0, err = BytePtrFromString(path)
361 if err != nil {
362 return
363 }
364 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
365 use(unsafe.Pointer(_p0))
366 if e1 != 0 {
367 err = errnoErr(e1)
368 }
369 return
370}
371
372// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
373
374func Chmod(path string, mode uint32) (err error) {
375 var _p0 *byte
376 _p0, err = BytePtrFromString(path)
377 if err != nil {
378 return
379 }
380 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
381 use(unsafe.Pointer(_p0))
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Chown(path string, uid int, gid int) (err error) {
391 var _p0 *byte
392 _p0, err = BytePtrFromString(path)
393 if err != nil {
394 return
395 }
396 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
397 use(unsafe.Pointer(_p0))
398 if e1 != 0 {
399 err = errnoErr(e1)
400 }
401 return
402}
403
404// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
405
406func Chroot(path string) (err error) {
407 var _p0 *byte
408 _p0, err = BytePtrFromString(path)
409 if err != nil {
410 return
411 }
412 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
413 use(unsafe.Pointer(_p0))
414 if e1 != 0 {
415 err = errnoErr(e1)
416 }
417 return
418}
419
420// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
421
422func Close(fd int) (err error) {
423 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
424 if e1 != 0 {
425 err = errnoErr(e1)
426 }
427 return
428}
429
430// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
431
432func Dup(fd int) (nfd int, err error) {
433 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
434 nfd = int(r0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Dup2(from int, to int) (err error) {
444 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
445 if e1 != 0 {
446 err = errnoErr(e1)
447 }
448 return
449}
450
451// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
452
453func Exit(code int) {
454 Syscall(SYS_EXIT, uintptr(code), 0, 0)
455 return
456}
457
458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
459
460func Fchdir(fd int) (err error) {
461 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
462 if e1 != 0 {
463 err = errnoErr(e1)
464 }
465 return
466}
467
468// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
469
470func Fchflags(fd int, flags int) (err error) {
471 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
472 if e1 != 0 {
473 err = errnoErr(e1)
474 }
475 return
476}
477
478// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
479
480func Fchmod(fd int, mode uint32) (err error) {
481 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
482 if e1 != 0 {
483 err = errnoErr(e1)
484 }
485 return
486}
487
488// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
489
490func Fchown(fd int, uid int, gid int) (err error) {
491 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
492 if e1 != 0 {
493 err = errnoErr(e1)
494 }
495 return
496}
497
498// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
499
500func Flock(fd int, how int) (err error) {
501 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
502 if e1 != 0 {
503 err = errnoErr(e1)
504 }
505 return
506}
507
508// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
509
510func Fpathconf(fd int, name int) (val int, err error) {
511 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
512 val = int(r0)
513 if e1 != 0 {
514 err = errnoErr(e1)
515 }
516 return
517}
518
519// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
520
521func Fstat(fd int, stat *Stat_t) (err error) {
522 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
523 if e1 != 0 {
524 err = errnoErr(e1)
525 }
526 return
527}
528
529// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
530
531func Fstatfs(fd int, stat *Statfs_t) (err error) {
532 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
533 if e1 != 0 {
534 err = errnoErr(e1)
535 }
536 return
537}
538
539// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
540
541func Fsync(fd int) (err error) {
542 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
543 if e1 != 0 {
544 err = errnoErr(e1)
545 }
546 return
547}
548
549// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
550
551func Ftruncate(fd int, length int64) (err error) {
552 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
553 if e1 != 0 {
554 err = errnoErr(e1)
555 }
556 return
557}
558
559// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
560
561func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
562 var _p0 unsafe.Pointer
563 if len(buf) > 0 {
564 _p0 = unsafe.Pointer(&buf[0])
565 } else {
566 _p0 = unsafe.Pointer(&_zero)
567 }
568 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
569 n = int(r0)
570 if e1 != 0 {
571 err = errnoErr(e1)
572 }
573 return
574}
575
576// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
577
578func Getdtablesize() (size int) {
579 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
580 size = int(r0)
581 return
582}
583
584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
585
586func Getegid() (egid int) {
587 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
588 egid = int(r0)
589 return
590}
591
592// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
593
594func Geteuid() (uid int) {
595 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
596 uid = int(r0)
597 return
598}
599
600// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
601
602func Getgid() (gid int) {
603 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
604 gid = int(r0)
605 return
606}
607
608// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
609
610func Getpgid(pid int) (pgid int, err error) {
611 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
612 pgid = int(r0)
613 if e1 != 0 {
614 err = errnoErr(e1)
615 }
616 return
617}
618
619// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
620
621func Getpgrp() (pgrp int) {
622 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
623 pgrp = int(r0)
624 return
625}
626
627// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
628
629func Getpid() (pid int) {
630 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
631 pid = int(r0)
632 return
633}
634
635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
636
637func Getppid() (ppid int) {
638 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
639 ppid = int(r0)
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getpriority(which int, who int) (prio int, err error) {
646 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
647 prio = int(r0)
648 if e1 != 0 {
649 err = errnoErr(e1)
650 }
651 return
652}
653
654// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
655
656func Getrlimit(which int, lim *Rlimit) (err error) {
657 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
658 if e1 != 0 {
659 err = errnoErr(e1)
660 }
661 return
662}
663
664// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
665
666func Getrusage(who int, rusage *Rusage) (err error) {
667 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
668 if e1 != 0 {
669 err = errnoErr(e1)
670 }
671 return
672}
673
674// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
675
676func Getsid(pid int) (sid int, err error) {
677 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
678 sid = int(r0)
679 if e1 != 0 {
680 err = errnoErr(e1)
681 }
682 return
683}
684
685// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686
687func Gettimeofday(tv *Timeval) (err error) {
688 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
689 if e1 != 0 {
690 err = errnoErr(e1)
691 }
692 return
693}
694
695// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
696
697func Getuid() (uid int) {
698 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
699 uid = int(r0)
700 return
701}
702
703// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
704
705func Issetugid() (tainted bool) {
706 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
707 tainted = bool(r0 != 0)
708 return
709}
710
711// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
712
713func Kill(pid int, signum syscall.Signal) (err error) {
714 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Kqueue() (fd int, err error) {
724 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
725 fd = int(r0)
726 if e1 != 0 {
727 err = errnoErr(e1)
728 }
729 return
730}
731
732// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
733
734func Lchown(path string, uid int, gid int) (err error) {
735 var _p0 *byte
736 _p0, err = BytePtrFromString(path)
737 if err != nil {
738 return
739 }
740 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
741 use(unsafe.Pointer(_p0))
742 if e1 != 0 {
743 err = errnoErr(e1)
744 }
745 return
746}
747
748// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
749
750func Link(path string, link string) (err error) {
751 var _p0 *byte
752 _p0, err = BytePtrFromString(path)
753 if err != nil {
754 return
755 }
756 var _p1 *byte
757 _p1, err = BytePtrFromString(link)
758 if err != nil {
759 return
760 }
761 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
762 use(unsafe.Pointer(_p0))
763 use(unsafe.Pointer(_p1))
764 if e1 != 0 {
765 err = errnoErr(e1)
766 }
767 return
768}
769
770// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
771
772func Listen(s int, backlog int) (err error) {
773 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
774 if e1 != 0 {
775 err = errnoErr(e1)
776 }
777 return
778}
779
780// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
781
782func Lstat(path string, stat *Stat_t) (err error) {
783 var _p0 *byte
784 _p0, err = BytePtrFromString(path)
785 if err != nil {
786 return
787 }
788 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
789 use(unsafe.Pointer(_p0))
790 if e1 != 0 {
791 err = errnoErr(e1)
792 }
793 return
794}
795
796// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
797
798func Mkdir(path string, mode uint32) (err error) {
799 var _p0 *byte
800 _p0, err = BytePtrFromString(path)
801 if err != nil {
802 return
803 }
804 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
805 use(unsafe.Pointer(_p0))
806 if e1 != 0 {
807 err = errnoErr(e1)
808 }
809 return
810}
811
812// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
813
814func Mkfifo(path string, mode uint32) (err error) {
815 var _p0 *byte
816 _p0, err = BytePtrFromString(path)
817 if err != nil {
818 return
819 }
820 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
821 use(unsafe.Pointer(_p0))
822 if e1 != 0 {
823 err = errnoErr(e1)
824 }
825 return
826}
827
828// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
829
830func Mknod(path string, mode uint32, dev int) (err error) {
831 var _p0 *byte
832 _p0, err = BytePtrFromString(path)
833 if err != nil {
834 return
835 }
836 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
837 use(unsafe.Pointer(_p0))
838 if e1 != 0 {
839 err = errnoErr(e1)
840 }
841 return
842}
843
844// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
845
846func Mlock(b []byte) (err error) {
847 var _p0 unsafe.Pointer
848 if len(b) > 0 {
849 _p0 = unsafe.Pointer(&b[0])
850 } else {
851 _p0 = unsafe.Pointer(&_zero)
852 }
853 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Mlockall(flags int) (err error) {
863 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
864 if e1 != 0 {
865 err = errnoErr(e1)
866 }
867 return
868}
869
870// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
871
872func Mprotect(b []byte, prot int) (err error) {
873 var _p0 unsafe.Pointer
874 if len(b) > 0 {
875 _p0 = unsafe.Pointer(&b[0])
876 } else {
877 _p0 = unsafe.Pointer(&_zero)
878 }
879 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
880 if e1 != 0 {
881 err = errnoErr(e1)
882 }
883 return
884}
885
886// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
887
888func Munlock(b []byte) (err error) {
889 var _p0 unsafe.Pointer
890 if len(b) > 0 {
891 _p0 = unsafe.Pointer(&b[0])
892 } else {
893 _p0 = unsafe.Pointer(&_zero)
894 }
895 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Munlockall() (err error) {
905 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
906 if e1 != 0 {
907 err = errnoErr(e1)
908 }
909 return
910}
911
912// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
913
914func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
915 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
916 if e1 != 0 {
917 err = errnoErr(e1)
918 }
919 return
920}
921
922// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
923
924func Open(path string, mode int, perm uint32) (fd int, err error) {
925 var _p0 *byte
926 _p0, err = BytePtrFromString(path)
927 if err != nil {
928 return
929 }
930 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
931 use(unsafe.Pointer(_p0))
932 fd = int(r0)
933 if e1 != 0 {
934 err = errnoErr(e1)
935 }
936 return
937}
938
939// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
940
941func Pathconf(path string, name int) (val int, err error) {
942 var _p0 *byte
943 _p0, err = BytePtrFromString(path)
944 if err != nil {
945 return
946 }
947 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
948 use(unsafe.Pointer(_p0))
949 val = int(r0)
950 if e1 != 0 {
951 err = errnoErr(e1)
952 }
953 return
954}
955
956// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
957
958func read(fd int, p []byte) (n int, err error) {
959 var _p0 unsafe.Pointer
960 if len(p) > 0 {
961 _p0 = unsafe.Pointer(&p[0])
962 } else {
963 _p0 = unsafe.Pointer(&_zero)
964 }
965 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
966 n = int(r0)
967 if e1 != 0 {
968 err = errnoErr(e1)
969 }
970 return
971}
972
973// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
974
975func Readlink(path string, buf []byte) (n int, err error) {
976 var _p0 *byte
977 _p0, err = BytePtrFromString(path)
978 if err != nil {
979 return
980 }
981 var _p1 unsafe.Pointer
982 if len(buf) > 0 {
983 _p1 = unsafe.Pointer(&buf[0])
984 } else {
985 _p1 = unsafe.Pointer(&_zero)
986 }
987 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
988 use(unsafe.Pointer(_p0))
989 n = int(r0)
990 if e1 != 0 {
991 err = errnoErr(e1)
992 }
993 return
994}
995
996// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
997
998func Rename(from string, to string) (err error) {
999 var _p0 *byte
1000 _p0, err = BytePtrFromString(from)
1001 if err != nil {
1002 return
1003 }
1004 var _p1 *byte
1005 _p1, err = BytePtrFromString(to)
1006 if err != nil {
1007 return
1008 }
1009 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1010 use(unsafe.Pointer(_p0))
1011 use(unsafe.Pointer(_p1))
1012 if e1 != 0 {
1013 err = errnoErr(e1)
1014 }
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Revoke(path string) (err error) {
1021 var _p0 *byte
1022 _p0, err = BytePtrFromString(path)
1023 if err != nil {
1024 return
1025 }
1026 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1027 use(unsafe.Pointer(_p0))
1028 if e1 != 0 {
1029 err = errnoErr(e1)
1030 }
1031 return
1032}
1033
1034// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1035
1036func Rmdir(path string) (err error) {
1037 var _p0 *byte
1038 _p0, err = BytePtrFromString(path)
1039 if err != nil {
1040 return
1041 }
1042 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1043 use(unsafe.Pointer(_p0))
1044 if e1 != 0 {
1045 err = errnoErr(e1)
1046 }
1047 return
1048}
1049
1050// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1051
1052func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1053 r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
1054 newoffset = int64(r0)
1055 if e1 != 0 {
1056 err = errnoErr(e1)
1057 }
1058 return
1059}
1060
1061// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1062
1063func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1064 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1065 if e1 != 0 {
1066 err = errnoErr(e1)
1067 }
1068 return
1069}
1070
1071// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1072
1073func Setegid(egid int) (err error) {
1074 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1075 if e1 != 0 {
1076 err = errnoErr(e1)
1077 }
1078 return
1079}
1080
1081// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1082
1083func Seteuid(euid int) (err error) {
1084 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1085 if e1 != 0 {
1086 err = errnoErr(e1)
1087 }
1088 return
1089}
1090
1091// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1092
1093func Setgid(gid int) (err error) {
1094 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1095 if e1 != 0 {
1096 err = errnoErr(e1)
1097 }
1098 return
1099}
1100
1101// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1102
1103func Setlogin(name string) (err error) {
1104 var _p0 *byte
1105 _p0, err = BytePtrFromString(name)
1106 if err != nil {
1107 return
1108 }
1109 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1110 use(unsafe.Pointer(_p0))
1111 if e1 != 0 {
1112 err = errnoErr(e1)
1113 }
1114 return
1115}
1116
1117// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1118
1119func Setpgid(pid int, pgid int) (err error) {
1120 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1121 if e1 != 0 {
1122 err = errnoErr(e1)
1123 }
1124 return
1125}
1126
1127// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1128
1129func Setpriority(which int, who int, prio int) (err error) {
1130 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1131 if e1 != 0 {
1132 err = errnoErr(e1)
1133 }
1134 return
1135}
1136
1137// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1138
1139func Setregid(rgid int, egid int) (err error) {
1140 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1141 if e1 != 0 {
1142 err = errnoErr(e1)
1143 }
1144 return
1145}
1146
1147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1148
1149func Setreuid(ruid int, euid int) (err error) {
1150 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1151 if e1 != 0 {
1152 err = errnoErr(e1)
1153 }
1154 return
1155}
1156
1157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1158
1159func Setresgid(rgid int, egid int, sgid int) (err error) {
1160 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1161 if e1 != 0 {
1162 err = errnoErr(e1)
1163 }
1164 return
1165}
1166
1167// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1168
1169func Setresuid(ruid int, euid int, suid int) (err error) {
1170 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1171 if e1 != 0 {
1172 err = errnoErr(e1)
1173 }
1174 return
1175}
1176
1177// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1178
1179func Setrlimit(which int, lim *Rlimit) (err error) {
1180 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Setsid() (pid int, err error) {
1190 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1191 pid = int(r0)
1192 if e1 != 0 {
1193 err = errnoErr(e1)
1194 }
1195 return
1196}
1197
1198// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1199
1200func Settimeofday(tp *Timeval) (err error) {
1201 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1202 if e1 != 0 {
1203 err = errnoErr(e1)
1204 }
1205 return
1206}
1207
1208// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1209
1210func Setuid(uid int) (err error) {
1211 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1212 if e1 != 0 {
1213 err = errnoErr(e1)
1214 }
1215 return
1216}
1217
1218// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1219
1220func Stat(path string, stat *Stat_t) (err error) {
1221 var _p0 *byte
1222 _p0, err = BytePtrFromString(path)
1223 if err != nil {
1224 return
1225 }
1226 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1227 use(unsafe.Pointer(_p0))
1228 if e1 != 0 {
1229 err = errnoErr(e1)
1230 }
1231 return
1232}
1233
1234// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1235
1236func Statfs(path string, stat *Statfs_t) (err error) {
1237 var _p0 *byte
1238 _p0, err = BytePtrFromString(path)
1239 if err != nil {
1240 return
1241 }
1242 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1243 use(unsafe.Pointer(_p0))
1244 if e1 != 0 {
1245 err = errnoErr(e1)
1246 }
1247 return
1248}
1249
1250// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1251
1252func Symlink(path string, link string) (err error) {
1253 var _p0 *byte
1254 _p0, err = BytePtrFromString(path)
1255 if err != nil {
1256 return
1257 }
1258 var _p1 *byte
1259 _p1, err = BytePtrFromString(link)
1260 if err != nil {
1261 return
1262 }
1263 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1264 use(unsafe.Pointer(_p0))
1265 use(unsafe.Pointer(_p1))
1266 if e1 != 0 {
1267 err = errnoErr(e1)
1268 }
1269 return
1270}
1271
1272// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1273
1274func Sync() (err error) {
1275 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1276 if e1 != 0 {
1277 err = errnoErr(e1)
1278 }
1279 return
1280}
1281
1282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1283
1284func Truncate(path string, length int64) (err error) {
1285 var _p0 *byte
1286 _p0, err = BytePtrFromString(path)
1287 if err != nil {
1288 return
1289 }
1290 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
1291 use(unsafe.Pointer(_p0))
1292 if e1 != 0 {
1293 err = errnoErr(e1)
1294 }
1295 return
1296}
1297
1298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1299
1300func Umask(newmask int) (oldmask int) {
1301 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1302 oldmask = int(r0)
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func Undelete(path string) (err error) {
1309 var _p0 *byte
1310 _p0, err = BytePtrFromString(path)
1311 if err != nil {
1312 return
1313 }
1314 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1315 use(unsafe.Pointer(_p0))
1316 if e1 != 0 {
1317 err = errnoErr(e1)
1318 }
1319 return
1320}
1321
1322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1323
1324func Unlink(path string) (err error) {
1325 var _p0 *byte
1326 _p0, err = BytePtrFromString(path)
1327 if err != nil {
1328 return
1329 }
1330 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1331 use(unsafe.Pointer(_p0))
1332 if e1 != 0 {
1333 err = errnoErr(e1)
1334 }
1335 return
1336}
1337
1338// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1339
1340func Unmount(path string, flags int) (err error) {
1341 var _p0 *byte
1342 _p0, err = BytePtrFromString(path)
1343 if err != nil {
1344 return
1345 }
1346 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1347 use(unsafe.Pointer(_p0))
1348 if e1 != 0 {
1349 err = errnoErr(e1)
1350 }
1351 return
1352}
1353
1354// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1355
1356func write(fd int, p []byte) (n int, err error) {
1357 var _p0 unsafe.Pointer
1358 if len(p) > 0 {
1359 _p0 = unsafe.Pointer(&p[0])
1360 } else {
1361 _p0 = unsafe.Pointer(&_zero)
1362 }
1363 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1364 n = int(r0)
1365 if e1 != 0 {
1366 err = errnoErr(e1)
1367 }
1368 return
1369}
1370
1371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1372
1373func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1374 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
1375 ret = uintptr(r0)
1376 if e1 != 0 {
1377 err = errnoErr(e1)
1378 }
1379 return
1380}
1381
1382// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1383
1384func munmap(addr uintptr, length uintptr) (err error) {
1385 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1386 if e1 != 0 {
1387 err = errnoErr(e1)
1388 }
1389 return
1390}
1391
1392// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1393
1394func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1395 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1396 n = int(r0)
1397 if e1 != 0 {
1398 err = errnoErr(e1)
1399 }
1400 return
1401}
1402
1403// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1404
1405func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1406 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1407 n = int(r0)
1408 if e1 != 0 {
1409 err = errnoErr(e1)
1410 }
1411 return
1412}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_386.go
deleted file mode 100644
index 1a0e528..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_386.go
+++ /dev/null
@@ -1,1664 +0,0 @@
1// mksyscall.pl -l32 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,freebsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (r int, w int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 r = int(r0)
273 w = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func Access(path string, mode uint32) (err error) {
283 var _p0 *byte
284 _p0, err = BytePtrFromString(path)
285 if err != nil {
286 return
287 }
288 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
289 use(unsafe.Pointer(_p0))
290 if e1 != 0 {
291 err = errnoErr(e1)
292 }
293 return
294}
295
296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
297
298func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
299 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
300 if e1 != 0 {
301 err = errnoErr(e1)
302 }
303 return
304}
305
306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
307
308func Chdir(path string) (err error) {
309 var _p0 *byte
310 _p0, err = BytePtrFromString(path)
311 if err != nil {
312 return
313 }
314 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
315 use(unsafe.Pointer(_p0))
316 if e1 != 0 {
317 err = errnoErr(e1)
318 }
319 return
320}
321
322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
323
324func Chflags(path string, flags int) (err error) {
325 var _p0 *byte
326 _p0, err = BytePtrFromString(path)
327 if err != nil {
328 return
329 }
330 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
331 use(unsafe.Pointer(_p0))
332 if e1 != 0 {
333 err = errnoErr(e1)
334 }
335 return
336}
337
338// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
339
340func Chmod(path string, mode uint32) (err error) {
341 var _p0 *byte
342 _p0, err = BytePtrFromString(path)
343 if err != nil {
344 return
345 }
346 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
347 use(unsafe.Pointer(_p0))
348 if e1 != 0 {
349 err = errnoErr(e1)
350 }
351 return
352}
353
354// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
355
356func Chown(path string, uid int, gid int) (err error) {
357 var _p0 *byte
358 _p0, err = BytePtrFromString(path)
359 if err != nil {
360 return
361 }
362 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
363 use(unsafe.Pointer(_p0))
364 if e1 != 0 {
365 err = errnoErr(e1)
366 }
367 return
368}
369
370// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
371
372func Chroot(path string) (err error) {
373 var _p0 *byte
374 _p0, err = BytePtrFromString(path)
375 if err != nil {
376 return
377 }
378 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
379 use(unsafe.Pointer(_p0))
380 if e1 != 0 {
381 err = errnoErr(e1)
382 }
383 return
384}
385
386// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
387
388func Close(fd int) (err error) {
389 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
390 if e1 != 0 {
391 err = errnoErr(e1)
392 }
393 return
394}
395
396// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
397
398func Dup(fd int) (nfd int, err error) {
399 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
400 nfd = int(r0)
401 if e1 != 0 {
402 err = errnoErr(e1)
403 }
404 return
405}
406
407// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
408
409func Dup2(from int, to int) (err error) {
410 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
411 if e1 != 0 {
412 err = errnoErr(e1)
413 }
414 return
415}
416
417// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
418
419func Exit(code int) {
420 Syscall(SYS_EXIT, uintptr(code), 0, 0)
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
427 var _p0 *byte
428 _p0, err = BytePtrFromString(attrname)
429 if err != nil {
430 return
431 }
432 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
433 use(unsafe.Pointer(_p0))
434 ret = int(r0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(attrname)
446 if err != nil {
447 return
448 }
449 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
450 use(unsafe.Pointer(_p0))
451 ret = int(r0)
452 if e1 != 0 {
453 err = errnoErr(e1)
454 }
455 return
456}
457
458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
459
460func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
461 var _p0 *byte
462 _p0, err = BytePtrFromString(attrname)
463 if err != nil {
464 return
465 }
466 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
467 use(unsafe.Pointer(_p0))
468 if e1 != 0 {
469 err = errnoErr(e1)
470 }
471 return
472}
473
474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
475
476func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
477 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
478 ret = int(r0)
479 if e1 != 0 {
480 err = errnoErr(e1)
481 }
482 return
483}
484
485// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
486
487func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
488 var _p0 *byte
489 _p0, err = BytePtrFromString(file)
490 if err != nil {
491 return
492 }
493 var _p1 *byte
494 _p1, err = BytePtrFromString(attrname)
495 if err != nil {
496 return
497 }
498 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
499 use(unsafe.Pointer(_p0))
500 use(unsafe.Pointer(_p1))
501 ret = int(r0)
502 if e1 != 0 {
503 err = errnoErr(e1)
504 }
505 return
506}
507
508// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
509
510func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
511 var _p0 *byte
512 _p0, err = BytePtrFromString(file)
513 if err != nil {
514 return
515 }
516 var _p1 *byte
517 _p1, err = BytePtrFromString(attrname)
518 if err != nil {
519 return
520 }
521 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
522 use(unsafe.Pointer(_p0))
523 use(unsafe.Pointer(_p1))
524 ret = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
534 var _p0 *byte
535 _p0, err = BytePtrFromString(file)
536 if err != nil {
537 return
538 }
539 var _p1 *byte
540 _p1, err = BytePtrFromString(attrname)
541 if err != nil {
542 return
543 }
544 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
545 use(unsafe.Pointer(_p0))
546 use(unsafe.Pointer(_p1))
547 if e1 != 0 {
548 err = errnoErr(e1)
549 }
550 return
551}
552
553// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
554
555func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
556 var _p0 *byte
557 _p0, err = BytePtrFromString(file)
558 if err != nil {
559 return
560 }
561 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
562 use(unsafe.Pointer(_p0))
563 ret = int(r0)
564 if e1 != 0 {
565 err = errnoErr(e1)
566 }
567 return
568}
569
570// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
571
572func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
573 var _p0 *byte
574 _p0, err = BytePtrFromString(link)
575 if err != nil {
576 return
577 }
578 var _p1 *byte
579 _p1, err = BytePtrFromString(attrname)
580 if err != nil {
581 return
582 }
583 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
584 use(unsafe.Pointer(_p0))
585 use(unsafe.Pointer(_p1))
586 ret = int(r0)
587 if e1 != 0 {
588 err = errnoErr(e1)
589 }
590 return
591}
592
593// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
594
595func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
596 var _p0 *byte
597 _p0, err = BytePtrFromString(link)
598 if err != nil {
599 return
600 }
601 var _p1 *byte
602 _p1, err = BytePtrFromString(attrname)
603 if err != nil {
604 return
605 }
606 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 ret = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(link)
621 if err != nil {
622 return
623 }
624 var _p1 *byte
625 _p1, err = BytePtrFromString(attrname)
626 if err != nil {
627 return
628 }
629 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
630 use(unsafe.Pointer(_p0))
631 use(unsafe.Pointer(_p1))
632 if e1 != 0 {
633 err = errnoErr(e1)
634 }
635 return
636}
637
638// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
639
640func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
641 var _p0 *byte
642 _p0, err = BytePtrFromString(link)
643 if err != nil {
644 return
645 }
646 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
647 use(unsafe.Pointer(_p0))
648 ret = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
658 _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Fchdir(fd int) (err error) {
668 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
669 if e1 != 0 {
670 err = errnoErr(e1)
671 }
672 return
673}
674
675// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
676
677func Fchflags(fd int, flags int) (err error) {
678 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
679 if e1 != 0 {
680 err = errnoErr(e1)
681 }
682 return
683}
684
685// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686
687func Fchmod(fd int, mode uint32) (err error) {
688 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
689 if e1 != 0 {
690 err = errnoErr(e1)
691 }
692 return
693}
694
695// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
696
697func Fchown(fd int, uid int, gid int) (err error) {
698 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Flock(fd int, how int) (err error) {
708 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
709 if e1 != 0 {
710 err = errnoErr(e1)
711 }
712 return
713}
714
715// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
716
717func Fpathconf(fd int, name int) (val int, err error) {
718 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
719 val = int(r0)
720 if e1 != 0 {
721 err = errnoErr(e1)
722 }
723 return
724}
725
726// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
727
728func Fstat(fd int, stat *Stat_t) (err error) {
729 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Fstatfs(fd int, stat *Statfs_t) (err error) {
739 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
740 if e1 != 0 {
741 err = errnoErr(e1)
742 }
743 return
744}
745
746// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
747
748func Fsync(fd int) (err error) {
749 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
750 if e1 != 0 {
751 err = errnoErr(e1)
752 }
753 return
754}
755
756// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
757
758func Ftruncate(fd int, length int64) (err error) {
759 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
760 if e1 != 0 {
761 err = errnoErr(e1)
762 }
763 return
764}
765
766// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
767
768func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
769 var _p0 unsafe.Pointer
770 if len(buf) > 0 {
771 _p0 = unsafe.Pointer(&buf[0])
772 } else {
773 _p0 = unsafe.Pointer(&_zero)
774 }
775 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
776 n = int(r0)
777 if e1 != 0 {
778 err = errnoErr(e1)
779 }
780 return
781}
782
783// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
784
785func Getdtablesize() (size int) {
786 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
787 size = int(r0)
788 return
789}
790
791// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
792
793func Getegid() (egid int) {
794 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
795 egid = int(r0)
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func Geteuid() (uid int) {
802 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
803 uid = int(r0)
804 return
805}
806
807// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
808
809func Getgid() (gid int) {
810 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
811 gid = int(r0)
812 return
813}
814
815// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
816
817func Getpgid(pid int) (pgid int, err error) {
818 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
819 pgid = int(r0)
820 if e1 != 0 {
821 err = errnoErr(e1)
822 }
823 return
824}
825
826// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
827
828func Getpgrp() (pgrp int) {
829 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
830 pgrp = int(r0)
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Getpid() (pid int) {
837 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
838 pid = int(r0)
839 return
840}
841
842// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
843
844func Getppid() (ppid int) {
845 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
846 ppid = int(r0)
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Getpriority(which int, who int) (prio int, err error) {
853 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
854 prio = int(r0)
855 if e1 != 0 {
856 err = errnoErr(e1)
857 }
858 return
859}
860
861// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
862
863func Getrlimit(which int, lim *Rlimit) (err error) {
864 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
865 if e1 != 0 {
866 err = errnoErr(e1)
867 }
868 return
869}
870
871// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
872
873func Getrusage(who int, rusage *Rusage) (err error) {
874 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
875 if e1 != 0 {
876 err = errnoErr(e1)
877 }
878 return
879}
880
881// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
882
883func Getsid(pid int) (sid int, err error) {
884 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
885 sid = int(r0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Gettimeofday(tv *Timeval) (err error) {
895 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Getuid() (uid int) {
905 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
906 uid = int(r0)
907 return
908}
909
910// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
911
912func Issetugid() (tainted bool) {
913 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
914 tainted = bool(r0 != 0)
915 return
916}
917
918// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
919
920func Kill(pid int, signum syscall.Signal) (err error) {
921 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
922 if e1 != 0 {
923 err = errnoErr(e1)
924 }
925 return
926}
927
928// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
929
930func Kqueue() (fd int, err error) {
931 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
932 fd = int(r0)
933 if e1 != 0 {
934 err = errnoErr(e1)
935 }
936 return
937}
938
939// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
940
941func Lchown(path string, uid int, gid int) (err error) {
942 var _p0 *byte
943 _p0, err = BytePtrFromString(path)
944 if err != nil {
945 return
946 }
947 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
948 use(unsafe.Pointer(_p0))
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Link(path string, link string) (err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 *byte
964 _p1, err = BytePtrFromString(link)
965 if err != nil {
966 return
967 }
968 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
969 use(unsafe.Pointer(_p0))
970 use(unsafe.Pointer(_p1))
971 if e1 != 0 {
972 err = errnoErr(e1)
973 }
974 return
975}
976
977// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
978
979func Listen(s int, backlog int) (err error) {
980 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
981 if e1 != 0 {
982 err = errnoErr(e1)
983 }
984 return
985}
986
987// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
988
989func Lstat(path string, stat *Stat_t) (err error) {
990 var _p0 *byte
991 _p0, err = BytePtrFromString(path)
992 if err != nil {
993 return
994 }
995 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
996 use(unsafe.Pointer(_p0))
997 if e1 != 0 {
998 err = errnoErr(e1)
999 }
1000 return
1001}
1002
1003// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1004
1005func Mkdir(path string, mode uint32) (err error) {
1006 var _p0 *byte
1007 _p0, err = BytePtrFromString(path)
1008 if err != nil {
1009 return
1010 }
1011 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1012 use(unsafe.Pointer(_p0))
1013 if e1 != 0 {
1014 err = errnoErr(e1)
1015 }
1016 return
1017}
1018
1019// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1020
1021func Mkfifo(path string, mode uint32) (err error) {
1022 var _p0 *byte
1023 _p0, err = BytePtrFromString(path)
1024 if err != nil {
1025 return
1026 }
1027 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1028 use(unsafe.Pointer(_p0))
1029 if e1 != 0 {
1030 err = errnoErr(e1)
1031 }
1032 return
1033}
1034
1035// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1036
1037func Mknod(path string, mode uint32, dev int) (err error) {
1038 var _p0 *byte
1039 _p0, err = BytePtrFromString(path)
1040 if err != nil {
1041 return
1042 }
1043 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
1044 use(unsafe.Pointer(_p0))
1045 if e1 != 0 {
1046 err = errnoErr(e1)
1047 }
1048 return
1049}
1050
1051// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1052
1053func Mlock(b []byte) (err error) {
1054 var _p0 unsafe.Pointer
1055 if len(b) > 0 {
1056 _p0 = unsafe.Pointer(&b[0])
1057 } else {
1058 _p0 = unsafe.Pointer(&_zero)
1059 }
1060 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1061 if e1 != 0 {
1062 err = errnoErr(e1)
1063 }
1064 return
1065}
1066
1067// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1068
1069func Mlockall(flags int) (err error) {
1070 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1071 if e1 != 0 {
1072 err = errnoErr(e1)
1073 }
1074 return
1075}
1076
1077// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1078
1079func Mprotect(b []byte, prot int) (err error) {
1080 var _p0 unsafe.Pointer
1081 if len(b) > 0 {
1082 _p0 = unsafe.Pointer(&b[0])
1083 } else {
1084 _p0 = unsafe.Pointer(&_zero)
1085 }
1086 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Munlock(b []byte) (err error) {
1096 var _p0 unsafe.Pointer
1097 if len(b) > 0 {
1098 _p0 = unsafe.Pointer(&b[0])
1099 } else {
1100 _p0 = unsafe.Pointer(&_zero)
1101 }
1102 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1103 if e1 != 0 {
1104 err = errnoErr(e1)
1105 }
1106 return
1107}
1108
1109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1110
1111func Munlockall() (err error) {
1112 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1113 if e1 != 0 {
1114 err = errnoErr(e1)
1115 }
1116 return
1117}
1118
1119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1120
1121func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1122 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Open(path string, mode int, perm uint32) (fd int, err error) {
1132 var _p0 *byte
1133 _p0, err = BytePtrFromString(path)
1134 if err != nil {
1135 return
1136 }
1137 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
1138 use(unsafe.Pointer(_p0))
1139 fd = int(r0)
1140 if e1 != 0 {
1141 err = errnoErr(e1)
1142 }
1143 return
1144}
1145
1146// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1147
1148func Pathconf(path string, name int) (val int, err error) {
1149 var _p0 *byte
1150 _p0, err = BytePtrFromString(path)
1151 if err != nil {
1152 return
1153 }
1154 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
1155 use(unsafe.Pointer(_p0))
1156 val = int(r0)
1157 if e1 != 0 {
1158 err = errnoErr(e1)
1159 }
1160 return
1161}
1162
1163// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1164
1165func Pread(fd int, p []byte, offset int64) (n int, err error) {
1166 var _p0 unsafe.Pointer
1167 if len(p) > 0 {
1168 _p0 = unsafe.Pointer(&p[0])
1169 } else {
1170 _p0 = unsafe.Pointer(&_zero)
1171 }
1172 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
1173 n = int(r0)
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1183 var _p0 unsafe.Pointer
1184 if len(p) > 0 {
1185 _p0 = unsafe.Pointer(&p[0])
1186 } else {
1187 _p0 = unsafe.Pointer(&_zero)
1188 }
1189 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
1190 n = int(r0)
1191 if e1 != 0 {
1192 err = errnoErr(e1)
1193 }
1194 return
1195}
1196
1197// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1198
1199func read(fd int, p []byte) (n int, err error) {
1200 var _p0 unsafe.Pointer
1201 if len(p) > 0 {
1202 _p0 = unsafe.Pointer(&p[0])
1203 } else {
1204 _p0 = unsafe.Pointer(&_zero)
1205 }
1206 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1207 n = int(r0)
1208 if e1 != 0 {
1209 err = errnoErr(e1)
1210 }
1211 return
1212}
1213
1214// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1215
1216func Readlink(path string, buf []byte) (n int, err error) {
1217 var _p0 *byte
1218 _p0, err = BytePtrFromString(path)
1219 if err != nil {
1220 return
1221 }
1222 var _p1 unsafe.Pointer
1223 if len(buf) > 0 {
1224 _p1 = unsafe.Pointer(&buf[0])
1225 } else {
1226 _p1 = unsafe.Pointer(&_zero)
1227 }
1228 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1229 use(unsafe.Pointer(_p0))
1230 n = int(r0)
1231 if e1 != 0 {
1232 err = errnoErr(e1)
1233 }
1234 return
1235}
1236
1237// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1238
1239func Rename(from string, to string) (err error) {
1240 var _p0 *byte
1241 _p0, err = BytePtrFromString(from)
1242 if err != nil {
1243 return
1244 }
1245 var _p1 *byte
1246 _p1, err = BytePtrFromString(to)
1247 if err != nil {
1248 return
1249 }
1250 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1251 use(unsafe.Pointer(_p0))
1252 use(unsafe.Pointer(_p1))
1253 if e1 != 0 {
1254 err = errnoErr(e1)
1255 }
1256 return
1257}
1258
1259// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1260
1261func Revoke(path string) (err error) {
1262 var _p0 *byte
1263 _p0, err = BytePtrFromString(path)
1264 if err != nil {
1265 return
1266 }
1267 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1268 use(unsafe.Pointer(_p0))
1269 if e1 != 0 {
1270 err = errnoErr(e1)
1271 }
1272 return
1273}
1274
1275// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1276
1277func Rmdir(path string) (err error) {
1278 var _p0 *byte
1279 _p0, err = BytePtrFromString(path)
1280 if err != nil {
1281 return
1282 }
1283 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1284 use(unsafe.Pointer(_p0))
1285 if e1 != 0 {
1286 err = errnoErr(e1)
1287 }
1288 return
1289}
1290
1291// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1292
1293func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1294 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
1295 newoffset = int64(int64(r1)<<32 | int64(r0))
1296 if e1 != 0 {
1297 err = errnoErr(e1)
1298 }
1299 return
1300}
1301
1302// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1303
1304func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1305 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1306 if e1 != 0 {
1307 err = errnoErr(e1)
1308 }
1309 return
1310}
1311
1312// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1313
1314func Setegid(egid int) (err error) {
1315 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1316 if e1 != 0 {
1317 err = errnoErr(e1)
1318 }
1319 return
1320}
1321
1322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1323
1324func Seteuid(euid int) (err error) {
1325 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1326 if e1 != 0 {
1327 err = errnoErr(e1)
1328 }
1329 return
1330}
1331
1332// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1333
1334func Setgid(gid int) (err error) {
1335 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1336 if e1 != 0 {
1337 err = errnoErr(e1)
1338 }
1339 return
1340}
1341
1342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1343
1344func Setlogin(name string) (err error) {
1345 var _p0 *byte
1346 _p0, err = BytePtrFromString(name)
1347 if err != nil {
1348 return
1349 }
1350 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1351 use(unsafe.Pointer(_p0))
1352 if e1 != 0 {
1353 err = errnoErr(e1)
1354 }
1355 return
1356}
1357
1358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1359
1360func Setpgid(pid int, pgid int) (err error) {
1361 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1362 if e1 != 0 {
1363 err = errnoErr(e1)
1364 }
1365 return
1366}
1367
1368// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1369
1370func Setpriority(which int, who int, prio int) (err error) {
1371 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1372 if e1 != 0 {
1373 err = errnoErr(e1)
1374 }
1375 return
1376}
1377
1378// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1379
1380func Setregid(rgid int, egid int) (err error) {
1381 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
1387
1388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1389
1390func Setreuid(ruid int, euid int) (err error) {
1391 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1392 if e1 != 0 {
1393 err = errnoErr(e1)
1394 }
1395 return
1396}
1397
1398// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1399
1400func Setresgid(rgid int, egid int, sgid int) (err error) {
1401 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1402 if e1 != 0 {
1403 err = errnoErr(e1)
1404 }
1405 return
1406}
1407
1408// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1409
1410func Setresuid(ruid int, euid int, suid int) (err error) {
1411 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1412 if e1 != 0 {
1413 err = errnoErr(e1)
1414 }
1415 return
1416}
1417
1418// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1419
1420func Setrlimit(which int, lim *Rlimit) (err error) {
1421 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
1427
1428// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1429
1430func Setsid() (pid int, err error) {
1431 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1432 pid = int(r0)
1433 if e1 != 0 {
1434 err = errnoErr(e1)
1435 }
1436 return
1437}
1438
1439// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1440
1441func Settimeofday(tp *Timeval) (err error) {
1442 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1443 if e1 != 0 {
1444 err = errnoErr(e1)
1445 }
1446 return
1447}
1448
1449// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1450
1451func Setuid(uid int) (err error) {
1452 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1453 if e1 != 0 {
1454 err = errnoErr(e1)
1455 }
1456 return
1457}
1458
1459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1460
1461func Stat(path string, stat *Stat_t) (err error) {
1462 var _p0 *byte
1463 _p0, err = BytePtrFromString(path)
1464 if err != nil {
1465 return
1466 }
1467 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1468 use(unsafe.Pointer(_p0))
1469 if e1 != 0 {
1470 err = errnoErr(e1)
1471 }
1472 return
1473}
1474
1475// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1476
1477func Statfs(path string, stat *Statfs_t) (err error) {
1478 var _p0 *byte
1479 _p0, err = BytePtrFromString(path)
1480 if err != nil {
1481 return
1482 }
1483 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1484 use(unsafe.Pointer(_p0))
1485 if e1 != 0 {
1486 err = errnoErr(e1)
1487 }
1488 return
1489}
1490
1491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1492
1493func Symlink(path string, link string) (err error) {
1494 var _p0 *byte
1495 _p0, err = BytePtrFromString(path)
1496 if err != nil {
1497 return
1498 }
1499 var _p1 *byte
1500 _p1, err = BytePtrFromString(link)
1501 if err != nil {
1502 return
1503 }
1504 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1505 use(unsafe.Pointer(_p0))
1506 use(unsafe.Pointer(_p1))
1507 if e1 != 0 {
1508 err = errnoErr(e1)
1509 }
1510 return
1511}
1512
1513// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1514
1515func Sync() (err error) {
1516 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1517 if e1 != 0 {
1518 err = errnoErr(e1)
1519 }
1520 return
1521}
1522
1523// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1524
1525func Truncate(path string, length int64) (err error) {
1526 var _p0 *byte
1527 _p0, err = BytePtrFromString(path)
1528 if err != nil {
1529 return
1530 }
1531 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
1532 use(unsafe.Pointer(_p0))
1533 if e1 != 0 {
1534 err = errnoErr(e1)
1535 }
1536 return
1537}
1538
1539// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1540
1541func Umask(newmask int) (oldmask int) {
1542 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1543 oldmask = int(r0)
1544 return
1545}
1546
1547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1548
1549func Undelete(path string) (err error) {
1550 var _p0 *byte
1551 _p0, err = BytePtrFromString(path)
1552 if err != nil {
1553 return
1554 }
1555 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1556 use(unsafe.Pointer(_p0))
1557 if e1 != 0 {
1558 err = errnoErr(e1)
1559 }
1560 return
1561}
1562
1563// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1564
1565func Unlink(path string) (err error) {
1566 var _p0 *byte
1567 _p0, err = BytePtrFromString(path)
1568 if err != nil {
1569 return
1570 }
1571 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1572 use(unsafe.Pointer(_p0))
1573 if e1 != 0 {
1574 err = errnoErr(e1)
1575 }
1576 return
1577}
1578
1579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1580
1581func Unmount(path string, flags int) (err error) {
1582 var _p0 *byte
1583 _p0, err = BytePtrFromString(path)
1584 if err != nil {
1585 return
1586 }
1587 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1588 use(unsafe.Pointer(_p0))
1589 if e1 != 0 {
1590 err = errnoErr(e1)
1591 }
1592 return
1593}
1594
1595// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1596
1597func write(fd int, p []byte) (n int, err error) {
1598 var _p0 unsafe.Pointer
1599 if len(p) > 0 {
1600 _p0 = unsafe.Pointer(&p[0])
1601 } else {
1602 _p0 = unsafe.Pointer(&_zero)
1603 }
1604 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1605 n = int(r0)
1606 if e1 != 0 {
1607 err = errnoErr(e1)
1608 }
1609 return
1610}
1611
1612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1613
1614func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1615 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
1616 ret = uintptr(r0)
1617 if e1 != 0 {
1618 err = errnoErr(e1)
1619 }
1620 return
1621}
1622
1623// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1624
1625func munmap(addr uintptr, length uintptr) (err error) {
1626 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1627 if e1 != 0 {
1628 err = errnoErr(e1)
1629 }
1630 return
1631}
1632
1633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1634
1635func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1636 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1637 n = int(r0)
1638 if e1 != 0 {
1639 err = errnoErr(e1)
1640 }
1641 return
1642}
1643
1644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1645
1646func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1647 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1648 n = int(r0)
1649 if e1 != 0 {
1650 err = errnoErr(e1)
1651 }
1652 return
1653}
1654
1655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1656
1657func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
1658 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1659 nfd = int(r0)
1660 if e1 != 0 {
1661 err = errnoErr(e1)
1662 }
1663 return
1664}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
deleted file mode 100644
index 6e4cf14..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
+++ /dev/null
@@ -1,1664 +0,0 @@
1// mksyscall.pl syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,freebsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (r int, w int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 r = int(r0)
273 w = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func Access(path string, mode uint32) (err error) {
283 var _p0 *byte
284 _p0, err = BytePtrFromString(path)
285 if err != nil {
286 return
287 }
288 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
289 use(unsafe.Pointer(_p0))
290 if e1 != 0 {
291 err = errnoErr(e1)
292 }
293 return
294}
295
296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
297
298func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
299 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
300 if e1 != 0 {
301 err = errnoErr(e1)
302 }
303 return
304}
305
306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
307
308func Chdir(path string) (err error) {
309 var _p0 *byte
310 _p0, err = BytePtrFromString(path)
311 if err != nil {
312 return
313 }
314 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
315 use(unsafe.Pointer(_p0))
316 if e1 != 0 {
317 err = errnoErr(e1)
318 }
319 return
320}
321
322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
323
324func Chflags(path string, flags int) (err error) {
325 var _p0 *byte
326 _p0, err = BytePtrFromString(path)
327 if err != nil {
328 return
329 }
330 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
331 use(unsafe.Pointer(_p0))
332 if e1 != 0 {
333 err = errnoErr(e1)
334 }
335 return
336}
337
338// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
339
340func Chmod(path string, mode uint32) (err error) {
341 var _p0 *byte
342 _p0, err = BytePtrFromString(path)
343 if err != nil {
344 return
345 }
346 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
347 use(unsafe.Pointer(_p0))
348 if e1 != 0 {
349 err = errnoErr(e1)
350 }
351 return
352}
353
354// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
355
356func Chown(path string, uid int, gid int) (err error) {
357 var _p0 *byte
358 _p0, err = BytePtrFromString(path)
359 if err != nil {
360 return
361 }
362 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
363 use(unsafe.Pointer(_p0))
364 if e1 != 0 {
365 err = errnoErr(e1)
366 }
367 return
368}
369
370// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
371
372func Chroot(path string) (err error) {
373 var _p0 *byte
374 _p0, err = BytePtrFromString(path)
375 if err != nil {
376 return
377 }
378 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
379 use(unsafe.Pointer(_p0))
380 if e1 != 0 {
381 err = errnoErr(e1)
382 }
383 return
384}
385
386// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
387
388func Close(fd int) (err error) {
389 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
390 if e1 != 0 {
391 err = errnoErr(e1)
392 }
393 return
394}
395
396// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
397
398func Dup(fd int) (nfd int, err error) {
399 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
400 nfd = int(r0)
401 if e1 != 0 {
402 err = errnoErr(e1)
403 }
404 return
405}
406
407// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
408
409func Dup2(from int, to int) (err error) {
410 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
411 if e1 != 0 {
412 err = errnoErr(e1)
413 }
414 return
415}
416
417// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
418
419func Exit(code int) {
420 Syscall(SYS_EXIT, uintptr(code), 0, 0)
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
427 var _p0 *byte
428 _p0, err = BytePtrFromString(attrname)
429 if err != nil {
430 return
431 }
432 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
433 use(unsafe.Pointer(_p0))
434 ret = int(r0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(attrname)
446 if err != nil {
447 return
448 }
449 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
450 use(unsafe.Pointer(_p0))
451 ret = int(r0)
452 if e1 != 0 {
453 err = errnoErr(e1)
454 }
455 return
456}
457
458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
459
460func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
461 var _p0 *byte
462 _p0, err = BytePtrFromString(attrname)
463 if err != nil {
464 return
465 }
466 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
467 use(unsafe.Pointer(_p0))
468 if e1 != 0 {
469 err = errnoErr(e1)
470 }
471 return
472}
473
474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
475
476func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
477 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
478 ret = int(r0)
479 if e1 != 0 {
480 err = errnoErr(e1)
481 }
482 return
483}
484
485// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
486
487func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
488 var _p0 *byte
489 _p0, err = BytePtrFromString(file)
490 if err != nil {
491 return
492 }
493 var _p1 *byte
494 _p1, err = BytePtrFromString(attrname)
495 if err != nil {
496 return
497 }
498 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
499 use(unsafe.Pointer(_p0))
500 use(unsafe.Pointer(_p1))
501 ret = int(r0)
502 if e1 != 0 {
503 err = errnoErr(e1)
504 }
505 return
506}
507
508// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
509
510func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
511 var _p0 *byte
512 _p0, err = BytePtrFromString(file)
513 if err != nil {
514 return
515 }
516 var _p1 *byte
517 _p1, err = BytePtrFromString(attrname)
518 if err != nil {
519 return
520 }
521 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
522 use(unsafe.Pointer(_p0))
523 use(unsafe.Pointer(_p1))
524 ret = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
534 var _p0 *byte
535 _p0, err = BytePtrFromString(file)
536 if err != nil {
537 return
538 }
539 var _p1 *byte
540 _p1, err = BytePtrFromString(attrname)
541 if err != nil {
542 return
543 }
544 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
545 use(unsafe.Pointer(_p0))
546 use(unsafe.Pointer(_p1))
547 if e1 != 0 {
548 err = errnoErr(e1)
549 }
550 return
551}
552
553// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
554
555func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
556 var _p0 *byte
557 _p0, err = BytePtrFromString(file)
558 if err != nil {
559 return
560 }
561 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
562 use(unsafe.Pointer(_p0))
563 ret = int(r0)
564 if e1 != 0 {
565 err = errnoErr(e1)
566 }
567 return
568}
569
570// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
571
572func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
573 var _p0 *byte
574 _p0, err = BytePtrFromString(link)
575 if err != nil {
576 return
577 }
578 var _p1 *byte
579 _p1, err = BytePtrFromString(attrname)
580 if err != nil {
581 return
582 }
583 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
584 use(unsafe.Pointer(_p0))
585 use(unsafe.Pointer(_p1))
586 ret = int(r0)
587 if e1 != 0 {
588 err = errnoErr(e1)
589 }
590 return
591}
592
593// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
594
595func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
596 var _p0 *byte
597 _p0, err = BytePtrFromString(link)
598 if err != nil {
599 return
600 }
601 var _p1 *byte
602 _p1, err = BytePtrFromString(attrname)
603 if err != nil {
604 return
605 }
606 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 ret = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(link)
621 if err != nil {
622 return
623 }
624 var _p1 *byte
625 _p1, err = BytePtrFromString(attrname)
626 if err != nil {
627 return
628 }
629 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
630 use(unsafe.Pointer(_p0))
631 use(unsafe.Pointer(_p1))
632 if e1 != 0 {
633 err = errnoErr(e1)
634 }
635 return
636}
637
638// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
639
640func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
641 var _p0 *byte
642 _p0, err = BytePtrFromString(link)
643 if err != nil {
644 return
645 }
646 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
647 use(unsafe.Pointer(_p0))
648 ret = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
658 _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Fchdir(fd int) (err error) {
668 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
669 if e1 != 0 {
670 err = errnoErr(e1)
671 }
672 return
673}
674
675// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
676
677func Fchflags(fd int, flags int) (err error) {
678 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
679 if e1 != 0 {
680 err = errnoErr(e1)
681 }
682 return
683}
684
685// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686
687func Fchmod(fd int, mode uint32) (err error) {
688 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
689 if e1 != 0 {
690 err = errnoErr(e1)
691 }
692 return
693}
694
695// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
696
697func Fchown(fd int, uid int, gid int) (err error) {
698 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Flock(fd int, how int) (err error) {
708 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
709 if e1 != 0 {
710 err = errnoErr(e1)
711 }
712 return
713}
714
715// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
716
717func Fpathconf(fd int, name int) (val int, err error) {
718 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
719 val = int(r0)
720 if e1 != 0 {
721 err = errnoErr(e1)
722 }
723 return
724}
725
726// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
727
728func Fstat(fd int, stat *Stat_t) (err error) {
729 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Fstatfs(fd int, stat *Statfs_t) (err error) {
739 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
740 if e1 != 0 {
741 err = errnoErr(e1)
742 }
743 return
744}
745
746// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
747
748func Fsync(fd int) (err error) {
749 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
750 if e1 != 0 {
751 err = errnoErr(e1)
752 }
753 return
754}
755
756// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
757
758func Ftruncate(fd int, length int64) (err error) {
759 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
760 if e1 != 0 {
761 err = errnoErr(e1)
762 }
763 return
764}
765
766// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
767
768func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
769 var _p0 unsafe.Pointer
770 if len(buf) > 0 {
771 _p0 = unsafe.Pointer(&buf[0])
772 } else {
773 _p0 = unsafe.Pointer(&_zero)
774 }
775 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
776 n = int(r0)
777 if e1 != 0 {
778 err = errnoErr(e1)
779 }
780 return
781}
782
783// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
784
785func Getdtablesize() (size int) {
786 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
787 size = int(r0)
788 return
789}
790
791// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
792
793func Getegid() (egid int) {
794 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
795 egid = int(r0)
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func Geteuid() (uid int) {
802 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
803 uid = int(r0)
804 return
805}
806
807// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
808
809func Getgid() (gid int) {
810 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
811 gid = int(r0)
812 return
813}
814
815// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
816
817func Getpgid(pid int) (pgid int, err error) {
818 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
819 pgid = int(r0)
820 if e1 != 0 {
821 err = errnoErr(e1)
822 }
823 return
824}
825
826// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
827
828func Getpgrp() (pgrp int) {
829 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
830 pgrp = int(r0)
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Getpid() (pid int) {
837 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
838 pid = int(r0)
839 return
840}
841
842// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
843
844func Getppid() (ppid int) {
845 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
846 ppid = int(r0)
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Getpriority(which int, who int) (prio int, err error) {
853 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
854 prio = int(r0)
855 if e1 != 0 {
856 err = errnoErr(e1)
857 }
858 return
859}
860
861// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
862
863func Getrlimit(which int, lim *Rlimit) (err error) {
864 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
865 if e1 != 0 {
866 err = errnoErr(e1)
867 }
868 return
869}
870
871// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
872
873func Getrusage(who int, rusage *Rusage) (err error) {
874 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
875 if e1 != 0 {
876 err = errnoErr(e1)
877 }
878 return
879}
880
881// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
882
883func Getsid(pid int) (sid int, err error) {
884 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
885 sid = int(r0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Gettimeofday(tv *Timeval) (err error) {
895 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Getuid() (uid int) {
905 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
906 uid = int(r0)
907 return
908}
909
910// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
911
912func Issetugid() (tainted bool) {
913 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
914 tainted = bool(r0 != 0)
915 return
916}
917
918// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
919
920func Kill(pid int, signum syscall.Signal) (err error) {
921 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
922 if e1 != 0 {
923 err = errnoErr(e1)
924 }
925 return
926}
927
928// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
929
930func Kqueue() (fd int, err error) {
931 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
932 fd = int(r0)
933 if e1 != 0 {
934 err = errnoErr(e1)
935 }
936 return
937}
938
939// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
940
941func Lchown(path string, uid int, gid int) (err error) {
942 var _p0 *byte
943 _p0, err = BytePtrFromString(path)
944 if err != nil {
945 return
946 }
947 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
948 use(unsafe.Pointer(_p0))
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Link(path string, link string) (err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 *byte
964 _p1, err = BytePtrFromString(link)
965 if err != nil {
966 return
967 }
968 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
969 use(unsafe.Pointer(_p0))
970 use(unsafe.Pointer(_p1))
971 if e1 != 0 {
972 err = errnoErr(e1)
973 }
974 return
975}
976
977// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
978
979func Listen(s int, backlog int) (err error) {
980 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
981 if e1 != 0 {
982 err = errnoErr(e1)
983 }
984 return
985}
986
987// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
988
989func Lstat(path string, stat *Stat_t) (err error) {
990 var _p0 *byte
991 _p0, err = BytePtrFromString(path)
992 if err != nil {
993 return
994 }
995 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
996 use(unsafe.Pointer(_p0))
997 if e1 != 0 {
998 err = errnoErr(e1)
999 }
1000 return
1001}
1002
1003// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1004
1005func Mkdir(path string, mode uint32) (err error) {
1006 var _p0 *byte
1007 _p0, err = BytePtrFromString(path)
1008 if err != nil {
1009 return
1010 }
1011 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1012 use(unsafe.Pointer(_p0))
1013 if e1 != 0 {
1014 err = errnoErr(e1)
1015 }
1016 return
1017}
1018
1019// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1020
1021func Mkfifo(path string, mode uint32) (err error) {
1022 var _p0 *byte
1023 _p0, err = BytePtrFromString(path)
1024 if err != nil {
1025 return
1026 }
1027 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1028 use(unsafe.Pointer(_p0))
1029 if e1 != 0 {
1030 err = errnoErr(e1)
1031 }
1032 return
1033}
1034
1035// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1036
1037func Mknod(path string, mode uint32, dev int) (err error) {
1038 var _p0 *byte
1039 _p0, err = BytePtrFromString(path)
1040 if err != nil {
1041 return
1042 }
1043 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
1044 use(unsafe.Pointer(_p0))
1045 if e1 != 0 {
1046 err = errnoErr(e1)
1047 }
1048 return
1049}
1050
1051// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1052
1053func Mlock(b []byte) (err error) {
1054 var _p0 unsafe.Pointer
1055 if len(b) > 0 {
1056 _p0 = unsafe.Pointer(&b[0])
1057 } else {
1058 _p0 = unsafe.Pointer(&_zero)
1059 }
1060 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1061 if e1 != 0 {
1062 err = errnoErr(e1)
1063 }
1064 return
1065}
1066
1067// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1068
1069func Mlockall(flags int) (err error) {
1070 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1071 if e1 != 0 {
1072 err = errnoErr(e1)
1073 }
1074 return
1075}
1076
1077// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1078
1079func Mprotect(b []byte, prot int) (err error) {
1080 var _p0 unsafe.Pointer
1081 if len(b) > 0 {
1082 _p0 = unsafe.Pointer(&b[0])
1083 } else {
1084 _p0 = unsafe.Pointer(&_zero)
1085 }
1086 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Munlock(b []byte) (err error) {
1096 var _p0 unsafe.Pointer
1097 if len(b) > 0 {
1098 _p0 = unsafe.Pointer(&b[0])
1099 } else {
1100 _p0 = unsafe.Pointer(&_zero)
1101 }
1102 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1103 if e1 != 0 {
1104 err = errnoErr(e1)
1105 }
1106 return
1107}
1108
1109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1110
1111func Munlockall() (err error) {
1112 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1113 if e1 != 0 {
1114 err = errnoErr(e1)
1115 }
1116 return
1117}
1118
1119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1120
1121func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1122 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Open(path string, mode int, perm uint32) (fd int, err error) {
1132 var _p0 *byte
1133 _p0, err = BytePtrFromString(path)
1134 if err != nil {
1135 return
1136 }
1137 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
1138 use(unsafe.Pointer(_p0))
1139 fd = int(r0)
1140 if e1 != 0 {
1141 err = errnoErr(e1)
1142 }
1143 return
1144}
1145
1146// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1147
1148func Pathconf(path string, name int) (val int, err error) {
1149 var _p0 *byte
1150 _p0, err = BytePtrFromString(path)
1151 if err != nil {
1152 return
1153 }
1154 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
1155 use(unsafe.Pointer(_p0))
1156 val = int(r0)
1157 if e1 != 0 {
1158 err = errnoErr(e1)
1159 }
1160 return
1161}
1162
1163// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1164
1165func Pread(fd int, p []byte, offset int64) (n int, err error) {
1166 var _p0 unsafe.Pointer
1167 if len(p) > 0 {
1168 _p0 = unsafe.Pointer(&p[0])
1169 } else {
1170 _p0 = unsafe.Pointer(&_zero)
1171 }
1172 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1173 n = int(r0)
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1183 var _p0 unsafe.Pointer
1184 if len(p) > 0 {
1185 _p0 = unsafe.Pointer(&p[0])
1186 } else {
1187 _p0 = unsafe.Pointer(&_zero)
1188 }
1189 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1190 n = int(r0)
1191 if e1 != 0 {
1192 err = errnoErr(e1)
1193 }
1194 return
1195}
1196
1197// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1198
1199func read(fd int, p []byte) (n int, err error) {
1200 var _p0 unsafe.Pointer
1201 if len(p) > 0 {
1202 _p0 = unsafe.Pointer(&p[0])
1203 } else {
1204 _p0 = unsafe.Pointer(&_zero)
1205 }
1206 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1207 n = int(r0)
1208 if e1 != 0 {
1209 err = errnoErr(e1)
1210 }
1211 return
1212}
1213
1214// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1215
1216func Readlink(path string, buf []byte) (n int, err error) {
1217 var _p0 *byte
1218 _p0, err = BytePtrFromString(path)
1219 if err != nil {
1220 return
1221 }
1222 var _p1 unsafe.Pointer
1223 if len(buf) > 0 {
1224 _p1 = unsafe.Pointer(&buf[0])
1225 } else {
1226 _p1 = unsafe.Pointer(&_zero)
1227 }
1228 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1229 use(unsafe.Pointer(_p0))
1230 n = int(r0)
1231 if e1 != 0 {
1232 err = errnoErr(e1)
1233 }
1234 return
1235}
1236
1237// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1238
1239func Rename(from string, to string) (err error) {
1240 var _p0 *byte
1241 _p0, err = BytePtrFromString(from)
1242 if err != nil {
1243 return
1244 }
1245 var _p1 *byte
1246 _p1, err = BytePtrFromString(to)
1247 if err != nil {
1248 return
1249 }
1250 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1251 use(unsafe.Pointer(_p0))
1252 use(unsafe.Pointer(_p1))
1253 if e1 != 0 {
1254 err = errnoErr(e1)
1255 }
1256 return
1257}
1258
1259// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1260
1261func Revoke(path string) (err error) {
1262 var _p0 *byte
1263 _p0, err = BytePtrFromString(path)
1264 if err != nil {
1265 return
1266 }
1267 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1268 use(unsafe.Pointer(_p0))
1269 if e1 != 0 {
1270 err = errnoErr(e1)
1271 }
1272 return
1273}
1274
1275// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1276
1277func Rmdir(path string) (err error) {
1278 var _p0 *byte
1279 _p0, err = BytePtrFromString(path)
1280 if err != nil {
1281 return
1282 }
1283 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1284 use(unsafe.Pointer(_p0))
1285 if e1 != 0 {
1286 err = errnoErr(e1)
1287 }
1288 return
1289}
1290
1291// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1292
1293func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1294 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1295 newoffset = int64(r0)
1296 if e1 != 0 {
1297 err = errnoErr(e1)
1298 }
1299 return
1300}
1301
1302// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1303
1304func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1305 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1306 if e1 != 0 {
1307 err = errnoErr(e1)
1308 }
1309 return
1310}
1311
1312// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1313
1314func Setegid(egid int) (err error) {
1315 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1316 if e1 != 0 {
1317 err = errnoErr(e1)
1318 }
1319 return
1320}
1321
1322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1323
1324func Seteuid(euid int) (err error) {
1325 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1326 if e1 != 0 {
1327 err = errnoErr(e1)
1328 }
1329 return
1330}
1331
1332// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1333
1334func Setgid(gid int) (err error) {
1335 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1336 if e1 != 0 {
1337 err = errnoErr(e1)
1338 }
1339 return
1340}
1341
1342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1343
1344func Setlogin(name string) (err error) {
1345 var _p0 *byte
1346 _p0, err = BytePtrFromString(name)
1347 if err != nil {
1348 return
1349 }
1350 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1351 use(unsafe.Pointer(_p0))
1352 if e1 != 0 {
1353 err = errnoErr(e1)
1354 }
1355 return
1356}
1357
1358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1359
1360func Setpgid(pid int, pgid int) (err error) {
1361 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1362 if e1 != 0 {
1363 err = errnoErr(e1)
1364 }
1365 return
1366}
1367
1368// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1369
1370func Setpriority(which int, who int, prio int) (err error) {
1371 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1372 if e1 != 0 {
1373 err = errnoErr(e1)
1374 }
1375 return
1376}
1377
1378// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1379
1380func Setregid(rgid int, egid int) (err error) {
1381 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
1387
1388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1389
1390func Setreuid(ruid int, euid int) (err error) {
1391 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1392 if e1 != 0 {
1393 err = errnoErr(e1)
1394 }
1395 return
1396}
1397
1398// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1399
1400func Setresgid(rgid int, egid int, sgid int) (err error) {
1401 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1402 if e1 != 0 {
1403 err = errnoErr(e1)
1404 }
1405 return
1406}
1407
1408// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1409
1410func Setresuid(ruid int, euid int, suid int) (err error) {
1411 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1412 if e1 != 0 {
1413 err = errnoErr(e1)
1414 }
1415 return
1416}
1417
1418// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1419
1420func Setrlimit(which int, lim *Rlimit) (err error) {
1421 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
1427
1428// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1429
1430func Setsid() (pid int, err error) {
1431 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1432 pid = int(r0)
1433 if e1 != 0 {
1434 err = errnoErr(e1)
1435 }
1436 return
1437}
1438
1439// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1440
1441func Settimeofday(tp *Timeval) (err error) {
1442 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1443 if e1 != 0 {
1444 err = errnoErr(e1)
1445 }
1446 return
1447}
1448
1449// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1450
1451func Setuid(uid int) (err error) {
1452 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1453 if e1 != 0 {
1454 err = errnoErr(e1)
1455 }
1456 return
1457}
1458
1459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1460
1461func Stat(path string, stat *Stat_t) (err error) {
1462 var _p0 *byte
1463 _p0, err = BytePtrFromString(path)
1464 if err != nil {
1465 return
1466 }
1467 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1468 use(unsafe.Pointer(_p0))
1469 if e1 != 0 {
1470 err = errnoErr(e1)
1471 }
1472 return
1473}
1474
1475// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1476
1477func Statfs(path string, stat *Statfs_t) (err error) {
1478 var _p0 *byte
1479 _p0, err = BytePtrFromString(path)
1480 if err != nil {
1481 return
1482 }
1483 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1484 use(unsafe.Pointer(_p0))
1485 if e1 != 0 {
1486 err = errnoErr(e1)
1487 }
1488 return
1489}
1490
1491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1492
1493func Symlink(path string, link string) (err error) {
1494 var _p0 *byte
1495 _p0, err = BytePtrFromString(path)
1496 if err != nil {
1497 return
1498 }
1499 var _p1 *byte
1500 _p1, err = BytePtrFromString(link)
1501 if err != nil {
1502 return
1503 }
1504 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1505 use(unsafe.Pointer(_p0))
1506 use(unsafe.Pointer(_p1))
1507 if e1 != 0 {
1508 err = errnoErr(e1)
1509 }
1510 return
1511}
1512
1513// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1514
1515func Sync() (err error) {
1516 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1517 if e1 != 0 {
1518 err = errnoErr(e1)
1519 }
1520 return
1521}
1522
1523// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1524
1525func Truncate(path string, length int64) (err error) {
1526 var _p0 *byte
1527 _p0, err = BytePtrFromString(path)
1528 if err != nil {
1529 return
1530 }
1531 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1532 use(unsafe.Pointer(_p0))
1533 if e1 != 0 {
1534 err = errnoErr(e1)
1535 }
1536 return
1537}
1538
1539// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1540
1541func Umask(newmask int) (oldmask int) {
1542 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1543 oldmask = int(r0)
1544 return
1545}
1546
1547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1548
1549func Undelete(path string) (err error) {
1550 var _p0 *byte
1551 _p0, err = BytePtrFromString(path)
1552 if err != nil {
1553 return
1554 }
1555 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1556 use(unsafe.Pointer(_p0))
1557 if e1 != 0 {
1558 err = errnoErr(e1)
1559 }
1560 return
1561}
1562
1563// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1564
1565func Unlink(path string) (err error) {
1566 var _p0 *byte
1567 _p0, err = BytePtrFromString(path)
1568 if err != nil {
1569 return
1570 }
1571 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1572 use(unsafe.Pointer(_p0))
1573 if e1 != 0 {
1574 err = errnoErr(e1)
1575 }
1576 return
1577}
1578
1579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1580
1581func Unmount(path string, flags int) (err error) {
1582 var _p0 *byte
1583 _p0, err = BytePtrFromString(path)
1584 if err != nil {
1585 return
1586 }
1587 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1588 use(unsafe.Pointer(_p0))
1589 if e1 != 0 {
1590 err = errnoErr(e1)
1591 }
1592 return
1593}
1594
1595// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1596
1597func write(fd int, p []byte) (n int, err error) {
1598 var _p0 unsafe.Pointer
1599 if len(p) > 0 {
1600 _p0 = unsafe.Pointer(&p[0])
1601 } else {
1602 _p0 = unsafe.Pointer(&_zero)
1603 }
1604 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1605 n = int(r0)
1606 if e1 != 0 {
1607 err = errnoErr(e1)
1608 }
1609 return
1610}
1611
1612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1613
1614func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1615 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1616 ret = uintptr(r0)
1617 if e1 != 0 {
1618 err = errnoErr(e1)
1619 }
1620 return
1621}
1622
1623// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1624
1625func munmap(addr uintptr, length uintptr) (err error) {
1626 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1627 if e1 != 0 {
1628 err = errnoErr(e1)
1629 }
1630 return
1631}
1632
1633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1634
1635func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1636 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1637 n = int(r0)
1638 if e1 != 0 {
1639 err = errnoErr(e1)
1640 }
1641 return
1642}
1643
1644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1645
1646func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1647 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1648 n = int(r0)
1649 if e1 != 0 {
1650 err = errnoErr(e1)
1651 }
1652 return
1653}
1654
1655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1656
1657func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
1658 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1659 nfd = int(r0)
1660 if e1 != 0 {
1661 err = errnoErr(e1)
1662 }
1663 return
1664}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
deleted file mode 100644
index 1872d32..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
+++ /dev/null
@@ -1,1664 +0,0 @@
1// mksyscall.pl -l32 -arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,freebsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (r int, w int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 r = int(r0)
273 w = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func Access(path string, mode uint32) (err error) {
283 var _p0 *byte
284 _p0, err = BytePtrFromString(path)
285 if err != nil {
286 return
287 }
288 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
289 use(unsafe.Pointer(_p0))
290 if e1 != 0 {
291 err = errnoErr(e1)
292 }
293 return
294}
295
296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
297
298func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
299 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
300 if e1 != 0 {
301 err = errnoErr(e1)
302 }
303 return
304}
305
306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
307
308func Chdir(path string) (err error) {
309 var _p0 *byte
310 _p0, err = BytePtrFromString(path)
311 if err != nil {
312 return
313 }
314 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
315 use(unsafe.Pointer(_p0))
316 if e1 != 0 {
317 err = errnoErr(e1)
318 }
319 return
320}
321
322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
323
324func Chflags(path string, flags int) (err error) {
325 var _p0 *byte
326 _p0, err = BytePtrFromString(path)
327 if err != nil {
328 return
329 }
330 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
331 use(unsafe.Pointer(_p0))
332 if e1 != 0 {
333 err = errnoErr(e1)
334 }
335 return
336}
337
338// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
339
340func Chmod(path string, mode uint32) (err error) {
341 var _p0 *byte
342 _p0, err = BytePtrFromString(path)
343 if err != nil {
344 return
345 }
346 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
347 use(unsafe.Pointer(_p0))
348 if e1 != 0 {
349 err = errnoErr(e1)
350 }
351 return
352}
353
354// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
355
356func Chown(path string, uid int, gid int) (err error) {
357 var _p0 *byte
358 _p0, err = BytePtrFromString(path)
359 if err != nil {
360 return
361 }
362 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
363 use(unsafe.Pointer(_p0))
364 if e1 != 0 {
365 err = errnoErr(e1)
366 }
367 return
368}
369
370// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
371
372func Chroot(path string) (err error) {
373 var _p0 *byte
374 _p0, err = BytePtrFromString(path)
375 if err != nil {
376 return
377 }
378 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
379 use(unsafe.Pointer(_p0))
380 if e1 != 0 {
381 err = errnoErr(e1)
382 }
383 return
384}
385
386// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
387
388func Close(fd int) (err error) {
389 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
390 if e1 != 0 {
391 err = errnoErr(e1)
392 }
393 return
394}
395
396// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
397
398func Dup(fd int) (nfd int, err error) {
399 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
400 nfd = int(r0)
401 if e1 != 0 {
402 err = errnoErr(e1)
403 }
404 return
405}
406
407// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
408
409func Dup2(from int, to int) (err error) {
410 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
411 if e1 != 0 {
412 err = errnoErr(e1)
413 }
414 return
415}
416
417// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
418
419func Exit(code int) {
420 Syscall(SYS_EXIT, uintptr(code), 0, 0)
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
427 var _p0 *byte
428 _p0, err = BytePtrFromString(attrname)
429 if err != nil {
430 return
431 }
432 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
433 use(unsafe.Pointer(_p0))
434 ret = int(r0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(attrname)
446 if err != nil {
447 return
448 }
449 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
450 use(unsafe.Pointer(_p0))
451 ret = int(r0)
452 if e1 != 0 {
453 err = errnoErr(e1)
454 }
455 return
456}
457
458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
459
460func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
461 var _p0 *byte
462 _p0, err = BytePtrFromString(attrname)
463 if err != nil {
464 return
465 }
466 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
467 use(unsafe.Pointer(_p0))
468 if e1 != 0 {
469 err = errnoErr(e1)
470 }
471 return
472}
473
474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
475
476func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
477 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
478 ret = int(r0)
479 if e1 != 0 {
480 err = errnoErr(e1)
481 }
482 return
483}
484
485// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
486
487func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
488 var _p0 *byte
489 _p0, err = BytePtrFromString(file)
490 if err != nil {
491 return
492 }
493 var _p1 *byte
494 _p1, err = BytePtrFromString(attrname)
495 if err != nil {
496 return
497 }
498 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
499 use(unsafe.Pointer(_p0))
500 use(unsafe.Pointer(_p1))
501 ret = int(r0)
502 if e1 != 0 {
503 err = errnoErr(e1)
504 }
505 return
506}
507
508// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
509
510func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
511 var _p0 *byte
512 _p0, err = BytePtrFromString(file)
513 if err != nil {
514 return
515 }
516 var _p1 *byte
517 _p1, err = BytePtrFromString(attrname)
518 if err != nil {
519 return
520 }
521 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
522 use(unsafe.Pointer(_p0))
523 use(unsafe.Pointer(_p1))
524 ret = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
534 var _p0 *byte
535 _p0, err = BytePtrFromString(file)
536 if err != nil {
537 return
538 }
539 var _p1 *byte
540 _p1, err = BytePtrFromString(attrname)
541 if err != nil {
542 return
543 }
544 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
545 use(unsafe.Pointer(_p0))
546 use(unsafe.Pointer(_p1))
547 if e1 != 0 {
548 err = errnoErr(e1)
549 }
550 return
551}
552
553// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
554
555func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
556 var _p0 *byte
557 _p0, err = BytePtrFromString(file)
558 if err != nil {
559 return
560 }
561 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
562 use(unsafe.Pointer(_p0))
563 ret = int(r0)
564 if e1 != 0 {
565 err = errnoErr(e1)
566 }
567 return
568}
569
570// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
571
572func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
573 var _p0 *byte
574 _p0, err = BytePtrFromString(link)
575 if err != nil {
576 return
577 }
578 var _p1 *byte
579 _p1, err = BytePtrFromString(attrname)
580 if err != nil {
581 return
582 }
583 r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
584 use(unsafe.Pointer(_p0))
585 use(unsafe.Pointer(_p1))
586 ret = int(r0)
587 if e1 != 0 {
588 err = errnoErr(e1)
589 }
590 return
591}
592
593// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
594
595func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
596 var _p0 *byte
597 _p0, err = BytePtrFromString(link)
598 if err != nil {
599 return
600 }
601 var _p1 *byte
602 _p1, err = BytePtrFromString(attrname)
603 if err != nil {
604 return
605 }
606 r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 ret = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(link)
621 if err != nil {
622 return
623 }
624 var _p1 *byte
625 _p1, err = BytePtrFromString(attrname)
626 if err != nil {
627 return
628 }
629 _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
630 use(unsafe.Pointer(_p0))
631 use(unsafe.Pointer(_p1))
632 if e1 != 0 {
633 err = errnoErr(e1)
634 }
635 return
636}
637
638// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
639
640func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
641 var _p0 *byte
642 _p0, err = BytePtrFromString(link)
643 if err != nil {
644 return
645 }
646 r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
647 use(unsafe.Pointer(_p0))
648 ret = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
658 _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Fchdir(fd int) (err error) {
668 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
669 if e1 != 0 {
670 err = errnoErr(e1)
671 }
672 return
673}
674
675// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
676
677func Fchflags(fd int, flags int) (err error) {
678 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
679 if e1 != 0 {
680 err = errnoErr(e1)
681 }
682 return
683}
684
685// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686
687func Fchmod(fd int, mode uint32) (err error) {
688 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
689 if e1 != 0 {
690 err = errnoErr(e1)
691 }
692 return
693}
694
695// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
696
697func Fchown(fd int, uid int, gid int) (err error) {
698 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Flock(fd int, how int) (err error) {
708 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
709 if e1 != 0 {
710 err = errnoErr(e1)
711 }
712 return
713}
714
715// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
716
717func Fpathconf(fd int, name int) (val int, err error) {
718 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
719 val = int(r0)
720 if e1 != 0 {
721 err = errnoErr(e1)
722 }
723 return
724}
725
726// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
727
728func Fstat(fd int, stat *Stat_t) (err error) {
729 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Fstatfs(fd int, stat *Statfs_t) (err error) {
739 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
740 if e1 != 0 {
741 err = errnoErr(e1)
742 }
743 return
744}
745
746// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
747
748func Fsync(fd int) (err error) {
749 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
750 if e1 != 0 {
751 err = errnoErr(e1)
752 }
753 return
754}
755
756// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
757
758func Ftruncate(fd int, length int64) (err error) {
759 _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
760 if e1 != 0 {
761 err = errnoErr(e1)
762 }
763 return
764}
765
766// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
767
768func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
769 var _p0 unsafe.Pointer
770 if len(buf) > 0 {
771 _p0 = unsafe.Pointer(&buf[0])
772 } else {
773 _p0 = unsafe.Pointer(&_zero)
774 }
775 r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
776 n = int(r0)
777 if e1 != 0 {
778 err = errnoErr(e1)
779 }
780 return
781}
782
783// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
784
785func Getdtablesize() (size int) {
786 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
787 size = int(r0)
788 return
789}
790
791// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
792
793func Getegid() (egid int) {
794 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
795 egid = int(r0)
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func Geteuid() (uid int) {
802 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
803 uid = int(r0)
804 return
805}
806
807// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
808
809func Getgid() (gid int) {
810 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
811 gid = int(r0)
812 return
813}
814
815// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
816
817func Getpgid(pid int) (pgid int, err error) {
818 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
819 pgid = int(r0)
820 if e1 != 0 {
821 err = errnoErr(e1)
822 }
823 return
824}
825
826// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
827
828func Getpgrp() (pgrp int) {
829 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
830 pgrp = int(r0)
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Getpid() (pid int) {
837 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
838 pid = int(r0)
839 return
840}
841
842// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
843
844func Getppid() (ppid int) {
845 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
846 ppid = int(r0)
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Getpriority(which int, who int) (prio int, err error) {
853 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
854 prio = int(r0)
855 if e1 != 0 {
856 err = errnoErr(e1)
857 }
858 return
859}
860
861// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
862
863func Getrlimit(which int, lim *Rlimit) (err error) {
864 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
865 if e1 != 0 {
866 err = errnoErr(e1)
867 }
868 return
869}
870
871// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
872
873func Getrusage(who int, rusage *Rusage) (err error) {
874 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
875 if e1 != 0 {
876 err = errnoErr(e1)
877 }
878 return
879}
880
881// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
882
883func Getsid(pid int) (sid int, err error) {
884 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
885 sid = int(r0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Gettimeofday(tv *Timeval) (err error) {
895 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Getuid() (uid int) {
905 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
906 uid = int(r0)
907 return
908}
909
910// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
911
912func Issetugid() (tainted bool) {
913 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
914 tainted = bool(r0 != 0)
915 return
916}
917
918// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
919
920func Kill(pid int, signum syscall.Signal) (err error) {
921 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
922 if e1 != 0 {
923 err = errnoErr(e1)
924 }
925 return
926}
927
928// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
929
930func Kqueue() (fd int, err error) {
931 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
932 fd = int(r0)
933 if e1 != 0 {
934 err = errnoErr(e1)
935 }
936 return
937}
938
939// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
940
941func Lchown(path string, uid int, gid int) (err error) {
942 var _p0 *byte
943 _p0, err = BytePtrFromString(path)
944 if err != nil {
945 return
946 }
947 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
948 use(unsafe.Pointer(_p0))
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Link(path string, link string) (err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 *byte
964 _p1, err = BytePtrFromString(link)
965 if err != nil {
966 return
967 }
968 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
969 use(unsafe.Pointer(_p0))
970 use(unsafe.Pointer(_p1))
971 if e1 != 0 {
972 err = errnoErr(e1)
973 }
974 return
975}
976
977// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
978
979func Listen(s int, backlog int) (err error) {
980 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
981 if e1 != 0 {
982 err = errnoErr(e1)
983 }
984 return
985}
986
987// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
988
989func Lstat(path string, stat *Stat_t) (err error) {
990 var _p0 *byte
991 _p0, err = BytePtrFromString(path)
992 if err != nil {
993 return
994 }
995 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
996 use(unsafe.Pointer(_p0))
997 if e1 != 0 {
998 err = errnoErr(e1)
999 }
1000 return
1001}
1002
1003// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1004
1005func Mkdir(path string, mode uint32) (err error) {
1006 var _p0 *byte
1007 _p0, err = BytePtrFromString(path)
1008 if err != nil {
1009 return
1010 }
1011 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1012 use(unsafe.Pointer(_p0))
1013 if e1 != 0 {
1014 err = errnoErr(e1)
1015 }
1016 return
1017}
1018
1019// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1020
1021func Mkfifo(path string, mode uint32) (err error) {
1022 var _p0 *byte
1023 _p0, err = BytePtrFromString(path)
1024 if err != nil {
1025 return
1026 }
1027 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
1028 use(unsafe.Pointer(_p0))
1029 if e1 != 0 {
1030 err = errnoErr(e1)
1031 }
1032 return
1033}
1034
1035// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1036
1037func Mknod(path string, mode uint32, dev int) (err error) {
1038 var _p0 *byte
1039 _p0, err = BytePtrFromString(path)
1040 if err != nil {
1041 return
1042 }
1043 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
1044 use(unsafe.Pointer(_p0))
1045 if e1 != 0 {
1046 err = errnoErr(e1)
1047 }
1048 return
1049}
1050
1051// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1052
1053func Mlock(b []byte) (err error) {
1054 var _p0 unsafe.Pointer
1055 if len(b) > 0 {
1056 _p0 = unsafe.Pointer(&b[0])
1057 } else {
1058 _p0 = unsafe.Pointer(&_zero)
1059 }
1060 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1061 if e1 != 0 {
1062 err = errnoErr(e1)
1063 }
1064 return
1065}
1066
1067// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1068
1069func Mlockall(flags int) (err error) {
1070 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1071 if e1 != 0 {
1072 err = errnoErr(e1)
1073 }
1074 return
1075}
1076
1077// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1078
1079func Mprotect(b []byte, prot int) (err error) {
1080 var _p0 unsafe.Pointer
1081 if len(b) > 0 {
1082 _p0 = unsafe.Pointer(&b[0])
1083 } else {
1084 _p0 = unsafe.Pointer(&_zero)
1085 }
1086 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Munlock(b []byte) (err error) {
1096 var _p0 unsafe.Pointer
1097 if len(b) > 0 {
1098 _p0 = unsafe.Pointer(&b[0])
1099 } else {
1100 _p0 = unsafe.Pointer(&_zero)
1101 }
1102 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1103 if e1 != 0 {
1104 err = errnoErr(e1)
1105 }
1106 return
1107}
1108
1109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1110
1111func Munlockall() (err error) {
1112 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1113 if e1 != 0 {
1114 err = errnoErr(e1)
1115 }
1116 return
1117}
1118
1119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1120
1121func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1122 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func Open(path string, mode int, perm uint32) (fd int, err error) {
1132 var _p0 *byte
1133 _p0, err = BytePtrFromString(path)
1134 if err != nil {
1135 return
1136 }
1137 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
1138 use(unsafe.Pointer(_p0))
1139 fd = int(r0)
1140 if e1 != 0 {
1141 err = errnoErr(e1)
1142 }
1143 return
1144}
1145
1146// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1147
1148func Pathconf(path string, name int) (val int, err error) {
1149 var _p0 *byte
1150 _p0, err = BytePtrFromString(path)
1151 if err != nil {
1152 return
1153 }
1154 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
1155 use(unsafe.Pointer(_p0))
1156 val = int(r0)
1157 if e1 != 0 {
1158 err = errnoErr(e1)
1159 }
1160 return
1161}
1162
1163// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1164
1165func Pread(fd int, p []byte, offset int64) (n int, err error) {
1166 var _p0 unsafe.Pointer
1167 if len(p) > 0 {
1168 _p0 = unsafe.Pointer(&p[0])
1169 } else {
1170 _p0 = unsafe.Pointer(&_zero)
1171 }
1172 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
1173 n = int(r0)
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1183 var _p0 unsafe.Pointer
1184 if len(p) > 0 {
1185 _p0 = unsafe.Pointer(&p[0])
1186 } else {
1187 _p0 = unsafe.Pointer(&_zero)
1188 }
1189 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
1190 n = int(r0)
1191 if e1 != 0 {
1192 err = errnoErr(e1)
1193 }
1194 return
1195}
1196
1197// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1198
1199func read(fd int, p []byte) (n int, err error) {
1200 var _p0 unsafe.Pointer
1201 if len(p) > 0 {
1202 _p0 = unsafe.Pointer(&p[0])
1203 } else {
1204 _p0 = unsafe.Pointer(&_zero)
1205 }
1206 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1207 n = int(r0)
1208 if e1 != 0 {
1209 err = errnoErr(e1)
1210 }
1211 return
1212}
1213
1214// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1215
1216func Readlink(path string, buf []byte) (n int, err error) {
1217 var _p0 *byte
1218 _p0, err = BytePtrFromString(path)
1219 if err != nil {
1220 return
1221 }
1222 var _p1 unsafe.Pointer
1223 if len(buf) > 0 {
1224 _p1 = unsafe.Pointer(&buf[0])
1225 } else {
1226 _p1 = unsafe.Pointer(&_zero)
1227 }
1228 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
1229 use(unsafe.Pointer(_p0))
1230 n = int(r0)
1231 if e1 != 0 {
1232 err = errnoErr(e1)
1233 }
1234 return
1235}
1236
1237// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1238
1239func Rename(from string, to string) (err error) {
1240 var _p0 *byte
1241 _p0, err = BytePtrFromString(from)
1242 if err != nil {
1243 return
1244 }
1245 var _p1 *byte
1246 _p1, err = BytePtrFromString(to)
1247 if err != nil {
1248 return
1249 }
1250 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1251 use(unsafe.Pointer(_p0))
1252 use(unsafe.Pointer(_p1))
1253 if e1 != 0 {
1254 err = errnoErr(e1)
1255 }
1256 return
1257}
1258
1259// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1260
1261func Revoke(path string) (err error) {
1262 var _p0 *byte
1263 _p0, err = BytePtrFromString(path)
1264 if err != nil {
1265 return
1266 }
1267 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1268 use(unsafe.Pointer(_p0))
1269 if e1 != 0 {
1270 err = errnoErr(e1)
1271 }
1272 return
1273}
1274
1275// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1276
1277func Rmdir(path string) (err error) {
1278 var _p0 *byte
1279 _p0, err = BytePtrFromString(path)
1280 if err != nil {
1281 return
1282 }
1283 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1284 use(unsafe.Pointer(_p0))
1285 if e1 != 0 {
1286 err = errnoErr(e1)
1287 }
1288 return
1289}
1290
1291// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1292
1293func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1294 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
1295 newoffset = int64(int64(r1)<<32 | int64(r0))
1296 if e1 != 0 {
1297 err = errnoErr(e1)
1298 }
1299 return
1300}
1301
1302// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1303
1304func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1305 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1306 if e1 != 0 {
1307 err = errnoErr(e1)
1308 }
1309 return
1310}
1311
1312// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1313
1314func Setegid(egid int) (err error) {
1315 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1316 if e1 != 0 {
1317 err = errnoErr(e1)
1318 }
1319 return
1320}
1321
1322// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1323
1324func Seteuid(euid int) (err error) {
1325 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1326 if e1 != 0 {
1327 err = errnoErr(e1)
1328 }
1329 return
1330}
1331
1332// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1333
1334func Setgid(gid int) (err error) {
1335 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1336 if e1 != 0 {
1337 err = errnoErr(e1)
1338 }
1339 return
1340}
1341
1342// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1343
1344func Setlogin(name string) (err error) {
1345 var _p0 *byte
1346 _p0, err = BytePtrFromString(name)
1347 if err != nil {
1348 return
1349 }
1350 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1351 use(unsafe.Pointer(_p0))
1352 if e1 != 0 {
1353 err = errnoErr(e1)
1354 }
1355 return
1356}
1357
1358// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1359
1360func Setpgid(pid int, pgid int) (err error) {
1361 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1362 if e1 != 0 {
1363 err = errnoErr(e1)
1364 }
1365 return
1366}
1367
1368// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1369
1370func Setpriority(which int, who int, prio int) (err error) {
1371 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1372 if e1 != 0 {
1373 err = errnoErr(e1)
1374 }
1375 return
1376}
1377
1378// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1379
1380func Setregid(rgid int, egid int) (err error) {
1381 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
1387
1388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1389
1390func Setreuid(ruid int, euid int) (err error) {
1391 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1392 if e1 != 0 {
1393 err = errnoErr(e1)
1394 }
1395 return
1396}
1397
1398// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1399
1400func Setresgid(rgid int, egid int, sgid int) (err error) {
1401 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1402 if e1 != 0 {
1403 err = errnoErr(e1)
1404 }
1405 return
1406}
1407
1408// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1409
1410func Setresuid(ruid int, euid int, suid int) (err error) {
1411 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1412 if e1 != 0 {
1413 err = errnoErr(e1)
1414 }
1415 return
1416}
1417
1418// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1419
1420func Setrlimit(which int, lim *Rlimit) (err error) {
1421 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
1427
1428// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1429
1430func Setsid() (pid int, err error) {
1431 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1432 pid = int(r0)
1433 if e1 != 0 {
1434 err = errnoErr(e1)
1435 }
1436 return
1437}
1438
1439// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1440
1441func Settimeofday(tp *Timeval) (err error) {
1442 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1443 if e1 != 0 {
1444 err = errnoErr(e1)
1445 }
1446 return
1447}
1448
1449// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1450
1451func Setuid(uid int) (err error) {
1452 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1453 if e1 != 0 {
1454 err = errnoErr(e1)
1455 }
1456 return
1457}
1458
1459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1460
1461func Stat(path string, stat *Stat_t) (err error) {
1462 var _p0 *byte
1463 _p0, err = BytePtrFromString(path)
1464 if err != nil {
1465 return
1466 }
1467 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1468 use(unsafe.Pointer(_p0))
1469 if e1 != 0 {
1470 err = errnoErr(e1)
1471 }
1472 return
1473}
1474
1475// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1476
1477func Statfs(path string, stat *Statfs_t) (err error) {
1478 var _p0 *byte
1479 _p0, err = BytePtrFromString(path)
1480 if err != nil {
1481 return
1482 }
1483 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1484 use(unsafe.Pointer(_p0))
1485 if e1 != 0 {
1486 err = errnoErr(e1)
1487 }
1488 return
1489}
1490
1491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1492
1493func Symlink(path string, link string) (err error) {
1494 var _p0 *byte
1495 _p0, err = BytePtrFromString(path)
1496 if err != nil {
1497 return
1498 }
1499 var _p1 *byte
1500 _p1, err = BytePtrFromString(link)
1501 if err != nil {
1502 return
1503 }
1504 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1505 use(unsafe.Pointer(_p0))
1506 use(unsafe.Pointer(_p1))
1507 if e1 != 0 {
1508 err = errnoErr(e1)
1509 }
1510 return
1511}
1512
1513// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1514
1515func Sync() (err error) {
1516 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1517 if e1 != 0 {
1518 err = errnoErr(e1)
1519 }
1520 return
1521}
1522
1523// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1524
1525func Truncate(path string, length int64) (err error) {
1526 var _p0 *byte
1527 _p0, err = BytePtrFromString(path)
1528 if err != nil {
1529 return
1530 }
1531 _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1532 use(unsafe.Pointer(_p0))
1533 if e1 != 0 {
1534 err = errnoErr(e1)
1535 }
1536 return
1537}
1538
1539// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1540
1541func Umask(newmask int) (oldmask int) {
1542 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1543 oldmask = int(r0)
1544 return
1545}
1546
1547// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1548
1549func Undelete(path string) (err error) {
1550 var _p0 *byte
1551 _p0, err = BytePtrFromString(path)
1552 if err != nil {
1553 return
1554 }
1555 _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1556 use(unsafe.Pointer(_p0))
1557 if e1 != 0 {
1558 err = errnoErr(e1)
1559 }
1560 return
1561}
1562
1563// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1564
1565func Unlink(path string) (err error) {
1566 var _p0 *byte
1567 _p0, err = BytePtrFromString(path)
1568 if err != nil {
1569 return
1570 }
1571 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1572 use(unsafe.Pointer(_p0))
1573 if e1 != 0 {
1574 err = errnoErr(e1)
1575 }
1576 return
1577}
1578
1579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1580
1581func Unmount(path string, flags int) (err error) {
1582 var _p0 *byte
1583 _p0, err = BytePtrFromString(path)
1584 if err != nil {
1585 return
1586 }
1587 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1588 use(unsafe.Pointer(_p0))
1589 if e1 != 0 {
1590 err = errnoErr(e1)
1591 }
1592 return
1593}
1594
1595// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1596
1597func write(fd int, p []byte) (n int, err error) {
1598 var _p0 unsafe.Pointer
1599 if len(p) > 0 {
1600 _p0 = unsafe.Pointer(&p[0])
1601 } else {
1602 _p0 = unsafe.Pointer(&_zero)
1603 }
1604 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1605 n = int(r0)
1606 if e1 != 0 {
1607 err = errnoErr(e1)
1608 }
1609 return
1610}
1611
1612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1613
1614func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1615 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
1616 ret = uintptr(r0)
1617 if e1 != 0 {
1618 err = errnoErr(e1)
1619 }
1620 return
1621}
1622
1623// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1624
1625func munmap(addr uintptr, length uintptr) (err error) {
1626 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1627 if e1 != 0 {
1628 err = errnoErr(e1)
1629 }
1630 return
1631}
1632
1633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1634
1635func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1636 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1637 n = int(r0)
1638 if e1 != 0 {
1639 err = errnoErr(e1)
1640 }
1641 return
1642}
1643
1644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1645
1646func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1647 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1648 n = int(r0)
1649 if e1 != 0 {
1650 err = errnoErr(e1)
1651 }
1652 return
1653}
1654
1655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1656
1657func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
1658 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1659 nfd = int(r0)
1660 if e1 != 0 {
1661 err = errnoErr(e1)
1662 }
1663 return
1664}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_386.go
deleted file mode 100644
index ff6c39d..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_386.go
+++ /dev/null
@@ -1,1628 +0,0 @@
1// mksyscall.pl -l32 syscall_linux.go syscall_linux_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(int64(r1)<<32 | int64(r0))
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func pipe(p *[2]_C_int) (err error) {
1226 _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func pipe2(p *[2]_C_int, flags int) (err error) {
1236 _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
1237 if e1 != 0 {
1238 err = errnoErr(e1)
1239 }
1240 return
1241}
1242
1243// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1244
1245func Dup2(oldfd int, newfd int) (err error) {
1246 _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
1247 if e1 != 0 {
1248 err = errnoErr(e1)
1249 }
1250 return
1251}
1252
1253// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1254
1255func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
1256 _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
1257 if e1 != 0 {
1258 err = errnoErr(e1)
1259 }
1260 return
1261}
1262
1263// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1264
1265func Fchown(fd int, uid int, gid int) (err error) {
1266 _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
1267 if e1 != 0 {
1268 err = errnoErr(e1)
1269 }
1270 return
1271}
1272
1273// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1274
1275func Fstat(fd int, stat *Stat_t) (err error) {
1276 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1277 if e1 != 0 {
1278 err = errnoErr(e1)
1279 }
1280 return
1281}
1282
1283// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1284
1285func Ftruncate(fd int, length int64) (err error) {
1286 _, _, e1 := Syscall(SYS_FTRUNCATE64, uintptr(fd), uintptr(length), uintptr(length>>32))
1287 if e1 != 0 {
1288 err = errnoErr(e1)
1289 }
1290 return
1291}
1292
1293// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1294
1295func Getegid() (egid int) {
1296 r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
1297 egid = int(r0)
1298 return
1299}
1300
1301// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1302
1303func Geteuid() (euid int) {
1304 r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
1305 euid = int(r0)
1306 return
1307}
1308
1309// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1310
1311func Getgid() (gid int) {
1312 r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
1313 gid = int(r0)
1314 return
1315}
1316
1317// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1318
1319func Getuid() (uid int) {
1320 r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
1321 uid = int(r0)
1322 return
1323}
1324
1325// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1326
1327func InotifyInit() (fd int, err error) {
1328 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
1329 fd = int(r0)
1330 if e1 != 0 {
1331 err = errnoErr(e1)
1332 }
1333 return
1334}
1335
1336// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1337
1338func Ioperm(from int, num int, on int) (err error) {
1339 _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
1340 if e1 != 0 {
1341 err = errnoErr(e1)
1342 }
1343 return
1344}
1345
1346// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1347
1348func Iopl(level int) (err error) {
1349 _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func Lchown(path string, uid int, gid int) (err error) {
1359 var _p0 *byte
1360 _p0, err = BytePtrFromString(path)
1361 if err != nil {
1362 return
1363 }
1364 _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1365 use(unsafe.Pointer(_p0))
1366 if e1 != 0 {
1367 err = errnoErr(e1)
1368 }
1369 return
1370}
1371
1372// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1373
1374func Lstat(path string, stat *Stat_t) (err error) {
1375 var _p0 *byte
1376 _p0, err = BytePtrFromString(path)
1377 if err != nil {
1378 return
1379 }
1380 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1381 use(unsafe.Pointer(_p0))
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
1387
1388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1389
1390func Pread(fd int, p []byte, offset int64) (n int, err error) {
1391 var _p0 unsafe.Pointer
1392 if len(p) > 0 {
1393 _p0 = unsafe.Pointer(&p[0])
1394 } else {
1395 _p0 = unsafe.Pointer(&_zero)
1396 }
1397 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
1398 n = int(r0)
1399 if e1 != 0 {
1400 err = errnoErr(e1)
1401 }
1402 return
1403}
1404
1405// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1406
1407func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1408 var _p0 unsafe.Pointer
1409 if len(p) > 0 {
1410 _p0 = unsafe.Pointer(&p[0])
1411 } else {
1412 _p0 = unsafe.Pointer(&_zero)
1413 }
1414 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
1415 n = int(r0)
1416 if e1 != 0 {
1417 err = errnoErr(e1)
1418 }
1419 return
1420}
1421
1422// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1423
1424func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1425 r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1426 written = int(r0)
1427 if e1 != 0 {
1428 err = errnoErr(e1)
1429 }
1430 return
1431}
1432
1433// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1434
1435func Setfsgid(gid int) (err error) {
1436 _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
1437 if e1 != 0 {
1438 err = errnoErr(e1)
1439 }
1440 return
1441}
1442
1443// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1444
1445func Setfsuid(uid int) (err error) {
1446 _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
1447 if e1 != 0 {
1448 err = errnoErr(e1)
1449 }
1450 return
1451}
1452
1453// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1454
1455func Setregid(rgid int, egid int) (err error) {
1456 _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
1457 if e1 != 0 {
1458 err = errnoErr(e1)
1459 }
1460 return
1461}
1462
1463// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1464
1465func Setresgid(rgid int, egid int, sgid int) (err error) {
1466 _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
1467 if e1 != 0 {
1468 err = errnoErr(e1)
1469 }
1470 return
1471}
1472
1473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1474
1475func Setresuid(ruid int, euid int, suid int) (err error) {
1476 _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
1477 if e1 != 0 {
1478 err = errnoErr(e1)
1479 }
1480 return
1481}
1482
1483// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1484
1485func Setreuid(ruid int, euid int) (err error) {
1486 _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
1487 if e1 != 0 {
1488 err = errnoErr(e1)
1489 }
1490 return
1491}
1492
1493// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1494
1495func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
1496 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1497 n = int(r0)
1498 if e1 != 0 {
1499 err = errnoErr(e1)
1500 }
1501 return
1502}
1503
1504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1505
1506func Stat(path string, stat *Stat_t) (err error) {
1507 var _p0 *byte
1508 _p0, err = BytePtrFromString(path)
1509 if err != nil {
1510 return
1511 }
1512 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1513 use(unsafe.Pointer(_p0))
1514 if e1 != 0 {
1515 err = errnoErr(e1)
1516 }
1517 return
1518}
1519
1520// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1521
1522func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
1523 _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32), uintptr(flags))
1524 if e1 != 0 {
1525 err = errnoErr(e1)
1526 }
1527 return
1528}
1529
1530// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1531
1532func Truncate(path string, length int64) (err error) {
1533 var _p0 *byte
1534 _p0, err = BytePtrFromString(path)
1535 if err != nil {
1536 return
1537 }
1538 _, _, e1 := Syscall(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
1539 use(unsafe.Pointer(_p0))
1540 if e1 != 0 {
1541 err = errnoErr(e1)
1542 }
1543 return
1544}
1545
1546// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1547
1548func getgroups(n int, list *_Gid_t) (nn int, err error) {
1549 r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1550 nn = int(r0)
1551 if e1 != 0 {
1552 err = errnoErr(e1)
1553 }
1554 return
1555}
1556
1557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1558
1559func setgroups(n int, list *_Gid_t) (err error) {
1560 _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1561 if e1 != 0 {
1562 err = errnoErr(e1)
1563 }
1564 return
1565}
1566
1567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1568
1569func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1570 r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1571 n = int(r0)
1572 if e1 != 0 {
1573 err = errnoErr(e1)
1574 }
1575 return
1576}
1577
1578// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1579
1580func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
1581 r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
1582 xaddr = uintptr(r0)
1583 if e1 != 0 {
1584 err = errnoErr(e1)
1585 }
1586 return
1587}
1588
1589// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1590
1591func getrlimit(resource int, rlim *rlimit32) (err error) {
1592 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1593 if e1 != 0 {
1594 err = errnoErr(e1)
1595 }
1596 return
1597}
1598
1599// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1600
1601func setrlimit(resource int, rlim *rlimit32) (err error) {
1602 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1603 if e1 != 0 {
1604 err = errnoErr(e1)
1605 }
1606 return
1607}
1608
1609// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1610
1611func Gettimeofday(tv *Timeval) (err error) {
1612 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
1613 if e1 != 0 {
1614 err = errnoErr(e1)
1615 }
1616 return
1617}
1618
1619// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1620
1621func Time(t *Time_t) (tt Time_t, err error) {
1622 r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
1623 tt = Time_t(r0)
1624 if e1 != 0 {
1625 err = errnoErr(e1)
1626 }
1627 return
1628}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_amd64.go
deleted file mode 100644
index c243852..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_amd64.go
+++ /dev/null
@@ -1,1822 +0,0 @@
1// mksyscall.pl syscall_linux.go syscall_linux_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(r0)
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func Dup2(oldfd int, newfd int) (err error) {
1226 _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
1236 _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
1237 if e1 != 0 {
1238 err = errnoErr(e1)
1239 }
1240 return
1241}
1242
1243// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1244
1245func Fchown(fd int, uid int, gid int) (err error) {
1246 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
1247 if e1 != 0 {
1248 err = errnoErr(e1)
1249 }
1250 return
1251}
1252
1253// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1254
1255func Fstat(fd int, stat *Stat_t) (err error) {
1256 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1257 if e1 != 0 {
1258 err = errnoErr(e1)
1259 }
1260 return
1261}
1262
1263// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1264
1265func Fstatfs(fd int, buf *Statfs_t) (err error) {
1266 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
1267 if e1 != 0 {
1268 err = errnoErr(e1)
1269 }
1270 return
1271}
1272
1273// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1274
1275func Ftruncate(fd int, length int64) (err error) {
1276 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
1277 if e1 != 0 {
1278 err = errnoErr(e1)
1279 }
1280 return
1281}
1282
1283// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1284
1285func Getegid() (egid int) {
1286 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
1287 egid = int(r0)
1288 return
1289}
1290
1291// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1292
1293func Geteuid() (euid int) {
1294 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
1295 euid = int(r0)
1296 return
1297}
1298
1299// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1300
1301func Getgid() (gid int) {
1302 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
1303 gid = int(r0)
1304 return
1305}
1306
1307// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1308
1309func Getrlimit(resource int, rlim *Rlimit) (err error) {
1310 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1311 if e1 != 0 {
1312 err = errnoErr(e1)
1313 }
1314 return
1315}
1316
1317// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1318
1319func Getuid() (uid int) {
1320 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
1321 uid = int(r0)
1322 return
1323}
1324
1325// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1326
1327func InotifyInit() (fd int, err error) {
1328 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
1329 fd = int(r0)
1330 if e1 != 0 {
1331 err = errnoErr(e1)
1332 }
1333 return
1334}
1335
1336// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1337
1338func Ioperm(from int, num int, on int) (err error) {
1339 _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
1340 if e1 != 0 {
1341 err = errnoErr(e1)
1342 }
1343 return
1344}
1345
1346// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1347
1348func Iopl(level int) (err error) {
1349 _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func Lchown(path string, uid int, gid int) (err error) {
1359 var _p0 *byte
1360 _p0, err = BytePtrFromString(path)
1361 if err != nil {
1362 return
1363 }
1364 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1365 use(unsafe.Pointer(_p0))
1366 if e1 != 0 {
1367 err = errnoErr(e1)
1368 }
1369 return
1370}
1371
1372// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1373
1374func Listen(s int, n int) (err error) {
1375 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
1376 if e1 != 0 {
1377 err = errnoErr(e1)
1378 }
1379 return
1380}
1381
1382// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1383
1384func Lstat(path string, stat *Stat_t) (err error) {
1385 var _p0 *byte
1386 _p0, err = BytePtrFromString(path)
1387 if err != nil {
1388 return
1389 }
1390 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1391 use(unsafe.Pointer(_p0))
1392 if e1 != 0 {
1393 err = errnoErr(e1)
1394 }
1395 return
1396}
1397
1398// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1399
1400func Pread(fd int, p []byte, offset int64) (n int, err error) {
1401 var _p0 unsafe.Pointer
1402 if len(p) > 0 {
1403 _p0 = unsafe.Pointer(&p[0])
1404 } else {
1405 _p0 = unsafe.Pointer(&_zero)
1406 }
1407 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1408 n = int(r0)
1409 if e1 != 0 {
1410 err = errnoErr(e1)
1411 }
1412 return
1413}
1414
1415// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1416
1417func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1418 var _p0 unsafe.Pointer
1419 if len(p) > 0 {
1420 _p0 = unsafe.Pointer(&p[0])
1421 } else {
1422 _p0 = unsafe.Pointer(&_zero)
1423 }
1424 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1425 n = int(r0)
1426 if e1 != 0 {
1427 err = errnoErr(e1)
1428 }
1429 return
1430}
1431
1432// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1433
1434func Seek(fd int, offset int64, whence int) (off int64, err error) {
1435 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1436 off = int64(r0)
1437 if e1 != 0 {
1438 err = errnoErr(e1)
1439 }
1440 return
1441}
1442
1443// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1444
1445func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1446 r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1447 n = int(r0)
1448 if e1 != 0 {
1449 err = errnoErr(e1)
1450 }
1451 return
1452}
1453
1454// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1455
1456func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1457 r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1458 written = int(r0)
1459 if e1 != 0 {
1460 err = errnoErr(e1)
1461 }
1462 return
1463}
1464
1465// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1466
1467func Setfsgid(gid int) (err error) {
1468 _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
1469 if e1 != 0 {
1470 err = errnoErr(e1)
1471 }
1472 return
1473}
1474
1475// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1476
1477func Setfsuid(uid int) (err error) {
1478 _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
1479 if e1 != 0 {
1480 err = errnoErr(e1)
1481 }
1482 return
1483}
1484
1485// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1486
1487func Setregid(rgid int, egid int) (err error) {
1488 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1489 if e1 != 0 {
1490 err = errnoErr(e1)
1491 }
1492 return
1493}
1494
1495// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1496
1497func Setresgid(rgid int, egid int, sgid int) (err error) {
1498 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1499 if e1 != 0 {
1500 err = errnoErr(e1)
1501 }
1502 return
1503}
1504
1505// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1506
1507func Setresuid(ruid int, euid int, suid int) (err error) {
1508 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1509 if e1 != 0 {
1510 err = errnoErr(e1)
1511 }
1512 return
1513}
1514
1515// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1516
1517func Setrlimit(resource int, rlim *Rlimit) (err error) {
1518 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1519 if e1 != 0 {
1520 err = errnoErr(e1)
1521 }
1522 return
1523}
1524
1525// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1526
1527func Setreuid(ruid int, euid int) (err error) {
1528 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1529 if e1 != 0 {
1530 err = errnoErr(e1)
1531 }
1532 return
1533}
1534
1535// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1536
1537func Shutdown(fd int, how int) (err error) {
1538 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
1539 if e1 != 0 {
1540 err = errnoErr(e1)
1541 }
1542 return
1543}
1544
1545// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1546
1547func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
1548 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1549 n = int64(r0)
1550 if e1 != 0 {
1551 err = errnoErr(e1)
1552 }
1553 return
1554}
1555
1556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1557
1558func Stat(path string, stat *Stat_t) (err error) {
1559 var _p0 *byte
1560 _p0, err = BytePtrFromString(path)
1561 if err != nil {
1562 return
1563 }
1564 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1565 use(unsafe.Pointer(_p0))
1566 if e1 != 0 {
1567 err = errnoErr(e1)
1568 }
1569 return
1570}
1571
1572// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1573
1574func Statfs(path string, buf *Statfs_t) (err error) {
1575 var _p0 *byte
1576 _p0, err = BytePtrFromString(path)
1577 if err != nil {
1578 return
1579 }
1580 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1581 use(unsafe.Pointer(_p0))
1582 if e1 != 0 {
1583 err = errnoErr(e1)
1584 }
1585 return
1586}
1587
1588// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1589
1590func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
1591 _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
1592 if e1 != 0 {
1593 err = errnoErr(e1)
1594 }
1595 return
1596}
1597
1598// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1599
1600func Truncate(path string, length int64) (err error) {
1601 var _p0 *byte
1602 _p0, err = BytePtrFromString(path)
1603 if err != nil {
1604 return
1605 }
1606 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1607 use(unsafe.Pointer(_p0))
1608 if e1 != 0 {
1609 err = errnoErr(e1)
1610 }
1611 return
1612}
1613
1614// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1615
1616func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
1617 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1618 fd = int(r0)
1619 if e1 != 0 {
1620 err = errnoErr(e1)
1621 }
1622 return
1623}
1624
1625// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1626
1627func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
1628 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1629 fd = int(r0)
1630 if e1 != 0 {
1631 err = errnoErr(e1)
1632 }
1633 return
1634}
1635
1636// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1637
1638func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1639 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
1640 if e1 != 0 {
1641 err = errnoErr(e1)
1642 }
1643 return
1644}
1645
1646// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1647
1648func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1649 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
1650 if e1 != 0 {
1651 err = errnoErr(e1)
1652 }
1653 return
1654}
1655
1656// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1657
1658func getgroups(n int, list *_Gid_t) (nn int, err error) {
1659 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1660 nn = int(r0)
1661 if e1 != 0 {
1662 err = errnoErr(e1)
1663 }
1664 return
1665}
1666
1667// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1668
1669func setgroups(n int, list *_Gid_t) (err error) {
1670 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1671 if e1 != 0 {
1672 err = errnoErr(e1)
1673 }
1674 return
1675}
1676
1677// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1678
1679func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1680 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1681 if e1 != 0 {
1682 err = errnoErr(e1)
1683 }
1684 return
1685}
1686
1687// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1688
1689func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1690 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1691 if e1 != 0 {
1692 err = errnoErr(e1)
1693 }
1694 return
1695}
1696
1697// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1698
1699func socket(domain int, typ int, proto int) (fd int, err error) {
1700 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
1701 fd = int(r0)
1702 if e1 != 0 {
1703 err = errnoErr(e1)
1704 }
1705 return
1706}
1707
1708// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1709
1710func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1711 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1712 if e1 != 0 {
1713 err = errnoErr(e1)
1714 }
1715 return
1716}
1717
1718// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1719
1720func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1721 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1722 if e1 != 0 {
1723 err = errnoErr(e1)
1724 }
1725 return
1726}
1727
1728// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1729
1730func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1731 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1732 if e1 != 0 {
1733 err = errnoErr(e1)
1734 }
1735 return
1736}
1737
1738// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1739
1740func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1741 var _p0 unsafe.Pointer
1742 if len(p) > 0 {
1743 _p0 = unsafe.Pointer(&p[0])
1744 } else {
1745 _p0 = unsafe.Pointer(&_zero)
1746 }
1747 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1748 n = int(r0)
1749 if e1 != 0 {
1750 err = errnoErr(e1)
1751 }
1752 return
1753}
1754
1755// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1756
1757func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1758 var _p0 unsafe.Pointer
1759 if len(buf) > 0 {
1760 _p0 = unsafe.Pointer(&buf[0])
1761 } else {
1762 _p0 = unsafe.Pointer(&_zero)
1763 }
1764 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1765 if e1 != 0 {
1766 err = errnoErr(e1)
1767 }
1768 return
1769}
1770
1771// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1772
1773func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1774 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1775 n = int(r0)
1776 if e1 != 0 {
1777 err = errnoErr(e1)
1778 }
1779 return
1780}
1781
1782// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1783
1784func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1785 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1786 n = int(r0)
1787 if e1 != 0 {
1788 err = errnoErr(e1)
1789 }
1790 return
1791}
1792
1793// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1794
1795func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
1796 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
1797 xaddr = uintptr(r0)
1798 if e1 != 0 {
1799 err = errnoErr(e1)
1800 }
1801 return
1802}
1803
1804// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1805
1806func pipe(p *[2]_C_int) (err error) {
1807 _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
1808 if e1 != 0 {
1809 err = errnoErr(e1)
1810 }
1811 return
1812}
1813
1814// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1815
1816func pipe2(p *[2]_C_int, flags int) (err error) {
1817 _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
1818 if e1 != 0 {
1819 err = errnoErr(e1)
1820 }
1821 return
1822}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm.go
deleted file mode 100644
index dd66c97..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm.go
+++ /dev/null
@@ -1,1756 +0,0 @@
1// mksyscall.pl -l32 -arm syscall_linux.go syscall_linux_arm.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(int64(r1)<<32 | int64(r0))
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func pipe2(p *[2]_C_int, flags int) (err error) {
1226 _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
1236 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1237 fd = int(r0)
1238 if e1 != 0 {
1239 err = errnoErr(e1)
1240 }
1241 return
1242}
1243
1244// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1245
1246func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
1247 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1248 fd = int(r0)
1249 if e1 != 0 {
1250 err = errnoErr(e1)
1251 }
1252 return
1253}
1254
1255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1256
1257func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1258 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
1259 if e1 != 0 {
1260 err = errnoErr(e1)
1261 }
1262 return
1263}
1264
1265// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1266
1267func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1268 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
1269 if e1 != 0 {
1270 err = errnoErr(e1)
1271 }
1272 return
1273}
1274
1275// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1276
1277func getgroups(n int, list *_Gid_t) (nn int, err error) {
1278 r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1279 nn = int(r0)
1280 if e1 != 0 {
1281 err = errnoErr(e1)
1282 }
1283 return
1284}
1285
1286// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1287
1288func setgroups(n int, list *_Gid_t) (err error) {
1289 _, _, e1 := RawSyscall(SYS_SETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1290 if e1 != 0 {
1291 err = errnoErr(e1)
1292 }
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1299 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1300 if e1 != 0 {
1301 err = errnoErr(e1)
1302 }
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1309 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1310 if e1 != 0 {
1311 err = errnoErr(e1)
1312 }
1313 return
1314}
1315
1316// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1317
1318func socket(domain int, typ int, proto int) (fd int, err error) {
1319 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
1320 fd = int(r0)
1321 if e1 != 0 {
1322 err = errnoErr(e1)
1323 }
1324 return
1325}
1326
1327// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1328
1329func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1330 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1331 if e1 != 0 {
1332 err = errnoErr(e1)
1333 }
1334 return
1335}
1336
1337// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1338
1339func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1340 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1341 if e1 != 0 {
1342 err = errnoErr(e1)
1343 }
1344 return
1345}
1346
1347// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1348
1349func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1350 var _p0 unsafe.Pointer
1351 if len(p) > 0 {
1352 _p0 = unsafe.Pointer(&p[0])
1353 } else {
1354 _p0 = unsafe.Pointer(&_zero)
1355 }
1356 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1357 n = int(r0)
1358 if e1 != 0 {
1359 err = errnoErr(e1)
1360 }
1361 return
1362}
1363
1364// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1365
1366func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1367 var _p0 unsafe.Pointer
1368 if len(buf) > 0 {
1369 _p0 = unsafe.Pointer(&buf[0])
1370 } else {
1371 _p0 = unsafe.Pointer(&_zero)
1372 }
1373 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1374 if e1 != 0 {
1375 err = errnoErr(e1)
1376 }
1377 return
1378}
1379
1380// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1381
1382func socketpair(domain int, typ int, flags int, fd *[2]int32) (err error) {
1383 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd)), 0, 0)
1384 if e1 != 0 {
1385 err = errnoErr(e1)
1386 }
1387 return
1388}
1389
1390// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1391
1392func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1393 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1394 n = int(r0)
1395 if e1 != 0 {
1396 err = errnoErr(e1)
1397 }
1398 return
1399}
1400
1401// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1402
1403func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1404 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1405 n = int(r0)
1406 if e1 != 0 {
1407 err = errnoErr(e1)
1408 }
1409 return
1410}
1411
1412// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1413
1414func Dup2(oldfd int, newfd int) (err error) {
1415 _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
1416 if e1 != 0 {
1417 err = errnoErr(e1)
1418 }
1419 return
1420}
1421
1422// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1423
1424func Fchown(fd int, uid int, gid int) (err error) {
1425 _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
1426 if e1 != 0 {
1427 err = errnoErr(e1)
1428 }
1429 return
1430}
1431
1432// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1433
1434func Fstat(fd int, stat *Stat_t) (err error) {
1435 _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1436 if e1 != 0 {
1437 err = errnoErr(e1)
1438 }
1439 return
1440}
1441
1442// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1443
1444func Getegid() (egid int) {
1445 r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
1446 egid = int(r0)
1447 return
1448}
1449
1450// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1451
1452func Geteuid() (euid int) {
1453 r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
1454 euid = int(r0)
1455 return
1456}
1457
1458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1459
1460func Getgid() (gid int) {
1461 r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
1462 gid = int(r0)
1463 return
1464}
1465
1466// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1467
1468func Getuid() (uid int) {
1469 r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
1470 uid = int(r0)
1471 return
1472}
1473
1474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1475
1476func InotifyInit() (fd int, err error) {
1477 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
1478 fd = int(r0)
1479 if e1 != 0 {
1480 err = errnoErr(e1)
1481 }
1482 return
1483}
1484
1485// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1486
1487func Lchown(path string, uid int, gid int) (err error) {
1488 var _p0 *byte
1489 _p0, err = BytePtrFromString(path)
1490 if err != nil {
1491 return
1492 }
1493 _, _, e1 := Syscall(SYS_LCHOWN32, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1494 use(unsafe.Pointer(_p0))
1495 if e1 != 0 {
1496 err = errnoErr(e1)
1497 }
1498 return
1499}
1500
1501// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1502
1503func Listen(s int, n int) (err error) {
1504 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
1505 if e1 != 0 {
1506 err = errnoErr(e1)
1507 }
1508 return
1509}
1510
1511// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1512
1513func Lstat(path string, stat *Stat_t) (err error) {
1514 var _p0 *byte
1515 _p0, err = BytePtrFromString(path)
1516 if err != nil {
1517 return
1518 }
1519 _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1520 use(unsafe.Pointer(_p0))
1521 if e1 != 0 {
1522 err = errnoErr(e1)
1523 }
1524 return
1525}
1526
1527// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1528
1529func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1530 r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1531 written = int(r0)
1532 if e1 != 0 {
1533 err = errnoErr(e1)
1534 }
1535 return
1536}
1537
1538// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1539
1540func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1541 r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1542 n = int(r0)
1543 if e1 != 0 {
1544 err = errnoErr(e1)
1545 }
1546 return
1547}
1548
1549// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1550
1551func Setfsgid(gid int) (err error) {
1552 _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
1553 if e1 != 0 {
1554 err = errnoErr(e1)
1555 }
1556 return
1557}
1558
1559// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1560
1561func Setfsuid(uid int) (err error) {
1562 _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
1563 if e1 != 0 {
1564 err = errnoErr(e1)
1565 }
1566 return
1567}
1568
1569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1570
1571func Setregid(rgid int, egid int) (err error) {
1572 _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
1573 if e1 != 0 {
1574 err = errnoErr(e1)
1575 }
1576 return
1577}
1578
1579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1580
1581func Setresgid(rgid int, egid int, sgid int) (err error) {
1582 _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
1583 if e1 != 0 {
1584 err = errnoErr(e1)
1585 }
1586 return
1587}
1588
1589// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1590
1591func Setresuid(ruid int, euid int, suid int) (err error) {
1592 _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
1593 if e1 != 0 {
1594 err = errnoErr(e1)
1595 }
1596 return
1597}
1598
1599// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1600
1601func Setreuid(ruid int, euid int) (err error) {
1602 _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
1603 if e1 != 0 {
1604 err = errnoErr(e1)
1605 }
1606 return
1607}
1608
1609// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1610
1611func Shutdown(fd int, how int) (err error) {
1612 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
1613 if e1 != 0 {
1614 err = errnoErr(e1)
1615 }
1616 return
1617}
1618
1619// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1620
1621func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
1622 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1623 n = int(r0)
1624 if e1 != 0 {
1625 err = errnoErr(e1)
1626 }
1627 return
1628}
1629
1630// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1631
1632func Stat(path string, stat *Stat_t) (err error) {
1633 var _p0 *byte
1634 _p0, err = BytePtrFromString(path)
1635 if err != nil {
1636 return
1637 }
1638 _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1639 use(unsafe.Pointer(_p0))
1640 if e1 != 0 {
1641 err = errnoErr(e1)
1642 }
1643 return
1644}
1645
1646// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1647
1648func Gettimeofday(tv *Timeval) (err error) {
1649 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
1650 if e1 != 0 {
1651 err = errnoErr(e1)
1652 }
1653 return
1654}
1655
1656// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1657
1658func Time(t *Time_t) (tt Time_t, err error) {
1659 r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
1660 tt = Time_t(r0)
1661 if e1 != 0 {
1662 err = errnoErr(e1)
1663 }
1664 return
1665}
1666
1667// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1668
1669func Pread(fd int, p []byte, offset int64) (n int, err error) {
1670 var _p0 unsafe.Pointer
1671 if len(p) > 0 {
1672 _p0 = unsafe.Pointer(&p[0])
1673 } else {
1674 _p0 = unsafe.Pointer(&_zero)
1675 }
1676 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
1677 n = int(r0)
1678 if e1 != 0 {
1679 err = errnoErr(e1)
1680 }
1681 return
1682}
1683
1684// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1685
1686func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1687 var _p0 unsafe.Pointer
1688 if len(p) > 0 {
1689 _p0 = unsafe.Pointer(&p[0])
1690 } else {
1691 _p0 = unsafe.Pointer(&_zero)
1692 }
1693 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
1694 n = int(r0)
1695 if e1 != 0 {
1696 err = errnoErr(e1)
1697 }
1698 return
1699}
1700
1701// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1702
1703func Truncate(path string, length int64) (err error) {
1704 var _p0 *byte
1705 _p0, err = BytePtrFromString(path)
1706 if err != nil {
1707 return
1708 }
1709 _, _, e1 := Syscall6(SYS_TRUNCATE64, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1710 use(unsafe.Pointer(_p0))
1711 if e1 != 0 {
1712 err = errnoErr(e1)
1713 }
1714 return
1715}
1716
1717// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1718
1719func Ftruncate(fd int, length int64) (err error) {
1720 _, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
1721 if e1 != 0 {
1722 err = errnoErr(e1)
1723 }
1724 return
1725}
1726
1727// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1728
1729func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) {
1730 r0, _, e1 := Syscall6(SYS_MMAP2, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(pageOffset))
1731 xaddr = uintptr(r0)
1732 if e1 != 0 {
1733 err = errnoErr(e1)
1734 }
1735 return
1736}
1737
1738// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1739
1740func getrlimit(resource int, rlim *rlimit32) (err error) {
1741 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1742 if e1 != 0 {
1743 err = errnoErr(e1)
1744 }
1745 return
1746}
1747
1748// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1749
1750func setrlimit(resource int, rlim *rlimit32) (err error) {
1751 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1752 if e1 != 0 {
1753 err = errnoErr(e1)
1754 }
1755 return
1756}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm64.go
deleted file mode 100644
index d0a6ed8..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_arm64.go
+++ /dev/null
@@ -1,1750 +0,0 @@
1// mksyscall.pl syscall_linux.go syscall_linux_arm64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm64,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(r0)
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func Fchown(fd int, uid int, gid int) (err error) {
1226 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func Fstat(fd int, stat *Stat_t) (err error) {
1236 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1237 if e1 != 0 {
1238 err = errnoErr(e1)
1239 }
1240 return
1241}
1242
1243// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1244
1245func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
1246 var _p0 *byte
1247 _p0, err = BytePtrFromString(path)
1248 if err != nil {
1249 return
1250 }
1251 _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
1252 use(unsafe.Pointer(_p0))
1253 if e1 != 0 {
1254 err = errnoErr(e1)
1255 }
1256 return
1257}
1258
1259// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1260
1261func Fstatfs(fd int, buf *Statfs_t) (err error) {
1262 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
1263 if e1 != 0 {
1264 err = errnoErr(e1)
1265 }
1266 return
1267}
1268
1269// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1270
1271func Ftruncate(fd int, length int64) (err error) {
1272 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
1273 if e1 != 0 {
1274 err = errnoErr(e1)
1275 }
1276 return
1277}
1278
1279// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1280
1281func Getegid() (egid int) {
1282 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
1283 egid = int(r0)
1284 return
1285}
1286
1287// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1288
1289func Geteuid() (euid int) {
1290 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
1291 euid = int(r0)
1292 return
1293}
1294
1295// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1296
1297func Getgid() (gid int) {
1298 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
1299 gid = int(r0)
1300 return
1301}
1302
1303// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1304
1305func Getrlimit(resource int, rlim *Rlimit) (err error) {
1306 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1307 if e1 != 0 {
1308 err = errnoErr(e1)
1309 }
1310 return
1311}
1312
1313// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1314
1315func Getuid() (uid int) {
1316 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
1317 uid = int(r0)
1318 return
1319}
1320
1321// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1322
1323func Listen(s int, n int) (err error) {
1324 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
1325 if e1 != 0 {
1326 err = errnoErr(e1)
1327 }
1328 return
1329}
1330
1331// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1332
1333func Pread(fd int, p []byte, offset int64) (n int, err error) {
1334 var _p0 unsafe.Pointer
1335 if len(p) > 0 {
1336 _p0 = unsafe.Pointer(&p[0])
1337 } else {
1338 _p0 = unsafe.Pointer(&_zero)
1339 }
1340 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1341 n = int(r0)
1342 if e1 != 0 {
1343 err = errnoErr(e1)
1344 }
1345 return
1346}
1347
1348// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1349
1350func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1351 var _p0 unsafe.Pointer
1352 if len(p) > 0 {
1353 _p0 = unsafe.Pointer(&p[0])
1354 } else {
1355 _p0 = unsafe.Pointer(&_zero)
1356 }
1357 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1358 n = int(r0)
1359 if e1 != 0 {
1360 err = errnoErr(e1)
1361 }
1362 return
1363}
1364
1365// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1366
1367func Seek(fd int, offset int64, whence int) (off int64, err error) {
1368 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1369 off = int64(r0)
1370 if e1 != 0 {
1371 err = errnoErr(e1)
1372 }
1373 return
1374}
1375
1376// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1377
1378func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1379 r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1380 n = int(r0)
1381 if e1 != 0 {
1382 err = errnoErr(e1)
1383 }
1384 return
1385}
1386
1387// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1388
1389func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1390 r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1391 written = int(r0)
1392 if e1 != 0 {
1393 err = errnoErr(e1)
1394 }
1395 return
1396}
1397
1398// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1399
1400func Setfsgid(gid int) (err error) {
1401 _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
1402 if e1 != 0 {
1403 err = errnoErr(e1)
1404 }
1405 return
1406}
1407
1408// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1409
1410func Setfsuid(uid int) (err error) {
1411 _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
1412 if e1 != 0 {
1413 err = errnoErr(e1)
1414 }
1415 return
1416}
1417
1418// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1419
1420func Setregid(rgid int, egid int) (err error) {
1421 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1422 if e1 != 0 {
1423 err = errnoErr(e1)
1424 }
1425 return
1426}
1427
1428// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1429
1430func Setresgid(rgid int, egid int, sgid int) (err error) {
1431 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1432 if e1 != 0 {
1433 err = errnoErr(e1)
1434 }
1435 return
1436}
1437
1438// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1439
1440func Setresuid(ruid int, euid int, suid int) (err error) {
1441 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1442 if e1 != 0 {
1443 err = errnoErr(e1)
1444 }
1445 return
1446}
1447
1448// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1449
1450func Setrlimit(resource int, rlim *Rlimit) (err error) {
1451 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1452 if e1 != 0 {
1453 err = errnoErr(e1)
1454 }
1455 return
1456}
1457
1458// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1459
1460func Setreuid(ruid int, euid int) (err error) {
1461 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1462 if e1 != 0 {
1463 err = errnoErr(e1)
1464 }
1465 return
1466}
1467
1468// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1469
1470func Shutdown(fd int, how int) (err error) {
1471 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
1472 if e1 != 0 {
1473 err = errnoErr(e1)
1474 }
1475 return
1476}
1477
1478// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1479
1480func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
1481 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1482 n = int64(r0)
1483 if e1 != 0 {
1484 err = errnoErr(e1)
1485 }
1486 return
1487}
1488
1489// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1490
1491func Statfs(path string, buf *Statfs_t) (err error) {
1492 var _p0 *byte
1493 _p0, err = BytePtrFromString(path)
1494 if err != nil {
1495 return
1496 }
1497 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1498 use(unsafe.Pointer(_p0))
1499 if e1 != 0 {
1500 err = errnoErr(e1)
1501 }
1502 return
1503}
1504
1505// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1506
1507func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
1508 _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
1509 if e1 != 0 {
1510 err = errnoErr(e1)
1511 }
1512 return
1513}
1514
1515// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1516
1517func Truncate(path string, length int64) (err error) {
1518 var _p0 *byte
1519 _p0, err = BytePtrFromString(path)
1520 if err != nil {
1521 return
1522 }
1523 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1524 use(unsafe.Pointer(_p0))
1525 if e1 != 0 {
1526 err = errnoErr(e1)
1527 }
1528 return
1529}
1530
1531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1532
1533func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
1534 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1535 fd = int(r0)
1536 if e1 != 0 {
1537 err = errnoErr(e1)
1538 }
1539 return
1540}
1541
1542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1543
1544func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
1545 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1546 fd = int(r0)
1547 if e1 != 0 {
1548 err = errnoErr(e1)
1549 }
1550 return
1551}
1552
1553// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1554
1555func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1556 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
1557 if e1 != 0 {
1558 err = errnoErr(e1)
1559 }
1560 return
1561}
1562
1563// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1564
1565func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1566 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
1567 if e1 != 0 {
1568 err = errnoErr(e1)
1569 }
1570 return
1571}
1572
1573// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1574
1575func getgroups(n int, list *_Gid_t) (nn int, err error) {
1576 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1577 nn = int(r0)
1578 if e1 != 0 {
1579 err = errnoErr(e1)
1580 }
1581 return
1582}
1583
1584// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1585
1586func setgroups(n int, list *_Gid_t) (err error) {
1587 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1588 if e1 != 0 {
1589 err = errnoErr(e1)
1590 }
1591 return
1592}
1593
1594// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1595
1596func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1597 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1598 if e1 != 0 {
1599 err = errnoErr(e1)
1600 }
1601 return
1602}
1603
1604// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1605
1606func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1607 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1608 if e1 != 0 {
1609 err = errnoErr(e1)
1610 }
1611 return
1612}
1613
1614// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1615
1616func socket(domain int, typ int, proto int) (fd int, err error) {
1617 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
1618 fd = int(r0)
1619 if e1 != 0 {
1620 err = errnoErr(e1)
1621 }
1622 return
1623}
1624
1625// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1626
1627func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1628 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1629 if e1 != 0 {
1630 err = errnoErr(e1)
1631 }
1632 return
1633}
1634
1635// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1636
1637func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1638 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1639 if e1 != 0 {
1640 err = errnoErr(e1)
1641 }
1642 return
1643}
1644
1645// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1646
1647func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1648 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1649 if e1 != 0 {
1650 err = errnoErr(e1)
1651 }
1652 return
1653}
1654
1655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1656
1657func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1658 var _p0 unsafe.Pointer
1659 if len(p) > 0 {
1660 _p0 = unsafe.Pointer(&p[0])
1661 } else {
1662 _p0 = unsafe.Pointer(&_zero)
1663 }
1664 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1665 n = int(r0)
1666 if e1 != 0 {
1667 err = errnoErr(e1)
1668 }
1669 return
1670}
1671
1672// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1673
1674func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1675 var _p0 unsafe.Pointer
1676 if len(buf) > 0 {
1677 _p0 = unsafe.Pointer(&buf[0])
1678 } else {
1679 _p0 = unsafe.Pointer(&_zero)
1680 }
1681 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1682 if e1 != 0 {
1683 err = errnoErr(e1)
1684 }
1685 return
1686}
1687
1688// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1689
1690func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1691 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1692 n = int(r0)
1693 if e1 != 0 {
1694 err = errnoErr(e1)
1695 }
1696 return
1697}
1698
1699// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1700
1701func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1702 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1703 n = int(r0)
1704 if e1 != 0 {
1705 err = errnoErr(e1)
1706 }
1707 return
1708}
1709
1710// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1711
1712func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
1713 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
1714 xaddr = uintptr(r0)
1715 if e1 != 0 {
1716 err = errnoErr(e1)
1717 }
1718 return
1719}
1720
1721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1722
1723func Gettimeofday(tv *Timeval) (err error) {
1724 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
1725 if e1 != 0 {
1726 err = errnoErr(e1)
1727 }
1728 return
1729}
1730
1731// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1732
1733func Time(t *Time_t) (tt Time_t, err error) {
1734 r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
1735 tt = Time_t(r0)
1736 if e1 != 0 {
1737 err = errnoErr(e1)
1738 }
1739 return
1740}
1741
1742// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1743
1744func pipe2(p *[2]_C_int, flags int) (err error) {
1745 _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
1746 if e1 != 0 {
1747 err = errnoErr(e1)
1748 }
1749 return
1750}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
deleted file mode 100644
index f58a3ff..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
+++ /dev/null
@@ -1,1792 +0,0 @@
1// mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build ppc64,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(r0)
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func Fchown(fd int, uid int, gid int) (err error) {
1226 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func Fstat(fd int, stat *Stat_t) (err error) {
1236 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1237 if e1 != 0 {
1238 err = errnoErr(e1)
1239 }
1240 return
1241}
1242
1243// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1244
1245func Fstatfs(fd int, buf *Statfs_t) (err error) {
1246 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
1247 if e1 != 0 {
1248 err = errnoErr(e1)
1249 }
1250 return
1251}
1252
1253// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1254
1255func Ftruncate(fd int, length int64) (err error) {
1256 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
1257 if e1 != 0 {
1258 err = errnoErr(e1)
1259 }
1260 return
1261}
1262
1263// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1264
1265func Getegid() (egid int) {
1266 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
1267 egid = int(r0)
1268 return
1269}
1270
1271// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1272
1273func Geteuid() (euid int) {
1274 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
1275 euid = int(r0)
1276 return
1277}
1278
1279// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1280
1281func Getgid() (gid int) {
1282 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
1283 gid = int(r0)
1284 return
1285}
1286
1287// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1288
1289func Getrlimit(resource int, rlim *Rlimit) (err error) {
1290 _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1291 if e1 != 0 {
1292 err = errnoErr(e1)
1293 }
1294 return
1295}
1296
1297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1298
1299func Getuid() (uid int) {
1300 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
1301 uid = int(r0)
1302 return
1303}
1304
1305// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1306
1307func Ioperm(from int, num int, on int) (err error) {
1308 _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
1309 if e1 != 0 {
1310 err = errnoErr(e1)
1311 }
1312 return
1313}
1314
1315// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1316
1317func Iopl(level int) (err error) {
1318 _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
1319 if e1 != 0 {
1320 err = errnoErr(e1)
1321 }
1322 return
1323}
1324
1325// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1326
1327func Lchown(path string, uid int, gid int) (err error) {
1328 var _p0 *byte
1329 _p0, err = BytePtrFromString(path)
1330 if err != nil {
1331 return
1332 }
1333 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1334 use(unsafe.Pointer(_p0))
1335 if e1 != 0 {
1336 err = errnoErr(e1)
1337 }
1338 return
1339}
1340
1341// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1342
1343func Listen(s int, n int) (err error) {
1344 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
1345 if e1 != 0 {
1346 err = errnoErr(e1)
1347 }
1348 return
1349}
1350
1351// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1352
1353func Lstat(path string, stat *Stat_t) (err error) {
1354 var _p0 *byte
1355 _p0, err = BytePtrFromString(path)
1356 if err != nil {
1357 return
1358 }
1359 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1360 use(unsafe.Pointer(_p0))
1361 if e1 != 0 {
1362 err = errnoErr(e1)
1363 }
1364 return
1365}
1366
1367// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1368
1369func Pread(fd int, p []byte, offset int64) (n int, err error) {
1370 var _p0 unsafe.Pointer
1371 if len(p) > 0 {
1372 _p0 = unsafe.Pointer(&p[0])
1373 } else {
1374 _p0 = unsafe.Pointer(&_zero)
1375 }
1376 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1377 n = int(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1387 var _p0 unsafe.Pointer
1388 if len(p) > 0 {
1389 _p0 = unsafe.Pointer(&p[0])
1390 } else {
1391 _p0 = unsafe.Pointer(&_zero)
1392 }
1393 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1394 n = int(r0)
1395 if e1 != 0 {
1396 err = errnoErr(e1)
1397 }
1398 return
1399}
1400
1401// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1402
1403func Seek(fd int, offset int64, whence int) (off int64, err error) {
1404 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1405 off = int64(r0)
1406 if e1 != 0 {
1407 err = errnoErr(e1)
1408 }
1409 return
1410}
1411
1412// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1413
1414func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1415 r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1416 n = int(r0)
1417 if e1 != 0 {
1418 err = errnoErr(e1)
1419 }
1420 return
1421}
1422
1423// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1424
1425func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1426 r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1427 written = int(r0)
1428 if e1 != 0 {
1429 err = errnoErr(e1)
1430 }
1431 return
1432}
1433
1434// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1435
1436func Setfsgid(gid int) (err error) {
1437 _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
1438 if e1 != 0 {
1439 err = errnoErr(e1)
1440 }
1441 return
1442}
1443
1444// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1445
1446func Setfsuid(uid int) (err error) {
1447 _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
1448 if e1 != 0 {
1449 err = errnoErr(e1)
1450 }
1451 return
1452}
1453
1454// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1455
1456func Setregid(rgid int, egid int) (err error) {
1457 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1458 if e1 != 0 {
1459 err = errnoErr(e1)
1460 }
1461 return
1462}
1463
1464// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1465
1466func Setresgid(rgid int, egid int, sgid int) (err error) {
1467 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1468 if e1 != 0 {
1469 err = errnoErr(e1)
1470 }
1471 return
1472}
1473
1474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1475
1476func Setresuid(ruid int, euid int, suid int) (err error) {
1477 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1478 if e1 != 0 {
1479 err = errnoErr(e1)
1480 }
1481 return
1482}
1483
1484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1485
1486func Setrlimit(resource int, rlim *Rlimit) (err error) {
1487 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1488 if e1 != 0 {
1489 err = errnoErr(e1)
1490 }
1491 return
1492}
1493
1494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1495
1496func Setreuid(ruid int, euid int) (err error) {
1497 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1498 if e1 != 0 {
1499 err = errnoErr(e1)
1500 }
1501 return
1502}
1503
1504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1505
1506func Shutdown(fd int, how int) (err error) {
1507 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
1508 if e1 != 0 {
1509 err = errnoErr(e1)
1510 }
1511 return
1512}
1513
1514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1515
1516func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
1517 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1518 n = int64(r0)
1519 if e1 != 0 {
1520 err = errnoErr(e1)
1521 }
1522 return
1523}
1524
1525// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1526
1527func Stat(path string, stat *Stat_t) (err error) {
1528 var _p0 *byte
1529 _p0, err = BytePtrFromString(path)
1530 if err != nil {
1531 return
1532 }
1533 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1534 use(unsafe.Pointer(_p0))
1535 if e1 != 0 {
1536 err = errnoErr(e1)
1537 }
1538 return
1539}
1540
1541// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1542
1543func Statfs(path string, buf *Statfs_t) (err error) {
1544 var _p0 *byte
1545 _p0, err = BytePtrFromString(path)
1546 if err != nil {
1547 return
1548 }
1549 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1550 use(unsafe.Pointer(_p0))
1551 if e1 != 0 {
1552 err = errnoErr(e1)
1553 }
1554 return
1555}
1556
1557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1558
1559func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
1560 _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
1561 if e1 != 0 {
1562 err = errnoErr(e1)
1563 }
1564 return
1565}
1566
1567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1568
1569func Truncate(path string, length int64) (err error) {
1570 var _p0 *byte
1571 _p0, err = BytePtrFromString(path)
1572 if err != nil {
1573 return
1574 }
1575 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1576 use(unsafe.Pointer(_p0))
1577 if e1 != 0 {
1578 err = errnoErr(e1)
1579 }
1580 return
1581}
1582
1583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1584
1585func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
1586 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1587 fd = int(r0)
1588 if e1 != 0 {
1589 err = errnoErr(e1)
1590 }
1591 return
1592}
1593
1594// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1595
1596func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
1597 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1598 fd = int(r0)
1599 if e1 != 0 {
1600 err = errnoErr(e1)
1601 }
1602 return
1603}
1604
1605// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1606
1607func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1608 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
1609 if e1 != 0 {
1610 err = errnoErr(e1)
1611 }
1612 return
1613}
1614
1615// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1616
1617func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1618 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
1619 if e1 != 0 {
1620 err = errnoErr(e1)
1621 }
1622 return
1623}
1624
1625// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1626
1627func getgroups(n int, list *_Gid_t) (nn int, err error) {
1628 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1629 nn = int(r0)
1630 if e1 != 0 {
1631 err = errnoErr(e1)
1632 }
1633 return
1634}
1635
1636// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1637
1638func setgroups(n int, list *_Gid_t) (err error) {
1639 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1640 if e1 != 0 {
1641 err = errnoErr(e1)
1642 }
1643 return
1644}
1645
1646// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1647
1648func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1649 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1650 if e1 != 0 {
1651 err = errnoErr(e1)
1652 }
1653 return
1654}
1655
1656// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1657
1658func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1659 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1660 if e1 != 0 {
1661 err = errnoErr(e1)
1662 }
1663 return
1664}
1665
1666// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1667
1668func socket(domain int, typ int, proto int) (fd int, err error) {
1669 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
1670 fd = int(r0)
1671 if e1 != 0 {
1672 err = errnoErr(e1)
1673 }
1674 return
1675}
1676
1677// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1678
1679func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1680 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1681 if e1 != 0 {
1682 err = errnoErr(e1)
1683 }
1684 return
1685}
1686
1687// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1688
1689func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1690 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1691 if e1 != 0 {
1692 err = errnoErr(e1)
1693 }
1694 return
1695}
1696
1697// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1698
1699func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1700 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1701 if e1 != 0 {
1702 err = errnoErr(e1)
1703 }
1704 return
1705}
1706
1707// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1708
1709func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1710 var _p0 unsafe.Pointer
1711 if len(p) > 0 {
1712 _p0 = unsafe.Pointer(&p[0])
1713 } else {
1714 _p0 = unsafe.Pointer(&_zero)
1715 }
1716 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1717 n = int(r0)
1718 if e1 != 0 {
1719 err = errnoErr(e1)
1720 }
1721 return
1722}
1723
1724// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1725
1726func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1727 var _p0 unsafe.Pointer
1728 if len(buf) > 0 {
1729 _p0 = unsafe.Pointer(&buf[0])
1730 } else {
1731 _p0 = unsafe.Pointer(&_zero)
1732 }
1733 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1734 if e1 != 0 {
1735 err = errnoErr(e1)
1736 }
1737 return
1738}
1739
1740// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1741
1742func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1743 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1744 n = int(r0)
1745 if e1 != 0 {
1746 err = errnoErr(e1)
1747 }
1748 return
1749}
1750
1751// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1752
1753func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1754 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1755 n = int(r0)
1756 if e1 != 0 {
1757 err = errnoErr(e1)
1758 }
1759 return
1760}
1761
1762// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1763
1764func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
1765 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
1766 xaddr = uintptr(r0)
1767 if e1 != 0 {
1768 err = errnoErr(e1)
1769 }
1770 return
1771}
1772
1773// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1774
1775func Gettimeofday(tv *Timeval) (err error) {
1776 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
1777 if e1 != 0 {
1778 err = errnoErr(e1)
1779 }
1780 return
1781}
1782
1783// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1784
1785func Time(t *Time_t) (tt Time_t, err error) {
1786 r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
1787 tt = Time_t(r0)
1788 if e1 != 0 {
1789 err = errnoErr(e1)
1790 }
1791 return
1792}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
deleted file mode 100644
index 22fc7a4..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
+++ /dev/null
@@ -1,1792 +0,0 @@
1// mksyscall.pl syscall_linux.go syscall_linux_ppc64x.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build ppc64le,linux
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
18 var _p0 *byte
19 _p0, err = BytePtrFromString(oldpath)
20 if err != nil {
21 return
22 }
23 var _p1 *byte
24 _p1, err = BytePtrFromString(newpath)
25 if err != nil {
26 return
27 }
28 _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
29 use(unsafe.Pointer(_p0))
30 use(unsafe.Pointer(_p1))
31 if e1 != 0 {
32 err = errnoErr(e1)
33 }
34 return
35}
36
37// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
38
39func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
40 var _p0 *byte
41 _p0, err = BytePtrFromString(path)
42 if err != nil {
43 return
44 }
45 r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
46 use(unsafe.Pointer(_p0))
47 fd = int(r0)
48 if e1 != 0 {
49 err = errnoErr(e1)
50 }
51 return
52}
53
54// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
55
56func readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
57 var _p0 *byte
58 _p0, err = BytePtrFromString(path)
59 if err != nil {
60 return
61 }
62 var _p1 unsafe.Pointer
63 if len(buf) > 0 {
64 _p1 = unsafe.Pointer(&buf[0])
65 } else {
66 _p1 = unsafe.Pointer(&_zero)
67 }
68 r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
69 use(unsafe.Pointer(_p0))
70 n = int(r0)
71 if e1 != 0 {
72 err = errnoErr(e1)
73 }
74 return
75}
76
77// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78
79func symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80 var _p0 *byte
81 _p0, err = BytePtrFromString(oldpath)
82 if err != nil {
83 return
84 }
85 var _p1 *byte
86 _p1, err = BytePtrFromString(newpath)
87 if err != nil {
88 return
89 }
90 _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91 use(unsafe.Pointer(_p0))
92 use(unsafe.Pointer(_p1))
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func unlinkat(dirfd int, path string, flags int) (err error) {
102 var _p0 *byte
103 _p0, err = BytePtrFromString(path)
104 if err != nil {
105 return
106 }
107 _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
108 use(unsafe.Pointer(_p0))
109 if e1 != 0 {
110 err = errnoErr(e1)
111 }
112 return
113}
114
115// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
116
117func utimes(path string, times *[2]Timeval) (err error) {
118 var _p0 *byte
119 _p0, err = BytePtrFromString(path)
120 if err != nil {
121 return
122 }
123 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
124 use(unsafe.Pointer(_p0))
125 if e1 != 0 {
126 err = errnoErr(e1)
127 }
128 return
129}
130
131// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
132
133func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
134 var _p0 *byte
135 _p0, err = BytePtrFromString(path)
136 if err != nil {
137 return
138 }
139 _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
140 use(unsafe.Pointer(_p0))
141 if e1 != 0 {
142 err = errnoErr(e1)
143 }
144 return
145}
146
147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
148
149func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
150 _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
151 if e1 != 0 {
152 err = errnoErr(e1)
153 }
154 return
155}
156
157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158
159func Getcwd(buf []byte) (n int, err error) {
160 var _p0 unsafe.Pointer
161 if len(buf) > 0 {
162 _p0 = unsafe.Pointer(&buf[0])
163 } else {
164 _p0 = unsafe.Pointer(&_zero)
165 }
166 r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
167 n = int(r0)
168 if e1 != 0 {
169 err = errnoErr(e1)
170 }
171 return
172}
173
174// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
175
176func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
177 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
178 wpid = int(r0)
179 if e1 != 0 {
180 err = errnoErr(e1)
181 }
182 return
183}
184
185// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
186
187func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
188 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
189 if e1 != 0 {
190 err = errnoErr(e1)
191 }
192 return
193}
194
195// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
196
197func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
198 var _p0 *byte
199 _p0, err = BytePtrFromString(arg)
200 if err != nil {
201 return
202 }
203 _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
204 use(unsafe.Pointer(_p0))
205 if e1 != 0 {
206 err = errnoErr(e1)
207 }
208 return
209}
210
211// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
212
213func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
214 var _p0 *byte
215 _p0, err = BytePtrFromString(source)
216 if err != nil {
217 return
218 }
219 var _p1 *byte
220 _p1, err = BytePtrFromString(target)
221 if err != nil {
222 return
223 }
224 var _p2 *byte
225 _p2, err = BytePtrFromString(fstype)
226 if err != nil {
227 return
228 }
229 _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
230 use(unsafe.Pointer(_p0))
231 use(unsafe.Pointer(_p1))
232 use(unsafe.Pointer(_p2))
233 if e1 != 0 {
234 err = errnoErr(e1)
235 }
236 return
237}
238
239// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
240
241func Acct(path string) (err error) {
242 var _p0 *byte
243 _p0, err = BytePtrFromString(path)
244 if err != nil {
245 return
246 }
247 _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
248 use(unsafe.Pointer(_p0))
249 if e1 != 0 {
250 err = errnoErr(e1)
251 }
252 return
253}
254
255// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
256
257func Adjtimex(buf *Timex) (state int, err error) {
258 r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
259 state = int(r0)
260 if e1 != 0 {
261 err = errnoErr(e1)
262 }
263 return
264}
265
266// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
267
268func Chdir(path string) (err error) {
269 var _p0 *byte
270 _p0, err = BytePtrFromString(path)
271 if err != nil {
272 return
273 }
274 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
275 use(unsafe.Pointer(_p0))
276 if e1 != 0 {
277 err = errnoErr(e1)
278 }
279 return
280}
281
282// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
283
284func Chroot(path string) (err error) {
285 var _p0 *byte
286 _p0, err = BytePtrFromString(path)
287 if err != nil {
288 return
289 }
290 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
291 use(unsafe.Pointer(_p0))
292 if e1 != 0 {
293 err = errnoErr(e1)
294 }
295 return
296}
297
298// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
299
300func ClockGettime(clockid int32, time *Timespec) (err error) {
301 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
302 if e1 != 0 {
303 err = errnoErr(e1)
304 }
305 return
306}
307
308// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
309
310func Close(fd int) (err error) {
311 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
312 if e1 != 0 {
313 err = errnoErr(e1)
314 }
315 return
316}
317
318// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
319
320func Dup(oldfd int) (fd int, err error) {
321 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
322 fd = int(r0)
323 if e1 != 0 {
324 err = errnoErr(e1)
325 }
326 return
327}
328
329// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
330
331func Dup3(oldfd int, newfd int, flags int) (err error) {
332 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func EpollCreate(size int) (fd int, err error) {
342 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
343 fd = int(r0)
344 if e1 != 0 {
345 err = errnoErr(e1)
346 }
347 return
348}
349
350// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
351
352func EpollCreate1(flag int) (fd int, err error) {
353 r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
354 fd = int(r0)
355 if e1 != 0 {
356 err = errnoErr(e1)
357 }
358 return
359}
360
361// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
362
363func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
364 _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
374 var _p0 unsafe.Pointer
375 if len(events) > 0 {
376 _p0 = unsafe.Pointer(&events[0])
377 } else {
378 _p0 = unsafe.Pointer(&_zero)
379 }
380 r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
381 n = int(r0)
382 if e1 != 0 {
383 err = errnoErr(e1)
384 }
385 return
386}
387
388// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
389
390func Exit(code int) {
391 Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
392 return
393}
394
395// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
396
397func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
398 var _p0 *byte
399 _p0, err = BytePtrFromString(path)
400 if err != nil {
401 return
402 }
403 _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
404 use(unsafe.Pointer(_p0))
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
414 _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
415 if e1 != 0 {
416 err = errnoErr(e1)
417 }
418 return
419}
420
421// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422
423func Fchdir(fd int) (err error) {
424 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
425 if e1 != 0 {
426 err = errnoErr(e1)
427 }
428 return
429}
430
431// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
433func Fchmod(fd int, mode uint32) (err error) {
434 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
435 if e1 != 0 {
436 err = errnoErr(e1)
437 }
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
444 var _p0 *byte
445 _p0, err = BytePtrFromString(path)
446 if err != nil {
447 return
448 }
449 _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
450 use(unsafe.Pointer(_p0))
451 if e1 != 0 {
452 err = errnoErr(e1)
453 }
454 return
455}
456
457// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
458
459func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
460 var _p0 *byte
461 _p0, err = BytePtrFromString(path)
462 if err != nil {
463 return
464 }
465 _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
466 use(unsafe.Pointer(_p0))
467 if e1 != 0 {
468 err = errnoErr(e1)
469 }
470 return
471}
472
473// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
474
475func fcntl(fd int, cmd int, arg int) (val int, err error) {
476 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
477 val = int(r0)
478 if e1 != 0 {
479 err = errnoErr(e1)
480 }
481 return
482}
483
484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
485
486func Fdatasync(fd int) (err error) {
487 _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
488 if e1 != 0 {
489 err = errnoErr(e1)
490 }
491 return
492}
493
494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
496func Flock(fd int, how int) (err error) {
497 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
498 if e1 != 0 {
499 err = errnoErr(e1)
500 }
501 return
502}
503
504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
505
506func Fsync(fd int) (err error) {
507 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
508 if e1 != 0 {
509 err = errnoErr(e1)
510 }
511 return
512}
513
514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
515
516func Getdents(fd int, buf []byte) (n int, err error) {
517 var _p0 unsafe.Pointer
518 if len(buf) > 0 {
519 _p0 = unsafe.Pointer(&buf[0])
520 } else {
521 _p0 = unsafe.Pointer(&_zero)
522 }
523 r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
524 n = int(r0)
525 if e1 != 0 {
526 err = errnoErr(e1)
527 }
528 return
529}
530
531// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
533func Getpgid(pid int) (pgid int, err error) {
534 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
535 pgid = int(r0)
536 if e1 != 0 {
537 err = errnoErr(e1)
538 }
539 return
540}
541
542// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
543
544func Getpid() (pid int) {
545 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
546 pid = int(r0)
547 return
548}
549
550// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
551
552func Getppid() (ppid int) {
553 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
554 ppid = int(r0)
555 return
556}
557
558// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
559
560func Getpriority(which int, who int) (prio int, err error) {
561 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
562 prio = int(r0)
563 if e1 != 0 {
564 err = errnoErr(e1)
565 }
566 return
567}
568
569// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
571func Getrusage(who int, rusage *Rusage) (err error) {
572 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
573 if e1 != 0 {
574 err = errnoErr(e1)
575 }
576 return
577}
578
579// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
580
581func Gettid() (tid int) {
582 r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
583 tid = int(r0)
584 return
585}
586
587// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
588
589func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
590 var _p0 *byte
591 _p0, err = BytePtrFromString(path)
592 if err != nil {
593 return
594 }
595 var _p1 *byte
596 _p1, err = BytePtrFromString(attr)
597 if err != nil {
598 return
599 }
600 var _p2 unsafe.Pointer
601 if len(dest) > 0 {
602 _p2 = unsafe.Pointer(&dest[0])
603 } else {
604 _p2 = unsafe.Pointer(&_zero)
605 }
606 r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
607 use(unsafe.Pointer(_p0))
608 use(unsafe.Pointer(_p1))
609 sz = int(r0)
610 if e1 != 0 {
611 err = errnoErr(e1)
612 }
613 return
614}
615
616// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
617
618func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
619 var _p0 *byte
620 _p0, err = BytePtrFromString(pathname)
621 if err != nil {
622 return
623 }
624 r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
625 use(unsafe.Pointer(_p0))
626 watchdesc = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func InotifyInit1(flags int) (fd int, err error) {
636 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
637 fd = int(r0)
638 if e1 != 0 {
639 err = errnoErr(e1)
640 }
641 return
642}
643
644// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
645
646func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
647 r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
648 success = int(r0)
649 if e1 != 0 {
650 err = errnoErr(e1)
651 }
652 return
653}
654
655// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
656
657func Kill(pid int, sig syscall.Signal) (err error) {
658 _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
659 if e1 != 0 {
660 err = errnoErr(e1)
661 }
662 return
663}
664
665// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
666
667func Klogctl(typ int, buf []byte) (n int, err error) {
668 var _p0 unsafe.Pointer
669 if len(buf) > 0 {
670 _p0 = unsafe.Pointer(&buf[0])
671 } else {
672 _p0 = unsafe.Pointer(&_zero)
673 }
674 r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
675 n = int(r0)
676 if e1 != 0 {
677 err = errnoErr(e1)
678 }
679 return
680}
681
682// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
683
684func Listxattr(path string, dest []byte) (sz int, err error) {
685 var _p0 *byte
686 _p0, err = BytePtrFromString(path)
687 if err != nil {
688 return
689 }
690 var _p1 unsafe.Pointer
691 if len(dest) > 0 {
692 _p1 = unsafe.Pointer(&dest[0])
693 } else {
694 _p1 = unsafe.Pointer(&_zero)
695 }
696 r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
697 use(unsafe.Pointer(_p0))
698 sz = int(r0)
699 if e1 != 0 {
700 err = errnoErr(e1)
701 }
702 return
703}
704
705// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
707func Mkdirat(dirfd int, path string, mode uint32) (err error) {
708 var _p0 *byte
709 _p0, err = BytePtrFromString(path)
710 if err != nil {
711 return
712 }
713 _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
714 use(unsafe.Pointer(_p0))
715 if e1 != 0 {
716 err = errnoErr(e1)
717 }
718 return
719}
720
721// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
722
723func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
724 var _p0 *byte
725 _p0, err = BytePtrFromString(path)
726 if err != nil {
727 return
728 }
729 _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
730 use(unsafe.Pointer(_p0))
731 if e1 != 0 {
732 err = errnoErr(e1)
733 }
734 return
735}
736
737// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
739func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
740 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
741 if e1 != 0 {
742 err = errnoErr(e1)
743 }
744 return
745}
746
747// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
748
749func Pause() (err error) {
750 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
751 if e1 != 0 {
752 err = errnoErr(e1)
753 }
754 return
755}
756
757// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758
759func PivotRoot(newroot string, putold string) (err error) {
760 var _p0 *byte
761 _p0, err = BytePtrFromString(newroot)
762 if err != nil {
763 return
764 }
765 var _p1 *byte
766 _p1, err = BytePtrFromString(putold)
767 if err != nil {
768 return
769 }
770 _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
771 use(unsafe.Pointer(_p0))
772 use(unsafe.Pointer(_p1))
773 if e1 != 0 {
774 err = errnoErr(e1)
775 }
776 return
777}
778
779// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
780
781func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) {
782 _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0)
783 if e1 != 0 {
784 err = errnoErr(e1)
785 }
786 return
787}
788
789// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790
791func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
792 _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
793 if e1 != 0 {
794 err = errnoErr(e1)
795 }
796 return
797}
798
799// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
800
801func read(fd int, p []byte) (n int, err error) {
802 var _p0 unsafe.Pointer
803 if len(p) > 0 {
804 _p0 = unsafe.Pointer(&p[0])
805 } else {
806 _p0 = unsafe.Pointer(&_zero)
807 }
808 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
809 n = int(r0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Removexattr(path string, attr string) (err error) {
819 var _p0 *byte
820 _p0, err = BytePtrFromString(path)
821 if err != nil {
822 return
823 }
824 var _p1 *byte
825 _p1, err = BytePtrFromString(attr)
826 if err != nil {
827 return
828 }
829 _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
830 use(unsafe.Pointer(_p0))
831 use(unsafe.Pointer(_p1))
832 if e1 != 0 {
833 err = errnoErr(e1)
834 }
835 return
836}
837
838// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
839
840func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
841 var _p0 *byte
842 _p0, err = BytePtrFromString(oldpath)
843 if err != nil {
844 return
845 }
846 var _p1 *byte
847 _p1, err = BytePtrFromString(newpath)
848 if err != nil {
849 return
850 }
851 _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
852 use(unsafe.Pointer(_p0))
853 use(unsafe.Pointer(_p1))
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Setdomainname(p []byte) (err error) {
863 var _p0 unsafe.Pointer
864 if len(p) > 0 {
865 _p0 = unsafe.Pointer(&p[0])
866 } else {
867 _p0 = unsafe.Pointer(&_zero)
868 }
869 _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
870 if e1 != 0 {
871 err = errnoErr(e1)
872 }
873 return
874}
875
876// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
877
878func Sethostname(p []byte) (err error) {
879 var _p0 unsafe.Pointer
880 if len(p) > 0 {
881 _p0 = unsafe.Pointer(&p[0])
882 } else {
883 _p0 = unsafe.Pointer(&_zero)
884 }
885 _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
886 if e1 != 0 {
887 err = errnoErr(e1)
888 }
889 return
890}
891
892// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
893
894func Setpgid(pid int, pgid int) (err error) {
895 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
896 if e1 != 0 {
897 err = errnoErr(e1)
898 }
899 return
900}
901
902// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
903
904func Setsid() (pid int, err error) {
905 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
906 pid = int(r0)
907 if e1 != 0 {
908 err = errnoErr(e1)
909 }
910 return
911}
912
913// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
914
915func Settimeofday(tv *Timeval) (err error) {
916 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
917 if e1 != 0 {
918 err = errnoErr(e1)
919 }
920 return
921}
922
923// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
924
925func Setpriority(which int, who int, prio int) (err error) {
926 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
927 if e1 != 0 {
928 err = errnoErr(e1)
929 }
930 return
931}
932
933// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934
935func Setxattr(path string, attr string, data []byte, flags int) (err error) {
936 var _p0 *byte
937 _p0, err = BytePtrFromString(path)
938 if err != nil {
939 return
940 }
941 var _p1 *byte
942 _p1, err = BytePtrFromString(attr)
943 if err != nil {
944 return
945 }
946 var _p2 unsafe.Pointer
947 if len(data) > 0 {
948 _p2 = unsafe.Pointer(&data[0])
949 } else {
950 _p2 = unsafe.Pointer(&_zero)
951 }
952 _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
953 use(unsafe.Pointer(_p0))
954 use(unsafe.Pointer(_p1))
955 if e1 != 0 {
956 err = errnoErr(e1)
957 }
958 return
959}
960
961// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
963func Sync() {
964 Syscall(SYS_SYNC, 0, 0, 0)
965 return
966}
967
968// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
969
970func Sysinfo(info *Sysinfo_t) (err error) {
971 _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
981 r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
982 n = int64(r0)
983 if e1 != 0 {
984 err = errnoErr(e1)
985 }
986 return
987}
988
989// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990
991func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
992 _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
993 if e1 != 0 {
994 err = errnoErr(e1)
995 }
996 return
997}
998
999// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1000
1001func Times(tms *Tms) (ticks uintptr, err error) {
1002 r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
1003 ticks = uintptr(r0)
1004 if e1 != 0 {
1005 err = errnoErr(e1)
1006 }
1007 return
1008}
1009
1010// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1011
1012func Umask(mask int) (oldmask int) {
1013 r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
1014 oldmask = int(r0)
1015 return
1016}
1017
1018// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1019
1020func Uname(buf *Utsname) (err error) {
1021 _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
1022 if e1 != 0 {
1023 err = errnoErr(e1)
1024 }
1025 return
1026}
1027
1028// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1029
1030func Unmount(target string, flags int) (err error) {
1031 var _p0 *byte
1032 _p0, err = BytePtrFromString(target)
1033 if err != nil {
1034 return
1035 }
1036 _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1037 use(unsafe.Pointer(_p0))
1038 if e1 != 0 {
1039 err = errnoErr(e1)
1040 }
1041 return
1042}
1043
1044// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1045
1046func Unshare(flags int) (err error) {
1047 _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
1048 if e1 != 0 {
1049 err = errnoErr(e1)
1050 }
1051 return
1052}
1053
1054// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1055
1056func Ustat(dev int, ubuf *Ustat_t) (err error) {
1057 _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
1058 if e1 != 0 {
1059 err = errnoErr(e1)
1060 }
1061 return
1062}
1063
1064// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1065
1066func Utime(path string, buf *Utimbuf) (err error) {
1067 var _p0 *byte
1068 _p0, err = BytePtrFromString(path)
1069 if err != nil {
1070 return
1071 }
1072 _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1073 use(unsafe.Pointer(_p0))
1074 if e1 != 0 {
1075 err = errnoErr(e1)
1076 }
1077 return
1078}
1079
1080// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1081
1082func write(fd int, p []byte) (n int, err error) {
1083 var _p0 unsafe.Pointer
1084 if len(p) > 0 {
1085 _p0 = unsafe.Pointer(&p[0])
1086 } else {
1087 _p0 = unsafe.Pointer(&_zero)
1088 }
1089 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1090 n = int(r0)
1091 if e1 != 0 {
1092 err = errnoErr(e1)
1093 }
1094 return
1095}
1096
1097// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1098
1099func exitThread(code int) (err error) {
1100 _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func readlen(fd int, p *byte, np int) (n int, err error) {
1110 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1111 n = int(r0)
1112 if e1 != 0 {
1113 err = errnoErr(e1)
1114 }
1115 return
1116}
1117
1118// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1119
1120func writelen(fd int, p *byte, np int) (n int, err error) {
1121 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
1122 n = int(r0)
1123 if e1 != 0 {
1124 err = errnoErr(e1)
1125 }
1126 return
1127}
1128
1129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1130
1131func munmap(addr uintptr, length uintptr) (err error) {
1132 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1133 if e1 != 0 {
1134 err = errnoErr(e1)
1135 }
1136 return
1137}
1138
1139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1140
1141func Madvise(b []byte, advice int) (err error) {
1142 var _p0 unsafe.Pointer
1143 if len(b) > 0 {
1144 _p0 = unsafe.Pointer(&b[0])
1145 } else {
1146 _p0 = unsafe.Pointer(&_zero)
1147 }
1148 _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
1149 if e1 != 0 {
1150 err = errnoErr(e1)
1151 }
1152 return
1153}
1154
1155// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1156
1157func Mprotect(b []byte, prot int) (err error) {
1158 var _p0 unsafe.Pointer
1159 if len(b) > 0 {
1160 _p0 = unsafe.Pointer(&b[0])
1161 } else {
1162 _p0 = unsafe.Pointer(&_zero)
1163 }
1164 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1165 if e1 != 0 {
1166 err = errnoErr(e1)
1167 }
1168 return
1169}
1170
1171// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1172
1173func Mlock(b []byte) (err error) {
1174 var _p0 unsafe.Pointer
1175 if len(b) > 0 {
1176 _p0 = unsafe.Pointer(&b[0])
1177 } else {
1178 _p0 = unsafe.Pointer(&_zero)
1179 }
1180 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
1181 if e1 != 0 {
1182 err = errnoErr(e1)
1183 }
1184 return
1185}
1186
1187// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1188
1189func Munlock(b []byte) (err error) {
1190 var _p0 unsafe.Pointer
1191 if len(b) > 0 {
1192 _p0 = unsafe.Pointer(&b[0])
1193 } else {
1194 _p0 = unsafe.Pointer(&_zero)
1195 }
1196 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
1197 if e1 != 0 {
1198 err = errnoErr(e1)
1199 }
1200 return
1201}
1202
1203// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1204
1205func Mlockall(flags int) (err error) {
1206 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
1207 if e1 != 0 {
1208 err = errnoErr(e1)
1209 }
1210 return
1211}
1212
1213// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1214
1215func Munlockall() (err error) {
1216 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
1217 if e1 != 0 {
1218 err = errnoErr(e1)
1219 }
1220 return
1221}
1222
1223// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1224
1225func Fchown(fd int, uid int, gid int) (err error) {
1226 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
1227 if e1 != 0 {
1228 err = errnoErr(e1)
1229 }
1230 return
1231}
1232
1233// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1234
1235func Fstat(fd int, stat *Stat_t) (err error) {
1236 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
1237 if e1 != 0 {
1238 err = errnoErr(e1)
1239 }
1240 return
1241}
1242
1243// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1244
1245func Fstatfs(fd int, buf *Statfs_t) (err error) {
1246 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
1247 if e1 != 0 {
1248 err = errnoErr(e1)
1249 }
1250 return
1251}
1252
1253// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1254
1255func Ftruncate(fd int, length int64) (err error) {
1256 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
1257 if e1 != 0 {
1258 err = errnoErr(e1)
1259 }
1260 return
1261}
1262
1263// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1264
1265func Getegid() (egid int) {
1266 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
1267 egid = int(r0)
1268 return
1269}
1270
1271// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1272
1273func Geteuid() (euid int) {
1274 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
1275 euid = int(r0)
1276 return
1277}
1278
1279// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1280
1281func Getgid() (gid int) {
1282 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
1283 gid = int(r0)
1284 return
1285}
1286
1287// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1288
1289func Getrlimit(resource int, rlim *Rlimit) (err error) {
1290 _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1291 if e1 != 0 {
1292 err = errnoErr(e1)
1293 }
1294 return
1295}
1296
1297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1298
1299func Getuid() (uid int) {
1300 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
1301 uid = int(r0)
1302 return
1303}
1304
1305// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1306
1307func Ioperm(from int, num int, on int) (err error) {
1308 _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on))
1309 if e1 != 0 {
1310 err = errnoErr(e1)
1311 }
1312 return
1313}
1314
1315// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1316
1317func Iopl(level int) (err error) {
1318 _, _, e1 := Syscall(SYS_IOPL, uintptr(level), 0, 0)
1319 if e1 != 0 {
1320 err = errnoErr(e1)
1321 }
1322 return
1323}
1324
1325// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1326
1327func Lchown(path string, uid int, gid int) (err error) {
1328 var _p0 *byte
1329 _p0, err = BytePtrFromString(path)
1330 if err != nil {
1331 return
1332 }
1333 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
1334 use(unsafe.Pointer(_p0))
1335 if e1 != 0 {
1336 err = errnoErr(e1)
1337 }
1338 return
1339}
1340
1341// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1342
1343func Listen(s int, n int) (err error) {
1344 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
1345 if e1 != 0 {
1346 err = errnoErr(e1)
1347 }
1348 return
1349}
1350
1351// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1352
1353func Lstat(path string, stat *Stat_t) (err error) {
1354 var _p0 *byte
1355 _p0, err = BytePtrFromString(path)
1356 if err != nil {
1357 return
1358 }
1359 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1360 use(unsafe.Pointer(_p0))
1361 if e1 != 0 {
1362 err = errnoErr(e1)
1363 }
1364 return
1365}
1366
1367// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1368
1369func Pread(fd int, p []byte, offset int64) (n int, err error) {
1370 var _p0 unsafe.Pointer
1371 if len(p) > 0 {
1372 _p0 = unsafe.Pointer(&p[0])
1373 } else {
1374 _p0 = unsafe.Pointer(&_zero)
1375 }
1376 r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1377 n = int(r0)
1378 if e1 != 0 {
1379 err = errnoErr(e1)
1380 }
1381 return
1382}
1383
1384// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1385
1386func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1387 var _p0 unsafe.Pointer
1388 if len(p) > 0 {
1389 _p0 = unsafe.Pointer(&p[0])
1390 } else {
1391 _p0 = unsafe.Pointer(&_zero)
1392 }
1393 r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
1394 n = int(r0)
1395 if e1 != 0 {
1396 err = errnoErr(e1)
1397 }
1398 return
1399}
1400
1401// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1402
1403func Seek(fd int, offset int64, whence int) (off int64, err error) {
1404 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
1405 off = int64(r0)
1406 if e1 != 0 {
1407 err = errnoErr(e1)
1408 }
1409 return
1410}
1411
1412// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1413
1414func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
1415 r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1416 n = int(r0)
1417 if e1 != 0 {
1418 err = errnoErr(e1)
1419 }
1420 return
1421}
1422
1423// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1424
1425func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
1426 r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
1427 written = int(r0)
1428 if e1 != 0 {
1429 err = errnoErr(e1)
1430 }
1431 return
1432}
1433
1434// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1435
1436func Setfsgid(gid int) (err error) {
1437 _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
1438 if e1 != 0 {
1439 err = errnoErr(e1)
1440 }
1441 return
1442}
1443
1444// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1445
1446func Setfsuid(uid int) (err error) {
1447 _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
1448 if e1 != 0 {
1449 err = errnoErr(e1)
1450 }
1451 return
1452}
1453
1454// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1455
1456func Setregid(rgid int, egid int) (err error) {
1457 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1458 if e1 != 0 {
1459 err = errnoErr(e1)
1460 }
1461 return
1462}
1463
1464// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1465
1466func Setresgid(rgid int, egid int, sgid int) (err error) {
1467 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1468 if e1 != 0 {
1469 err = errnoErr(e1)
1470 }
1471 return
1472}
1473
1474// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1475
1476func Setresuid(ruid int, euid int, suid int) (err error) {
1477 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1478 if e1 != 0 {
1479 err = errnoErr(e1)
1480 }
1481 return
1482}
1483
1484// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1485
1486func Setrlimit(resource int, rlim *Rlimit) (err error) {
1487 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
1488 if e1 != 0 {
1489 err = errnoErr(e1)
1490 }
1491 return
1492}
1493
1494// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1495
1496func Setreuid(ruid int, euid int) (err error) {
1497 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1498 if e1 != 0 {
1499 err = errnoErr(e1)
1500 }
1501 return
1502}
1503
1504// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1505
1506func Shutdown(fd int, how int) (err error) {
1507 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
1508 if e1 != 0 {
1509 err = errnoErr(e1)
1510 }
1511 return
1512}
1513
1514// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1515
1516func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
1517 r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
1518 n = int64(r0)
1519 if e1 != 0 {
1520 err = errnoErr(e1)
1521 }
1522 return
1523}
1524
1525// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1526
1527func Stat(path string, stat *Stat_t) (err error) {
1528 var _p0 *byte
1529 _p0, err = BytePtrFromString(path)
1530 if err != nil {
1531 return
1532 }
1533 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1534 use(unsafe.Pointer(_p0))
1535 if e1 != 0 {
1536 err = errnoErr(e1)
1537 }
1538 return
1539}
1540
1541// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1542
1543func Statfs(path string, buf *Statfs_t) (err error) {
1544 var _p0 *byte
1545 _p0, err = BytePtrFromString(path)
1546 if err != nil {
1547 return
1548 }
1549 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
1550 use(unsafe.Pointer(_p0))
1551 if e1 != 0 {
1552 err = errnoErr(e1)
1553 }
1554 return
1555}
1556
1557// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1558
1559func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
1560 _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
1561 if e1 != 0 {
1562 err = errnoErr(e1)
1563 }
1564 return
1565}
1566
1567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1568
1569func Truncate(path string, length int64) (err error) {
1570 var _p0 *byte
1571 _p0, err = BytePtrFromString(path)
1572 if err != nil {
1573 return
1574 }
1575 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
1576 use(unsafe.Pointer(_p0))
1577 if e1 != 0 {
1578 err = errnoErr(e1)
1579 }
1580 return
1581}
1582
1583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1584
1585func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
1586 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1587 fd = int(r0)
1588 if e1 != 0 {
1589 err = errnoErr(e1)
1590 }
1591 return
1592}
1593
1594// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1595
1596func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
1597 r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
1598 fd = int(r0)
1599 if e1 != 0 {
1600 err = errnoErr(e1)
1601 }
1602 return
1603}
1604
1605// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1606
1607func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1608 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
1609 if e1 != 0 {
1610 err = errnoErr(e1)
1611 }
1612 return
1613}
1614
1615// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1616
1617func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1618 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
1619 if e1 != 0 {
1620 err = errnoErr(e1)
1621 }
1622 return
1623}
1624
1625// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1626
1627func getgroups(n int, list *_Gid_t) (nn int, err error) {
1628 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1629 nn = int(r0)
1630 if e1 != 0 {
1631 err = errnoErr(e1)
1632 }
1633 return
1634}
1635
1636// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1637
1638func setgroups(n int, list *_Gid_t) (err error) {
1639 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
1640 if e1 != 0 {
1641 err = errnoErr(e1)
1642 }
1643 return
1644}
1645
1646// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1647
1648func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1649 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1650 if e1 != 0 {
1651 err = errnoErr(e1)
1652 }
1653 return
1654}
1655
1656// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1657
1658func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1659 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1660 if e1 != 0 {
1661 err = errnoErr(e1)
1662 }
1663 return
1664}
1665
1666// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1667
1668func socket(domain int, typ int, proto int) (fd int, err error) {
1669 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
1670 fd = int(r0)
1671 if e1 != 0 {
1672 err = errnoErr(e1)
1673 }
1674 return
1675}
1676
1677// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1678
1679func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1680 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1681 if e1 != 0 {
1682 err = errnoErr(e1)
1683 }
1684 return
1685}
1686
1687// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1688
1689func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1690 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1691 if e1 != 0 {
1692 err = errnoErr(e1)
1693 }
1694 return
1695}
1696
1697// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1698
1699func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1700 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
1701 if e1 != 0 {
1702 err = errnoErr(e1)
1703 }
1704 return
1705}
1706
1707// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1708
1709func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1710 var _p0 unsafe.Pointer
1711 if len(p) > 0 {
1712 _p0 = unsafe.Pointer(&p[0])
1713 } else {
1714 _p0 = unsafe.Pointer(&_zero)
1715 }
1716 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1717 n = int(r0)
1718 if e1 != 0 {
1719 err = errnoErr(e1)
1720 }
1721 return
1722}
1723
1724// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1725
1726func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1727 var _p0 unsafe.Pointer
1728 if len(buf) > 0 {
1729 _p0 = unsafe.Pointer(&buf[0])
1730 } else {
1731 _p0 = unsafe.Pointer(&_zero)
1732 }
1733 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1734 if e1 != 0 {
1735 err = errnoErr(e1)
1736 }
1737 return
1738}
1739
1740// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1741
1742func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1743 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1744 n = int(r0)
1745 if e1 != 0 {
1746 err = errnoErr(e1)
1747 }
1748 return
1749}
1750
1751// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1752
1753func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
1754 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
1755 n = int(r0)
1756 if e1 != 0 {
1757 err = errnoErr(e1)
1758 }
1759 return
1760}
1761
1762// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1763
1764func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
1765 r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
1766 xaddr = uintptr(r0)
1767 if e1 != 0 {
1768 err = errnoErr(e1)
1769 }
1770 return
1771}
1772
1773// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1774
1775func Gettimeofday(tv *Timeval) (err error) {
1776 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
1777 if e1 != 0 {
1778 err = errnoErr(e1)
1779 }
1780 return
1781}
1782
1783// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1784
1785func Time(t *Time_t) (tt Time_t, err error) {
1786 r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
1787 tt = Time_t(r0)
1788 if e1 != 0 {
1789 err = errnoErr(e1)
1790 }
1791 return
1792}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_386.go
deleted file mode 100644
index 00ca1f9..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_386.go
+++ /dev/null
@@ -1,1326 +0,0 @@
1// mksyscall.pl -l32 -netbsd syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,netbsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (fd1 int, fd2 int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 fd1 = int(r0)
273 fd2 = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func getdents(fd int, buf []byte) (n int, err error) {
283 var _p0 unsafe.Pointer
284 if len(buf) > 0 {
285 _p0 = unsafe.Pointer(&buf[0])
286 } else {
287 _p0 = unsafe.Pointer(&_zero)
288 }
289 r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
290 n = int(r0)
291 if e1 != 0 {
292 err = errnoErr(e1)
293 }
294 return
295}
296
297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
298
299func Access(path string, mode uint32) (err error) {
300 var _p0 *byte
301 _p0, err = BytePtrFromString(path)
302 if err != nil {
303 return
304 }
305 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
306 use(unsafe.Pointer(_p0))
307 if e1 != 0 {
308 err = errnoErr(e1)
309 }
310 return
311}
312
313// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
314
315func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
316 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
317 if e1 != 0 {
318 err = errnoErr(e1)
319 }
320 return
321}
322
323// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
324
325func Chdir(path string) (err error) {
326 var _p0 *byte
327 _p0, err = BytePtrFromString(path)
328 if err != nil {
329 return
330 }
331 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
332 use(unsafe.Pointer(_p0))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func Chflags(path string, flags int) (err error) {
342 var _p0 *byte
343 _p0, err = BytePtrFromString(path)
344 if err != nil {
345 return
346 }
347 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
348 use(unsafe.Pointer(_p0))
349 if e1 != 0 {
350 err = errnoErr(e1)
351 }
352 return
353}
354
355// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
356
357func Chmod(path string, mode uint32) (err error) {
358 var _p0 *byte
359 _p0, err = BytePtrFromString(path)
360 if err != nil {
361 return
362 }
363 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
364 use(unsafe.Pointer(_p0))
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func Chown(path string, uid int, gid int) (err error) {
374 var _p0 *byte
375 _p0, err = BytePtrFromString(path)
376 if err != nil {
377 return
378 }
379 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
380 use(unsafe.Pointer(_p0))
381 if e1 != 0 {
382 err = errnoErr(e1)
383 }
384 return
385}
386
387// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
388
389func Chroot(path string) (err error) {
390 var _p0 *byte
391 _p0, err = BytePtrFromString(path)
392 if err != nil {
393 return
394 }
395 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
396 use(unsafe.Pointer(_p0))
397 if e1 != 0 {
398 err = errnoErr(e1)
399 }
400 return
401}
402
403// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
404
405func Close(fd int) (err error) {
406 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
407 if e1 != 0 {
408 err = errnoErr(e1)
409 }
410 return
411}
412
413// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
414
415func Dup(fd int) (nfd int, err error) {
416 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
417 nfd = int(r0)
418 if e1 != 0 {
419 err = errnoErr(e1)
420 }
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func Dup2(from int, to int) (err error) {
427 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
428 if e1 != 0 {
429 err = errnoErr(e1)
430 }
431 return
432}
433
434// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
435
436func Exit(code int) {
437 Syscall(SYS_EXIT, uintptr(code), 0, 0)
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchdir(fd int) (err error) {
444 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
445 if e1 != 0 {
446 err = errnoErr(e1)
447 }
448 return
449}
450
451// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
452
453func Fchflags(fd int, flags int) (err error) {
454 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
455 if e1 != 0 {
456 err = errnoErr(e1)
457 }
458 return
459}
460
461// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
462
463func Fchmod(fd int, mode uint32) (err error) {
464 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
465 if e1 != 0 {
466 err = errnoErr(e1)
467 }
468 return
469}
470
471// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
472
473func Fchown(fd int, uid int, gid int) (err error) {
474 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
475 if e1 != 0 {
476 err = errnoErr(e1)
477 }
478 return
479}
480
481// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
482
483func Flock(fd int, how int) (err error) {
484 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
485 if e1 != 0 {
486 err = errnoErr(e1)
487 }
488 return
489}
490
491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
492
493func Fpathconf(fd int, name int) (val int, err error) {
494 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
495 val = int(r0)
496 if e1 != 0 {
497 err = errnoErr(e1)
498 }
499 return
500}
501
502// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
503
504func Fstat(fd int, stat *Stat_t) (err error) {
505 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
506 if e1 != 0 {
507 err = errnoErr(e1)
508 }
509 return
510}
511
512// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
513
514func Fsync(fd int) (err error) {
515 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
516 if e1 != 0 {
517 err = errnoErr(e1)
518 }
519 return
520}
521
522// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
523
524func Ftruncate(fd int, length int64) (err error) {
525 _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
526 if e1 != 0 {
527 err = errnoErr(e1)
528 }
529 return
530}
531
532// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
533
534func Getegid() (egid int) {
535 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
536 egid = int(r0)
537 return
538}
539
540// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
541
542func Geteuid() (uid int) {
543 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
544 uid = int(r0)
545 return
546}
547
548// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
549
550func Getgid() (gid int) {
551 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
552 gid = int(r0)
553 return
554}
555
556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
558func Getpgid(pid int) (pgid int, err error) {
559 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
560 pgid = int(r0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getpgrp() (pgrp int) {
570 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
571 pgrp = int(r0)
572 return
573}
574
575// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
576
577func Getpid() (pid int) {
578 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
579 pid = int(r0)
580 return
581}
582
583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
584
585func Getppid() (ppid int) {
586 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
587 ppid = int(r0)
588 return
589}
590
591// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
592
593func Getpriority(which int, who int) (prio int, err error) {
594 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
595 prio = int(r0)
596 if e1 != 0 {
597 err = errnoErr(e1)
598 }
599 return
600}
601
602// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
603
604func Getrlimit(which int, lim *Rlimit) (err error) {
605 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
606 if e1 != 0 {
607 err = errnoErr(e1)
608 }
609 return
610}
611
612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
613
614func Getrusage(who int, rusage *Rusage) (err error) {
615 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
616 if e1 != 0 {
617 err = errnoErr(e1)
618 }
619 return
620}
621
622// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
623
624func Getsid(pid int) (sid int, err error) {
625 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
626 sid = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func Gettimeofday(tv *Timeval) (err error) {
636 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
637 if e1 != 0 {
638 err = errnoErr(e1)
639 }
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getuid() (uid int) {
646 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
647 uid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Issetugid() (tainted bool) {
654 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
655 tainted = bool(r0 != 0)
656 return
657}
658
659// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
660
661func Kill(pid int, signum syscall.Signal) (err error) {
662 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
663 if e1 != 0 {
664 err = errnoErr(e1)
665 }
666 return
667}
668
669// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
670
671func Kqueue() (fd int, err error) {
672 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
673 fd = int(r0)
674 if e1 != 0 {
675 err = errnoErr(e1)
676 }
677 return
678}
679
680// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
681
682func Lchown(path string, uid int, gid int) (err error) {
683 var _p0 *byte
684 _p0, err = BytePtrFromString(path)
685 if err != nil {
686 return
687 }
688 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
689 use(unsafe.Pointer(_p0))
690 if e1 != 0 {
691 err = errnoErr(e1)
692 }
693 return
694}
695
696// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
697
698func Link(path string, link string) (err error) {
699 var _p0 *byte
700 _p0, err = BytePtrFromString(path)
701 if err != nil {
702 return
703 }
704 var _p1 *byte
705 _p1, err = BytePtrFromString(link)
706 if err != nil {
707 return
708 }
709 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
710 use(unsafe.Pointer(_p0))
711 use(unsafe.Pointer(_p1))
712 if e1 != 0 {
713 err = errnoErr(e1)
714 }
715 return
716}
717
718// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
719
720func Listen(s int, backlog int) (err error) {
721 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
722 if e1 != 0 {
723 err = errnoErr(e1)
724 }
725 return
726}
727
728// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
729
730func Lstat(path string, stat *Stat_t) (err error) {
731 var _p0 *byte
732 _p0, err = BytePtrFromString(path)
733 if err != nil {
734 return
735 }
736 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
737 use(unsafe.Pointer(_p0))
738 if e1 != 0 {
739 err = errnoErr(e1)
740 }
741 return
742}
743
744// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
745
746func Mkdir(path string, mode uint32) (err error) {
747 var _p0 *byte
748 _p0, err = BytePtrFromString(path)
749 if err != nil {
750 return
751 }
752 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
753 use(unsafe.Pointer(_p0))
754 if e1 != 0 {
755 err = errnoErr(e1)
756 }
757 return
758}
759
760// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
761
762func Mkfifo(path string, mode uint32) (err error) {
763 var _p0 *byte
764 _p0, err = BytePtrFromString(path)
765 if err != nil {
766 return
767 }
768 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
769 use(unsafe.Pointer(_p0))
770 if e1 != 0 {
771 err = errnoErr(e1)
772 }
773 return
774}
775
776// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
777
778func Mknod(path string, mode uint32, dev int) (err error) {
779 var _p0 *byte
780 _p0, err = BytePtrFromString(path)
781 if err != nil {
782 return
783 }
784 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
785 use(unsafe.Pointer(_p0))
786 if e1 != 0 {
787 err = errnoErr(e1)
788 }
789 return
790}
791
792// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
793
794func Mlock(b []byte) (err error) {
795 var _p0 unsafe.Pointer
796 if len(b) > 0 {
797 _p0 = unsafe.Pointer(&b[0])
798 } else {
799 _p0 = unsafe.Pointer(&_zero)
800 }
801 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
802 if e1 != 0 {
803 err = errnoErr(e1)
804 }
805 return
806}
807
808// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
809
810func Mlockall(flags int) (err error) {
811 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
812 if e1 != 0 {
813 err = errnoErr(e1)
814 }
815 return
816}
817
818// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
819
820func Mprotect(b []byte, prot int) (err error) {
821 var _p0 unsafe.Pointer
822 if len(b) > 0 {
823 _p0 = unsafe.Pointer(&b[0])
824 } else {
825 _p0 = unsafe.Pointer(&_zero)
826 }
827 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
828 if e1 != 0 {
829 err = errnoErr(e1)
830 }
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Munlock(b []byte) (err error) {
837 var _p0 unsafe.Pointer
838 if len(b) > 0 {
839 _p0 = unsafe.Pointer(&b[0])
840 } else {
841 _p0 = unsafe.Pointer(&_zero)
842 }
843 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
844 if e1 != 0 {
845 err = errnoErr(e1)
846 }
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Munlockall() (err error) {
853 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
863 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
864 if e1 != 0 {
865 err = errnoErr(e1)
866 }
867 return
868}
869
870// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
871
872func Open(path string, mode int, perm uint32) (fd int, err error) {
873 var _p0 *byte
874 _p0, err = BytePtrFromString(path)
875 if err != nil {
876 return
877 }
878 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
879 use(unsafe.Pointer(_p0))
880 fd = int(r0)
881 if e1 != 0 {
882 err = errnoErr(e1)
883 }
884 return
885}
886
887// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
888
889func Pathconf(path string, name int) (val int, err error) {
890 var _p0 *byte
891 _p0, err = BytePtrFromString(path)
892 if err != nil {
893 return
894 }
895 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
896 use(unsafe.Pointer(_p0))
897 val = int(r0)
898 if e1 != 0 {
899 err = errnoErr(e1)
900 }
901 return
902}
903
904// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
905
906func Pread(fd int, p []byte, offset int64) (n int, err error) {
907 var _p0 unsafe.Pointer
908 if len(p) > 0 {
909 _p0 = unsafe.Pointer(&p[0])
910 } else {
911 _p0 = unsafe.Pointer(&_zero)
912 }
913 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
914 n = int(r0)
915 if e1 != 0 {
916 err = errnoErr(e1)
917 }
918 return
919}
920
921// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
922
923func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
924 var _p0 unsafe.Pointer
925 if len(p) > 0 {
926 _p0 = unsafe.Pointer(&p[0])
927 } else {
928 _p0 = unsafe.Pointer(&_zero)
929 }
930 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
931 n = int(r0)
932 if e1 != 0 {
933 err = errnoErr(e1)
934 }
935 return
936}
937
938// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
939
940func read(fd int, p []byte) (n int, err error) {
941 var _p0 unsafe.Pointer
942 if len(p) > 0 {
943 _p0 = unsafe.Pointer(&p[0])
944 } else {
945 _p0 = unsafe.Pointer(&_zero)
946 }
947 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
948 n = int(r0)
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Readlink(path string, buf []byte) (n int, err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 unsafe.Pointer
964 if len(buf) > 0 {
965 _p1 = unsafe.Pointer(&buf[0])
966 } else {
967 _p1 = unsafe.Pointer(&_zero)
968 }
969 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
970 use(unsafe.Pointer(_p0))
971 n = int(r0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Rename(from string, to string) (err error) {
981 var _p0 *byte
982 _p0, err = BytePtrFromString(from)
983 if err != nil {
984 return
985 }
986 var _p1 *byte
987 _p1, err = BytePtrFromString(to)
988 if err != nil {
989 return
990 }
991 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
992 use(unsafe.Pointer(_p0))
993 use(unsafe.Pointer(_p1))
994 if e1 != 0 {
995 err = errnoErr(e1)
996 }
997 return
998}
999
1000// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1001
1002func Revoke(path string) (err error) {
1003 var _p0 *byte
1004 _p0, err = BytePtrFromString(path)
1005 if err != nil {
1006 return
1007 }
1008 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1009 use(unsafe.Pointer(_p0))
1010 if e1 != 0 {
1011 err = errnoErr(e1)
1012 }
1013 return
1014}
1015
1016// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1017
1018func Rmdir(path string) (err error) {
1019 var _p0 *byte
1020 _p0, err = BytePtrFromString(path)
1021 if err != nil {
1022 return
1023 }
1024 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1025 use(unsafe.Pointer(_p0))
1026 if e1 != 0 {
1027 err = errnoErr(e1)
1028 }
1029 return
1030}
1031
1032// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1033
1034func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1035 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
1036 newoffset = int64(int64(r1)<<32 | int64(r0))
1037 if e1 != 0 {
1038 err = errnoErr(e1)
1039 }
1040 return
1041}
1042
1043// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1044
1045func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1046 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1047 if e1 != 0 {
1048 err = errnoErr(e1)
1049 }
1050 return
1051}
1052
1053// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1054
1055func Setegid(egid int) (err error) {
1056 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1057 if e1 != 0 {
1058 err = errnoErr(e1)
1059 }
1060 return
1061}
1062
1063// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1064
1065func Seteuid(euid int) (err error) {
1066 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Setgid(gid int) (err error) {
1076 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setpgid(pid int, pgid int) (err error) {
1086 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Setpriority(which int, who int, prio int) (err error) {
1096 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setregid(rgid int, egid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setreuid(ruid int, euid int) (err error) {
1116 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1117 if e1 != 0 {
1118 err = errnoErr(e1)
1119 }
1120 return
1121}
1122
1123// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1124
1125func Setrlimit(which int, lim *Rlimit) (err error) {
1126 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1127 if e1 != 0 {
1128 err = errnoErr(e1)
1129 }
1130 return
1131}
1132
1133// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1134
1135func Setsid() (pid int, err error) {
1136 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1137 pid = int(r0)
1138 if e1 != 0 {
1139 err = errnoErr(e1)
1140 }
1141 return
1142}
1143
1144// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1145
1146func Settimeofday(tp *Timeval) (err error) {
1147 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1148 if e1 != 0 {
1149 err = errnoErr(e1)
1150 }
1151 return
1152}
1153
1154// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1155
1156func Setuid(uid int) (err error) {
1157 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1158 if e1 != 0 {
1159 err = errnoErr(e1)
1160 }
1161 return
1162}
1163
1164// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1165
1166func Stat(path string, stat *Stat_t) (err error) {
1167 var _p0 *byte
1168 _p0, err = BytePtrFromString(path)
1169 if err != nil {
1170 return
1171 }
1172 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1173 use(unsafe.Pointer(_p0))
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Symlink(path string, link string) (err error) {
1183 var _p0 *byte
1184 _p0, err = BytePtrFromString(path)
1185 if err != nil {
1186 return
1187 }
1188 var _p1 *byte
1189 _p1, err = BytePtrFromString(link)
1190 if err != nil {
1191 return
1192 }
1193 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1194 use(unsafe.Pointer(_p0))
1195 use(unsafe.Pointer(_p1))
1196 if e1 != 0 {
1197 err = errnoErr(e1)
1198 }
1199 return
1200}
1201
1202// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1203
1204func Sync() (err error) {
1205 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1206 if e1 != 0 {
1207 err = errnoErr(e1)
1208 }
1209 return
1210}
1211
1212// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1213
1214func Truncate(path string, length int64) (err error) {
1215 var _p0 *byte
1216 _p0, err = BytePtrFromString(path)
1217 if err != nil {
1218 return
1219 }
1220 _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1221 use(unsafe.Pointer(_p0))
1222 if e1 != 0 {
1223 err = errnoErr(e1)
1224 }
1225 return
1226}
1227
1228// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1229
1230func Umask(newmask int) (oldmask int) {
1231 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1232 oldmask = int(r0)
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Unlink(path string) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Unmount(path string, flags int) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1261 use(unsafe.Pointer(_p0))
1262 if e1 != 0 {
1263 err = errnoErr(e1)
1264 }
1265 return
1266}
1267
1268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1269
1270func write(fd int, p []byte) (n int, err error) {
1271 var _p0 unsafe.Pointer
1272 if len(p) > 0 {
1273 _p0 = unsafe.Pointer(&p[0])
1274 } else {
1275 _p0 = unsafe.Pointer(&_zero)
1276 }
1277 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1278 n = int(r0)
1279 if e1 != 0 {
1280 err = errnoErr(e1)
1281 }
1282 return
1283}
1284
1285// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1286
1287func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1288 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
1289 ret = uintptr(r0)
1290 if e1 != 0 {
1291 err = errnoErr(e1)
1292 }
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func munmap(addr uintptr, length uintptr) (err error) {
1299 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1300 if e1 != 0 {
1301 err = errnoErr(e1)
1302 }
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1309 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1310 n = int(r0)
1311 if e1 != 0 {
1312 err = errnoErr(e1)
1313 }
1314 return
1315}
1316
1317// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1318
1319func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1320 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1321 n = int(r0)
1322 if e1 != 0 {
1323 err = errnoErr(e1)
1324 }
1325 return
1326}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
deleted file mode 100644
index 03f31b9..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
+++ /dev/null
@@ -1,1326 +0,0 @@
1// mksyscall.pl -netbsd syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,netbsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (fd1 int, fd2 int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 fd1 = int(r0)
273 fd2 = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func getdents(fd int, buf []byte) (n int, err error) {
283 var _p0 unsafe.Pointer
284 if len(buf) > 0 {
285 _p0 = unsafe.Pointer(&buf[0])
286 } else {
287 _p0 = unsafe.Pointer(&_zero)
288 }
289 r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
290 n = int(r0)
291 if e1 != 0 {
292 err = errnoErr(e1)
293 }
294 return
295}
296
297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
298
299func Access(path string, mode uint32) (err error) {
300 var _p0 *byte
301 _p0, err = BytePtrFromString(path)
302 if err != nil {
303 return
304 }
305 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
306 use(unsafe.Pointer(_p0))
307 if e1 != 0 {
308 err = errnoErr(e1)
309 }
310 return
311}
312
313// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
314
315func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
316 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
317 if e1 != 0 {
318 err = errnoErr(e1)
319 }
320 return
321}
322
323// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
324
325func Chdir(path string) (err error) {
326 var _p0 *byte
327 _p0, err = BytePtrFromString(path)
328 if err != nil {
329 return
330 }
331 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
332 use(unsafe.Pointer(_p0))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func Chflags(path string, flags int) (err error) {
342 var _p0 *byte
343 _p0, err = BytePtrFromString(path)
344 if err != nil {
345 return
346 }
347 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
348 use(unsafe.Pointer(_p0))
349 if e1 != 0 {
350 err = errnoErr(e1)
351 }
352 return
353}
354
355// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
356
357func Chmod(path string, mode uint32) (err error) {
358 var _p0 *byte
359 _p0, err = BytePtrFromString(path)
360 if err != nil {
361 return
362 }
363 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
364 use(unsafe.Pointer(_p0))
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func Chown(path string, uid int, gid int) (err error) {
374 var _p0 *byte
375 _p0, err = BytePtrFromString(path)
376 if err != nil {
377 return
378 }
379 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
380 use(unsafe.Pointer(_p0))
381 if e1 != 0 {
382 err = errnoErr(e1)
383 }
384 return
385}
386
387// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
388
389func Chroot(path string) (err error) {
390 var _p0 *byte
391 _p0, err = BytePtrFromString(path)
392 if err != nil {
393 return
394 }
395 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
396 use(unsafe.Pointer(_p0))
397 if e1 != 0 {
398 err = errnoErr(e1)
399 }
400 return
401}
402
403// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
404
405func Close(fd int) (err error) {
406 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
407 if e1 != 0 {
408 err = errnoErr(e1)
409 }
410 return
411}
412
413// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
414
415func Dup(fd int) (nfd int, err error) {
416 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
417 nfd = int(r0)
418 if e1 != 0 {
419 err = errnoErr(e1)
420 }
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func Dup2(from int, to int) (err error) {
427 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
428 if e1 != 0 {
429 err = errnoErr(e1)
430 }
431 return
432}
433
434// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
435
436func Exit(code int) {
437 Syscall(SYS_EXIT, uintptr(code), 0, 0)
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchdir(fd int) (err error) {
444 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
445 if e1 != 0 {
446 err = errnoErr(e1)
447 }
448 return
449}
450
451// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
452
453func Fchflags(fd int, flags int) (err error) {
454 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
455 if e1 != 0 {
456 err = errnoErr(e1)
457 }
458 return
459}
460
461// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
462
463func Fchmod(fd int, mode uint32) (err error) {
464 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
465 if e1 != 0 {
466 err = errnoErr(e1)
467 }
468 return
469}
470
471// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
472
473func Fchown(fd int, uid int, gid int) (err error) {
474 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
475 if e1 != 0 {
476 err = errnoErr(e1)
477 }
478 return
479}
480
481// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
482
483func Flock(fd int, how int) (err error) {
484 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
485 if e1 != 0 {
486 err = errnoErr(e1)
487 }
488 return
489}
490
491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
492
493func Fpathconf(fd int, name int) (val int, err error) {
494 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
495 val = int(r0)
496 if e1 != 0 {
497 err = errnoErr(e1)
498 }
499 return
500}
501
502// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
503
504func Fstat(fd int, stat *Stat_t) (err error) {
505 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
506 if e1 != 0 {
507 err = errnoErr(e1)
508 }
509 return
510}
511
512// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
513
514func Fsync(fd int) (err error) {
515 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
516 if e1 != 0 {
517 err = errnoErr(e1)
518 }
519 return
520}
521
522// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
523
524func Ftruncate(fd int, length int64) (err error) {
525 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
526 if e1 != 0 {
527 err = errnoErr(e1)
528 }
529 return
530}
531
532// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
533
534func Getegid() (egid int) {
535 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
536 egid = int(r0)
537 return
538}
539
540// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
541
542func Geteuid() (uid int) {
543 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
544 uid = int(r0)
545 return
546}
547
548// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
549
550func Getgid() (gid int) {
551 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
552 gid = int(r0)
553 return
554}
555
556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
558func Getpgid(pid int) (pgid int, err error) {
559 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
560 pgid = int(r0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getpgrp() (pgrp int) {
570 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
571 pgrp = int(r0)
572 return
573}
574
575// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
576
577func Getpid() (pid int) {
578 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
579 pid = int(r0)
580 return
581}
582
583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
584
585func Getppid() (ppid int) {
586 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
587 ppid = int(r0)
588 return
589}
590
591// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
592
593func Getpriority(which int, who int) (prio int, err error) {
594 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
595 prio = int(r0)
596 if e1 != 0 {
597 err = errnoErr(e1)
598 }
599 return
600}
601
602// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
603
604func Getrlimit(which int, lim *Rlimit) (err error) {
605 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
606 if e1 != 0 {
607 err = errnoErr(e1)
608 }
609 return
610}
611
612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
613
614func Getrusage(who int, rusage *Rusage) (err error) {
615 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
616 if e1 != 0 {
617 err = errnoErr(e1)
618 }
619 return
620}
621
622// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
623
624func Getsid(pid int) (sid int, err error) {
625 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
626 sid = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func Gettimeofday(tv *Timeval) (err error) {
636 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
637 if e1 != 0 {
638 err = errnoErr(e1)
639 }
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getuid() (uid int) {
646 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
647 uid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Issetugid() (tainted bool) {
654 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
655 tainted = bool(r0 != 0)
656 return
657}
658
659// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
660
661func Kill(pid int, signum syscall.Signal) (err error) {
662 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
663 if e1 != 0 {
664 err = errnoErr(e1)
665 }
666 return
667}
668
669// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
670
671func Kqueue() (fd int, err error) {
672 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
673 fd = int(r0)
674 if e1 != 0 {
675 err = errnoErr(e1)
676 }
677 return
678}
679
680// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
681
682func Lchown(path string, uid int, gid int) (err error) {
683 var _p0 *byte
684 _p0, err = BytePtrFromString(path)
685 if err != nil {
686 return
687 }
688 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
689 use(unsafe.Pointer(_p0))
690 if e1 != 0 {
691 err = errnoErr(e1)
692 }
693 return
694}
695
696// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
697
698func Link(path string, link string) (err error) {
699 var _p0 *byte
700 _p0, err = BytePtrFromString(path)
701 if err != nil {
702 return
703 }
704 var _p1 *byte
705 _p1, err = BytePtrFromString(link)
706 if err != nil {
707 return
708 }
709 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
710 use(unsafe.Pointer(_p0))
711 use(unsafe.Pointer(_p1))
712 if e1 != 0 {
713 err = errnoErr(e1)
714 }
715 return
716}
717
718// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
719
720func Listen(s int, backlog int) (err error) {
721 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
722 if e1 != 0 {
723 err = errnoErr(e1)
724 }
725 return
726}
727
728// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
729
730func Lstat(path string, stat *Stat_t) (err error) {
731 var _p0 *byte
732 _p0, err = BytePtrFromString(path)
733 if err != nil {
734 return
735 }
736 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
737 use(unsafe.Pointer(_p0))
738 if e1 != 0 {
739 err = errnoErr(e1)
740 }
741 return
742}
743
744// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
745
746func Mkdir(path string, mode uint32) (err error) {
747 var _p0 *byte
748 _p0, err = BytePtrFromString(path)
749 if err != nil {
750 return
751 }
752 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
753 use(unsafe.Pointer(_p0))
754 if e1 != 0 {
755 err = errnoErr(e1)
756 }
757 return
758}
759
760// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
761
762func Mkfifo(path string, mode uint32) (err error) {
763 var _p0 *byte
764 _p0, err = BytePtrFromString(path)
765 if err != nil {
766 return
767 }
768 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
769 use(unsafe.Pointer(_p0))
770 if e1 != 0 {
771 err = errnoErr(e1)
772 }
773 return
774}
775
776// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
777
778func Mknod(path string, mode uint32, dev int) (err error) {
779 var _p0 *byte
780 _p0, err = BytePtrFromString(path)
781 if err != nil {
782 return
783 }
784 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
785 use(unsafe.Pointer(_p0))
786 if e1 != 0 {
787 err = errnoErr(e1)
788 }
789 return
790}
791
792// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
793
794func Mlock(b []byte) (err error) {
795 var _p0 unsafe.Pointer
796 if len(b) > 0 {
797 _p0 = unsafe.Pointer(&b[0])
798 } else {
799 _p0 = unsafe.Pointer(&_zero)
800 }
801 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
802 if e1 != 0 {
803 err = errnoErr(e1)
804 }
805 return
806}
807
808// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
809
810func Mlockall(flags int) (err error) {
811 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
812 if e1 != 0 {
813 err = errnoErr(e1)
814 }
815 return
816}
817
818// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
819
820func Mprotect(b []byte, prot int) (err error) {
821 var _p0 unsafe.Pointer
822 if len(b) > 0 {
823 _p0 = unsafe.Pointer(&b[0])
824 } else {
825 _p0 = unsafe.Pointer(&_zero)
826 }
827 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
828 if e1 != 0 {
829 err = errnoErr(e1)
830 }
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Munlock(b []byte) (err error) {
837 var _p0 unsafe.Pointer
838 if len(b) > 0 {
839 _p0 = unsafe.Pointer(&b[0])
840 } else {
841 _p0 = unsafe.Pointer(&_zero)
842 }
843 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
844 if e1 != 0 {
845 err = errnoErr(e1)
846 }
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Munlockall() (err error) {
853 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
863 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
864 if e1 != 0 {
865 err = errnoErr(e1)
866 }
867 return
868}
869
870// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
871
872func Open(path string, mode int, perm uint32) (fd int, err error) {
873 var _p0 *byte
874 _p0, err = BytePtrFromString(path)
875 if err != nil {
876 return
877 }
878 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
879 use(unsafe.Pointer(_p0))
880 fd = int(r0)
881 if e1 != 0 {
882 err = errnoErr(e1)
883 }
884 return
885}
886
887// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
888
889func Pathconf(path string, name int) (val int, err error) {
890 var _p0 *byte
891 _p0, err = BytePtrFromString(path)
892 if err != nil {
893 return
894 }
895 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
896 use(unsafe.Pointer(_p0))
897 val = int(r0)
898 if e1 != 0 {
899 err = errnoErr(e1)
900 }
901 return
902}
903
904// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
905
906func Pread(fd int, p []byte, offset int64) (n int, err error) {
907 var _p0 unsafe.Pointer
908 if len(p) > 0 {
909 _p0 = unsafe.Pointer(&p[0])
910 } else {
911 _p0 = unsafe.Pointer(&_zero)
912 }
913 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
914 n = int(r0)
915 if e1 != 0 {
916 err = errnoErr(e1)
917 }
918 return
919}
920
921// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
922
923func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
924 var _p0 unsafe.Pointer
925 if len(p) > 0 {
926 _p0 = unsafe.Pointer(&p[0])
927 } else {
928 _p0 = unsafe.Pointer(&_zero)
929 }
930 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
931 n = int(r0)
932 if e1 != 0 {
933 err = errnoErr(e1)
934 }
935 return
936}
937
938// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
939
940func read(fd int, p []byte) (n int, err error) {
941 var _p0 unsafe.Pointer
942 if len(p) > 0 {
943 _p0 = unsafe.Pointer(&p[0])
944 } else {
945 _p0 = unsafe.Pointer(&_zero)
946 }
947 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
948 n = int(r0)
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Readlink(path string, buf []byte) (n int, err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 unsafe.Pointer
964 if len(buf) > 0 {
965 _p1 = unsafe.Pointer(&buf[0])
966 } else {
967 _p1 = unsafe.Pointer(&_zero)
968 }
969 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
970 use(unsafe.Pointer(_p0))
971 n = int(r0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Rename(from string, to string) (err error) {
981 var _p0 *byte
982 _p0, err = BytePtrFromString(from)
983 if err != nil {
984 return
985 }
986 var _p1 *byte
987 _p1, err = BytePtrFromString(to)
988 if err != nil {
989 return
990 }
991 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
992 use(unsafe.Pointer(_p0))
993 use(unsafe.Pointer(_p1))
994 if e1 != 0 {
995 err = errnoErr(e1)
996 }
997 return
998}
999
1000// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1001
1002func Revoke(path string) (err error) {
1003 var _p0 *byte
1004 _p0, err = BytePtrFromString(path)
1005 if err != nil {
1006 return
1007 }
1008 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1009 use(unsafe.Pointer(_p0))
1010 if e1 != 0 {
1011 err = errnoErr(e1)
1012 }
1013 return
1014}
1015
1016// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1017
1018func Rmdir(path string) (err error) {
1019 var _p0 *byte
1020 _p0, err = BytePtrFromString(path)
1021 if err != nil {
1022 return
1023 }
1024 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1025 use(unsafe.Pointer(_p0))
1026 if e1 != 0 {
1027 err = errnoErr(e1)
1028 }
1029 return
1030}
1031
1032// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1033
1034func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1035 r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
1036 newoffset = int64(r0)
1037 if e1 != 0 {
1038 err = errnoErr(e1)
1039 }
1040 return
1041}
1042
1043// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1044
1045func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1046 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1047 if e1 != 0 {
1048 err = errnoErr(e1)
1049 }
1050 return
1051}
1052
1053// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1054
1055func Setegid(egid int) (err error) {
1056 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1057 if e1 != 0 {
1058 err = errnoErr(e1)
1059 }
1060 return
1061}
1062
1063// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1064
1065func Seteuid(euid int) (err error) {
1066 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Setgid(gid int) (err error) {
1076 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setpgid(pid int, pgid int) (err error) {
1086 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Setpriority(which int, who int, prio int) (err error) {
1096 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setregid(rgid int, egid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setreuid(ruid int, euid int) (err error) {
1116 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1117 if e1 != 0 {
1118 err = errnoErr(e1)
1119 }
1120 return
1121}
1122
1123// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1124
1125func Setrlimit(which int, lim *Rlimit) (err error) {
1126 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1127 if e1 != 0 {
1128 err = errnoErr(e1)
1129 }
1130 return
1131}
1132
1133// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1134
1135func Setsid() (pid int, err error) {
1136 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1137 pid = int(r0)
1138 if e1 != 0 {
1139 err = errnoErr(e1)
1140 }
1141 return
1142}
1143
1144// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1145
1146func Settimeofday(tp *Timeval) (err error) {
1147 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1148 if e1 != 0 {
1149 err = errnoErr(e1)
1150 }
1151 return
1152}
1153
1154// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1155
1156func Setuid(uid int) (err error) {
1157 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1158 if e1 != 0 {
1159 err = errnoErr(e1)
1160 }
1161 return
1162}
1163
1164// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1165
1166func Stat(path string, stat *Stat_t) (err error) {
1167 var _p0 *byte
1168 _p0, err = BytePtrFromString(path)
1169 if err != nil {
1170 return
1171 }
1172 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1173 use(unsafe.Pointer(_p0))
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Symlink(path string, link string) (err error) {
1183 var _p0 *byte
1184 _p0, err = BytePtrFromString(path)
1185 if err != nil {
1186 return
1187 }
1188 var _p1 *byte
1189 _p1, err = BytePtrFromString(link)
1190 if err != nil {
1191 return
1192 }
1193 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1194 use(unsafe.Pointer(_p0))
1195 use(unsafe.Pointer(_p1))
1196 if e1 != 0 {
1197 err = errnoErr(e1)
1198 }
1199 return
1200}
1201
1202// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1203
1204func Sync() (err error) {
1205 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1206 if e1 != 0 {
1207 err = errnoErr(e1)
1208 }
1209 return
1210}
1211
1212// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1213
1214func Truncate(path string, length int64) (err error) {
1215 var _p0 *byte
1216 _p0, err = BytePtrFromString(path)
1217 if err != nil {
1218 return
1219 }
1220 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
1221 use(unsafe.Pointer(_p0))
1222 if e1 != 0 {
1223 err = errnoErr(e1)
1224 }
1225 return
1226}
1227
1228// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1229
1230func Umask(newmask int) (oldmask int) {
1231 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1232 oldmask = int(r0)
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Unlink(path string) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Unmount(path string, flags int) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1261 use(unsafe.Pointer(_p0))
1262 if e1 != 0 {
1263 err = errnoErr(e1)
1264 }
1265 return
1266}
1267
1268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1269
1270func write(fd int, p []byte) (n int, err error) {
1271 var _p0 unsafe.Pointer
1272 if len(p) > 0 {
1273 _p0 = unsafe.Pointer(&p[0])
1274 } else {
1275 _p0 = unsafe.Pointer(&_zero)
1276 }
1277 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1278 n = int(r0)
1279 if e1 != 0 {
1280 err = errnoErr(e1)
1281 }
1282 return
1283}
1284
1285// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1286
1287func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1288 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
1289 ret = uintptr(r0)
1290 if e1 != 0 {
1291 err = errnoErr(e1)
1292 }
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func munmap(addr uintptr, length uintptr) (err error) {
1299 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1300 if e1 != 0 {
1301 err = errnoErr(e1)
1302 }
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1309 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1310 n = int(r0)
1311 if e1 != 0 {
1312 err = errnoErr(e1)
1313 }
1314 return
1315}
1316
1317// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1318
1319func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1320 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1321 n = int(r0)
1322 if e1 != 0 {
1323 err = errnoErr(e1)
1324 }
1325 return
1326}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
deleted file mode 100644
index 84dc61c..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
+++ /dev/null
@@ -1,1326 +0,0 @@
1// mksyscall.pl -l32 -arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build arm,netbsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe() (fd1 int, fd2 int, err error) {
271 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
272 fd1 = int(r0)
273 fd2 = int(r1)
274 if e1 != 0 {
275 err = errnoErr(e1)
276 }
277 return
278}
279
280// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
281
282func getdents(fd int, buf []byte) (n int, err error) {
283 var _p0 unsafe.Pointer
284 if len(buf) > 0 {
285 _p0 = unsafe.Pointer(&buf[0])
286 } else {
287 _p0 = unsafe.Pointer(&_zero)
288 }
289 r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
290 n = int(r0)
291 if e1 != 0 {
292 err = errnoErr(e1)
293 }
294 return
295}
296
297// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
298
299func Access(path string, mode uint32) (err error) {
300 var _p0 *byte
301 _p0, err = BytePtrFromString(path)
302 if err != nil {
303 return
304 }
305 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
306 use(unsafe.Pointer(_p0))
307 if e1 != 0 {
308 err = errnoErr(e1)
309 }
310 return
311}
312
313// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
314
315func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
316 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
317 if e1 != 0 {
318 err = errnoErr(e1)
319 }
320 return
321}
322
323// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
324
325func Chdir(path string) (err error) {
326 var _p0 *byte
327 _p0, err = BytePtrFromString(path)
328 if err != nil {
329 return
330 }
331 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
332 use(unsafe.Pointer(_p0))
333 if e1 != 0 {
334 err = errnoErr(e1)
335 }
336 return
337}
338
339// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
340
341func Chflags(path string, flags int) (err error) {
342 var _p0 *byte
343 _p0, err = BytePtrFromString(path)
344 if err != nil {
345 return
346 }
347 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
348 use(unsafe.Pointer(_p0))
349 if e1 != 0 {
350 err = errnoErr(e1)
351 }
352 return
353}
354
355// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
356
357func Chmod(path string, mode uint32) (err error) {
358 var _p0 *byte
359 _p0, err = BytePtrFromString(path)
360 if err != nil {
361 return
362 }
363 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
364 use(unsafe.Pointer(_p0))
365 if e1 != 0 {
366 err = errnoErr(e1)
367 }
368 return
369}
370
371// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
372
373func Chown(path string, uid int, gid int) (err error) {
374 var _p0 *byte
375 _p0, err = BytePtrFromString(path)
376 if err != nil {
377 return
378 }
379 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
380 use(unsafe.Pointer(_p0))
381 if e1 != 0 {
382 err = errnoErr(e1)
383 }
384 return
385}
386
387// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
388
389func Chroot(path string) (err error) {
390 var _p0 *byte
391 _p0, err = BytePtrFromString(path)
392 if err != nil {
393 return
394 }
395 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
396 use(unsafe.Pointer(_p0))
397 if e1 != 0 {
398 err = errnoErr(e1)
399 }
400 return
401}
402
403// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
404
405func Close(fd int) (err error) {
406 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
407 if e1 != 0 {
408 err = errnoErr(e1)
409 }
410 return
411}
412
413// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
414
415func Dup(fd int) (nfd int, err error) {
416 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
417 nfd = int(r0)
418 if e1 != 0 {
419 err = errnoErr(e1)
420 }
421 return
422}
423
424// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
425
426func Dup2(from int, to int) (err error) {
427 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
428 if e1 != 0 {
429 err = errnoErr(e1)
430 }
431 return
432}
433
434// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
435
436func Exit(code int) {
437 Syscall(SYS_EXIT, uintptr(code), 0, 0)
438 return
439}
440
441// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
442
443func Fchdir(fd int) (err error) {
444 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
445 if e1 != 0 {
446 err = errnoErr(e1)
447 }
448 return
449}
450
451// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
452
453func Fchflags(fd int, flags int) (err error) {
454 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
455 if e1 != 0 {
456 err = errnoErr(e1)
457 }
458 return
459}
460
461// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
462
463func Fchmod(fd int, mode uint32) (err error) {
464 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
465 if e1 != 0 {
466 err = errnoErr(e1)
467 }
468 return
469}
470
471// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
472
473func Fchown(fd int, uid int, gid int) (err error) {
474 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
475 if e1 != 0 {
476 err = errnoErr(e1)
477 }
478 return
479}
480
481// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
482
483func Flock(fd int, how int) (err error) {
484 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
485 if e1 != 0 {
486 err = errnoErr(e1)
487 }
488 return
489}
490
491// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
492
493func Fpathconf(fd int, name int) (val int, err error) {
494 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
495 val = int(r0)
496 if e1 != 0 {
497 err = errnoErr(e1)
498 }
499 return
500}
501
502// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
503
504func Fstat(fd int, stat *Stat_t) (err error) {
505 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
506 if e1 != 0 {
507 err = errnoErr(e1)
508 }
509 return
510}
511
512// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
513
514func Fsync(fd int) (err error) {
515 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
516 if e1 != 0 {
517 err = errnoErr(e1)
518 }
519 return
520}
521
522// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
523
524func Ftruncate(fd int, length int64) (err error) {
525 _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
526 if e1 != 0 {
527 err = errnoErr(e1)
528 }
529 return
530}
531
532// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
533
534func Getegid() (egid int) {
535 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
536 egid = int(r0)
537 return
538}
539
540// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
541
542func Geteuid() (uid int) {
543 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
544 uid = int(r0)
545 return
546}
547
548// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
549
550func Getgid() (gid int) {
551 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
552 gid = int(r0)
553 return
554}
555
556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
558func Getpgid(pid int) (pgid int, err error) {
559 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
560 pgid = int(r0)
561 if e1 != 0 {
562 err = errnoErr(e1)
563 }
564 return
565}
566
567// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
568
569func Getpgrp() (pgrp int) {
570 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
571 pgrp = int(r0)
572 return
573}
574
575// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
576
577func Getpid() (pid int) {
578 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
579 pid = int(r0)
580 return
581}
582
583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
584
585func Getppid() (ppid int) {
586 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
587 ppid = int(r0)
588 return
589}
590
591// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
592
593func Getpriority(which int, who int) (prio int, err error) {
594 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
595 prio = int(r0)
596 if e1 != 0 {
597 err = errnoErr(e1)
598 }
599 return
600}
601
602// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
603
604func Getrlimit(which int, lim *Rlimit) (err error) {
605 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
606 if e1 != 0 {
607 err = errnoErr(e1)
608 }
609 return
610}
611
612// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
613
614func Getrusage(who int, rusage *Rusage) (err error) {
615 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
616 if e1 != 0 {
617 err = errnoErr(e1)
618 }
619 return
620}
621
622// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
623
624func Getsid(pid int) (sid int, err error) {
625 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
626 sid = int(r0)
627 if e1 != 0 {
628 err = errnoErr(e1)
629 }
630 return
631}
632
633// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
634
635func Gettimeofday(tv *Timeval) (err error) {
636 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
637 if e1 != 0 {
638 err = errnoErr(e1)
639 }
640 return
641}
642
643// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
644
645func Getuid() (uid int) {
646 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
647 uid = int(r0)
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Issetugid() (tainted bool) {
654 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
655 tainted = bool(r0 != 0)
656 return
657}
658
659// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
660
661func Kill(pid int, signum syscall.Signal) (err error) {
662 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
663 if e1 != 0 {
664 err = errnoErr(e1)
665 }
666 return
667}
668
669// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
670
671func Kqueue() (fd int, err error) {
672 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
673 fd = int(r0)
674 if e1 != 0 {
675 err = errnoErr(e1)
676 }
677 return
678}
679
680// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
681
682func Lchown(path string, uid int, gid int) (err error) {
683 var _p0 *byte
684 _p0, err = BytePtrFromString(path)
685 if err != nil {
686 return
687 }
688 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
689 use(unsafe.Pointer(_p0))
690 if e1 != 0 {
691 err = errnoErr(e1)
692 }
693 return
694}
695
696// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
697
698func Link(path string, link string) (err error) {
699 var _p0 *byte
700 _p0, err = BytePtrFromString(path)
701 if err != nil {
702 return
703 }
704 var _p1 *byte
705 _p1, err = BytePtrFromString(link)
706 if err != nil {
707 return
708 }
709 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
710 use(unsafe.Pointer(_p0))
711 use(unsafe.Pointer(_p1))
712 if e1 != 0 {
713 err = errnoErr(e1)
714 }
715 return
716}
717
718// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
719
720func Listen(s int, backlog int) (err error) {
721 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
722 if e1 != 0 {
723 err = errnoErr(e1)
724 }
725 return
726}
727
728// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
729
730func Lstat(path string, stat *Stat_t) (err error) {
731 var _p0 *byte
732 _p0, err = BytePtrFromString(path)
733 if err != nil {
734 return
735 }
736 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
737 use(unsafe.Pointer(_p0))
738 if e1 != 0 {
739 err = errnoErr(e1)
740 }
741 return
742}
743
744// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
745
746func Mkdir(path string, mode uint32) (err error) {
747 var _p0 *byte
748 _p0, err = BytePtrFromString(path)
749 if err != nil {
750 return
751 }
752 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
753 use(unsafe.Pointer(_p0))
754 if e1 != 0 {
755 err = errnoErr(e1)
756 }
757 return
758}
759
760// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
761
762func Mkfifo(path string, mode uint32) (err error) {
763 var _p0 *byte
764 _p0, err = BytePtrFromString(path)
765 if err != nil {
766 return
767 }
768 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
769 use(unsafe.Pointer(_p0))
770 if e1 != 0 {
771 err = errnoErr(e1)
772 }
773 return
774}
775
776// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
777
778func Mknod(path string, mode uint32, dev int) (err error) {
779 var _p0 *byte
780 _p0, err = BytePtrFromString(path)
781 if err != nil {
782 return
783 }
784 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
785 use(unsafe.Pointer(_p0))
786 if e1 != 0 {
787 err = errnoErr(e1)
788 }
789 return
790}
791
792// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
793
794func Mlock(b []byte) (err error) {
795 var _p0 unsafe.Pointer
796 if len(b) > 0 {
797 _p0 = unsafe.Pointer(&b[0])
798 } else {
799 _p0 = unsafe.Pointer(&_zero)
800 }
801 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
802 if e1 != 0 {
803 err = errnoErr(e1)
804 }
805 return
806}
807
808// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
809
810func Mlockall(flags int) (err error) {
811 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
812 if e1 != 0 {
813 err = errnoErr(e1)
814 }
815 return
816}
817
818// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
819
820func Mprotect(b []byte, prot int) (err error) {
821 var _p0 unsafe.Pointer
822 if len(b) > 0 {
823 _p0 = unsafe.Pointer(&b[0])
824 } else {
825 _p0 = unsafe.Pointer(&_zero)
826 }
827 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
828 if e1 != 0 {
829 err = errnoErr(e1)
830 }
831 return
832}
833
834// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
835
836func Munlock(b []byte) (err error) {
837 var _p0 unsafe.Pointer
838 if len(b) > 0 {
839 _p0 = unsafe.Pointer(&b[0])
840 } else {
841 _p0 = unsafe.Pointer(&_zero)
842 }
843 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
844 if e1 != 0 {
845 err = errnoErr(e1)
846 }
847 return
848}
849
850// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
851
852func Munlockall() (err error) {
853 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
854 if e1 != 0 {
855 err = errnoErr(e1)
856 }
857 return
858}
859
860// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
861
862func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
863 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
864 if e1 != 0 {
865 err = errnoErr(e1)
866 }
867 return
868}
869
870// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
871
872func Open(path string, mode int, perm uint32) (fd int, err error) {
873 var _p0 *byte
874 _p0, err = BytePtrFromString(path)
875 if err != nil {
876 return
877 }
878 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
879 use(unsafe.Pointer(_p0))
880 fd = int(r0)
881 if e1 != 0 {
882 err = errnoErr(e1)
883 }
884 return
885}
886
887// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
888
889func Pathconf(path string, name int) (val int, err error) {
890 var _p0 *byte
891 _p0, err = BytePtrFromString(path)
892 if err != nil {
893 return
894 }
895 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
896 use(unsafe.Pointer(_p0))
897 val = int(r0)
898 if e1 != 0 {
899 err = errnoErr(e1)
900 }
901 return
902}
903
904// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
905
906func Pread(fd int, p []byte, offset int64) (n int, err error) {
907 var _p0 unsafe.Pointer
908 if len(p) > 0 {
909 _p0 = unsafe.Pointer(&p[0])
910 } else {
911 _p0 = unsafe.Pointer(&_zero)
912 }
913 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
914 n = int(r0)
915 if e1 != 0 {
916 err = errnoErr(e1)
917 }
918 return
919}
920
921// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
922
923func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
924 var _p0 unsafe.Pointer
925 if len(p) > 0 {
926 _p0 = unsafe.Pointer(&p[0])
927 } else {
928 _p0 = unsafe.Pointer(&_zero)
929 }
930 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
931 n = int(r0)
932 if e1 != 0 {
933 err = errnoErr(e1)
934 }
935 return
936}
937
938// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
939
940func read(fd int, p []byte) (n int, err error) {
941 var _p0 unsafe.Pointer
942 if len(p) > 0 {
943 _p0 = unsafe.Pointer(&p[0])
944 } else {
945 _p0 = unsafe.Pointer(&_zero)
946 }
947 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
948 n = int(r0)
949 if e1 != 0 {
950 err = errnoErr(e1)
951 }
952 return
953}
954
955// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
956
957func Readlink(path string, buf []byte) (n int, err error) {
958 var _p0 *byte
959 _p0, err = BytePtrFromString(path)
960 if err != nil {
961 return
962 }
963 var _p1 unsafe.Pointer
964 if len(buf) > 0 {
965 _p1 = unsafe.Pointer(&buf[0])
966 } else {
967 _p1 = unsafe.Pointer(&_zero)
968 }
969 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
970 use(unsafe.Pointer(_p0))
971 n = int(r0)
972 if e1 != 0 {
973 err = errnoErr(e1)
974 }
975 return
976}
977
978// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
979
980func Rename(from string, to string) (err error) {
981 var _p0 *byte
982 _p0, err = BytePtrFromString(from)
983 if err != nil {
984 return
985 }
986 var _p1 *byte
987 _p1, err = BytePtrFromString(to)
988 if err != nil {
989 return
990 }
991 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
992 use(unsafe.Pointer(_p0))
993 use(unsafe.Pointer(_p1))
994 if e1 != 0 {
995 err = errnoErr(e1)
996 }
997 return
998}
999
1000// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1001
1002func Revoke(path string) (err error) {
1003 var _p0 *byte
1004 _p0, err = BytePtrFromString(path)
1005 if err != nil {
1006 return
1007 }
1008 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1009 use(unsafe.Pointer(_p0))
1010 if e1 != 0 {
1011 err = errnoErr(e1)
1012 }
1013 return
1014}
1015
1016// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1017
1018func Rmdir(path string) (err error) {
1019 var _p0 *byte
1020 _p0, err = BytePtrFromString(path)
1021 if err != nil {
1022 return
1023 }
1024 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1025 use(unsafe.Pointer(_p0))
1026 if e1 != 0 {
1027 err = errnoErr(e1)
1028 }
1029 return
1030}
1031
1032// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1033
1034func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1035 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
1036 newoffset = int64(int64(r1)<<32 | int64(r0))
1037 if e1 != 0 {
1038 err = errnoErr(e1)
1039 }
1040 return
1041}
1042
1043// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1044
1045func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1046 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1047 if e1 != 0 {
1048 err = errnoErr(e1)
1049 }
1050 return
1051}
1052
1053// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1054
1055func Setegid(egid int) (err error) {
1056 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1057 if e1 != 0 {
1058 err = errnoErr(e1)
1059 }
1060 return
1061}
1062
1063// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1064
1065func Seteuid(euid int) (err error) {
1066 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1067 if e1 != 0 {
1068 err = errnoErr(e1)
1069 }
1070 return
1071}
1072
1073// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1074
1075func Setgid(gid int) (err error) {
1076 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1077 if e1 != 0 {
1078 err = errnoErr(e1)
1079 }
1080 return
1081}
1082
1083// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1084
1085func Setpgid(pid int, pgid int) (err error) {
1086 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1087 if e1 != 0 {
1088 err = errnoErr(e1)
1089 }
1090 return
1091}
1092
1093// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1094
1095func Setpriority(which int, who int, prio int) (err error) {
1096 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1097 if e1 != 0 {
1098 err = errnoErr(e1)
1099 }
1100 return
1101}
1102
1103// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1104
1105func Setregid(rgid int, egid int) (err error) {
1106 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1107 if e1 != 0 {
1108 err = errnoErr(e1)
1109 }
1110 return
1111}
1112
1113// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1114
1115func Setreuid(ruid int, euid int) (err error) {
1116 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1117 if e1 != 0 {
1118 err = errnoErr(e1)
1119 }
1120 return
1121}
1122
1123// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1124
1125func Setrlimit(which int, lim *Rlimit) (err error) {
1126 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1127 if e1 != 0 {
1128 err = errnoErr(e1)
1129 }
1130 return
1131}
1132
1133// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1134
1135func Setsid() (pid int, err error) {
1136 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1137 pid = int(r0)
1138 if e1 != 0 {
1139 err = errnoErr(e1)
1140 }
1141 return
1142}
1143
1144// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1145
1146func Settimeofday(tp *Timeval) (err error) {
1147 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1148 if e1 != 0 {
1149 err = errnoErr(e1)
1150 }
1151 return
1152}
1153
1154// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1155
1156func Setuid(uid int) (err error) {
1157 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1158 if e1 != 0 {
1159 err = errnoErr(e1)
1160 }
1161 return
1162}
1163
1164// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1165
1166func Stat(path string, stat *Stat_t) (err error) {
1167 var _p0 *byte
1168 _p0, err = BytePtrFromString(path)
1169 if err != nil {
1170 return
1171 }
1172 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1173 use(unsafe.Pointer(_p0))
1174 if e1 != 0 {
1175 err = errnoErr(e1)
1176 }
1177 return
1178}
1179
1180// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1181
1182func Symlink(path string, link string) (err error) {
1183 var _p0 *byte
1184 _p0, err = BytePtrFromString(path)
1185 if err != nil {
1186 return
1187 }
1188 var _p1 *byte
1189 _p1, err = BytePtrFromString(link)
1190 if err != nil {
1191 return
1192 }
1193 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1194 use(unsafe.Pointer(_p0))
1195 use(unsafe.Pointer(_p1))
1196 if e1 != 0 {
1197 err = errnoErr(e1)
1198 }
1199 return
1200}
1201
1202// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1203
1204func Sync() (err error) {
1205 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1206 if e1 != 0 {
1207 err = errnoErr(e1)
1208 }
1209 return
1210}
1211
1212// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1213
1214func Truncate(path string, length int64) (err error) {
1215 var _p0 *byte
1216 _p0, err = BytePtrFromString(path)
1217 if err != nil {
1218 return
1219 }
1220 _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1221 use(unsafe.Pointer(_p0))
1222 if e1 != 0 {
1223 err = errnoErr(e1)
1224 }
1225 return
1226}
1227
1228// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1229
1230func Umask(newmask int) (oldmask int) {
1231 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1232 oldmask = int(r0)
1233 return
1234}
1235
1236// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1237
1238func Unlink(path string) (err error) {
1239 var _p0 *byte
1240 _p0, err = BytePtrFromString(path)
1241 if err != nil {
1242 return
1243 }
1244 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1245 use(unsafe.Pointer(_p0))
1246 if e1 != 0 {
1247 err = errnoErr(e1)
1248 }
1249 return
1250}
1251
1252// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1253
1254func Unmount(path string, flags int) (err error) {
1255 var _p0 *byte
1256 _p0, err = BytePtrFromString(path)
1257 if err != nil {
1258 return
1259 }
1260 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1261 use(unsafe.Pointer(_p0))
1262 if e1 != 0 {
1263 err = errnoErr(e1)
1264 }
1265 return
1266}
1267
1268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1269
1270func write(fd int, p []byte) (n int, err error) {
1271 var _p0 unsafe.Pointer
1272 if len(p) > 0 {
1273 _p0 = unsafe.Pointer(&p[0])
1274 } else {
1275 _p0 = unsafe.Pointer(&_zero)
1276 }
1277 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1278 n = int(r0)
1279 if e1 != 0 {
1280 err = errnoErr(e1)
1281 }
1282 return
1283}
1284
1285// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1286
1287func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1288 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
1289 ret = uintptr(r0)
1290 if e1 != 0 {
1291 err = errnoErr(e1)
1292 }
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func munmap(addr uintptr, length uintptr) (err error) {
1299 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1300 if e1 != 0 {
1301 err = errnoErr(e1)
1302 }
1303 return
1304}
1305
1306// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1307
1308func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1309 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1310 n = int(r0)
1311 if e1 != 0 {
1312 err = errnoErr(e1)
1313 }
1314 return
1315}
1316
1317// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1318
1319func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1320 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1321 n = int(r0)
1322 if e1 != 0 {
1323 err = errnoErr(e1)
1324 }
1325 return
1326}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_386.go
deleted file mode 100644
index 02b3528..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_386.go
+++ /dev/null
@@ -1,1386 +0,0 @@
1// mksyscall.pl -l32 -openbsd syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build 386,openbsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe(p *[2]_C_int) (err error) {
271 _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func getdents(fd int, buf []byte) (n int, err error) {
281 var _p0 unsafe.Pointer
282 if len(buf) > 0 {
283 _p0 = unsafe.Pointer(&buf[0])
284 } else {
285 _p0 = unsafe.Pointer(&_zero)
286 }
287 r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
288 n = int(r0)
289 if e1 != 0 {
290 err = errnoErr(e1)
291 }
292 return
293}
294
295// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
296
297func Access(path string, mode uint32) (err error) {
298 var _p0 *byte
299 _p0, err = BytePtrFromString(path)
300 if err != nil {
301 return
302 }
303 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
304 use(unsafe.Pointer(_p0))
305 if e1 != 0 {
306 err = errnoErr(e1)
307 }
308 return
309}
310
311// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
312
313func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
314 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
315 if e1 != 0 {
316 err = errnoErr(e1)
317 }
318 return
319}
320
321// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
322
323func Chdir(path string) (err error) {
324 var _p0 *byte
325 _p0, err = BytePtrFromString(path)
326 if err != nil {
327 return
328 }
329 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
330 use(unsafe.Pointer(_p0))
331 if e1 != 0 {
332 err = errnoErr(e1)
333 }
334 return
335}
336
337// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
338
339func Chflags(path string, flags int) (err error) {
340 var _p0 *byte
341 _p0, err = BytePtrFromString(path)
342 if err != nil {
343 return
344 }
345 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
346 use(unsafe.Pointer(_p0))
347 if e1 != 0 {
348 err = errnoErr(e1)
349 }
350 return
351}
352
353// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
354
355func Chmod(path string, mode uint32) (err error) {
356 var _p0 *byte
357 _p0, err = BytePtrFromString(path)
358 if err != nil {
359 return
360 }
361 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
362 use(unsafe.Pointer(_p0))
363 if e1 != 0 {
364 err = errnoErr(e1)
365 }
366 return
367}
368
369// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
370
371func Chown(path string, uid int, gid int) (err error) {
372 var _p0 *byte
373 _p0, err = BytePtrFromString(path)
374 if err != nil {
375 return
376 }
377 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
378 use(unsafe.Pointer(_p0))
379 if e1 != 0 {
380 err = errnoErr(e1)
381 }
382 return
383}
384
385// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
386
387func Chroot(path string) (err error) {
388 var _p0 *byte
389 _p0, err = BytePtrFromString(path)
390 if err != nil {
391 return
392 }
393 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
394 use(unsafe.Pointer(_p0))
395 if e1 != 0 {
396 err = errnoErr(e1)
397 }
398 return
399}
400
401// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
402
403func Close(fd int) (err error) {
404 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Dup(fd int) (nfd int, err error) {
414 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
415 nfd = int(r0)
416 if e1 != 0 {
417 err = errnoErr(e1)
418 }
419 return
420}
421
422// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
423
424func Dup2(from int, to int) (err error) {
425 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
426 if e1 != 0 {
427 err = errnoErr(e1)
428 }
429 return
430}
431
432// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
433
434func Exit(code int) {
435 Syscall(SYS_EXIT, uintptr(code), 0, 0)
436 return
437}
438
439// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
440
441func Fchdir(fd int) (err error) {
442 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
443 if e1 != 0 {
444 err = errnoErr(e1)
445 }
446 return
447}
448
449// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
450
451func Fchflags(fd int, flags int) (err error) {
452 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Fchmod(fd int, mode uint32) (err error) {
462 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
463 if e1 != 0 {
464 err = errnoErr(e1)
465 }
466 return
467}
468
469// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
470
471func Fchown(fd int, uid int, gid int) (err error) {
472 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
473 if e1 != 0 {
474 err = errnoErr(e1)
475 }
476 return
477}
478
479// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
480
481func Flock(fd int, how int) (err error) {
482 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
483 if e1 != 0 {
484 err = errnoErr(e1)
485 }
486 return
487}
488
489// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
490
491func Fpathconf(fd int, name int) (val int, err error) {
492 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
493 val = int(r0)
494 if e1 != 0 {
495 err = errnoErr(e1)
496 }
497 return
498}
499
500// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
501
502func Fstat(fd int, stat *Stat_t) (err error) {
503 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
504 if e1 != 0 {
505 err = errnoErr(e1)
506 }
507 return
508}
509
510// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
511
512func Fstatfs(fd int, stat *Statfs_t) (err error) {
513 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
514 if e1 != 0 {
515 err = errnoErr(e1)
516 }
517 return
518}
519
520// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
521
522func Fsync(fd int) (err error) {
523 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
524 if e1 != 0 {
525 err = errnoErr(e1)
526 }
527 return
528}
529
530// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
531
532func Ftruncate(fd int, length int64) (err error) {
533 _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
534 if e1 != 0 {
535 err = errnoErr(e1)
536 }
537 return
538}
539
540// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
541
542func Getegid() (egid int) {
543 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
544 egid = int(r0)
545 return
546}
547
548// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
549
550func Geteuid() (uid int) {
551 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
552 uid = int(r0)
553 return
554}
555
556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
558func Getgid() (gid int) {
559 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
560 gid = int(r0)
561 return
562}
563
564// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
565
566func Getpgid(pid int) (pgid int, err error) {
567 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
568 pgid = int(r0)
569 if e1 != 0 {
570 err = errnoErr(e1)
571 }
572 return
573}
574
575// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
576
577func Getpgrp() (pgrp int) {
578 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
579 pgrp = int(r0)
580 return
581}
582
583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
584
585func Getpid() (pid int) {
586 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
587 pid = int(r0)
588 return
589}
590
591// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
592
593func Getppid() (ppid int) {
594 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
595 ppid = int(r0)
596 return
597}
598
599// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
600
601func Getpriority(which int, who int) (prio int, err error) {
602 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
603 prio = int(r0)
604 if e1 != 0 {
605 err = errnoErr(e1)
606 }
607 return
608}
609
610// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
611
612func Getrlimit(which int, lim *Rlimit) (err error) {
613 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
614 if e1 != 0 {
615 err = errnoErr(e1)
616 }
617 return
618}
619
620// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
621
622func Getrusage(who int, rusage *Rusage) (err error) {
623 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
624 if e1 != 0 {
625 err = errnoErr(e1)
626 }
627 return
628}
629
630// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
631
632func Getsid(pid int) (sid int, err error) {
633 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
634 sid = int(r0)
635 if e1 != 0 {
636 err = errnoErr(e1)
637 }
638 return
639}
640
641// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
642
643func Gettimeofday(tv *Timeval) (err error) {
644 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
645 if e1 != 0 {
646 err = errnoErr(e1)
647 }
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getuid() (uid int) {
654 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
655 uid = int(r0)
656 return
657}
658
659// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
660
661func Issetugid() (tainted bool) {
662 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
663 tainted = bool(r0 != 0)
664 return
665}
666
667// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
668
669func Kill(pid int, signum syscall.Signal) (err error) {
670 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
671 if e1 != 0 {
672 err = errnoErr(e1)
673 }
674 return
675}
676
677// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
678
679func Kqueue() (fd int, err error) {
680 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
681 fd = int(r0)
682 if e1 != 0 {
683 err = errnoErr(e1)
684 }
685 return
686}
687
688// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
689
690func Lchown(path string, uid int, gid int) (err error) {
691 var _p0 *byte
692 _p0, err = BytePtrFromString(path)
693 if err != nil {
694 return
695 }
696 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
697 use(unsafe.Pointer(_p0))
698 if e1 != 0 {
699 err = errnoErr(e1)
700 }
701 return
702}
703
704// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
705
706func Link(path string, link string) (err error) {
707 var _p0 *byte
708 _p0, err = BytePtrFromString(path)
709 if err != nil {
710 return
711 }
712 var _p1 *byte
713 _p1, err = BytePtrFromString(link)
714 if err != nil {
715 return
716 }
717 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
718 use(unsafe.Pointer(_p0))
719 use(unsafe.Pointer(_p1))
720 if e1 != 0 {
721 err = errnoErr(e1)
722 }
723 return
724}
725
726// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
727
728func Listen(s int, backlog int) (err error) {
729 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Lstat(path string, stat *Stat_t) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
745 use(unsafe.Pointer(_p0))
746 if e1 != 0 {
747 err = errnoErr(e1)
748 }
749 return
750}
751
752// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
753
754func Mkdir(path string, mode uint32) (err error) {
755 var _p0 *byte
756 _p0, err = BytePtrFromString(path)
757 if err != nil {
758 return
759 }
760 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
761 use(unsafe.Pointer(_p0))
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Mkfifo(path string, mode uint32) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mknod(path string, mode uint32, dev int) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mlock(b []byte) (err error) {
803 var _p0 unsafe.Pointer
804 if len(b) > 0 {
805 _p0 = unsafe.Pointer(&b[0])
806 } else {
807 _p0 = unsafe.Pointer(&_zero)
808 }
809 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mlockall(flags int) (err error) {
819 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
820 if e1 != 0 {
821 err = errnoErr(e1)
822 }
823 return
824}
825
826// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
827
828func Mprotect(b []byte, prot int) (err error) {
829 var _p0 unsafe.Pointer
830 if len(b) > 0 {
831 _p0 = unsafe.Pointer(&b[0])
832 } else {
833 _p0 = unsafe.Pointer(&_zero)
834 }
835 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
836 if e1 != 0 {
837 err = errnoErr(e1)
838 }
839 return
840}
841
842// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
843
844func Munlock(b []byte) (err error) {
845 var _p0 unsafe.Pointer
846 if len(b) > 0 {
847 _p0 = unsafe.Pointer(&b[0])
848 } else {
849 _p0 = unsafe.Pointer(&_zero)
850 }
851 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Munlockall() (err error) {
861 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
862 if e1 != 0 {
863 err = errnoErr(e1)
864 }
865 return
866}
867
868// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
869
870func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
871 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
872 if e1 != 0 {
873 err = errnoErr(e1)
874 }
875 return
876}
877
878// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
879
880func Open(path string, mode int, perm uint32) (fd int, err error) {
881 var _p0 *byte
882 _p0, err = BytePtrFromString(path)
883 if err != nil {
884 return
885 }
886 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
887 use(unsafe.Pointer(_p0))
888 fd = int(r0)
889 if e1 != 0 {
890 err = errnoErr(e1)
891 }
892 return
893}
894
895// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
896
897func Pathconf(path string, name int) (val int, err error) {
898 var _p0 *byte
899 _p0, err = BytePtrFromString(path)
900 if err != nil {
901 return
902 }
903 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
904 use(unsafe.Pointer(_p0))
905 val = int(r0)
906 if e1 != 0 {
907 err = errnoErr(e1)
908 }
909 return
910}
911
912// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
913
914func Pread(fd int, p []byte, offset int64) (n int, err error) {
915 var _p0 unsafe.Pointer
916 if len(p) > 0 {
917 _p0 = unsafe.Pointer(&p[0])
918 } else {
919 _p0 = unsafe.Pointer(&_zero)
920 }
921 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
922 n = int(r0)
923 if e1 != 0 {
924 err = errnoErr(e1)
925 }
926 return
927}
928
929// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
930
931func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
932 var _p0 unsafe.Pointer
933 if len(p) > 0 {
934 _p0 = unsafe.Pointer(&p[0])
935 } else {
936 _p0 = unsafe.Pointer(&_zero)
937 }
938 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
939 n = int(r0)
940 if e1 != 0 {
941 err = errnoErr(e1)
942 }
943 return
944}
945
946// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
947
948func read(fd int, p []byte) (n int, err error) {
949 var _p0 unsafe.Pointer
950 if len(p) > 0 {
951 _p0 = unsafe.Pointer(&p[0])
952 } else {
953 _p0 = unsafe.Pointer(&_zero)
954 }
955 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
956 n = int(r0)
957 if e1 != 0 {
958 err = errnoErr(e1)
959 }
960 return
961}
962
963// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
964
965func Readlink(path string, buf []byte) (n int, err error) {
966 var _p0 *byte
967 _p0, err = BytePtrFromString(path)
968 if err != nil {
969 return
970 }
971 var _p1 unsafe.Pointer
972 if len(buf) > 0 {
973 _p1 = unsafe.Pointer(&buf[0])
974 } else {
975 _p1 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
978 use(unsafe.Pointer(_p0))
979 n = int(r0)
980 if e1 != 0 {
981 err = errnoErr(e1)
982 }
983 return
984}
985
986// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
987
988func Rename(from string, to string) (err error) {
989 var _p0 *byte
990 _p0, err = BytePtrFromString(from)
991 if err != nil {
992 return
993 }
994 var _p1 *byte
995 _p1, err = BytePtrFromString(to)
996 if err != nil {
997 return
998 }
999 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1000 use(unsafe.Pointer(_p0))
1001 use(unsafe.Pointer(_p1))
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Revoke(path string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(path)
1013 if err != nil {
1014 return
1015 }
1016 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1017 use(unsafe.Pointer(_p0))
1018 if e1 != 0 {
1019 err = errnoErr(e1)
1020 }
1021 return
1022}
1023
1024// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1025
1026func Rmdir(path string) (err error) {
1027 var _p0 *byte
1028 _p0, err = BytePtrFromString(path)
1029 if err != nil {
1030 return
1031 }
1032 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1033 use(unsafe.Pointer(_p0))
1034 if e1 != 0 {
1035 err = errnoErr(e1)
1036 }
1037 return
1038}
1039
1040// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1041
1042func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1043 r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
1044 newoffset = int64(int64(r1)<<32 | int64(r0))
1045 if e1 != 0 {
1046 err = errnoErr(e1)
1047 }
1048 return
1049}
1050
1051// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1052
1053func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1054 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1055 if e1 != 0 {
1056 err = errnoErr(e1)
1057 }
1058 return
1059}
1060
1061// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1062
1063func Setegid(egid int) (err error) {
1064 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1065 if e1 != 0 {
1066 err = errnoErr(e1)
1067 }
1068 return
1069}
1070
1071// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1072
1073func Seteuid(euid int) (err error) {
1074 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1075 if e1 != 0 {
1076 err = errnoErr(e1)
1077 }
1078 return
1079}
1080
1081// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1082
1083func Setgid(gid int) (err error) {
1084 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1085 if e1 != 0 {
1086 err = errnoErr(e1)
1087 }
1088 return
1089}
1090
1091// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1092
1093func Setlogin(name string) (err error) {
1094 var _p0 *byte
1095 _p0, err = BytePtrFromString(name)
1096 if err != nil {
1097 return
1098 }
1099 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1100 use(unsafe.Pointer(_p0))
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func Setpgid(pid int, pgid int) (err error) {
1110 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1111 if e1 != 0 {
1112 err = errnoErr(e1)
1113 }
1114 return
1115}
1116
1117// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1118
1119func Setpriority(which int, who int, prio int) (err error) {
1120 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1121 if e1 != 0 {
1122 err = errnoErr(e1)
1123 }
1124 return
1125}
1126
1127// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1128
1129func Setregid(rgid int, egid int) (err error) {
1130 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1131 if e1 != 0 {
1132 err = errnoErr(e1)
1133 }
1134 return
1135}
1136
1137// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1138
1139func Setreuid(ruid int, euid int) (err error) {
1140 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1141 if e1 != 0 {
1142 err = errnoErr(e1)
1143 }
1144 return
1145}
1146
1147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1148
1149func Setresgid(rgid int, egid int, sgid int) (err error) {
1150 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1151 if e1 != 0 {
1152 err = errnoErr(e1)
1153 }
1154 return
1155}
1156
1157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1158
1159func Setresuid(ruid int, euid int, suid int) (err error) {
1160 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1161 if e1 != 0 {
1162 err = errnoErr(e1)
1163 }
1164 return
1165}
1166
1167// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1168
1169func Setrlimit(which int, lim *Rlimit) (err error) {
1170 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1171 if e1 != 0 {
1172 err = errnoErr(e1)
1173 }
1174 return
1175}
1176
1177// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1178
1179func Setsid() (pid int, err error) {
1180 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1181 pid = int(r0)
1182 if e1 != 0 {
1183 err = errnoErr(e1)
1184 }
1185 return
1186}
1187
1188// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1189
1190func Settimeofday(tp *Timeval) (err error) {
1191 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1192 if e1 != 0 {
1193 err = errnoErr(e1)
1194 }
1195 return
1196}
1197
1198// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1199
1200func Setuid(uid int) (err error) {
1201 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1202 if e1 != 0 {
1203 err = errnoErr(e1)
1204 }
1205 return
1206}
1207
1208// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1209
1210func Stat(path string, stat *Stat_t) (err error) {
1211 var _p0 *byte
1212 _p0, err = BytePtrFromString(path)
1213 if err != nil {
1214 return
1215 }
1216 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1217 use(unsafe.Pointer(_p0))
1218 if e1 != 0 {
1219 err = errnoErr(e1)
1220 }
1221 return
1222}
1223
1224// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1225
1226func Statfs(path string, stat *Statfs_t) (err error) {
1227 var _p0 *byte
1228 _p0, err = BytePtrFromString(path)
1229 if err != nil {
1230 return
1231 }
1232 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1233 use(unsafe.Pointer(_p0))
1234 if e1 != 0 {
1235 err = errnoErr(e1)
1236 }
1237 return
1238}
1239
1240// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1241
1242func Symlink(path string, link string) (err error) {
1243 var _p0 *byte
1244 _p0, err = BytePtrFromString(path)
1245 if err != nil {
1246 return
1247 }
1248 var _p1 *byte
1249 _p1, err = BytePtrFromString(link)
1250 if err != nil {
1251 return
1252 }
1253 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1254 use(unsafe.Pointer(_p0))
1255 use(unsafe.Pointer(_p1))
1256 if e1 != 0 {
1257 err = errnoErr(e1)
1258 }
1259 return
1260}
1261
1262// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1263
1264func Sync() (err error) {
1265 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1266 if e1 != 0 {
1267 err = errnoErr(e1)
1268 }
1269 return
1270}
1271
1272// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1273
1274func Truncate(path string, length int64) (err error) {
1275 var _p0 *byte
1276 _p0, err = BytePtrFromString(path)
1277 if err != nil {
1278 return
1279 }
1280 _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
1281 use(unsafe.Pointer(_p0))
1282 if e1 != 0 {
1283 err = errnoErr(e1)
1284 }
1285 return
1286}
1287
1288// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1289
1290func Umask(newmask int) (oldmask int) {
1291 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1292 oldmask = int(r0)
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func Unlink(path string) (err error) {
1299 var _p0 *byte
1300 _p0, err = BytePtrFromString(path)
1301 if err != nil {
1302 return
1303 }
1304 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1305 use(unsafe.Pointer(_p0))
1306 if e1 != 0 {
1307 err = errnoErr(e1)
1308 }
1309 return
1310}
1311
1312// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1313
1314func Unmount(path string, flags int) (err error) {
1315 var _p0 *byte
1316 _p0, err = BytePtrFromString(path)
1317 if err != nil {
1318 return
1319 }
1320 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1321 use(unsafe.Pointer(_p0))
1322 if e1 != 0 {
1323 err = errnoErr(e1)
1324 }
1325 return
1326}
1327
1328// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1329
1330func write(fd int, p []byte) (n int, err error) {
1331 var _p0 unsafe.Pointer
1332 if len(p) > 0 {
1333 _p0 = unsafe.Pointer(&p[0])
1334 } else {
1335 _p0 = unsafe.Pointer(&_zero)
1336 }
1337 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1338 n = int(r0)
1339 if e1 != 0 {
1340 err = errnoErr(e1)
1341 }
1342 return
1343}
1344
1345// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1346
1347func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1348 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
1349 ret = uintptr(r0)
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func munmap(addr uintptr, length uintptr) (err error) {
1359 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1360 if e1 != 0 {
1361 err = errnoErr(e1)
1362 }
1363 return
1364}
1365
1366// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1367
1368func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1369 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1370 n = int(r0)
1371 if e1 != 0 {
1372 err = errnoErr(e1)
1373 }
1374 return
1375}
1376
1377// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1378
1379func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1380 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1381 n = int(r0)
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
deleted file mode 100644
index 7dc2b7e..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
+++ /dev/null
@@ -1,1386 +0,0 @@
1// mksyscall.pl -openbsd syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,openbsd
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13var _ syscall.Errno
14
15// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
16
17func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
18 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
19 n = int(r0)
20 if e1 != 0 {
21 err = errnoErr(e1)
22 }
23 return
24}
25
26// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
27
28func setgroups(ngid int, gid *_Gid_t) (err error) {
29 _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
30 if e1 != 0 {
31 err = errnoErr(e1)
32 }
33 return
34}
35
36// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
37
38func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
39 r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
40 wpid = int(r0)
41 if e1 != 0 {
42 err = errnoErr(e1)
43 }
44 return
45}
46
47// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
48
49func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
50 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
51 fd = int(r0)
52 if e1 != 0 {
53 err = errnoErr(e1)
54 }
55 return
56}
57
58// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
59
60func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
61 _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
62 if e1 != 0 {
63 err = errnoErr(e1)
64 }
65 return
66}
67
68// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69
70func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71 _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
72 if e1 != 0 {
73 err = errnoErr(e1)
74 }
75 return
76}
77
78// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79
80func socket(domain int, typ int, proto int) (fd int, err error) {
81 r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
82 fd = int(r0)
83 if e1 != 0 {
84 err = errnoErr(e1)
85 }
86 return
87}
88
89// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90
91func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
93 if e1 != 0 {
94 err = errnoErr(e1)
95 }
96 return
97}
98
99// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100
101func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
103 if e1 != 0 {
104 err = errnoErr(e1)
105 }
106 return
107}
108
109// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110
111func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
112 _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
113 if e1 != 0 {
114 err = errnoErr(e1)
115 }
116 return
117}
118
119// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
120
121func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
122 _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
123 if e1 != 0 {
124 err = errnoErr(e1)
125 }
126 return
127}
128
129// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
130
131func Shutdown(s int, how int) (err error) {
132 _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
133 if e1 != 0 {
134 err = errnoErr(e1)
135 }
136 return
137}
138
139// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
140
141func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
142 _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
143 if e1 != 0 {
144 err = errnoErr(e1)
145 }
146 return
147}
148
149// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150
151func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
152 var _p0 unsafe.Pointer
153 if len(p) > 0 {
154 _p0 = unsafe.Pointer(&p[0])
155 } else {
156 _p0 = unsafe.Pointer(&_zero)
157 }
158 r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
159 n = int(r0)
160 if e1 != 0 {
161 err = errnoErr(e1)
162 }
163 return
164}
165
166// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
167
168func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
169 var _p0 unsafe.Pointer
170 if len(buf) > 0 {
171 _p0 = unsafe.Pointer(&buf[0])
172 } else {
173 _p0 = unsafe.Pointer(&_zero)
174 }
175 _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
176 if e1 != 0 {
177 err = errnoErr(e1)
178 }
179 return
180}
181
182// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
183
184func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
185 r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
186 n = int(r0)
187 if e1 != 0 {
188 err = errnoErr(e1)
189 }
190 return
191}
192
193// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
194
195func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
196 r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
197 n = int(r0)
198 if e1 != 0 {
199 err = errnoErr(e1)
200 }
201 return
202}
203
204// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
205
206func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
207 r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
208 n = int(r0)
209 if e1 != 0 {
210 err = errnoErr(e1)
211 }
212 return
213}
214
215// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
216
217func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
218 var _p0 unsafe.Pointer
219 if len(mib) > 0 {
220 _p0 = unsafe.Pointer(&mib[0])
221 } else {
222 _p0 = unsafe.Pointer(&_zero)
223 }
224 _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
225 if e1 != 0 {
226 err = errnoErr(e1)
227 }
228 return
229}
230
231// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
232
233func utimes(path string, timeval *[2]Timeval) (err error) {
234 var _p0 *byte
235 _p0, err = BytePtrFromString(path)
236 if err != nil {
237 return
238 }
239 _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
240 use(unsafe.Pointer(_p0))
241 if e1 != 0 {
242 err = errnoErr(e1)
243 }
244 return
245}
246
247// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
248
249func futimes(fd int, timeval *[2]Timeval) (err error) {
250 _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
251 if e1 != 0 {
252 err = errnoErr(e1)
253 }
254 return
255}
256
257// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
258
259func fcntl(fd int, cmd int, arg int) (val int, err error) {
260 r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
261 val = int(r0)
262 if e1 != 0 {
263 err = errnoErr(e1)
264 }
265 return
266}
267
268// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
269
270func pipe(p *[2]_C_int) (err error) {
271 _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
272 if e1 != 0 {
273 err = errnoErr(e1)
274 }
275 return
276}
277
278// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
279
280func getdents(fd int, buf []byte) (n int, err error) {
281 var _p0 unsafe.Pointer
282 if len(buf) > 0 {
283 _p0 = unsafe.Pointer(&buf[0])
284 } else {
285 _p0 = unsafe.Pointer(&_zero)
286 }
287 r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
288 n = int(r0)
289 if e1 != 0 {
290 err = errnoErr(e1)
291 }
292 return
293}
294
295// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
296
297func Access(path string, mode uint32) (err error) {
298 var _p0 *byte
299 _p0, err = BytePtrFromString(path)
300 if err != nil {
301 return
302 }
303 _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
304 use(unsafe.Pointer(_p0))
305 if e1 != 0 {
306 err = errnoErr(e1)
307 }
308 return
309}
310
311// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
312
313func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
314 _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
315 if e1 != 0 {
316 err = errnoErr(e1)
317 }
318 return
319}
320
321// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
322
323func Chdir(path string) (err error) {
324 var _p0 *byte
325 _p0, err = BytePtrFromString(path)
326 if err != nil {
327 return
328 }
329 _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
330 use(unsafe.Pointer(_p0))
331 if e1 != 0 {
332 err = errnoErr(e1)
333 }
334 return
335}
336
337// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
338
339func Chflags(path string, flags int) (err error) {
340 var _p0 *byte
341 _p0, err = BytePtrFromString(path)
342 if err != nil {
343 return
344 }
345 _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
346 use(unsafe.Pointer(_p0))
347 if e1 != 0 {
348 err = errnoErr(e1)
349 }
350 return
351}
352
353// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
354
355func Chmod(path string, mode uint32) (err error) {
356 var _p0 *byte
357 _p0, err = BytePtrFromString(path)
358 if err != nil {
359 return
360 }
361 _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
362 use(unsafe.Pointer(_p0))
363 if e1 != 0 {
364 err = errnoErr(e1)
365 }
366 return
367}
368
369// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
370
371func Chown(path string, uid int, gid int) (err error) {
372 var _p0 *byte
373 _p0, err = BytePtrFromString(path)
374 if err != nil {
375 return
376 }
377 _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
378 use(unsafe.Pointer(_p0))
379 if e1 != 0 {
380 err = errnoErr(e1)
381 }
382 return
383}
384
385// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
386
387func Chroot(path string) (err error) {
388 var _p0 *byte
389 _p0, err = BytePtrFromString(path)
390 if err != nil {
391 return
392 }
393 _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
394 use(unsafe.Pointer(_p0))
395 if e1 != 0 {
396 err = errnoErr(e1)
397 }
398 return
399}
400
401// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
402
403func Close(fd int) (err error) {
404 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
405 if e1 != 0 {
406 err = errnoErr(e1)
407 }
408 return
409}
410
411// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
412
413func Dup(fd int) (nfd int, err error) {
414 r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
415 nfd = int(r0)
416 if e1 != 0 {
417 err = errnoErr(e1)
418 }
419 return
420}
421
422// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
423
424func Dup2(from int, to int) (err error) {
425 _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
426 if e1 != 0 {
427 err = errnoErr(e1)
428 }
429 return
430}
431
432// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
433
434func Exit(code int) {
435 Syscall(SYS_EXIT, uintptr(code), 0, 0)
436 return
437}
438
439// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
440
441func Fchdir(fd int) (err error) {
442 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
443 if e1 != 0 {
444 err = errnoErr(e1)
445 }
446 return
447}
448
449// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
450
451func Fchflags(fd int, flags int) (err error) {
452 _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
453 if e1 != 0 {
454 err = errnoErr(e1)
455 }
456 return
457}
458
459// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
460
461func Fchmod(fd int, mode uint32) (err error) {
462 _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
463 if e1 != 0 {
464 err = errnoErr(e1)
465 }
466 return
467}
468
469// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
470
471func Fchown(fd int, uid int, gid int) (err error) {
472 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
473 if e1 != 0 {
474 err = errnoErr(e1)
475 }
476 return
477}
478
479// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
480
481func Flock(fd int, how int) (err error) {
482 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
483 if e1 != 0 {
484 err = errnoErr(e1)
485 }
486 return
487}
488
489// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
490
491func Fpathconf(fd int, name int) (val int, err error) {
492 r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
493 val = int(r0)
494 if e1 != 0 {
495 err = errnoErr(e1)
496 }
497 return
498}
499
500// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
501
502func Fstat(fd int, stat *Stat_t) (err error) {
503 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
504 if e1 != 0 {
505 err = errnoErr(e1)
506 }
507 return
508}
509
510// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
511
512func Fstatfs(fd int, stat *Statfs_t) (err error) {
513 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
514 if e1 != 0 {
515 err = errnoErr(e1)
516 }
517 return
518}
519
520// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
521
522func Fsync(fd int) (err error) {
523 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
524 if e1 != 0 {
525 err = errnoErr(e1)
526 }
527 return
528}
529
530// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
531
532func Ftruncate(fd int, length int64) (err error) {
533 _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
534 if e1 != 0 {
535 err = errnoErr(e1)
536 }
537 return
538}
539
540// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
541
542func Getegid() (egid int) {
543 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
544 egid = int(r0)
545 return
546}
547
548// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
549
550func Geteuid() (uid int) {
551 r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
552 uid = int(r0)
553 return
554}
555
556// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
558func Getgid() (gid int) {
559 r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
560 gid = int(r0)
561 return
562}
563
564// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
565
566func Getpgid(pid int) (pgid int, err error) {
567 r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
568 pgid = int(r0)
569 if e1 != 0 {
570 err = errnoErr(e1)
571 }
572 return
573}
574
575// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
576
577func Getpgrp() (pgrp int) {
578 r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
579 pgrp = int(r0)
580 return
581}
582
583// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
584
585func Getpid() (pid int) {
586 r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
587 pid = int(r0)
588 return
589}
590
591// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
592
593func Getppid() (ppid int) {
594 r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
595 ppid = int(r0)
596 return
597}
598
599// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
600
601func Getpriority(which int, who int) (prio int, err error) {
602 r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
603 prio = int(r0)
604 if e1 != 0 {
605 err = errnoErr(e1)
606 }
607 return
608}
609
610// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
611
612func Getrlimit(which int, lim *Rlimit) (err error) {
613 _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
614 if e1 != 0 {
615 err = errnoErr(e1)
616 }
617 return
618}
619
620// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
621
622func Getrusage(who int, rusage *Rusage) (err error) {
623 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
624 if e1 != 0 {
625 err = errnoErr(e1)
626 }
627 return
628}
629
630// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
631
632func Getsid(pid int) (sid int, err error) {
633 r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
634 sid = int(r0)
635 if e1 != 0 {
636 err = errnoErr(e1)
637 }
638 return
639}
640
641// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
642
643func Gettimeofday(tv *Timeval) (err error) {
644 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
645 if e1 != 0 {
646 err = errnoErr(e1)
647 }
648 return
649}
650
651// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
652
653func Getuid() (uid int) {
654 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
655 uid = int(r0)
656 return
657}
658
659// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
660
661func Issetugid() (tainted bool) {
662 r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
663 tainted = bool(r0 != 0)
664 return
665}
666
667// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
668
669func Kill(pid int, signum syscall.Signal) (err error) {
670 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
671 if e1 != 0 {
672 err = errnoErr(e1)
673 }
674 return
675}
676
677// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
678
679func Kqueue() (fd int, err error) {
680 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
681 fd = int(r0)
682 if e1 != 0 {
683 err = errnoErr(e1)
684 }
685 return
686}
687
688// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
689
690func Lchown(path string, uid int, gid int) (err error) {
691 var _p0 *byte
692 _p0, err = BytePtrFromString(path)
693 if err != nil {
694 return
695 }
696 _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
697 use(unsafe.Pointer(_p0))
698 if e1 != 0 {
699 err = errnoErr(e1)
700 }
701 return
702}
703
704// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
705
706func Link(path string, link string) (err error) {
707 var _p0 *byte
708 _p0, err = BytePtrFromString(path)
709 if err != nil {
710 return
711 }
712 var _p1 *byte
713 _p1, err = BytePtrFromString(link)
714 if err != nil {
715 return
716 }
717 _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
718 use(unsafe.Pointer(_p0))
719 use(unsafe.Pointer(_p1))
720 if e1 != 0 {
721 err = errnoErr(e1)
722 }
723 return
724}
725
726// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
727
728func Listen(s int, backlog int) (err error) {
729 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
730 if e1 != 0 {
731 err = errnoErr(e1)
732 }
733 return
734}
735
736// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
737
738func Lstat(path string, stat *Stat_t) (err error) {
739 var _p0 *byte
740 _p0, err = BytePtrFromString(path)
741 if err != nil {
742 return
743 }
744 _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
745 use(unsafe.Pointer(_p0))
746 if e1 != 0 {
747 err = errnoErr(e1)
748 }
749 return
750}
751
752// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
753
754func Mkdir(path string, mode uint32) (err error) {
755 var _p0 *byte
756 _p0, err = BytePtrFromString(path)
757 if err != nil {
758 return
759 }
760 _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
761 use(unsafe.Pointer(_p0))
762 if e1 != 0 {
763 err = errnoErr(e1)
764 }
765 return
766}
767
768// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
769
770func Mkfifo(path string, mode uint32) (err error) {
771 var _p0 *byte
772 _p0, err = BytePtrFromString(path)
773 if err != nil {
774 return
775 }
776 _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
777 use(unsafe.Pointer(_p0))
778 if e1 != 0 {
779 err = errnoErr(e1)
780 }
781 return
782}
783
784// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
785
786func Mknod(path string, mode uint32, dev int) (err error) {
787 var _p0 *byte
788 _p0, err = BytePtrFromString(path)
789 if err != nil {
790 return
791 }
792 _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
793 use(unsafe.Pointer(_p0))
794 if e1 != 0 {
795 err = errnoErr(e1)
796 }
797 return
798}
799
800// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
801
802func Mlock(b []byte) (err error) {
803 var _p0 unsafe.Pointer
804 if len(b) > 0 {
805 _p0 = unsafe.Pointer(&b[0])
806 } else {
807 _p0 = unsafe.Pointer(&_zero)
808 }
809 _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
810 if e1 != 0 {
811 err = errnoErr(e1)
812 }
813 return
814}
815
816// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
817
818func Mlockall(flags int) (err error) {
819 _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
820 if e1 != 0 {
821 err = errnoErr(e1)
822 }
823 return
824}
825
826// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
827
828func Mprotect(b []byte, prot int) (err error) {
829 var _p0 unsafe.Pointer
830 if len(b) > 0 {
831 _p0 = unsafe.Pointer(&b[0])
832 } else {
833 _p0 = unsafe.Pointer(&_zero)
834 }
835 _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
836 if e1 != 0 {
837 err = errnoErr(e1)
838 }
839 return
840}
841
842// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
843
844func Munlock(b []byte) (err error) {
845 var _p0 unsafe.Pointer
846 if len(b) > 0 {
847 _p0 = unsafe.Pointer(&b[0])
848 } else {
849 _p0 = unsafe.Pointer(&_zero)
850 }
851 _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
852 if e1 != 0 {
853 err = errnoErr(e1)
854 }
855 return
856}
857
858// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
859
860func Munlockall() (err error) {
861 _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
862 if e1 != 0 {
863 err = errnoErr(e1)
864 }
865 return
866}
867
868// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
869
870func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
871 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
872 if e1 != 0 {
873 err = errnoErr(e1)
874 }
875 return
876}
877
878// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
879
880func Open(path string, mode int, perm uint32) (fd int, err error) {
881 var _p0 *byte
882 _p0, err = BytePtrFromString(path)
883 if err != nil {
884 return
885 }
886 r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
887 use(unsafe.Pointer(_p0))
888 fd = int(r0)
889 if e1 != 0 {
890 err = errnoErr(e1)
891 }
892 return
893}
894
895// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
896
897func Pathconf(path string, name int) (val int, err error) {
898 var _p0 *byte
899 _p0, err = BytePtrFromString(path)
900 if err != nil {
901 return
902 }
903 r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
904 use(unsafe.Pointer(_p0))
905 val = int(r0)
906 if e1 != 0 {
907 err = errnoErr(e1)
908 }
909 return
910}
911
912// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
913
914func Pread(fd int, p []byte, offset int64) (n int, err error) {
915 var _p0 unsafe.Pointer
916 if len(p) > 0 {
917 _p0 = unsafe.Pointer(&p[0])
918 } else {
919 _p0 = unsafe.Pointer(&_zero)
920 }
921 r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
922 n = int(r0)
923 if e1 != 0 {
924 err = errnoErr(e1)
925 }
926 return
927}
928
929// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
930
931func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
932 var _p0 unsafe.Pointer
933 if len(p) > 0 {
934 _p0 = unsafe.Pointer(&p[0])
935 } else {
936 _p0 = unsafe.Pointer(&_zero)
937 }
938 r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
939 n = int(r0)
940 if e1 != 0 {
941 err = errnoErr(e1)
942 }
943 return
944}
945
946// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
947
948func read(fd int, p []byte) (n int, err error) {
949 var _p0 unsafe.Pointer
950 if len(p) > 0 {
951 _p0 = unsafe.Pointer(&p[0])
952 } else {
953 _p0 = unsafe.Pointer(&_zero)
954 }
955 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
956 n = int(r0)
957 if e1 != 0 {
958 err = errnoErr(e1)
959 }
960 return
961}
962
963// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
964
965func Readlink(path string, buf []byte) (n int, err error) {
966 var _p0 *byte
967 _p0, err = BytePtrFromString(path)
968 if err != nil {
969 return
970 }
971 var _p1 unsafe.Pointer
972 if len(buf) > 0 {
973 _p1 = unsafe.Pointer(&buf[0])
974 } else {
975 _p1 = unsafe.Pointer(&_zero)
976 }
977 r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
978 use(unsafe.Pointer(_p0))
979 n = int(r0)
980 if e1 != 0 {
981 err = errnoErr(e1)
982 }
983 return
984}
985
986// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
987
988func Rename(from string, to string) (err error) {
989 var _p0 *byte
990 _p0, err = BytePtrFromString(from)
991 if err != nil {
992 return
993 }
994 var _p1 *byte
995 _p1, err = BytePtrFromString(to)
996 if err != nil {
997 return
998 }
999 _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1000 use(unsafe.Pointer(_p0))
1001 use(unsafe.Pointer(_p1))
1002 if e1 != 0 {
1003 err = errnoErr(e1)
1004 }
1005 return
1006}
1007
1008// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1009
1010func Revoke(path string) (err error) {
1011 var _p0 *byte
1012 _p0, err = BytePtrFromString(path)
1013 if err != nil {
1014 return
1015 }
1016 _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
1017 use(unsafe.Pointer(_p0))
1018 if e1 != 0 {
1019 err = errnoErr(e1)
1020 }
1021 return
1022}
1023
1024// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1025
1026func Rmdir(path string) (err error) {
1027 var _p0 *byte
1028 _p0, err = BytePtrFromString(path)
1029 if err != nil {
1030 return
1031 }
1032 _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
1033 use(unsafe.Pointer(_p0))
1034 if e1 != 0 {
1035 err = errnoErr(e1)
1036 }
1037 return
1038}
1039
1040// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1041
1042func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1043 r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
1044 newoffset = int64(r0)
1045 if e1 != 0 {
1046 err = errnoErr(e1)
1047 }
1048 return
1049}
1050
1051// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1052
1053func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
1054 _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
1055 if e1 != 0 {
1056 err = errnoErr(e1)
1057 }
1058 return
1059}
1060
1061// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1062
1063func Setegid(egid int) (err error) {
1064 _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
1065 if e1 != 0 {
1066 err = errnoErr(e1)
1067 }
1068 return
1069}
1070
1071// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1072
1073func Seteuid(euid int) (err error) {
1074 _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
1075 if e1 != 0 {
1076 err = errnoErr(e1)
1077 }
1078 return
1079}
1080
1081// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1082
1083func Setgid(gid int) (err error) {
1084 _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
1085 if e1 != 0 {
1086 err = errnoErr(e1)
1087 }
1088 return
1089}
1090
1091// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1092
1093func Setlogin(name string) (err error) {
1094 var _p0 *byte
1095 _p0, err = BytePtrFromString(name)
1096 if err != nil {
1097 return
1098 }
1099 _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
1100 use(unsafe.Pointer(_p0))
1101 if e1 != 0 {
1102 err = errnoErr(e1)
1103 }
1104 return
1105}
1106
1107// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1108
1109func Setpgid(pid int, pgid int) (err error) {
1110 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
1111 if e1 != 0 {
1112 err = errnoErr(e1)
1113 }
1114 return
1115}
1116
1117// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1118
1119func Setpriority(which int, who int, prio int) (err error) {
1120 _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
1121 if e1 != 0 {
1122 err = errnoErr(e1)
1123 }
1124 return
1125}
1126
1127// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1128
1129func Setregid(rgid int, egid int) (err error) {
1130 _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
1131 if e1 != 0 {
1132 err = errnoErr(e1)
1133 }
1134 return
1135}
1136
1137// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1138
1139func Setreuid(ruid int, euid int) (err error) {
1140 _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
1141 if e1 != 0 {
1142 err = errnoErr(e1)
1143 }
1144 return
1145}
1146
1147// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1148
1149func Setresgid(rgid int, egid int, sgid int) (err error) {
1150 _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
1151 if e1 != 0 {
1152 err = errnoErr(e1)
1153 }
1154 return
1155}
1156
1157// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1158
1159func Setresuid(ruid int, euid int, suid int) (err error) {
1160 _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
1161 if e1 != 0 {
1162 err = errnoErr(e1)
1163 }
1164 return
1165}
1166
1167// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1168
1169func Setrlimit(which int, lim *Rlimit) (err error) {
1170 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
1171 if e1 != 0 {
1172 err = errnoErr(e1)
1173 }
1174 return
1175}
1176
1177// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1178
1179func Setsid() (pid int, err error) {
1180 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
1181 pid = int(r0)
1182 if e1 != 0 {
1183 err = errnoErr(e1)
1184 }
1185 return
1186}
1187
1188// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1189
1190func Settimeofday(tp *Timeval) (err error) {
1191 _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
1192 if e1 != 0 {
1193 err = errnoErr(e1)
1194 }
1195 return
1196}
1197
1198// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1199
1200func Setuid(uid int) (err error) {
1201 _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
1202 if e1 != 0 {
1203 err = errnoErr(e1)
1204 }
1205 return
1206}
1207
1208// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1209
1210func Stat(path string, stat *Stat_t) (err error) {
1211 var _p0 *byte
1212 _p0, err = BytePtrFromString(path)
1213 if err != nil {
1214 return
1215 }
1216 _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1217 use(unsafe.Pointer(_p0))
1218 if e1 != 0 {
1219 err = errnoErr(e1)
1220 }
1221 return
1222}
1223
1224// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1225
1226func Statfs(path string, stat *Statfs_t) (err error) {
1227 var _p0 *byte
1228 _p0, err = BytePtrFromString(path)
1229 if err != nil {
1230 return
1231 }
1232 _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
1233 use(unsafe.Pointer(_p0))
1234 if e1 != 0 {
1235 err = errnoErr(e1)
1236 }
1237 return
1238}
1239
1240// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1241
1242func Symlink(path string, link string) (err error) {
1243 var _p0 *byte
1244 _p0, err = BytePtrFromString(path)
1245 if err != nil {
1246 return
1247 }
1248 var _p1 *byte
1249 _p1, err = BytePtrFromString(link)
1250 if err != nil {
1251 return
1252 }
1253 _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
1254 use(unsafe.Pointer(_p0))
1255 use(unsafe.Pointer(_p1))
1256 if e1 != 0 {
1257 err = errnoErr(e1)
1258 }
1259 return
1260}
1261
1262// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1263
1264func Sync() (err error) {
1265 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
1266 if e1 != 0 {
1267 err = errnoErr(e1)
1268 }
1269 return
1270}
1271
1272// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1273
1274func Truncate(path string, length int64) (err error) {
1275 var _p0 *byte
1276 _p0, err = BytePtrFromString(path)
1277 if err != nil {
1278 return
1279 }
1280 _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
1281 use(unsafe.Pointer(_p0))
1282 if e1 != 0 {
1283 err = errnoErr(e1)
1284 }
1285 return
1286}
1287
1288// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1289
1290func Umask(newmask int) (oldmask int) {
1291 r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
1292 oldmask = int(r0)
1293 return
1294}
1295
1296// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1297
1298func Unlink(path string) (err error) {
1299 var _p0 *byte
1300 _p0, err = BytePtrFromString(path)
1301 if err != nil {
1302 return
1303 }
1304 _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
1305 use(unsafe.Pointer(_p0))
1306 if e1 != 0 {
1307 err = errnoErr(e1)
1308 }
1309 return
1310}
1311
1312// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1313
1314func Unmount(path string, flags int) (err error) {
1315 var _p0 *byte
1316 _p0, err = BytePtrFromString(path)
1317 if err != nil {
1318 return
1319 }
1320 _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
1321 use(unsafe.Pointer(_p0))
1322 if e1 != 0 {
1323 err = errnoErr(e1)
1324 }
1325 return
1326}
1327
1328// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1329
1330func write(fd int, p []byte) (n int, err error) {
1331 var _p0 unsafe.Pointer
1332 if len(p) > 0 {
1333 _p0 = unsafe.Pointer(&p[0])
1334 } else {
1335 _p0 = unsafe.Pointer(&_zero)
1336 }
1337 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
1338 n = int(r0)
1339 if e1 != 0 {
1340 err = errnoErr(e1)
1341 }
1342 return
1343}
1344
1345// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1346
1347func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1348 r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
1349 ret = uintptr(r0)
1350 if e1 != 0 {
1351 err = errnoErr(e1)
1352 }
1353 return
1354}
1355
1356// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1357
1358func munmap(addr uintptr, length uintptr) (err error) {
1359 _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
1360 if e1 != 0 {
1361 err = errnoErr(e1)
1362 }
1363 return
1364}
1365
1366// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1367
1368func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
1369 r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1370 n = int(r0)
1371 if e1 != 0 {
1372 err = errnoErr(e1)
1373 }
1374 return
1375}
1376
1377// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1378
1379func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
1380 r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
1381 n = int(r0)
1382 if e1 != 0 {
1383 err = errnoErr(e1)
1384 }
1385 return
1386}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
deleted file mode 100644
index 8d2a836..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
+++ /dev/null
@@ -1,1559 +0,0 @@
1// mksyscall_solaris.pl syscall_solaris.go syscall_solaris_amd64.go
2// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
3
4// +build amd64,solaris
5
6package unix
7
8import (
9 "syscall"
10 "unsafe"
11)
12
13//go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so"
14//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
15//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
16//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
17//go:cgo_import_dynamic libc_utimes utimes "libc.so"
18//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
19//go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
20//go:cgo_import_dynamic libc_futimesat futimesat "libc.so"
21//go:cgo_import_dynamic libc_accept accept "libsocket.so"
22//go:cgo_import_dynamic libc_recvmsg recvmsg "libsocket.so"
23//go:cgo_import_dynamic libc_sendmsg sendmsg "libsocket.so"
24//go:cgo_import_dynamic libc_acct acct "libc.so"
25//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
26//go:cgo_import_dynamic libc_access access "libc.so"
27//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
28//go:cgo_import_dynamic libc_chdir chdir "libc.so"
29//go:cgo_import_dynamic libc_chmod chmod "libc.so"
30//go:cgo_import_dynamic libc_chown chown "libc.so"
31//go:cgo_import_dynamic libc_chroot chroot "libc.so"
32//go:cgo_import_dynamic libc_close close "libc.so"
33//go:cgo_import_dynamic libc_creat creat "libc.so"
34//go:cgo_import_dynamic libc_dup dup "libc.so"
35//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
36//go:cgo_import_dynamic libc_exit exit "libc.so"
37//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
38//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
39//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
40//go:cgo_import_dynamic libc_fchown fchown "libc.so"
41//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
42//go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so"
43//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
44//go:cgo_import_dynamic libc_fstat fstat "libc.so"
45//go:cgo_import_dynamic libc_getdents getdents "libc.so"
46//go:cgo_import_dynamic libc_getgid getgid "libc.so"
47//go:cgo_import_dynamic libc_getpid getpid "libc.so"
48//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
49//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
50//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
51//go:cgo_import_dynamic libc_getegid getegid "libc.so"
52//go:cgo_import_dynamic libc_getppid getppid "libc.so"
53//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
54//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
55//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
56//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
57//go:cgo_import_dynamic libc_getuid getuid "libc.so"
58//go:cgo_import_dynamic libc_kill kill "libc.so"
59//go:cgo_import_dynamic libc_lchown lchown "libc.so"
60//go:cgo_import_dynamic libc_link link "libc.so"
61//go:cgo_import_dynamic libc_listen listen "libsocket.so"
62//go:cgo_import_dynamic libc_lstat lstat "libc.so"
63//go:cgo_import_dynamic libc_madvise madvise "libc.so"
64//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
65//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
66//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
67//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
68//go:cgo_import_dynamic libc_mknod mknod "libc.so"
69//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
70//go:cgo_import_dynamic libc_mlock mlock "libc.so"
71//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
72//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
73//go:cgo_import_dynamic libc_munlock munlock "libc.so"
74//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
75//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
76//go:cgo_import_dynamic libc_open open "libc.so"
77//go:cgo_import_dynamic libc_openat openat "libc.so"
78//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
79//go:cgo_import_dynamic libc_pause pause "libc.so"
80//go:cgo_import_dynamic libc_pread pread "libc.so"
81//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
82//go:cgo_import_dynamic libc_read read "libc.so"
83//go:cgo_import_dynamic libc_readlink readlink "libc.so"
84//go:cgo_import_dynamic libc_rename rename "libc.so"
85//go:cgo_import_dynamic libc_renameat renameat "libc.so"
86//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
87//go:cgo_import_dynamic libc_lseek lseek "libc.so"
88//go:cgo_import_dynamic libc_setegid setegid "libc.so"
89//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
90//go:cgo_import_dynamic libc_setgid setgid "libc.so"
91//go:cgo_import_dynamic libc_sethostname sethostname "libc.so"
92//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
93//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
94//go:cgo_import_dynamic libc_setregid setregid "libc.so"
95//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
96//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
97//go:cgo_import_dynamic libc_setsid setsid "libc.so"
98//go:cgo_import_dynamic libc_setuid setuid "libc.so"
99//go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so"
100//go:cgo_import_dynamic libc_stat stat "libc.so"
101//go:cgo_import_dynamic libc_symlink symlink "libc.so"
102//go:cgo_import_dynamic libc_sync sync "libc.so"
103//go:cgo_import_dynamic libc_times times "libc.so"
104//go:cgo_import_dynamic libc_truncate truncate "libc.so"
105//go:cgo_import_dynamic libc_fsync fsync "libc.so"
106//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
107//go:cgo_import_dynamic libc_umask umask "libc.so"
108//go:cgo_import_dynamic libc_uname uname "libc.so"
109//go:cgo_import_dynamic libc_umount umount "libc.so"
110//go:cgo_import_dynamic libc_unlink unlink "libc.so"
111//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
112//go:cgo_import_dynamic libc_ustat ustat "libc.so"
113//go:cgo_import_dynamic libc_utime utime "libc.so"
114//go:cgo_import_dynamic libc_bind bind "libsocket.so"
115//go:cgo_import_dynamic libc_connect connect "libsocket.so"
116//go:cgo_import_dynamic libc_mmap mmap "libc.so"
117//go:cgo_import_dynamic libc_munmap munmap "libc.so"
118//go:cgo_import_dynamic libc_sendto sendto "libsocket.so"
119//go:cgo_import_dynamic libc_socket socket "libsocket.so"
120//go:cgo_import_dynamic libc_socketpair socketpair "libsocket.so"
121//go:cgo_import_dynamic libc_write write "libc.so"
122//go:cgo_import_dynamic libc_getsockopt getsockopt "libsocket.so"
123//go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
124//go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
125//go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
126//go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
127
128//go:linkname procgetsockname libc_getsockname
129//go:linkname procGetcwd libc_getcwd
130//go:linkname procgetgroups libc_getgroups
131//go:linkname procsetgroups libc_setgroups
132//go:linkname procutimes libc_utimes
133//go:linkname procutimensat libc_utimensat
134//go:linkname procfcntl libc_fcntl
135//go:linkname procfutimesat libc_futimesat
136//go:linkname procaccept libc_accept
137//go:linkname procrecvmsg libc_recvmsg
138//go:linkname procsendmsg libc_sendmsg
139//go:linkname procacct libc_acct
140//go:linkname procioctl libc_ioctl
141//go:linkname procAccess libc_access
142//go:linkname procAdjtime libc_adjtime
143//go:linkname procChdir libc_chdir
144//go:linkname procChmod libc_chmod
145//go:linkname procChown libc_chown
146//go:linkname procChroot libc_chroot
147//go:linkname procClose libc_close
148//go:linkname procCreat libc_creat
149//go:linkname procDup libc_dup
150//go:linkname procDup2 libc_dup2
151//go:linkname procExit libc_exit
152//go:linkname procFchdir libc_fchdir
153//go:linkname procFchmod libc_fchmod
154//go:linkname procFchmodat libc_fchmodat
155//go:linkname procFchown libc_fchown
156//go:linkname procFchownat libc_fchownat
157//go:linkname procFdatasync libc_fdatasync
158//go:linkname procFpathconf libc_fpathconf
159//go:linkname procFstat libc_fstat
160//go:linkname procGetdents libc_getdents
161//go:linkname procGetgid libc_getgid
162//go:linkname procGetpid libc_getpid
163//go:linkname procGetpgid libc_getpgid
164//go:linkname procGetpgrp libc_getpgrp
165//go:linkname procGeteuid libc_geteuid
166//go:linkname procGetegid libc_getegid
167//go:linkname procGetppid libc_getppid
168//go:linkname procGetpriority libc_getpriority
169//go:linkname procGetrlimit libc_getrlimit
170//go:linkname procGetrusage libc_getrusage
171//go:linkname procGettimeofday libc_gettimeofday
172//go:linkname procGetuid libc_getuid
173//go:linkname procKill libc_kill
174//go:linkname procLchown libc_lchown
175//go:linkname procLink libc_link
176//go:linkname proclisten libc_listen
177//go:linkname procLstat libc_lstat
178//go:linkname procMadvise libc_madvise
179//go:linkname procMkdir libc_mkdir
180//go:linkname procMkdirat libc_mkdirat
181//go:linkname procMkfifo libc_mkfifo
182//go:linkname procMkfifoat libc_mkfifoat
183//go:linkname procMknod libc_mknod
184//go:linkname procMknodat libc_mknodat
185//go:linkname procMlock libc_mlock
186//go:linkname procMlockall libc_mlockall
187//go:linkname procMprotect libc_mprotect
188//go:linkname procMunlock libc_munlock
189//go:linkname procMunlockall libc_munlockall
190//go:linkname procNanosleep libc_nanosleep
191//go:linkname procOpen libc_open
192//go:linkname procOpenat libc_openat
193//go:linkname procPathconf libc_pathconf
194//go:linkname procPause libc_pause
195//go:linkname procPread libc_pread
196//go:linkname procPwrite libc_pwrite
197//go:linkname procread libc_read
198//go:linkname procReadlink libc_readlink
199//go:linkname procRename libc_rename
200//go:linkname procRenameat libc_renameat
201//go:linkname procRmdir libc_rmdir
202//go:linkname proclseek libc_lseek
203//go:linkname procSetegid libc_setegid
204//go:linkname procSeteuid libc_seteuid
205//go:linkname procSetgid libc_setgid
206//go:linkname procSethostname libc_sethostname
207//go:linkname procSetpgid libc_setpgid
208//go:linkname procSetpriority libc_setpriority
209//go:linkname procSetregid libc_setregid
210//go:linkname procSetreuid libc_setreuid
211//go:linkname procSetrlimit libc_setrlimit
212//go:linkname procSetsid libc_setsid
213//go:linkname procSetuid libc_setuid
214//go:linkname procshutdown libc_shutdown
215//go:linkname procStat libc_stat
216//go:linkname procSymlink libc_symlink
217//go:linkname procSync libc_sync
218//go:linkname procTimes libc_times
219//go:linkname procTruncate libc_truncate
220//go:linkname procFsync libc_fsync
221//go:linkname procFtruncate libc_ftruncate
222//go:linkname procUmask libc_umask
223//go:linkname procUname libc_uname
224//go:linkname procumount libc_umount
225//go:linkname procUnlink libc_unlink
226//go:linkname procUnlinkat libc_unlinkat
227//go:linkname procUstat libc_ustat
228//go:linkname procUtime libc_utime
229//go:linkname procbind libc_bind
230//go:linkname procconnect libc_connect
231//go:linkname procmmap libc_mmap
232//go:linkname procmunmap libc_munmap
233//go:linkname procsendto libc_sendto
234//go:linkname procsocket libc_socket
235//go:linkname procsocketpair libc_socketpair
236//go:linkname procwrite libc_write
237//go:linkname procgetsockopt libc_getsockopt
238//go:linkname procgetpeername libc_getpeername
239//go:linkname procsetsockopt libc_setsockopt
240//go:linkname procrecvfrom libc_recvfrom
241//go:linkname procsysconf libc_sysconf
242
243var (
244 procgetsockname,
245 procGetcwd,
246 procgetgroups,
247 procsetgroups,
248 procutimes,
249 procutimensat,
250 procfcntl,
251 procfutimesat,
252 procaccept,
253 procrecvmsg,
254 procsendmsg,
255 procacct,
256 procioctl,
257 procAccess,
258 procAdjtime,
259 procChdir,
260 procChmod,
261 procChown,
262 procChroot,
263 procClose,
264 procCreat,
265 procDup,
266 procDup2,
267 procExit,
268 procFchdir,
269 procFchmod,
270 procFchmodat,
271 procFchown,
272 procFchownat,
273 procFdatasync,
274 procFpathconf,
275 procFstat,
276 procGetdents,
277 procGetgid,
278 procGetpid,
279 procGetpgid,
280 procGetpgrp,
281 procGeteuid,
282 procGetegid,
283 procGetppid,
284 procGetpriority,
285 procGetrlimit,
286 procGetrusage,
287 procGettimeofday,
288 procGetuid,
289 procKill,
290 procLchown,
291 procLink,
292 proclisten,
293 procLstat,
294 procMadvise,
295 procMkdir,
296 procMkdirat,
297 procMkfifo,
298 procMkfifoat,
299 procMknod,
300 procMknodat,
301 procMlock,
302 procMlockall,
303 procMprotect,
304 procMunlock,
305 procMunlockall,
306 procNanosleep,
307 procOpen,
308 procOpenat,
309 procPathconf,
310 procPause,
311 procPread,
312 procPwrite,
313 procread,
314 procReadlink,
315 procRename,
316 procRenameat,
317 procRmdir,
318 proclseek,
319 procSetegid,
320 procSeteuid,
321 procSetgid,
322 procSethostname,
323 procSetpgid,
324 procSetpriority,
325 procSetregid,
326 procSetreuid,
327 procSetrlimit,
328 procSetsid,
329 procSetuid,
330 procshutdown,
331 procStat,
332 procSymlink,
333 procSync,
334 procTimes,
335 procTruncate,
336 procFsync,
337 procFtruncate,
338 procUmask,
339 procUname,
340 procumount,
341 procUnlink,
342 procUnlinkat,
343 procUstat,
344 procUtime,
345 procbind,
346 procconnect,
347 procmmap,
348 procmunmap,
349 procsendto,
350 procsocket,
351 procsocketpair,
352 procwrite,
353 procgetsockopt,
354 procgetpeername,
355 procsetsockopt,
356 procrecvfrom,
357 procsysconf syscallFunc
358)
359
360func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
361 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
362 if e1 != 0 {
363 err = e1
364 }
365 return
366}
367
368func Getcwd(buf []byte) (n int, err error) {
369 var _p0 *byte
370 if len(buf) > 0 {
371 _p0 = &buf[0]
372 }
373 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
374 n = int(r0)
375 if e1 != 0 {
376 err = e1
377 }
378 return
379}
380
381func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
382 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
383 n = int(r0)
384 if e1 != 0 {
385 err = e1
386 }
387 return
388}
389
390func setgroups(ngid int, gid *_Gid_t) (err error) {
391 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
392 if e1 != 0 {
393 err = e1
394 }
395 return
396}
397
398func utimes(path string, times *[2]Timeval) (err error) {
399 var _p0 *byte
400 _p0, err = BytePtrFromString(path)
401 if err != nil {
402 return
403 }
404 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0)
405 use(unsafe.Pointer(_p0))
406 if e1 != 0 {
407 err = e1
408 }
409 return
410}
411
412func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
413 var _p0 *byte
414 _p0, err = BytePtrFromString(path)
415 if err != nil {
416 return
417 }
418 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
419 use(unsafe.Pointer(_p0))
420 if e1 != 0 {
421 err = e1
422 }
423 return
424}
425
426func fcntl(fd int, cmd int, arg int) (val int, err error) {
427 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
428 val = int(r0)
429 if e1 != 0 {
430 err = e1
431 }
432 return
433}
434
435func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
436 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
437 if e1 != 0 {
438 err = e1
439 }
440 return
441}
442
443func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
444 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
445 fd = int(r0)
446 if e1 != 0 {
447 err = e1
448 }
449 return
450}
451
452func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
453 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
454 n = int(r0)
455 if e1 != 0 {
456 err = e1
457 }
458 return
459}
460
461func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
462 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
463 n = int(r0)
464 if e1 != 0 {
465 err = e1
466 }
467 return
468}
469
470func acct(path *byte) (err error) {
471 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
472 if e1 != 0 {
473 err = e1
474 }
475 return
476}
477
478func ioctl(fd int, req int, arg uintptr) (err error) {
479 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
480 if e1 != 0 {
481 err = e1
482 }
483 return
484}
485
486func Access(path string, mode uint32) (err error) {
487 var _p0 *byte
488 _p0, err = BytePtrFromString(path)
489 if err != nil {
490 return
491 }
492 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAccess)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
493 use(unsafe.Pointer(_p0))
494 if e1 != 0 {
495 err = e1
496 }
497 return
498}
499
500func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
501 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
502 if e1 != 0 {
503 err = e1
504 }
505 return
506}
507
508func Chdir(path string) (err error) {
509 var _p0 *byte
510 _p0, err = BytePtrFromString(path)
511 if err != nil {
512 return
513 }
514 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
515 use(unsafe.Pointer(_p0))
516 if e1 != 0 {
517 err = e1
518 }
519 return
520}
521
522func Chmod(path string, mode uint32) (err error) {
523 var _p0 *byte
524 _p0, err = BytePtrFromString(path)
525 if err != nil {
526 return
527 }
528 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChmod)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
529 use(unsafe.Pointer(_p0))
530 if e1 != 0 {
531 err = e1
532 }
533 return
534}
535
536func Chown(path string, uid int, gid int) (err error) {
537 var _p0 *byte
538 _p0, err = BytePtrFromString(path)
539 if err != nil {
540 return
541 }
542 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
543 use(unsafe.Pointer(_p0))
544 if e1 != 0 {
545 err = e1
546 }
547 return
548}
549
550func Chroot(path string) (err error) {
551 var _p0 *byte
552 _p0, err = BytePtrFromString(path)
553 if err != nil {
554 return
555 }
556 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChroot)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
557 use(unsafe.Pointer(_p0))
558 if e1 != 0 {
559 err = e1
560 }
561 return
562}
563
564func Close(fd int) (err error) {
565 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
566 if e1 != 0 {
567 err = e1
568 }
569 return
570}
571
572func Creat(path string, mode uint32) (fd int, err error) {
573 var _p0 *byte
574 _p0, err = BytePtrFromString(path)
575 if err != nil {
576 return
577 }
578 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
579 use(unsafe.Pointer(_p0))
580 fd = int(r0)
581 if e1 != 0 {
582 err = e1
583 }
584 return
585}
586
587func Dup(fd int) (nfd int, err error) {
588 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
589 nfd = int(r0)
590 if e1 != 0 {
591 err = e1
592 }
593 return
594}
595
596func Dup2(oldfd int, newfd int) (err error) {
597 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
598 if e1 != 0 {
599 err = e1
600 }
601 return
602}
603
604func Exit(code int) {
605 sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
606 return
607}
608
609func Fchdir(fd int) (err error) {
610 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
611 if e1 != 0 {
612 err = e1
613 }
614 return
615}
616
617func Fchmod(fd int, mode uint32) (err error) {
618 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
619 if e1 != 0 {
620 err = e1
621 }
622 return
623}
624
625func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
626 var _p0 *byte
627 _p0, err = BytePtrFromString(path)
628 if err != nil {
629 return
630 }
631 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
632 use(unsafe.Pointer(_p0))
633 if e1 != 0 {
634 err = e1
635 }
636 return
637}
638
639func Fchown(fd int, uid int, gid int) (err error) {
640 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
641 if e1 != 0 {
642 err = e1
643 }
644 return
645}
646
647func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
648 var _p0 *byte
649 _p0, err = BytePtrFromString(path)
650 if err != nil {
651 return
652 }
653 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
654 use(unsafe.Pointer(_p0))
655 if e1 != 0 {
656 err = e1
657 }
658 return
659}
660
661func Fdatasync(fd int) (err error) {
662 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
663 if e1 != 0 {
664 err = e1
665 }
666 return
667}
668
669func Fpathconf(fd int, name int) (val int, err error) {
670 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
671 val = int(r0)
672 if e1 != 0 {
673 err = e1
674 }
675 return
676}
677
678func Fstat(fd int, stat *Stat_t) (err error) {
679 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
680 if e1 != 0 {
681 err = e1
682 }
683 return
684}
685
686func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
687 var _p0 *byte
688 if len(buf) > 0 {
689 _p0 = &buf[0]
690 }
691 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetdents)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
692 n = int(r0)
693 if e1 != 0 {
694 err = e1
695 }
696 return
697}
698
699func Getgid() (gid int) {
700 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
701 gid = int(r0)
702 return
703}
704
705func Getpid() (pid int) {
706 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
707 pid = int(r0)
708 return
709}
710
711func Getpgid(pid int) (pgid int, err error) {
712 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
713 pgid = int(r0)
714 if e1 != 0 {
715 err = e1
716 }
717 return
718}
719
720func Getpgrp() (pgid int, err error) {
721 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
722 pgid = int(r0)
723 if e1 != 0 {
724 err = e1
725 }
726 return
727}
728
729func Geteuid() (euid int) {
730 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
731 euid = int(r0)
732 return
733}
734
735func Getegid() (egid int) {
736 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
737 egid = int(r0)
738 return
739}
740
741func Getppid() (ppid int) {
742 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0)
743 ppid = int(r0)
744 return
745}
746
747func Getpriority(which int, who int) (n int, err error) {
748 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
749 n = int(r0)
750 if e1 != 0 {
751 err = e1
752 }
753 return
754}
755
756func Getrlimit(which int, lim *Rlimit) (err error) {
757 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
758 if e1 != 0 {
759 err = e1
760 }
761 return
762}
763
764func Getrusage(who int, rusage *Rusage) (err error) {
765 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
766 if e1 != 0 {
767 err = e1
768 }
769 return
770}
771
772func Gettimeofday(tv *Timeval) (err error) {
773 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
774 if e1 != 0 {
775 err = e1
776 }
777 return
778}
779
780func Getuid() (uid int) {
781 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
782 uid = int(r0)
783 return
784}
785
786func Kill(pid int, signum syscall.Signal) (err error) {
787 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
788 if e1 != 0 {
789 err = e1
790 }
791 return
792}
793
794func Lchown(path string, uid int, gid int) (err error) {
795 var _p0 *byte
796 _p0, err = BytePtrFromString(path)
797 if err != nil {
798 return
799 }
800 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLchown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
801 use(unsafe.Pointer(_p0))
802 if e1 != 0 {
803 err = e1
804 }
805 return
806}
807
808func Link(path string, link string) (err error) {
809 var _p0 *byte
810 _p0, err = BytePtrFromString(path)
811 if err != nil {
812 return
813 }
814 var _p1 *byte
815 _p1, err = BytePtrFromString(link)
816 if err != nil {
817 return
818 }
819 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
820 use(unsafe.Pointer(_p0))
821 use(unsafe.Pointer(_p1))
822 if e1 != 0 {
823 err = e1
824 }
825 return
826}
827
828func Listen(s int, backlog int) (err error) {
829 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
830 if e1 != 0 {
831 err = e1
832 }
833 return
834}
835
836func Lstat(path string, stat *Stat_t) (err error) {
837 var _p0 *byte
838 _p0, err = BytePtrFromString(path)
839 if err != nil {
840 return
841 }
842 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLstat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
843 use(unsafe.Pointer(_p0))
844 if e1 != 0 {
845 err = e1
846 }
847 return
848}
849
850func Madvise(b []byte, advice int) (err error) {
851 var _p0 *byte
852 if len(b) > 0 {
853 _p0 = &b[0]
854 }
855 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMadvise)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(advice), 0, 0, 0)
856 if e1 != 0 {
857 err = e1
858 }
859 return
860}
861
862func Mkdir(path string, mode uint32) (err error) {
863 var _p0 *byte
864 _p0, err = BytePtrFromString(path)
865 if err != nil {
866 return
867 }
868 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdir)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
869 use(unsafe.Pointer(_p0))
870 if e1 != 0 {
871 err = e1
872 }
873 return
874}
875
876func Mkdirat(dirfd int, path string, mode uint32) (err error) {
877 var _p0 *byte
878 _p0, err = BytePtrFromString(path)
879 if err != nil {
880 return
881 }
882 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
883 use(unsafe.Pointer(_p0))
884 if e1 != 0 {
885 err = e1
886 }
887 return
888}
889
890func Mkfifo(path string, mode uint32) (err error) {
891 var _p0 *byte
892 _p0, err = BytePtrFromString(path)
893 if err != nil {
894 return
895 }
896 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
897 use(unsafe.Pointer(_p0))
898 if e1 != 0 {
899 err = e1
900 }
901 return
902}
903
904func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
905 var _p0 *byte
906 _p0, err = BytePtrFromString(path)
907 if err != nil {
908 return
909 }
910 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
911 use(unsafe.Pointer(_p0))
912 if e1 != 0 {
913 err = e1
914 }
915 return
916}
917
918func Mknod(path string, mode uint32, dev int) (err error) {
919 var _p0 *byte
920 _p0, err = BytePtrFromString(path)
921 if err != nil {
922 return
923 }
924 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknod)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0, 0)
925 use(unsafe.Pointer(_p0))
926 if e1 != 0 {
927 err = e1
928 }
929 return
930}
931
932func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
933 var _p0 *byte
934 _p0, err = BytePtrFromString(path)
935 if err != nil {
936 return
937 }
938 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
939 use(unsafe.Pointer(_p0))
940 if e1 != 0 {
941 err = e1
942 }
943 return
944}
945
946func Mlock(b []byte) (err error) {
947 var _p0 *byte
948 if len(b) > 0 {
949 _p0 = &b[0]
950 }
951 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
952 if e1 != 0 {
953 err = e1
954 }
955 return
956}
957
958func Mlockall(flags int) (err error) {
959 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
960 if e1 != 0 {
961 err = e1
962 }
963 return
964}
965
966func Mprotect(b []byte, prot int) (err error) {
967 var _p0 *byte
968 if len(b) > 0 {
969 _p0 = &b[0]
970 }
971 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0)
972 if e1 != 0 {
973 err = e1
974 }
975 return
976}
977
978func Munlock(b []byte) (err error) {
979 var _p0 *byte
980 if len(b) > 0 {
981 _p0 = &b[0]
982 }
983 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
984 if e1 != 0 {
985 err = e1
986 }
987 return
988}
989
990func Munlockall() (err error) {
991 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
992 if e1 != 0 {
993 err = e1
994 }
995 return
996}
997
998func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
999 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
1000 if e1 != 0 {
1001 err = e1
1002 }
1003 return
1004}
1005
1006func Open(path string, mode int, perm uint32) (fd int, err error) {
1007 var _p0 *byte
1008 _p0, err = BytePtrFromString(path)
1009 if err != nil {
1010 return
1011 }
1012 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpen)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0, 0)
1013 use(unsafe.Pointer(_p0))
1014 fd = int(r0)
1015 if e1 != 0 {
1016 err = e1
1017 }
1018 return
1019}
1020
1021func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
1022 var _p0 *byte
1023 _p0, err = BytePtrFromString(path)
1024 if err != nil {
1025 return
1026 }
1027 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
1028 use(unsafe.Pointer(_p0))
1029 fd = int(r0)
1030 if e1 != 0 {
1031 err = e1
1032 }
1033 return
1034}
1035
1036func Pathconf(path string, name int) (val int, err error) {
1037 var _p0 *byte
1038 _p0, err = BytePtrFromString(path)
1039 if err != nil {
1040 return
1041 }
1042 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPathconf)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0, 0, 0, 0)
1043 use(unsafe.Pointer(_p0))
1044 val = int(r0)
1045 if e1 != 0 {
1046 err = e1
1047 }
1048 return
1049}
1050
1051func Pause() (err error) {
1052 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
1053 if e1 != 0 {
1054 err = e1
1055 }
1056 return
1057}
1058
1059func Pread(fd int, p []byte, offset int64) (n int, err error) {
1060 var _p0 *byte
1061 if len(p) > 0 {
1062 _p0 = &p[0]
1063 }
1064 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
1065 n = int(r0)
1066 if e1 != 0 {
1067 err = e1
1068 }
1069 return
1070}
1071
1072func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1073 var _p0 *byte
1074 if len(p) > 0 {
1075 _p0 = &p[0]
1076 }
1077 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
1078 n = int(r0)
1079 if e1 != 0 {
1080 err = e1
1081 }
1082 return
1083}
1084
1085func read(fd int, p []byte) (n int, err error) {
1086 var _p0 *byte
1087 if len(p) > 0 {
1088 _p0 = &p[0]
1089 }
1090 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
1091 n = int(r0)
1092 if e1 != 0 {
1093 err = e1
1094 }
1095 return
1096}
1097
1098func Readlink(path string, buf []byte) (n int, err error) {
1099 var _p0 *byte
1100 _p0, err = BytePtrFromString(path)
1101 if err != nil {
1102 return
1103 }
1104 var _p1 *byte
1105 if len(buf) > 0 {
1106 _p1 = &buf[0]
1107 }
1108 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procReadlink)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(len(buf)), 0, 0, 0)
1109 use(unsafe.Pointer(_p0))
1110 n = int(r0)
1111 if e1 != 0 {
1112 err = e1
1113 }
1114 return
1115}
1116
1117func Rename(from string, to string) (err error) {
1118 var _p0 *byte
1119 _p0, err = BytePtrFromString(from)
1120 if err != nil {
1121 return
1122 }
1123 var _p1 *byte
1124 _p1, err = BytePtrFromString(to)
1125 if err != nil {
1126 return
1127 }
1128 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRename)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
1129 use(unsafe.Pointer(_p0))
1130 use(unsafe.Pointer(_p1))
1131 if e1 != 0 {
1132 err = e1
1133 }
1134 return
1135}
1136
1137func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1138 var _p0 *byte
1139 _p0, err = BytePtrFromString(oldpath)
1140 if err != nil {
1141 return
1142 }
1143 var _p1 *byte
1144 _p1, err = BytePtrFromString(newpath)
1145 if err != nil {
1146 return
1147 }
1148 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
1149 use(unsafe.Pointer(_p0))
1150 use(unsafe.Pointer(_p1))
1151 if e1 != 0 {
1152 err = e1
1153 }
1154 return
1155}
1156
1157func Rmdir(path string) (err error) {
1158 var _p0 *byte
1159 _p0, err = BytePtrFromString(path)
1160 if err != nil {
1161 return
1162 }
1163 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRmdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
1164 use(unsafe.Pointer(_p0))
1165 if e1 != 0 {
1166 err = e1
1167 }
1168 return
1169}
1170
1171func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1172 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
1173 newoffset = int64(r0)
1174 if e1 != 0 {
1175 err = e1
1176 }
1177 return
1178}
1179
1180func Setegid(egid int) (err error) {
1181 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
1182 if e1 != 0 {
1183 err = e1
1184 }
1185 return
1186}
1187
1188func Seteuid(euid int) (err error) {
1189 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
1190 if e1 != 0 {
1191 err = e1
1192 }
1193 return
1194}
1195
1196func Setgid(gid int) (err error) {
1197 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
1198 if e1 != 0 {
1199 err = e1
1200 }
1201 return
1202}
1203
1204func Sethostname(p []byte) (err error) {
1205 var _p0 *byte
1206 if len(p) > 0 {
1207 _p0 = &p[0]
1208 }
1209 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0)
1210 if e1 != 0 {
1211 err = e1
1212 }
1213 return
1214}
1215
1216func Setpgid(pid int, pgid int) (err error) {
1217 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
1218 if e1 != 0 {
1219 err = e1
1220 }
1221 return
1222}
1223
1224func Setpriority(which int, who int, prio int) (err error) {
1225 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
1226 if e1 != 0 {
1227 err = e1
1228 }
1229 return
1230}
1231
1232func Setregid(rgid int, egid int) (err error) {
1233 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
1234 if e1 != 0 {
1235 err = e1
1236 }
1237 return
1238}
1239
1240func Setreuid(ruid int, euid int) (err error) {
1241 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
1242 if e1 != 0 {
1243 err = e1
1244 }
1245 return
1246}
1247
1248func Setrlimit(which int, lim *Rlimit) (err error) {
1249 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
1250 if e1 != 0 {
1251 err = e1
1252 }
1253 return
1254}
1255
1256func Setsid() (pid int, err error) {
1257 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
1258 pid = int(r0)
1259 if e1 != 0 {
1260 err = e1
1261 }
1262 return
1263}
1264
1265func Setuid(uid int) (err error) {
1266 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
1267 if e1 != 0 {
1268 err = e1
1269 }
1270 return
1271}
1272
1273func Shutdown(s int, how int) (err error) {
1274 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
1275 if e1 != 0 {
1276 err = e1
1277 }
1278 return
1279}
1280
1281func Stat(path string, stat *Stat_t) (err error) {
1282 var _p0 *byte
1283 _p0, err = BytePtrFromString(path)
1284 if err != nil {
1285 return
1286 }
1287 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
1288 use(unsafe.Pointer(_p0))
1289 if e1 != 0 {
1290 err = e1
1291 }
1292 return
1293}
1294
1295func Symlink(path string, link string) (err error) {
1296 var _p0 *byte
1297 _p0, err = BytePtrFromString(path)
1298 if err != nil {
1299 return
1300 }
1301 var _p1 *byte
1302 _p1, err = BytePtrFromString(link)
1303 if err != nil {
1304 return
1305 }
1306 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSymlink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
1307 use(unsafe.Pointer(_p0))
1308 use(unsafe.Pointer(_p1))
1309 if e1 != 0 {
1310 err = e1
1311 }
1312 return
1313}
1314
1315func Sync() (err error) {
1316 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
1317 if e1 != 0 {
1318 err = e1
1319 }
1320 return
1321}
1322
1323func Times(tms *Tms) (ticks uintptr, err error) {
1324 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
1325 ticks = uintptr(r0)
1326 if e1 != 0 {
1327 err = e1
1328 }
1329 return
1330}
1331
1332func Truncate(path string, length int64) (err error) {
1333 var _p0 *byte
1334 _p0, err = BytePtrFromString(path)
1335 if err != nil {
1336 return
1337 }
1338 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procTruncate)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0, 0, 0, 0)
1339 use(unsafe.Pointer(_p0))
1340 if e1 != 0 {
1341 err = e1
1342 }
1343 return
1344}
1345
1346func Fsync(fd int) (err error) {
1347 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
1348 if e1 != 0 {
1349 err = e1
1350 }
1351 return
1352}
1353
1354func Ftruncate(fd int, length int64) (err error) {
1355 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
1356 if e1 != 0 {
1357 err = e1
1358 }
1359 return
1360}
1361
1362func Umask(mask int) (oldmask int) {
1363 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
1364 oldmask = int(r0)
1365 return
1366}
1367
1368func Uname(buf *Utsname) (err error) {
1369 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
1370 if e1 != 0 {
1371 err = e1
1372 }
1373 return
1374}
1375
1376func Unmount(target string, flags int) (err error) {
1377 var _p0 *byte
1378 _p0, err = BytePtrFromString(target)
1379 if err != nil {
1380 return
1381 }
1382 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0)
1383 use(unsafe.Pointer(_p0))
1384 if e1 != 0 {
1385 err = e1
1386 }
1387 return
1388}
1389
1390func Unlink(path string) (err error) {
1391 var _p0 *byte
1392 _p0, err = BytePtrFromString(path)
1393 if err != nil {
1394 return
1395 }
1396 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlink)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
1397 use(unsafe.Pointer(_p0))
1398 if e1 != 0 {
1399 err = e1
1400 }
1401 return
1402}
1403
1404func Unlinkat(dirfd int, path string) (err error) {
1405 var _p0 *byte
1406 _p0, err = BytePtrFromString(path)
1407 if err != nil {
1408 return
1409 }
1410 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 2, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0)
1411 use(unsafe.Pointer(_p0))
1412 if e1 != 0 {
1413 err = e1
1414 }
1415 return
1416}
1417
1418func Ustat(dev int, ubuf *Ustat_t) (err error) {
1419 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
1420 if e1 != 0 {
1421 err = e1
1422 }
1423 return
1424}
1425
1426func Utime(path string, buf *Utimbuf) (err error) {
1427 var _p0 *byte
1428 _p0, err = BytePtrFromString(path)
1429 if err != nil {
1430 return
1431 }
1432 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0)
1433 use(unsafe.Pointer(_p0))
1434 if e1 != 0 {
1435 err = e1
1436 }
1437 return
1438}
1439
1440func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1441 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procbind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
1442 if e1 != 0 {
1443 err = e1
1444 }
1445 return
1446}
1447
1448func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1449 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procconnect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
1450 if e1 != 0 {
1451 err = e1
1452 }
1453 return
1454}
1455
1456func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1457 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1458 ret = uintptr(r0)
1459 if e1 != 0 {
1460 err = e1
1461 }
1462 return
1463}
1464
1465func munmap(addr uintptr, length uintptr) (err error) {
1466 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
1467 if e1 != 0 {
1468 err = e1
1469 }
1470 return
1471}
1472
1473func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1474 var _p0 *byte
1475 if len(buf) > 0 {
1476 _p0 = &buf[0]
1477 }
1478 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendto)), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1479 if e1 != 0 {
1480 err = e1
1481 }
1482 return
1483}
1484
1485func socket(domain int, typ int, proto int) (fd int, err error) {
1486 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsocket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
1487 fd = int(r0)
1488 if e1 != 0 {
1489 err = e1
1490 }
1491 return
1492}
1493
1494func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1495 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsocketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1496 if e1 != 0 {
1497 err = e1
1498 }
1499 return
1500}
1501
1502func write(fd int, p []byte) (n int, err error) {
1503 var _p0 *byte
1504 if len(p) > 0 {
1505 _p0 = &p[0]
1506 }
1507 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
1508 n = int(r0)
1509 if e1 != 0 {
1510 err = e1
1511 }
1512 return
1513}
1514
1515func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1516 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1517 if e1 != 0 {
1518 err = e1
1519 }
1520 return
1521}
1522
1523func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1524 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
1525 if e1 != 0 {
1526 err = e1
1527 }
1528 return
1529}
1530
1531func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1532 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1533 if e1 != 0 {
1534 err = e1
1535 }
1536 return
1537}
1538
1539func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1540 var _p0 *byte
1541 if len(p) > 0 {
1542 _p0 = &p[0]
1543 }
1544 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1545 n = int(r0)
1546 if e1 != 0 {
1547 err = e1
1548 }
1549 return
1550}
1551
1552func sysconf(name int) (n int64, err error) {
1553 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)
1554 n = int64(r0)
1555 if e1 != 0 {
1556 err = e1
1557 }
1558 return
1559}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysctl_openbsd.go
deleted file mode 100644
index 83bb935..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysctl_openbsd.go
+++ /dev/null
@@ -1,270 +0,0 @@
1// mksysctl_openbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4package unix
5
6type mibentry struct {
7 ctlname string
8 ctloid []_C_int
9}
10
11var sysctlMib = []mibentry{
12 {"ddb.console", []_C_int{9, 6}},
13 {"ddb.log", []_C_int{9, 7}},
14 {"ddb.max_line", []_C_int{9, 3}},
15 {"ddb.max_width", []_C_int{9, 2}},
16 {"ddb.panic", []_C_int{9, 5}},
17 {"ddb.radix", []_C_int{9, 1}},
18 {"ddb.tab_stop_width", []_C_int{9, 4}},
19 {"ddb.trigger", []_C_int{9, 8}},
20 {"fs.posix.setuid", []_C_int{3, 1, 1}},
21 {"hw.allowpowerdown", []_C_int{6, 22}},
22 {"hw.byteorder", []_C_int{6, 4}},
23 {"hw.cpuspeed", []_C_int{6, 12}},
24 {"hw.diskcount", []_C_int{6, 10}},
25 {"hw.disknames", []_C_int{6, 8}},
26 {"hw.diskstats", []_C_int{6, 9}},
27 {"hw.machine", []_C_int{6, 1}},
28 {"hw.model", []_C_int{6, 2}},
29 {"hw.ncpu", []_C_int{6, 3}},
30 {"hw.ncpufound", []_C_int{6, 21}},
31 {"hw.pagesize", []_C_int{6, 7}},
32 {"hw.physmem", []_C_int{6, 19}},
33 {"hw.product", []_C_int{6, 15}},
34 {"hw.serialno", []_C_int{6, 17}},
35 {"hw.setperf", []_C_int{6, 13}},
36 {"hw.usermem", []_C_int{6, 20}},
37 {"hw.uuid", []_C_int{6, 18}},
38 {"hw.vendor", []_C_int{6, 14}},
39 {"hw.version", []_C_int{6, 16}},
40 {"kern.arandom", []_C_int{1, 37}},
41 {"kern.argmax", []_C_int{1, 8}},
42 {"kern.boottime", []_C_int{1, 21}},
43 {"kern.bufcachepercent", []_C_int{1, 72}},
44 {"kern.ccpu", []_C_int{1, 45}},
45 {"kern.clockrate", []_C_int{1, 12}},
46 {"kern.consdev", []_C_int{1, 75}},
47 {"kern.cp_time", []_C_int{1, 40}},
48 {"kern.cp_time2", []_C_int{1, 71}},
49 {"kern.cryptodevallowsoft", []_C_int{1, 53}},
50 {"kern.domainname", []_C_int{1, 22}},
51 {"kern.file", []_C_int{1, 73}},
52 {"kern.forkstat", []_C_int{1, 42}},
53 {"kern.fscale", []_C_int{1, 46}},
54 {"kern.fsync", []_C_int{1, 33}},
55 {"kern.hostid", []_C_int{1, 11}},
56 {"kern.hostname", []_C_int{1, 10}},
57 {"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
58 {"kern.job_control", []_C_int{1, 19}},
59 {"kern.malloc.buckets", []_C_int{1, 39, 1}},
60 {"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
61 {"kern.maxclusters", []_C_int{1, 67}},
62 {"kern.maxfiles", []_C_int{1, 7}},
63 {"kern.maxlocksperuid", []_C_int{1, 70}},
64 {"kern.maxpartitions", []_C_int{1, 23}},
65 {"kern.maxproc", []_C_int{1, 6}},
66 {"kern.maxthread", []_C_int{1, 25}},
67 {"kern.maxvnodes", []_C_int{1, 5}},
68 {"kern.mbstat", []_C_int{1, 59}},
69 {"kern.msgbuf", []_C_int{1, 48}},
70 {"kern.msgbufsize", []_C_int{1, 38}},
71 {"kern.nchstats", []_C_int{1, 41}},
72 {"kern.netlivelocks", []_C_int{1, 76}},
73 {"kern.nfiles", []_C_int{1, 56}},
74 {"kern.ngroups", []_C_int{1, 18}},
75 {"kern.nosuidcoredump", []_C_int{1, 32}},
76 {"kern.nprocs", []_C_int{1, 47}},
77 {"kern.nselcoll", []_C_int{1, 43}},
78 {"kern.nthreads", []_C_int{1, 26}},
79 {"kern.numvnodes", []_C_int{1, 58}},
80 {"kern.osrelease", []_C_int{1, 2}},
81 {"kern.osrevision", []_C_int{1, 3}},
82 {"kern.ostype", []_C_int{1, 1}},
83 {"kern.osversion", []_C_int{1, 27}},
84 {"kern.pool_debug", []_C_int{1, 77}},
85 {"kern.posix1version", []_C_int{1, 17}},
86 {"kern.proc", []_C_int{1, 66}},
87 {"kern.random", []_C_int{1, 31}},
88 {"kern.rawpartition", []_C_int{1, 24}},
89 {"kern.saved_ids", []_C_int{1, 20}},
90 {"kern.securelevel", []_C_int{1, 9}},
91 {"kern.seminfo", []_C_int{1, 61}},
92 {"kern.shminfo", []_C_int{1, 62}},
93 {"kern.somaxconn", []_C_int{1, 28}},
94 {"kern.sominconn", []_C_int{1, 29}},
95 {"kern.splassert", []_C_int{1, 54}},
96 {"kern.stackgap_random", []_C_int{1, 50}},
97 {"kern.sysvipc_info", []_C_int{1, 51}},
98 {"kern.sysvmsg", []_C_int{1, 34}},
99 {"kern.sysvsem", []_C_int{1, 35}},
100 {"kern.sysvshm", []_C_int{1, 36}},
101 {"kern.timecounter.choice", []_C_int{1, 69, 4}},
102 {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
103 {"kern.timecounter.tick", []_C_int{1, 69, 1}},
104 {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
105 {"kern.tty.maxptys", []_C_int{1, 44, 6}},
106 {"kern.tty.nptys", []_C_int{1, 44, 7}},
107 {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
108 {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
109 {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
110 {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
111 {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
112 {"kern.ttycount", []_C_int{1, 57}},
113 {"kern.userasymcrypto", []_C_int{1, 60}},
114 {"kern.usercrypto", []_C_int{1, 52}},
115 {"kern.usermount", []_C_int{1, 30}},
116 {"kern.version", []_C_int{1, 4}},
117 {"kern.vnode", []_C_int{1, 13}},
118 {"kern.watchdog.auto", []_C_int{1, 64, 2}},
119 {"kern.watchdog.period", []_C_int{1, 64, 1}},
120 {"net.bpf.bufsize", []_C_int{4, 31, 1}},
121 {"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
122 {"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
123 {"net.inet.ah.stats", []_C_int{4, 2, 51, 2}},
124 {"net.inet.carp.allow", []_C_int{4, 2, 112, 1}},
125 {"net.inet.carp.log", []_C_int{4, 2, 112, 3}},
126 {"net.inet.carp.preempt", []_C_int{4, 2, 112, 2}},
127 {"net.inet.carp.stats", []_C_int{4, 2, 112, 4}},
128 {"net.inet.divert.recvspace", []_C_int{4, 2, 258, 1}},
129 {"net.inet.divert.sendspace", []_C_int{4, 2, 258, 2}},
130 {"net.inet.divert.stats", []_C_int{4, 2, 258, 3}},
131 {"net.inet.esp.enable", []_C_int{4, 2, 50, 1}},
132 {"net.inet.esp.stats", []_C_int{4, 2, 50, 4}},
133 {"net.inet.esp.udpencap", []_C_int{4, 2, 50, 2}},
134 {"net.inet.esp.udpencap_port", []_C_int{4, 2, 50, 3}},
135 {"net.inet.etherip.allow", []_C_int{4, 2, 97, 1}},
136 {"net.inet.etherip.stats", []_C_int{4, 2, 97, 2}},
137 {"net.inet.gre.allow", []_C_int{4, 2, 47, 1}},
138 {"net.inet.gre.wccp", []_C_int{4, 2, 47, 2}},
139 {"net.inet.icmp.bmcastecho", []_C_int{4, 2, 1, 2}},
140 {"net.inet.icmp.errppslimit", []_C_int{4, 2, 1, 3}},
141 {"net.inet.icmp.maskrepl", []_C_int{4, 2, 1, 1}},
142 {"net.inet.icmp.rediraccept", []_C_int{4, 2, 1, 4}},
143 {"net.inet.icmp.redirtimeout", []_C_int{4, 2, 1, 5}},
144 {"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
145 {"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
146 {"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
147 {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
148 {"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
149 {"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
150 {"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
151 {"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
152 {"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
153 {"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
154 {"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
155 {"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
156 {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
157 {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
158 {"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
159 {"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
160 {"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
161 {"net.inet.ip.multipath", []_C_int{4, 2, 0, 32}},
162 {"net.inet.ip.portfirst", []_C_int{4, 2, 0, 7}},
163 {"net.inet.ip.porthifirst", []_C_int{4, 2, 0, 9}},
164 {"net.inet.ip.porthilast", []_C_int{4, 2, 0, 10}},
165 {"net.inet.ip.portlast", []_C_int{4, 2, 0, 8}},
166 {"net.inet.ip.redirect", []_C_int{4, 2, 0, 2}},
167 {"net.inet.ip.sourceroute", []_C_int{4, 2, 0, 5}},
168 {"net.inet.ip.stats", []_C_int{4, 2, 0, 33}},
169 {"net.inet.ip.ttl", []_C_int{4, 2, 0, 3}},
170 {"net.inet.ipcomp.enable", []_C_int{4, 2, 108, 1}},
171 {"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
172 {"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
173 {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
174 {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
175 {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
176 {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
177 {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
178 {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
179 {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
180 {"net.inet.tcp.drop", []_C_int{4, 2, 6, 19}},
181 {"net.inet.tcp.ecn", []_C_int{4, 2, 6, 14}},
182 {"net.inet.tcp.ident", []_C_int{4, 2, 6, 9}},
183 {"net.inet.tcp.keepidle", []_C_int{4, 2, 6, 3}},
184 {"net.inet.tcp.keepinittime", []_C_int{4, 2, 6, 2}},
185 {"net.inet.tcp.keepintvl", []_C_int{4, 2, 6, 4}},
186 {"net.inet.tcp.mssdflt", []_C_int{4, 2, 6, 11}},
187 {"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
188 {"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
189 {"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
190 {"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
191 {"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
192 {"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
193 {"net.inet.tcp.slowhz", []_C_int{4, 2, 6, 5}},
194 {"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
195 {"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
196 {"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
197 {"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
198 {"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
199 {"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
200 {"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
201 {"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
202 {"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
203 {"net.inet6.divert.sendspace", []_C_int{4, 24, 86, 2}},
204 {"net.inet6.divert.stats", []_C_int{4, 24, 86, 3}},
205 {"net.inet6.icmp6.errppslimit", []_C_int{4, 24, 30, 14}},
206 {"net.inet6.icmp6.mtudisc_hiwat", []_C_int{4, 24, 30, 16}},
207 {"net.inet6.icmp6.mtudisc_lowat", []_C_int{4, 24, 30, 17}},
208 {"net.inet6.icmp6.nd6_debug", []_C_int{4, 24, 30, 18}},
209 {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
210 {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
211 {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
212 {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
213 {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
214 {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
215 {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
216 {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
217 {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
218 {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
219 {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
220 {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
221 {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
222 {"net.inet6.ip6.defmcasthlim", []_C_int{4, 24, 17, 18}},
223 {"net.inet6.ip6.forwarding", []_C_int{4, 24, 17, 1}},
224 {"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
225 {"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
226 {"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
227 {"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
228 {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
229 {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
230 {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
231 {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
232 {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
233 {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
234 {"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
235 {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
236 {"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
237 {"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
238 {"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
239 {"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
240 {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
241 {"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
242 {"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
243 {"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
244 {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
245 {"net.key.sadb_dump", []_C_int{4, 30, 1}},
246 {"net.key.spd_dump", []_C_int{4, 30, 2}},
247 {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
248 {"net.mpls.ifq.drops", []_C_int{4, 33, 3, 3}},
249 {"net.mpls.ifq.len", []_C_int{4, 33, 3, 1}},
250 {"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
251 {"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
252 {"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
253 {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
254 {"net.mpls.ttl", []_C_int{4, 33, 2}},
255 {"net.pflow.stats", []_C_int{4, 34, 1}},
256 {"net.pipex.enable", []_C_int{4, 35, 1}},
257 {"vm.anonmin", []_C_int{2, 7}},
258 {"vm.loadavg", []_C_int{2, 2}},
259 {"vm.maxslp", []_C_int{2, 10}},
260 {"vm.nkmempages", []_C_int{2, 6}},
261 {"vm.psstrings", []_C_int{2, 3}},
262 {"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
263 {"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
264 {"vm.swapencrypt.keysdeleted", []_C_int{2, 5, 2}},
265 {"vm.uspace", []_C_int{2, 11}},
266 {"vm.uvmexp", []_C_int{2, 4}},
267 {"vm.vmmeter", []_C_int{2, 1}},
268 {"vm.vnodemin", []_C_int{2, 9}},
269 {"vm.vtextmin", []_C_int{2, 8}},
270}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_386.go
deleted file mode 100644
index 2786773..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_386.go
+++ /dev/null
@@ -1,398 +0,0 @@
1// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,darwin
5
6package unix
7
8const (
9 SYS_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAIT4 = 7
17 SYS_LINK = 9
18 SYS_UNLINK = 10
19 SYS_CHDIR = 12
20 SYS_FCHDIR = 13
21 SYS_MKNOD = 14
22 SYS_CHMOD = 15
23 SYS_CHOWN = 16
24 SYS_GETFSSTAT = 18
25 SYS_GETPID = 20
26 SYS_SETUID = 23
27 SYS_GETUID = 24
28 SYS_GETEUID = 25
29 SYS_PTRACE = 26
30 SYS_RECVMSG = 27
31 SYS_SENDMSG = 28
32 SYS_RECVFROM = 29
33 SYS_ACCEPT = 30
34 SYS_GETPEERNAME = 31
35 SYS_GETSOCKNAME = 32
36 SYS_ACCESS = 33
37 SYS_CHFLAGS = 34
38 SYS_FCHFLAGS = 35
39 SYS_SYNC = 36
40 SYS_KILL = 37
41 SYS_GETPPID = 39
42 SYS_DUP = 41
43 SYS_PIPE = 42
44 SYS_GETEGID = 43
45 SYS_SIGACTION = 46
46 SYS_GETGID = 47
47 SYS_SIGPROCMASK = 48
48 SYS_GETLOGIN = 49
49 SYS_SETLOGIN = 50
50 SYS_ACCT = 51
51 SYS_SIGPENDING = 52
52 SYS_SIGALTSTACK = 53
53 SYS_IOCTL = 54
54 SYS_REBOOT = 55
55 SYS_REVOKE = 56
56 SYS_SYMLINK = 57
57 SYS_READLINK = 58
58 SYS_EXECVE = 59
59 SYS_UMASK = 60
60 SYS_CHROOT = 61
61 SYS_MSYNC = 65
62 SYS_VFORK = 66
63 SYS_MUNMAP = 73
64 SYS_MPROTECT = 74
65 SYS_MADVISE = 75
66 SYS_MINCORE = 78
67 SYS_GETGROUPS = 79
68 SYS_SETGROUPS = 80
69 SYS_GETPGRP = 81
70 SYS_SETPGID = 82
71 SYS_SETITIMER = 83
72 SYS_SWAPON = 85
73 SYS_GETITIMER = 86
74 SYS_GETDTABLESIZE = 89
75 SYS_DUP2 = 90
76 SYS_FCNTL = 92
77 SYS_SELECT = 93
78 SYS_FSYNC = 95
79 SYS_SETPRIORITY = 96
80 SYS_SOCKET = 97
81 SYS_CONNECT = 98
82 SYS_GETPRIORITY = 100
83 SYS_BIND = 104
84 SYS_SETSOCKOPT = 105
85 SYS_LISTEN = 106
86 SYS_SIGSUSPEND = 111
87 SYS_GETTIMEOFDAY = 116
88 SYS_GETRUSAGE = 117
89 SYS_GETSOCKOPT = 118
90 SYS_READV = 120
91 SYS_WRITEV = 121
92 SYS_SETTIMEOFDAY = 122
93 SYS_FCHOWN = 123
94 SYS_FCHMOD = 124
95 SYS_SETREUID = 126
96 SYS_SETREGID = 127
97 SYS_RENAME = 128
98 SYS_FLOCK = 131
99 SYS_MKFIFO = 132
100 SYS_SENDTO = 133
101 SYS_SHUTDOWN = 134
102 SYS_SOCKETPAIR = 135
103 SYS_MKDIR = 136
104 SYS_RMDIR = 137
105 SYS_UTIMES = 138
106 SYS_FUTIMES = 139
107 SYS_ADJTIME = 140
108 SYS_GETHOSTUUID = 142
109 SYS_SETSID = 147
110 SYS_GETPGID = 151
111 SYS_SETPRIVEXEC = 152
112 SYS_PREAD = 153
113 SYS_PWRITE = 154
114 SYS_NFSSVC = 155
115 SYS_STATFS = 157
116 SYS_FSTATFS = 158
117 SYS_UNMOUNT = 159
118 SYS_GETFH = 161
119 SYS_QUOTACTL = 165
120 SYS_MOUNT = 167
121 SYS_CSOPS = 169
122 SYS_CSOPS_AUDITTOKEN = 170
123 SYS_WAITID = 173
124 SYS_KDEBUG_TRACE64 = 179
125 SYS_KDEBUG_TRACE = 180
126 SYS_SETGID = 181
127 SYS_SETEGID = 182
128 SYS_SETEUID = 183
129 SYS_SIGRETURN = 184
130 SYS_CHUD = 185
131 SYS_FDATASYNC = 187
132 SYS_STAT = 188
133 SYS_FSTAT = 189
134 SYS_LSTAT = 190
135 SYS_PATHCONF = 191
136 SYS_FPATHCONF = 192
137 SYS_GETRLIMIT = 194
138 SYS_SETRLIMIT = 195
139 SYS_GETDIRENTRIES = 196
140 SYS_MMAP = 197
141 SYS_LSEEK = 199
142 SYS_TRUNCATE = 200
143 SYS_FTRUNCATE = 201
144 SYS_SYSCTL = 202
145 SYS_MLOCK = 203
146 SYS_MUNLOCK = 204
147 SYS_UNDELETE = 205
148 SYS_OPEN_DPROTECTED_NP = 216
149 SYS_GETATTRLIST = 220
150 SYS_SETATTRLIST = 221
151 SYS_GETDIRENTRIESATTR = 222
152 SYS_EXCHANGEDATA = 223
153 SYS_SEARCHFS = 225
154 SYS_DELETE = 226
155 SYS_COPYFILE = 227
156 SYS_FGETATTRLIST = 228
157 SYS_FSETATTRLIST = 229
158 SYS_POLL = 230
159 SYS_WATCHEVENT = 231
160 SYS_WAITEVENT = 232
161 SYS_MODWATCH = 233
162 SYS_GETXATTR = 234
163 SYS_FGETXATTR = 235
164 SYS_SETXATTR = 236
165 SYS_FSETXATTR = 237
166 SYS_REMOVEXATTR = 238
167 SYS_FREMOVEXATTR = 239
168 SYS_LISTXATTR = 240
169 SYS_FLISTXATTR = 241
170 SYS_FSCTL = 242
171 SYS_INITGROUPS = 243
172 SYS_POSIX_SPAWN = 244
173 SYS_FFSCTL = 245
174 SYS_NFSCLNT = 247
175 SYS_FHOPEN = 248
176 SYS_MINHERIT = 250
177 SYS_SEMSYS = 251
178 SYS_MSGSYS = 252
179 SYS_SHMSYS = 253
180 SYS_SEMCTL = 254
181 SYS_SEMGET = 255
182 SYS_SEMOP = 256
183 SYS_MSGCTL = 258
184 SYS_MSGGET = 259
185 SYS_MSGSND = 260
186 SYS_MSGRCV = 261
187 SYS_SHMAT = 262
188 SYS_SHMCTL = 263
189 SYS_SHMDT = 264
190 SYS_SHMGET = 265
191 SYS_SHM_OPEN = 266
192 SYS_SHM_UNLINK = 267
193 SYS_SEM_OPEN = 268
194 SYS_SEM_CLOSE = 269
195 SYS_SEM_UNLINK = 270
196 SYS_SEM_WAIT = 271
197 SYS_SEM_TRYWAIT = 272
198 SYS_SEM_POST = 273
199 SYS_SYSCTLBYNAME = 274
200 SYS_OPEN_EXTENDED = 277
201 SYS_UMASK_EXTENDED = 278
202 SYS_STAT_EXTENDED = 279
203 SYS_LSTAT_EXTENDED = 280
204 SYS_FSTAT_EXTENDED = 281
205 SYS_CHMOD_EXTENDED = 282
206 SYS_FCHMOD_EXTENDED = 283
207 SYS_ACCESS_EXTENDED = 284
208 SYS_SETTID = 285
209 SYS_GETTID = 286
210 SYS_SETSGROUPS = 287
211 SYS_GETSGROUPS = 288
212 SYS_SETWGROUPS = 289
213 SYS_GETWGROUPS = 290
214 SYS_MKFIFO_EXTENDED = 291
215 SYS_MKDIR_EXTENDED = 292
216 SYS_IDENTITYSVC = 293
217 SYS_SHARED_REGION_CHECK_NP = 294
218 SYS_VM_PRESSURE_MONITOR = 296
219 SYS_PSYNCH_RW_LONGRDLOCK = 297
220 SYS_PSYNCH_RW_YIELDWRLOCK = 298
221 SYS_PSYNCH_RW_DOWNGRADE = 299
222 SYS_PSYNCH_RW_UPGRADE = 300
223 SYS_PSYNCH_MUTEXWAIT = 301
224 SYS_PSYNCH_MUTEXDROP = 302
225 SYS_PSYNCH_CVBROAD = 303
226 SYS_PSYNCH_CVSIGNAL = 304
227 SYS_PSYNCH_CVWAIT = 305
228 SYS_PSYNCH_RW_RDLOCK = 306
229 SYS_PSYNCH_RW_WRLOCK = 307
230 SYS_PSYNCH_RW_UNLOCK = 308
231 SYS_PSYNCH_RW_UNLOCK2 = 309
232 SYS_GETSID = 310
233 SYS_SETTID_WITH_PID = 311
234 SYS_PSYNCH_CVCLRPREPOST = 312
235 SYS_AIO_FSYNC = 313
236 SYS_AIO_RETURN = 314
237 SYS_AIO_SUSPEND = 315
238 SYS_AIO_CANCEL = 316
239 SYS_AIO_ERROR = 317
240 SYS_AIO_READ = 318
241 SYS_AIO_WRITE = 319
242 SYS_LIO_LISTIO = 320
243 SYS_IOPOLICYSYS = 322
244 SYS_PROCESS_POLICY = 323
245 SYS_MLOCKALL = 324
246 SYS_MUNLOCKALL = 325
247 SYS_ISSETUGID = 327
248 SYS___PTHREAD_KILL = 328
249 SYS___PTHREAD_SIGMASK = 329
250 SYS___SIGWAIT = 330
251 SYS___DISABLE_THREADSIGNAL = 331
252 SYS___PTHREAD_MARKCANCEL = 332
253 SYS___PTHREAD_CANCELED = 333
254 SYS___SEMWAIT_SIGNAL = 334
255 SYS_PROC_INFO = 336
256 SYS_SENDFILE = 337
257 SYS_STAT64 = 338
258 SYS_FSTAT64 = 339
259 SYS_LSTAT64 = 340
260 SYS_STAT64_EXTENDED = 341
261 SYS_LSTAT64_EXTENDED = 342
262 SYS_FSTAT64_EXTENDED = 343
263 SYS_GETDIRENTRIES64 = 344
264 SYS_STATFS64 = 345
265 SYS_FSTATFS64 = 346
266 SYS_GETFSSTAT64 = 347
267 SYS___PTHREAD_CHDIR = 348
268 SYS___PTHREAD_FCHDIR = 349
269 SYS_AUDIT = 350
270 SYS_AUDITON = 351
271 SYS_GETAUID = 353
272 SYS_SETAUID = 354
273 SYS_GETAUDIT_ADDR = 357
274 SYS_SETAUDIT_ADDR = 358
275 SYS_AUDITCTL = 359
276 SYS_BSDTHREAD_CREATE = 360
277 SYS_BSDTHREAD_TERMINATE = 361
278 SYS_KQUEUE = 362
279 SYS_KEVENT = 363
280 SYS_LCHOWN = 364
281 SYS_STACK_SNAPSHOT = 365
282 SYS_BSDTHREAD_REGISTER = 366
283 SYS_WORKQ_OPEN = 367
284 SYS_WORKQ_KERNRETURN = 368
285 SYS_KEVENT64 = 369
286 SYS___OLD_SEMWAIT_SIGNAL = 370
287 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
288 SYS_THREAD_SELFID = 372
289 SYS_LEDGER = 373
290 SYS___MAC_EXECVE = 380
291 SYS___MAC_SYSCALL = 381
292 SYS___MAC_GET_FILE = 382
293 SYS___MAC_SET_FILE = 383
294 SYS___MAC_GET_LINK = 384
295 SYS___MAC_SET_LINK = 385
296 SYS___MAC_GET_PROC = 386
297 SYS___MAC_SET_PROC = 387
298 SYS___MAC_GET_FD = 388
299 SYS___MAC_SET_FD = 389
300 SYS___MAC_GET_PID = 390
301 SYS___MAC_GET_LCID = 391
302 SYS___MAC_GET_LCTX = 392
303 SYS___MAC_SET_LCTX = 393
304 SYS_SETLCID = 394
305 SYS_GETLCID = 395
306 SYS_READ_NOCANCEL = 396
307 SYS_WRITE_NOCANCEL = 397
308 SYS_OPEN_NOCANCEL = 398
309 SYS_CLOSE_NOCANCEL = 399
310 SYS_WAIT4_NOCANCEL = 400
311 SYS_RECVMSG_NOCANCEL = 401
312 SYS_SENDMSG_NOCANCEL = 402
313 SYS_RECVFROM_NOCANCEL = 403
314 SYS_ACCEPT_NOCANCEL = 404
315 SYS_MSYNC_NOCANCEL = 405
316 SYS_FCNTL_NOCANCEL = 406
317 SYS_SELECT_NOCANCEL = 407
318 SYS_FSYNC_NOCANCEL = 408
319 SYS_CONNECT_NOCANCEL = 409
320 SYS_SIGSUSPEND_NOCANCEL = 410
321 SYS_READV_NOCANCEL = 411
322 SYS_WRITEV_NOCANCEL = 412
323 SYS_SENDTO_NOCANCEL = 413
324 SYS_PREAD_NOCANCEL = 414
325 SYS_PWRITE_NOCANCEL = 415
326 SYS_WAITID_NOCANCEL = 416
327 SYS_POLL_NOCANCEL = 417
328 SYS_MSGSND_NOCANCEL = 418
329 SYS_MSGRCV_NOCANCEL = 419
330 SYS_SEM_WAIT_NOCANCEL = 420
331 SYS_AIO_SUSPEND_NOCANCEL = 421
332 SYS___SIGWAIT_NOCANCEL = 422
333 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
334 SYS___MAC_MOUNT = 424
335 SYS___MAC_GET_MOUNT = 425
336 SYS___MAC_GETFSSTAT = 426
337 SYS_FSGETPATH = 427
338 SYS_AUDIT_SESSION_SELF = 428
339 SYS_AUDIT_SESSION_JOIN = 429
340 SYS_FILEPORT_MAKEPORT = 430
341 SYS_FILEPORT_MAKEFD = 431
342 SYS_AUDIT_SESSION_PORT = 432
343 SYS_PID_SUSPEND = 433
344 SYS_PID_RESUME = 434
345 SYS_PID_HIBERNATE = 435
346 SYS_PID_SHUTDOWN_SOCKETS = 436
347 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
348 SYS_KAS_INFO = 439
349 SYS_MEMORYSTATUS_CONTROL = 440
350 SYS_GUARDED_OPEN_NP = 441
351 SYS_GUARDED_CLOSE_NP = 442
352 SYS_GUARDED_KQUEUE_NP = 443
353 SYS_CHANGE_FDGUARD_NP = 444
354 SYS_PROC_RLIMIT_CONTROL = 446
355 SYS_CONNECTX = 447
356 SYS_DISCONNECTX = 448
357 SYS_PEELOFF = 449
358 SYS_SOCKET_DELEGATE = 450
359 SYS_TELEMETRY = 451
360 SYS_PROC_UUID_POLICY = 452
361 SYS_MEMORYSTATUS_GET_LEVEL = 453
362 SYS_SYSTEM_OVERRIDE = 454
363 SYS_VFS_PURGE = 455
364 SYS_SFI_CTL = 456
365 SYS_SFI_PIDCTL = 457
366 SYS_COALITION = 458
367 SYS_COALITION_INFO = 459
368 SYS_NECP_MATCH_POLICY = 460
369 SYS_GETATTRLISTBULK = 461
370 SYS_OPENAT = 463
371 SYS_OPENAT_NOCANCEL = 464
372 SYS_RENAMEAT = 465
373 SYS_FACCESSAT = 466
374 SYS_FCHMODAT = 467
375 SYS_FCHOWNAT = 468
376 SYS_FSTATAT = 469
377 SYS_FSTATAT64 = 470
378 SYS_LINKAT = 471
379 SYS_UNLINKAT = 472
380 SYS_READLINKAT = 473
381 SYS_SYMLINKAT = 474
382 SYS_MKDIRAT = 475
383 SYS_GETATTRLISTAT = 476
384 SYS_PROC_TRACE_LOG = 477
385 SYS_BSDTHREAD_CTL = 478
386 SYS_OPENBYID_NP = 479
387 SYS_RECVMSG_X = 480
388 SYS_SENDMSG_X = 481
389 SYS_THREAD_SELFUSAGE = 482
390 SYS_CSRCTL = 483
391 SYS_GUARDED_OPEN_DPROTECTED_NP = 484
392 SYS_GUARDED_WRITE_NP = 485
393 SYS_GUARDED_PWRITE_NP = 486
394 SYS_GUARDED_WRITEV_NP = 487
395 SYS_RENAME_EXT = 488
396 SYS_MREMAP_ENCRYPTED = 489
397 SYS_MAXSYSCALL = 490
398)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
deleted file mode 100644
index 09de240..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
+++ /dev/null
@@ -1,398 +0,0 @@
1// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,darwin
5
6package unix
7
8const (
9 SYS_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAIT4 = 7
17 SYS_LINK = 9
18 SYS_UNLINK = 10
19 SYS_CHDIR = 12
20 SYS_FCHDIR = 13
21 SYS_MKNOD = 14
22 SYS_CHMOD = 15
23 SYS_CHOWN = 16
24 SYS_GETFSSTAT = 18
25 SYS_GETPID = 20
26 SYS_SETUID = 23
27 SYS_GETUID = 24
28 SYS_GETEUID = 25
29 SYS_PTRACE = 26
30 SYS_RECVMSG = 27
31 SYS_SENDMSG = 28
32 SYS_RECVFROM = 29
33 SYS_ACCEPT = 30
34 SYS_GETPEERNAME = 31
35 SYS_GETSOCKNAME = 32
36 SYS_ACCESS = 33
37 SYS_CHFLAGS = 34
38 SYS_FCHFLAGS = 35
39 SYS_SYNC = 36
40 SYS_KILL = 37
41 SYS_GETPPID = 39
42 SYS_DUP = 41
43 SYS_PIPE = 42
44 SYS_GETEGID = 43
45 SYS_SIGACTION = 46
46 SYS_GETGID = 47
47 SYS_SIGPROCMASK = 48
48 SYS_GETLOGIN = 49
49 SYS_SETLOGIN = 50
50 SYS_ACCT = 51
51 SYS_SIGPENDING = 52
52 SYS_SIGALTSTACK = 53
53 SYS_IOCTL = 54
54 SYS_REBOOT = 55
55 SYS_REVOKE = 56
56 SYS_SYMLINK = 57
57 SYS_READLINK = 58
58 SYS_EXECVE = 59
59 SYS_UMASK = 60
60 SYS_CHROOT = 61
61 SYS_MSYNC = 65
62 SYS_VFORK = 66
63 SYS_MUNMAP = 73
64 SYS_MPROTECT = 74
65 SYS_MADVISE = 75
66 SYS_MINCORE = 78
67 SYS_GETGROUPS = 79
68 SYS_SETGROUPS = 80
69 SYS_GETPGRP = 81
70 SYS_SETPGID = 82
71 SYS_SETITIMER = 83
72 SYS_SWAPON = 85
73 SYS_GETITIMER = 86
74 SYS_GETDTABLESIZE = 89
75 SYS_DUP2 = 90
76 SYS_FCNTL = 92
77 SYS_SELECT = 93
78 SYS_FSYNC = 95
79 SYS_SETPRIORITY = 96
80 SYS_SOCKET = 97
81 SYS_CONNECT = 98
82 SYS_GETPRIORITY = 100
83 SYS_BIND = 104
84 SYS_SETSOCKOPT = 105
85 SYS_LISTEN = 106
86 SYS_SIGSUSPEND = 111
87 SYS_GETTIMEOFDAY = 116
88 SYS_GETRUSAGE = 117
89 SYS_GETSOCKOPT = 118
90 SYS_READV = 120
91 SYS_WRITEV = 121
92 SYS_SETTIMEOFDAY = 122
93 SYS_FCHOWN = 123
94 SYS_FCHMOD = 124
95 SYS_SETREUID = 126
96 SYS_SETREGID = 127
97 SYS_RENAME = 128
98 SYS_FLOCK = 131
99 SYS_MKFIFO = 132
100 SYS_SENDTO = 133
101 SYS_SHUTDOWN = 134
102 SYS_SOCKETPAIR = 135
103 SYS_MKDIR = 136
104 SYS_RMDIR = 137
105 SYS_UTIMES = 138
106 SYS_FUTIMES = 139
107 SYS_ADJTIME = 140
108 SYS_GETHOSTUUID = 142
109 SYS_SETSID = 147
110 SYS_GETPGID = 151
111 SYS_SETPRIVEXEC = 152
112 SYS_PREAD = 153
113 SYS_PWRITE = 154
114 SYS_NFSSVC = 155
115 SYS_STATFS = 157
116 SYS_FSTATFS = 158
117 SYS_UNMOUNT = 159
118 SYS_GETFH = 161
119 SYS_QUOTACTL = 165
120 SYS_MOUNT = 167
121 SYS_CSOPS = 169
122 SYS_CSOPS_AUDITTOKEN = 170
123 SYS_WAITID = 173
124 SYS_KDEBUG_TRACE64 = 179
125 SYS_KDEBUG_TRACE = 180
126 SYS_SETGID = 181
127 SYS_SETEGID = 182
128 SYS_SETEUID = 183
129 SYS_SIGRETURN = 184
130 SYS_CHUD = 185
131 SYS_FDATASYNC = 187
132 SYS_STAT = 188
133 SYS_FSTAT = 189
134 SYS_LSTAT = 190
135 SYS_PATHCONF = 191
136 SYS_FPATHCONF = 192
137 SYS_GETRLIMIT = 194
138 SYS_SETRLIMIT = 195
139 SYS_GETDIRENTRIES = 196
140 SYS_MMAP = 197
141 SYS_LSEEK = 199
142 SYS_TRUNCATE = 200
143 SYS_FTRUNCATE = 201
144 SYS_SYSCTL = 202
145 SYS_MLOCK = 203
146 SYS_MUNLOCK = 204
147 SYS_UNDELETE = 205
148 SYS_OPEN_DPROTECTED_NP = 216
149 SYS_GETATTRLIST = 220
150 SYS_SETATTRLIST = 221
151 SYS_GETDIRENTRIESATTR = 222
152 SYS_EXCHANGEDATA = 223
153 SYS_SEARCHFS = 225
154 SYS_DELETE = 226
155 SYS_COPYFILE = 227
156 SYS_FGETATTRLIST = 228
157 SYS_FSETATTRLIST = 229
158 SYS_POLL = 230
159 SYS_WATCHEVENT = 231
160 SYS_WAITEVENT = 232
161 SYS_MODWATCH = 233
162 SYS_GETXATTR = 234
163 SYS_FGETXATTR = 235
164 SYS_SETXATTR = 236
165 SYS_FSETXATTR = 237
166 SYS_REMOVEXATTR = 238
167 SYS_FREMOVEXATTR = 239
168 SYS_LISTXATTR = 240
169 SYS_FLISTXATTR = 241
170 SYS_FSCTL = 242
171 SYS_INITGROUPS = 243
172 SYS_POSIX_SPAWN = 244
173 SYS_FFSCTL = 245
174 SYS_NFSCLNT = 247
175 SYS_FHOPEN = 248
176 SYS_MINHERIT = 250
177 SYS_SEMSYS = 251
178 SYS_MSGSYS = 252
179 SYS_SHMSYS = 253
180 SYS_SEMCTL = 254
181 SYS_SEMGET = 255
182 SYS_SEMOP = 256
183 SYS_MSGCTL = 258
184 SYS_MSGGET = 259
185 SYS_MSGSND = 260
186 SYS_MSGRCV = 261
187 SYS_SHMAT = 262
188 SYS_SHMCTL = 263
189 SYS_SHMDT = 264
190 SYS_SHMGET = 265
191 SYS_SHM_OPEN = 266
192 SYS_SHM_UNLINK = 267
193 SYS_SEM_OPEN = 268
194 SYS_SEM_CLOSE = 269
195 SYS_SEM_UNLINK = 270
196 SYS_SEM_WAIT = 271
197 SYS_SEM_TRYWAIT = 272
198 SYS_SEM_POST = 273
199 SYS_SYSCTLBYNAME = 274
200 SYS_OPEN_EXTENDED = 277
201 SYS_UMASK_EXTENDED = 278
202 SYS_STAT_EXTENDED = 279
203 SYS_LSTAT_EXTENDED = 280
204 SYS_FSTAT_EXTENDED = 281
205 SYS_CHMOD_EXTENDED = 282
206 SYS_FCHMOD_EXTENDED = 283
207 SYS_ACCESS_EXTENDED = 284
208 SYS_SETTID = 285
209 SYS_GETTID = 286
210 SYS_SETSGROUPS = 287
211 SYS_GETSGROUPS = 288
212 SYS_SETWGROUPS = 289
213 SYS_GETWGROUPS = 290
214 SYS_MKFIFO_EXTENDED = 291
215 SYS_MKDIR_EXTENDED = 292
216 SYS_IDENTITYSVC = 293
217 SYS_SHARED_REGION_CHECK_NP = 294
218 SYS_VM_PRESSURE_MONITOR = 296
219 SYS_PSYNCH_RW_LONGRDLOCK = 297
220 SYS_PSYNCH_RW_YIELDWRLOCK = 298
221 SYS_PSYNCH_RW_DOWNGRADE = 299
222 SYS_PSYNCH_RW_UPGRADE = 300
223 SYS_PSYNCH_MUTEXWAIT = 301
224 SYS_PSYNCH_MUTEXDROP = 302
225 SYS_PSYNCH_CVBROAD = 303
226 SYS_PSYNCH_CVSIGNAL = 304
227 SYS_PSYNCH_CVWAIT = 305
228 SYS_PSYNCH_RW_RDLOCK = 306
229 SYS_PSYNCH_RW_WRLOCK = 307
230 SYS_PSYNCH_RW_UNLOCK = 308
231 SYS_PSYNCH_RW_UNLOCK2 = 309
232 SYS_GETSID = 310
233 SYS_SETTID_WITH_PID = 311
234 SYS_PSYNCH_CVCLRPREPOST = 312
235 SYS_AIO_FSYNC = 313
236 SYS_AIO_RETURN = 314
237 SYS_AIO_SUSPEND = 315
238 SYS_AIO_CANCEL = 316
239 SYS_AIO_ERROR = 317
240 SYS_AIO_READ = 318
241 SYS_AIO_WRITE = 319
242 SYS_LIO_LISTIO = 320
243 SYS_IOPOLICYSYS = 322
244 SYS_PROCESS_POLICY = 323
245 SYS_MLOCKALL = 324
246 SYS_MUNLOCKALL = 325
247 SYS_ISSETUGID = 327
248 SYS___PTHREAD_KILL = 328
249 SYS___PTHREAD_SIGMASK = 329
250 SYS___SIGWAIT = 330
251 SYS___DISABLE_THREADSIGNAL = 331
252 SYS___PTHREAD_MARKCANCEL = 332
253 SYS___PTHREAD_CANCELED = 333
254 SYS___SEMWAIT_SIGNAL = 334
255 SYS_PROC_INFO = 336
256 SYS_SENDFILE = 337
257 SYS_STAT64 = 338
258 SYS_FSTAT64 = 339
259 SYS_LSTAT64 = 340
260 SYS_STAT64_EXTENDED = 341
261 SYS_LSTAT64_EXTENDED = 342
262 SYS_FSTAT64_EXTENDED = 343
263 SYS_GETDIRENTRIES64 = 344
264 SYS_STATFS64 = 345
265 SYS_FSTATFS64 = 346
266 SYS_GETFSSTAT64 = 347
267 SYS___PTHREAD_CHDIR = 348
268 SYS___PTHREAD_FCHDIR = 349
269 SYS_AUDIT = 350
270 SYS_AUDITON = 351
271 SYS_GETAUID = 353
272 SYS_SETAUID = 354
273 SYS_GETAUDIT_ADDR = 357
274 SYS_SETAUDIT_ADDR = 358
275 SYS_AUDITCTL = 359
276 SYS_BSDTHREAD_CREATE = 360
277 SYS_BSDTHREAD_TERMINATE = 361
278 SYS_KQUEUE = 362
279 SYS_KEVENT = 363
280 SYS_LCHOWN = 364
281 SYS_STACK_SNAPSHOT = 365
282 SYS_BSDTHREAD_REGISTER = 366
283 SYS_WORKQ_OPEN = 367
284 SYS_WORKQ_KERNRETURN = 368
285 SYS_KEVENT64 = 369
286 SYS___OLD_SEMWAIT_SIGNAL = 370
287 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
288 SYS_THREAD_SELFID = 372
289 SYS_LEDGER = 373
290 SYS___MAC_EXECVE = 380
291 SYS___MAC_SYSCALL = 381
292 SYS___MAC_GET_FILE = 382
293 SYS___MAC_SET_FILE = 383
294 SYS___MAC_GET_LINK = 384
295 SYS___MAC_SET_LINK = 385
296 SYS___MAC_GET_PROC = 386
297 SYS___MAC_SET_PROC = 387
298 SYS___MAC_GET_FD = 388
299 SYS___MAC_SET_FD = 389
300 SYS___MAC_GET_PID = 390
301 SYS___MAC_GET_LCID = 391
302 SYS___MAC_GET_LCTX = 392
303 SYS___MAC_SET_LCTX = 393
304 SYS_SETLCID = 394
305 SYS_GETLCID = 395
306 SYS_READ_NOCANCEL = 396
307 SYS_WRITE_NOCANCEL = 397
308 SYS_OPEN_NOCANCEL = 398
309 SYS_CLOSE_NOCANCEL = 399
310 SYS_WAIT4_NOCANCEL = 400
311 SYS_RECVMSG_NOCANCEL = 401
312 SYS_SENDMSG_NOCANCEL = 402
313 SYS_RECVFROM_NOCANCEL = 403
314 SYS_ACCEPT_NOCANCEL = 404
315 SYS_MSYNC_NOCANCEL = 405
316 SYS_FCNTL_NOCANCEL = 406
317 SYS_SELECT_NOCANCEL = 407
318 SYS_FSYNC_NOCANCEL = 408
319 SYS_CONNECT_NOCANCEL = 409
320 SYS_SIGSUSPEND_NOCANCEL = 410
321 SYS_READV_NOCANCEL = 411
322 SYS_WRITEV_NOCANCEL = 412
323 SYS_SENDTO_NOCANCEL = 413
324 SYS_PREAD_NOCANCEL = 414
325 SYS_PWRITE_NOCANCEL = 415
326 SYS_WAITID_NOCANCEL = 416
327 SYS_POLL_NOCANCEL = 417
328 SYS_MSGSND_NOCANCEL = 418
329 SYS_MSGRCV_NOCANCEL = 419
330 SYS_SEM_WAIT_NOCANCEL = 420
331 SYS_AIO_SUSPEND_NOCANCEL = 421
332 SYS___SIGWAIT_NOCANCEL = 422
333 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
334 SYS___MAC_MOUNT = 424
335 SYS___MAC_GET_MOUNT = 425
336 SYS___MAC_GETFSSTAT = 426
337 SYS_FSGETPATH = 427
338 SYS_AUDIT_SESSION_SELF = 428
339 SYS_AUDIT_SESSION_JOIN = 429
340 SYS_FILEPORT_MAKEPORT = 430
341 SYS_FILEPORT_MAKEFD = 431
342 SYS_AUDIT_SESSION_PORT = 432
343 SYS_PID_SUSPEND = 433
344 SYS_PID_RESUME = 434
345 SYS_PID_HIBERNATE = 435
346 SYS_PID_SHUTDOWN_SOCKETS = 436
347 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
348 SYS_KAS_INFO = 439
349 SYS_MEMORYSTATUS_CONTROL = 440
350 SYS_GUARDED_OPEN_NP = 441
351 SYS_GUARDED_CLOSE_NP = 442
352 SYS_GUARDED_KQUEUE_NP = 443
353 SYS_CHANGE_FDGUARD_NP = 444
354 SYS_PROC_RLIMIT_CONTROL = 446
355 SYS_CONNECTX = 447
356 SYS_DISCONNECTX = 448
357 SYS_PEELOFF = 449
358 SYS_SOCKET_DELEGATE = 450
359 SYS_TELEMETRY = 451
360 SYS_PROC_UUID_POLICY = 452
361 SYS_MEMORYSTATUS_GET_LEVEL = 453
362 SYS_SYSTEM_OVERRIDE = 454
363 SYS_VFS_PURGE = 455
364 SYS_SFI_CTL = 456
365 SYS_SFI_PIDCTL = 457
366 SYS_COALITION = 458
367 SYS_COALITION_INFO = 459
368 SYS_NECP_MATCH_POLICY = 460
369 SYS_GETATTRLISTBULK = 461
370 SYS_OPENAT = 463
371 SYS_OPENAT_NOCANCEL = 464
372 SYS_RENAMEAT = 465
373 SYS_FACCESSAT = 466
374 SYS_FCHMODAT = 467
375 SYS_FCHOWNAT = 468
376 SYS_FSTATAT = 469
377 SYS_FSTATAT64 = 470
378 SYS_LINKAT = 471
379 SYS_UNLINKAT = 472
380 SYS_READLINKAT = 473
381 SYS_SYMLINKAT = 474
382 SYS_MKDIRAT = 475
383 SYS_GETATTRLISTAT = 476
384 SYS_PROC_TRACE_LOG = 477
385 SYS_BSDTHREAD_CTL = 478
386 SYS_OPENBYID_NP = 479
387 SYS_RECVMSG_X = 480
388 SYS_SENDMSG_X = 481
389 SYS_THREAD_SELFUSAGE = 482
390 SYS_CSRCTL = 483
391 SYS_GUARDED_OPEN_DPROTECTED_NP = 484
392 SYS_GUARDED_WRITE_NP = 485
393 SYS_GUARDED_PWRITE_NP = 486
394 SYS_GUARDED_WRITEV_NP = 487
395 SYS_RENAME_EXT = 488
396 SYS_MREMAP_ENCRYPTED = 489
397 SYS_MAXSYSCALL = 490
398)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm.go
deleted file mode 100644
index b8c9aea..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm.go
+++ /dev/null
@@ -1,358 +0,0 @@
1// mksysnum_darwin.pl /usr/include/sys/syscall.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm,darwin
5
6package unix
7
8const (
9 SYS_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAIT4 = 7
17 SYS_LINK = 9
18 SYS_UNLINK = 10
19 SYS_CHDIR = 12
20 SYS_FCHDIR = 13
21 SYS_MKNOD = 14
22 SYS_CHMOD = 15
23 SYS_CHOWN = 16
24 SYS_GETFSSTAT = 18
25 SYS_GETPID = 20
26 SYS_SETUID = 23
27 SYS_GETUID = 24
28 SYS_GETEUID = 25
29 SYS_PTRACE = 26
30 SYS_RECVMSG = 27
31 SYS_SENDMSG = 28
32 SYS_RECVFROM = 29
33 SYS_ACCEPT = 30
34 SYS_GETPEERNAME = 31
35 SYS_GETSOCKNAME = 32
36 SYS_ACCESS = 33
37 SYS_CHFLAGS = 34
38 SYS_FCHFLAGS = 35
39 SYS_SYNC = 36
40 SYS_KILL = 37
41 SYS_GETPPID = 39
42 SYS_DUP = 41
43 SYS_PIPE = 42
44 SYS_GETEGID = 43
45 SYS_SIGACTION = 46
46 SYS_GETGID = 47
47 SYS_SIGPROCMASK = 48
48 SYS_GETLOGIN = 49
49 SYS_SETLOGIN = 50
50 SYS_ACCT = 51
51 SYS_SIGPENDING = 52
52 SYS_SIGALTSTACK = 53
53 SYS_IOCTL = 54
54 SYS_REBOOT = 55
55 SYS_REVOKE = 56
56 SYS_SYMLINK = 57
57 SYS_READLINK = 58
58 SYS_EXECVE = 59
59 SYS_UMASK = 60
60 SYS_CHROOT = 61
61 SYS_MSYNC = 65
62 SYS_VFORK = 66
63 SYS_MUNMAP = 73
64 SYS_MPROTECT = 74
65 SYS_MADVISE = 75
66 SYS_MINCORE = 78
67 SYS_GETGROUPS = 79
68 SYS_SETGROUPS = 80
69 SYS_GETPGRP = 81
70 SYS_SETPGID = 82
71 SYS_SETITIMER = 83
72 SYS_SWAPON = 85
73 SYS_GETITIMER = 86
74 SYS_GETDTABLESIZE = 89
75 SYS_DUP2 = 90
76 SYS_FCNTL = 92
77 SYS_SELECT = 93
78 SYS_FSYNC = 95
79 SYS_SETPRIORITY = 96
80 SYS_SOCKET = 97
81 SYS_CONNECT = 98
82 SYS_GETPRIORITY = 100
83 SYS_BIND = 104
84 SYS_SETSOCKOPT = 105
85 SYS_LISTEN = 106
86 SYS_SIGSUSPEND = 111
87 SYS_GETTIMEOFDAY = 116
88 SYS_GETRUSAGE = 117
89 SYS_GETSOCKOPT = 118
90 SYS_READV = 120
91 SYS_WRITEV = 121
92 SYS_SETTIMEOFDAY = 122
93 SYS_FCHOWN = 123
94 SYS_FCHMOD = 124
95 SYS_SETREUID = 126
96 SYS_SETREGID = 127
97 SYS_RENAME = 128
98 SYS_FLOCK = 131
99 SYS_MKFIFO = 132
100 SYS_SENDTO = 133
101 SYS_SHUTDOWN = 134
102 SYS_SOCKETPAIR = 135
103 SYS_MKDIR = 136
104 SYS_RMDIR = 137
105 SYS_UTIMES = 138
106 SYS_FUTIMES = 139
107 SYS_ADJTIME = 140
108 SYS_GETHOSTUUID = 142
109 SYS_SETSID = 147
110 SYS_GETPGID = 151
111 SYS_SETPRIVEXEC = 152
112 SYS_PREAD = 153
113 SYS_PWRITE = 154
114 SYS_NFSSVC = 155
115 SYS_STATFS = 157
116 SYS_FSTATFS = 158
117 SYS_UNMOUNT = 159
118 SYS_GETFH = 161
119 SYS_QUOTACTL = 165
120 SYS_MOUNT = 167
121 SYS_CSOPS = 169
122 SYS_CSOPS_AUDITTOKEN = 170
123 SYS_WAITID = 173
124 SYS_KDEBUG_TRACE = 180
125 SYS_SETGID = 181
126 SYS_SETEGID = 182
127 SYS_SETEUID = 183
128 SYS_SIGRETURN = 184
129 SYS_CHUD = 185
130 SYS_FDATASYNC = 187
131 SYS_STAT = 188
132 SYS_FSTAT = 189
133 SYS_LSTAT = 190
134 SYS_PATHCONF = 191
135 SYS_FPATHCONF = 192
136 SYS_GETRLIMIT = 194
137 SYS_SETRLIMIT = 195
138 SYS_GETDIRENTRIES = 196
139 SYS_MMAP = 197
140 SYS_LSEEK = 199
141 SYS_TRUNCATE = 200
142 SYS_FTRUNCATE = 201
143 SYS___SYSCTL = 202
144 SYS_MLOCK = 203
145 SYS_MUNLOCK = 204
146 SYS_UNDELETE = 205
147 SYS_ATSOCKET = 206
148 SYS_ATGETMSG = 207
149 SYS_ATPUTMSG = 208
150 SYS_ATPSNDREQ = 209
151 SYS_ATPSNDRSP = 210
152 SYS_ATPGETREQ = 211
153 SYS_ATPGETRSP = 212
154 SYS_OPEN_DPROTECTED_NP = 216
155 SYS_GETATTRLIST = 220
156 SYS_SETATTRLIST = 221
157 SYS_GETDIRENTRIESATTR = 222
158 SYS_EXCHANGEDATA = 223
159 SYS_SEARCHFS = 225
160 SYS_DELETE = 226
161 SYS_COPYFILE = 227
162 SYS_FGETATTRLIST = 228
163 SYS_FSETATTRLIST = 229
164 SYS_POLL = 230
165 SYS_WATCHEVENT = 231
166 SYS_WAITEVENT = 232
167 SYS_MODWATCH = 233
168 SYS_GETXATTR = 234
169 SYS_FGETXATTR = 235
170 SYS_SETXATTR = 236
171 SYS_FSETXATTR = 237
172 SYS_REMOVEXATTR = 238
173 SYS_FREMOVEXATTR = 239
174 SYS_LISTXATTR = 240
175 SYS_FLISTXATTR = 241
176 SYS_FSCTL = 242
177 SYS_INITGROUPS = 243
178 SYS_POSIX_SPAWN = 244
179 SYS_FFSCTL = 245
180 SYS_NFSCLNT = 247
181 SYS_FHOPEN = 248
182 SYS_MINHERIT = 250
183 SYS_SEMSYS = 251
184 SYS_MSGSYS = 252
185 SYS_SHMSYS = 253
186 SYS_SEMCTL = 254
187 SYS_SEMGET = 255
188 SYS_SEMOP = 256
189 SYS_MSGCTL = 258
190 SYS_MSGGET = 259
191 SYS_MSGSND = 260
192 SYS_MSGRCV = 261
193 SYS_SHMAT = 262
194 SYS_SHMCTL = 263
195 SYS_SHMDT = 264
196 SYS_SHMGET = 265
197 SYS_SHM_OPEN = 266
198 SYS_SHM_UNLINK = 267
199 SYS_SEM_OPEN = 268
200 SYS_SEM_CLOSE = 269
201 SYS_SEM_UNLINK = 270
202 SYS_SEM_WAIT = 271
203 SYS_SEM_TRYWAIT = 272
204 SYS_SEM_POST = 273
205 SYS_SEM_GETVALUE = 274
206 SYS_SEM_INIT = 275
207 SYS_SEM_DESTROY = 276
208 SYS_OPEN_EXTENDED = 277
209 SYS_UMASK_EXTENDED = 278
210 SYS_STAT_EXTENDED = 279
211 SYS_LSTAT_EXTENDED = 280
212 SYS_FSTAT_EXTENDED = 281
213 SYS_CHMOD_EXTENDED = 282
214 SYS_FCHMOD_EXTENDED = 283
215 SYS_ACCESS_EXTENDED = 284
216 SYS_SETTID = 285
217 SYS_GETTID = 286
218 SYS_SETSGROUPS = 287
219 SYS_GETSGROUPS = 288
220 SYS_SETWGROUPS = 289
221 SYS_GETWGROUPS = 290
222 SYS_MKFIFO_EXTENDED = 291
223 SYS_MKDIR_EXTENDED = 292
224 SYS_IDENTITYSVC = 293
225 SYS_SHARED_REGION_CHECK_NP = 294
226 SYS_VM_PRESSURE_MONITOR = 296
227 SYS_PSYNCH_RW_LONGRDLOCK = 297
228 SYS_PSYNCH_RW_YIELDWRLOCK = 298
229 SYS_PSYNCH_RW_DOWNGRADE = 299
230 SYS_PSYNCH_RW_UPGRADE = 300
231 SYS_PSYNCH_MUTEXWAIT = 301
232 SYS_PSYNCH_MUTEXDROP = 302
233 SYS_PSYNCH_CVBROAD = 303
234 SYS_PSYNCH_CVSIGNAL = 304
235 SYS_PSYNCH_CVWAIT = 305
236 SYS_PSYNCH_RW_RDLOCK = 306
237 SYS_PSYNCH_RW_WRLOCK = 307
238 SYS_PSYNCH_RW_UNLOCK = 308
239 SYS_PSYNCH_RW_UNLOCK2 = 309
240 SYS_GETSID = 310
241 SYS_SETTID_WITH_PID = 311
242 SYS_PSYNCH_CVCLRPREPOST = 312
243 SYS_AIO_FSYNC = 313
244 SYS_AIO_RETURN = 314
245 SYS_AIO_SUSPEND = 315
246 SYS_AIO_CANCEL = 316
247 SYS_AIO_ERROR = 317
248 SYS_AIO_READ = 318
249 SYS_AIO_WRITE = 319
250 SYS_LIO_LISTIO = 320
251 SYS_IOPOLICYSYS = 322
252 SYS_PROCESS_POLICY = 323
253 SYS_MLOCKALL = 324
254 SYS_MUNLOCKALL = 325
255 SYS_ISSETUGID = 327
256 SYS___PTHREAD_KILL = 328
257 SYS___PTHREAD_SIGMASK = 329
258 SYS___SIGWAIT = 330
259 SYS___DISABLE_THREADSIGNAL = 331
260 SYS___PTHREAD_MARKCANCEL = 332
261 SYS___PTHREAD_CANCELED = 333
262 SYS___SEMWAIT_SIGNAL = 334
263 SYS_PROC_INFO = 336
264 SYS_SENDFILE = 337
265 SYS_STAT64 = 338
266 SYS_FSTAT64 = 339
267 SYS_LSTAT64 = 340
268 SYS_STAT64_EXTENDED = 341
269 SYS_LSTAT64_EXTENDED = 342
270 SYS_FSTAT64_EXTENDED = 343
271 SYS_GETDIRENTRIES64 = 344
272 SYS_STATFS64 = 345
273 SYS_FSTATFS64 = 346
274 SYS_GETFSSTAT64 = 347
275 SYS___PTHREAD_CHDIR = 348
276 SYS___PTHREAD_FCHDIR = 349
277 SYS_AUDIT = 350
278 SYS_AUDITON = 351
279 SYS_GETAUID = 353
280 SYS_SETAUID = 354
281 SYS_GETAUDIT_ADDR = 357
282 SYS_SETAUDIT_ADDR = 358
283 SYS_AUDITCTL = 359
284 SYS_BSDTHREAD_CREATE = 360
285 SYS_BSDTHREAD_TERMINATE = 361
286 SYS_KQUEUE = 362
287 SYS_KEVENT = 363
288 SYS_LCHOWN = 364
289 SYS_STACK_SNAPSHOT = 365
290 SYS_BSDTHREAD_REGISTER = 366
291 SYS_WORKQ_OPEN = 367
292 SYS_WORKQ_KERNRETURN = 368
293 SYS_KEVENT64 = 369
294 SYS___OLD_SEMWAIT_SIGNAL = 370
295 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
296 SYS_THREAD_SELFID = 372
297 SYS_LEDGER = 373
298 SYS___MAC_EXECVE = 380
299 SYS___MAC_SYSCALL = 381
300 SYS___MAC_GET_FILE = 382
301 SYS___MAC_SET_FILE = 383
302 SYS___MAC_GET_LINK = 384
303 SYS___MAC_SET_LINK = 385
304 SYS___MAC_GET_PROC = 386
305 SYS___MAC_SET_PROC = 387
306 SYS___MAC_GET_FD = 388
307 SYS___MAC_SET_FD = 389
308 SYS___MAC_GET_PID = 390
309 SYS___MAC_GET_LCID = 391
310 SYS___MAC_GET_LCTX = 392
311 SYS___MAC_SET_LCTX = 393
312 SYS_SETLCID = 394
313 SYS_GETLCID = 395
314 SYS_READ_NOCANCEL = 396
315 SYS_WRITE_NOCANCEL = 397
316 SYS_OPEN_NOCANCEL = 398
317 SYS_CLOSE_NOCANCEL = 399
318 SYS_WAIT4_NOCANCEL = 400
319 SYS_RECVMSG_NOCANCEL = 401
320 SYS_SENDMSG_NOCANCEL = 402
321 SYS_RECVFROM_NOCANCEL = 403
322 SYS_ACCEPT_NOCANCEL = 404
323 SYS_MSYNC_NOCANCEL = 405
324 SYS_FCNTL_NOCANCEL = 406
325 SYS_SELECT_NOCANCEL = 407
326 SYS_FSYNC_NOCANCEL = 408
327 SYS_CONNECT_NOCANCEL = 409
328 SYS_SIGSUSPEND_NOCANCEL = 410
329 SYS_READV_NOCANCEL = 411
330 SYS_WRITEV_NOCANCEL = 412
331 SYS_SENDTO_NOCANCEL = 413
332 SYS_PREAD_NOCANCEL = 414
333 SYS_PWRITE_NOCANCEL = 415
334 SYS_WAITID_NOCANCEL = 416
335 SYS_POLL_NOCANCEL = 417
336 SYS_MSGSND_NOCANCEL = 418
337 SYS_MSGRCV_NOCANCEL = 419
338 SYS_SEM_WAIT_NOCANCEL = 420
339 SYS_AIO_SUSPEND_NOCANCEL = 421
340 SYS___SIGWAIT_NOCANCEL = 422
341 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
342 SYS___MAC_MOUNT = 424
343 SYS___MAC_GET_MOUNT = 425
344 SYS___MAC_GETFSSTAT = 426
345 SYS_FSGETPATH = 427
346 SYS_AUDIT_SESSION_SELF = 428
347 SYS_AUDIT_SESSION_JOIN = 429
348 SYS_FILEPORT_MAKEPORT = 430
349 SYS_FILEPORT_MAKEFD = 431
350 SYS_AUDIT_SESSION_PORT = 432
351 SYS_PID_SUSPEND = 433
352 SYS_PID_RESUME = 434
353 SYS_PID_HIBERNATE = 435
354 SYS_PID_SHUTDOWN_SOCKETS = 436
355 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
356 SYS_KAS_INFO = 439
357 SYS_MAXSYSCALL = 440
358)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
deleted file mode 100644
index 26677eb..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
+++ /dev/null
@@ -1,398 +0,0 @@
1// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/syscall.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm64,darwin
5
6package unix
7
8const (
9 SYS_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAIT4 = 7
17 SYS_LINK = 9
18 SYS_UNLINK = 10
19 SYS_CHDIR = 12
20 SYS_FCHDIR = 13
21 SYS_MKNOD = 14
22 SYS_CHMOD = 15
23 SYS_CHOWN = 16
24 SYS_GETFSSTAT = 18
25 SYS_GETPID = 20
26 SYS_SETUID = 23
27 SYS_GETUID = 24
28 SYS_GETEUID = 25
29 SYS_PTRACE = 26
30 SYS_RECVMSG = 27
31 SYS_SENDMSG = 28
32 SYS_RECVFROM = 29
33 SYS_ACCEPT = 30
34 SYS_GETPEERNAME = 31
35 SYS_GETSOCKNAME = 32
36 SYS_ACCESS = 33
37 SYS_CHFLAGS = 34
38 SYS_FCHFLAGS = 35
39 SYS_SYNC = 36
40 SYS_KILL = 37
41 SYS_GETPPID = 39
42 SYS_DUP = 41
43 SYS_PIPE = 42
44 SYS_GETEGID = 43
45 SYS_SIGACTION = 46
46 SYS_GETGID = 47
47 SYS_SIGPROCMASK = 48
48 SYS_GETLOGIN = 49
49 SYS_SETLOGIN = 50
50 SYS_ACCT = 51
51 SYS_SIGPENDING = 52
52 SYS_SIGALTSTACK = 53
53 SYS_IOCTL = 54
54 SYS_REBOOT = 55
55 SYS_REVOKE = 56
56 SYS_SYMLINK = 57
57 SYS_READLINK = 58
58 SYS_EXECVE = 59
59 SYS_UMASK = 60
60 SYS_CHROOT = 61
61 SYS_MSYNC = 65
62 SYS_VFORK = 66
63 SYS_MUNMAP = 73
64 SYS_MPROTECT = 74
65 SYS_MADVISE = 75
66 SYS_MINCORE = 78
67 SYS_GETGROUPS = 79
68 SYS_SETGROUPS = 80
69 SYS_GETPGRP = 81
70 SYS_SETPGID = 82
71 SYS_SETITIMER = 83
72 SYS_SWAPON = 85
73 SYS_GETITIMER = 86
74 SYS_GETDTABLESIZE = 89
75 SYS_DUP2 = 90
76 SYS_FCNTL = 92
77 SYS_SELECT = 93
78 SYS_FSYNC = 95
79 SYS_SETPRIORITY = 96
80 SYS_SOCKET = 97
81 SYS_CONNECT = 98
82 SYS_GETPRIORITY = 100
83 SYS_BIND = 104
84 SYS_SETSOCKOPT = 105
85 SYS_LISTEN = 106
86 SYS_SIGSUSPEND = 111
87 SYS_GETTIMEOFDAY = 116
88 SYS_GETRUSAGE = 117
89 SYS_GETSOCKOPT = 118
90 SYS_READV = 120
91 SYS_WRITEV = 121
92 SYS_SETTIMEOFDAY = 122
93 SYS_FCHOWN = 123
94 SYS_FCHMOD = 124
95 SYS_SETREUID = 126
96 SYS_SETREGID = 127
97 SYS_RENAME = 128
98 SYS_FLOCK = 131
99 SYS_MKFIFO = 132
100 SYS_SENDTO = 133
101 SYS_SHUTDOWN = 134
102 SYS_SOCKETPAIR = 135
103 SYS_MKDIR = 136
104 SYS_RMDIR = 137
105 SYS_UTIMES = 138
106 SYS_FUTIMES = 139
107 SYS_ADJTIME = 140
108 SYS_GETHOSTUUID = 142
109 SYS_SETSID = 147
110 SYS_GETPGID = 151
111 SYS_SETPRIVEXEC = 152
112 SYS_PREAD = 153
113 SYS_PWRITE = 154
114 SYS_NFSSVC = 155
115 SYS_STATFS = 157
116 SYS_FSTATFS = 158
117 SYS_UNMOUNT = 159
118 SYS_GETFH = 161
119 SYS_QUOTACTL = 165
120 SYS_MOUNT = 167
121 SYS_CSOPS = 169
122 SYS_CSOPS_AUDITTOKEN = 170
123 SYS_WAITID = 173
124 SYS_KDEBUG_TRACE64 = 179
125 SYS_KDEBUG_TRACE = 180
126 SYS_SETGID = 181
127 SYS_SETEGID = 182
128 SYS_SETEUID = 183
129 SYS_SIGRETURN = 184
130 SYS_CHUD = 185
131 SYS_FDATASYNC = 187
132 SYS_STAT = 188
133 SYS_FSTAT = 189
134 SYS_LSTAT = 190
135 SYS_PATHCONF = 191
136 SYS_FPATHCONF = 192
137 SYS_GETRLIMIT = 194
138 SYS_SETRLIMIT = 195
139 SYS_GETDIRENTRIES = 196
140 SYS_MMAP = 197
141 SYS_LSEEK = 199
142 SYS_TRUNCATE = 200
143 SYS_FTRUNCATE = 201
144 SYS_SYSCTL = 202
145 SYS_MLOCK = 203
146 SYS_MUNLOCK = 204
147 SYS_UNDELETE = 205
148 SYS_OPEN_DPROTECTED_NP = 216
149 SYS_GETATTRLIST = 220
150 SYS_SETATTRLIST = 221
151 SYS_GETDIRENTRIESATTR = 222
152 SYS_EXCHANGEDATA = 223
153 SYS_SEARCHFS = 225
154 SYS_DELETE = 226
155 SYS_COPYFILE = 227
156 SYS_FGETATTRLIST = 228
157 SYS_FSETATTRLIST = 229
158 SYS_POLL = 230
159 SYS_WATCHEVENT = 231
160 SYS_WAITEVENT = 232
161 SYS_MODWATCH = 233
162 SYS_GETXATTR = 234
163 SYS_FGETXATTR = 235
164 SYS_SETXATTR = 236
165 SYS_FSETXATTR = 237
166 SYS_REMOVEXATTR = 238
167 SYS_FREMOVEXATTR = 239
168 SYS_LISTXATTR = 240
169 SYS_FLISTXATTR = 241
170 SYS_FSCTL = 242
171 SYS_INITGROUPS = 243
172 SYS_POSIX_SPAWN = 244
173 SYS_FFSCTL = 245
174 SYS_NFSCLNT = 247
175 SYS_FHOPEN = 248
176 SYS_MINHERIT = 250
177 SYS_SEMSYS = 251
178 SYS_MSGSYS = 252
179 SYS_SHMSYS = 253
180 SYS_SEMCTL = 254
181 SYS_SEMGET = 255
182 SYS_SEMOP = 256
183 SYS_MSGCTL = 258
184 SYS_MSGGET = 259
185 SYS_MSGSND = 260
186 SYS_MSGRCV = 261
187 SYS_SHMAT = 262
188 SYS_SHMCTL = 263
189 SYS_SHMDT = 264
190 SYS_SHMGET = 265
191 SYS_SHM_OPEN = 266
192 SYS_SHM_UNLINK = 267
193 SYS_SEM_OPEN = 268
194 SYS_SEM_CLOSE = 269
195 SYS_SEM_UNLINK = 270
196 SYS_SEM_WAIT = 271
197 SYS_SEM_TRYWAIT = 272
198 SYS_SEM_POST = 273
199 SYS_SYSCTLBYNAME = 274
200 SYS_OPEN_EXTENDED = 277
201 SYS_UMASK_EXTENDED = 278
202 SYS_STAT_EXTENDED = 279
203 SYS_LSTAT_EXTENDED = 280
204 SYS_FSTAT_EXTENDED = 281
205 SYS_CHMOD_EXTENDED = 282
206 SYS_FCHMOD_EXTENDED = 283
207 SYS_ACCESS_EXTENDED = 284
208 SYS_SETTID = 285
209 SYS_GETTID = 286
210 SYS_SETSGROUPS = 287
211 SYS_GETSGROUPS = 288
212 SYS_SETWGROUPS = 289
213 SYS_GETWGROUPS = 290
214 SYS_MKFIFO_EXTENDED = 291
215 SYS_MKDIR_EXTENDED = 292
216 SYS_IDENTITYSVC = 293
217 SYS_SHARED_REGION_CHECK_NP = 294
218 SYS_VM_PRESSURE_MONITOR = 296
219 SYS_PSYNCH_RW_LONGRDLOCK = 297
220 SYS_PSYNCH_RW_YIELDWRLOCK = 298
221 SYS_PSYNCH_RW_DOWNGRADE = 299
222 SYS_PSYNCH_RW_UPGRADE = 300
223 SYS_PSYNCH_MUTEXWAIT = 301
224 SYS_PSYNCH_MUTEXDROP = 302
225 SYS_PSYNCH_CVBROAD = 303
226 SYS_PSYNCH_CVSIGNAL = 304
227 SYS_PSYNCH_CVWAIT = 305
228 SYS_PSYNCH_RW_RDLOCK = 306
229 SYS_PSYNCH_RW_WRLOCK = 307
230 SYS_PSYNCH_RW_UNLOCK = 308
231 SYS_PSYNCH_RW_UNLOCK2 = 309
232 SYS_GETSID = 310
233 SYS_SETTID_WITH_PID = 311
234 SYS_PSYNCH_CVCLRPREPOST = 312
235 SYS_AIO_FSYNC = 313
236 SYS_AIO_RETURN = 314
237 SYS_AIO_SUSPEND = 315
238 SYS_AIO_CANCEL = 316
239 SYS_AIO_ERROR = 317
240 SYS_AIO_READ = 318
241 SYS_AIO_WRITE = 319
242 SYS_LIO_LISTIO = 320
243 SYS_IOPOLICYSYS = 322
244 SYS_PROCESS_POLICY = 323
245 SYS_MLOCKALL = 324
246 SYS_MUNLOCKALL = 325
247 SYS_ISSETUGID = 327
248 SYS___PTHREAD_KILL = 328
249 SYS___PTHREAD_SIGMASK = 329
250 SYS___SIGWAIT = 330
251 SYS___DISABLE_THREADSIGNAL = 331
252 SYS___PTHREAD_MARKCANCEL = 332
253 SYS___PTHREAD_CANCELED = 333
254 SYS___SEMWAIT_SIGNAL = 334
255 SYS_PROC_INFO = 336
256 SYS_SENDFILE = 337
257 SYS_STAT64 = 338
258 SYS_FSTAT64 = 339
259 SYS_LSTAT64 = 340
260 SYS_STAT64_EXTENDED = 341
261 SYS_LSTAT64_EXTENDED = 342
262 SYS_FSTAT64_EXTENDED = 343
263 SYS_GETDIRENTRIES64 = 344
264 SYS_STATFS64 = 345
265 SYS_FSTATFS64 = 346
266 SYS_GETFSSTAT64 = 347
267 SYS___PTHREAD_CHDIR = 348
268 SYS___PTHREAD_FCHDIR = 349
269 SYS_AUDIT = 350
270 SYS_AUDITON = 351
271 SYS_GETAUID = 353
272 SYS_SETAUID = 354
273 SYS_GETAUDIT_ADDR = 357
274 SYS_SETAUDIT_ADDR = 358
275 SYS_AUDITCTL = 359
276 SYS_BSDTHREAD_CREATE = 360
277 SYS_BSDTHREAD_TERMINATE = 361
278 SYS_KQUEUE = 362
279 SYS_KEVENT = 363
280 SYS_LCHOWN = 364
281 SYS_STACK_SNAPSHOT = 365
282 SYS_BSDTHREAD_REGISTER = 366
283 SYS_WORKQ_OPEN = 367
284 SYS_WORKQ_KERNRETURN = 368
285 SYS_KEVENT64 = 369
286 SYS___OLD_SEMWAIT_SIGNAL = 370
287 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
288 SYS_THREAD_SELFID = 372
289 SYS_LEDGER = 373
290 SYS___MAC_EXECVE = 380
291 SYS___MAC_SYSCALL = 381
292 SYS___MAC_GET_FILE = 382
293 SYS___MAC_SET_FILE = 383
294 SYS___MAC_GET_LINK = 384
295 SYS___MAC_SET_LINK = 385
296 SYS___MAC_GET_PROC = 386
297 SYS___MAC_SET_PROC = 387
298 SYS___MAC_GET_FD = 388
299 SYS___MAC_SET_FD = 389
300 SYS___MAC_GET_PID = 390
301 SYS___MAC_GET_LCID = 391
302 SYS___MAC_GET_LCTX = 392
303 SYS___MAC_SET_LCTX = 393
304 SYS_SETLCID = 394
305 SYS_GETLCID = 395
306 SYS_READ_NOCANCEL = 396
307 SYS_WRITE_NOCANCEL = 397
308 SYS_OPEN_NOCANCEL = 398
309 SYS_CLOSE_NOCANCEL = 399
310 SYS_WAIT4_NOCANCEL = 400
311 SYS_RECVMSG_NOCANCEL = 401
312 SYS_SENDMSG_NOCANCEL = 402
313 SYS_RECVFROM_NOCANCEL = 403
314 SYS_ACCEPT_NOCANCEL = 404
315 SYS_MSYNC_NOCANCEL = 405
316 SYS_FCNTL_NOCANCEL = 406
317 SYS_SELECT_NOCANCEL = 407
318 SYS_FSYNC_NOCANCEL = 408
319 SYS_CONNECT_NOCANCEL = 409
320 SYS_SIGSUSPEND_NOCANCEL = 410
321 SYS_READV_NOCANCEL = 411
322 SYS_WRITEV_NOCANCEL = 412
323 SYS_SENDTO_NOCANCEL = 413
324 SYS_PREAD_NOCANCEL = 414
325 SYS_PWRITE_NOCANCEL = 415
326 SYS_WAITID_NOCANCEL = 416
327 SYS_POLL_NOCANCEL = 417
328 SYS_MSGSND_NOCANCEL = 418
329 SYS_MSGRCV_NOCANCEL = 419
330 SYS_SEM_WAIT_NOCANCEL = 420
331 SYS_AIO_SUSPEND_NOCANCEL = 421
332 SYS___SIGWAIT_NOCANCEL = 422
333 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
334 SYS___MAC_MOUNT = 424
335 SYS___MAC_GET_MOUNT = 425
336 SYS___MAC_GETFSSTAT = 426
337 SYS_FSGETPATH = 427
338 SYS_AUDIT_SESSION_SELF = 428
339 SYS_AUDIT_SESSION_JOIN = 429
340 SYS_FILEPORT_MAKEPORT = 430
341 SYS_FILEPORT_MAKEFD = 431
342 SYS_AUDIT_SESSION_PORT = 432
343 SYS_PID_SUSPEND = 433
344 SYS_PID_RESUME = 434
345 SYS_PID_HIBERNATE = 435
346 SYS_PID_SHUTDOWN_SOCKETS = 436
347 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
348 SYS_KAS_INFO = 439
349 SYS_MEMORYSTATUS_CONTROL = 440
350 SYS_GUARDED_OPEN_NP = 441
351 SYS_GUARDED_CLOSE_NP = 442
352 SYS_GUARDED_KQUEUE_NP = 443
353 SYS_CHANGE_FDGUARD_NP = 444
354 SYS_PROC_RLIMIT_CONTROL = 446
355 SYS_CONNECTX = 447
356 SYS_DISCONNECTX = 448
357 SYS_PEELOFF = 449
358 SYS_SOCKET_DELEGATE = 450
359 SYS_TELEMETRY = 451
360 SYS_PROC_UUID_POLICY = 452
361 SYS_MEMORYSTATUS_GET_LEVEL = 453
362 SYS_SYSTEM_OVERRIDE = 454
363 SYS_VFS_PURGE = 455
364 SYS_SFI_CTL = 456
365 SYS_SFI_PIDCTL = 457
366 SYS_COALITION = 458
367 SYS_COALITION_INFO = 459
368 SYS_NECP_MATCH_POLICY = 460
369 SYS_GETATTRLISTBULK = 461
370 SYS_OPENAT = 463
371 SYS_OPENAT_NOCANCEL = 464
372 SYS_RENAMEAT = 465
373 SYS_FACCESSAT = 466
374 SYS_FCHMODAT = 467
375 SYS_FCHOWNAT = 468
376 SYS_FSTATAT = 469
377 SYS_FSTATAT64 = 470
378 SYS_LINKAT = 471
379 SYS_UNLINKAT = 472
380 SYS_READLINKAT = 473
381 SYS_SYMLINKAT = 474
382 SYS_MKDIRAT = 475
383 SYS_GETATTRLISTAT = 476
384 SYS_PROC_TRACE_LOG = 477
385 SYS_BSDTHREAD_CTL = 478
386 SYS_OPENBYID_NP = 479
387 SYS_RECVMSG_X = 480
388 SYS_SENDMSG_X = 481
389 SYS_THREAD_SELFUSAGE = 482
390 SYS_CSRCTL = 483
391 SYS_GUARDED_OPEN_DPROTECTED_NP = 484
392 SYS_GUARDED_WRITE_NP = 485
393 SYS_GUARDED_PWRITE_NP = 486
394 SYS_GUARDED_WRITEV_NP = 487
395 SYS_RENAME_EXT = 488
396 SYS_MREMAP_ENCRYPTED = 489
397 SYS_MAXSYSCALL = 490
398)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_386.go
deleted file mode 100644
index 785240a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_386.go
+++ /dev/null
@@ -1,304 +0,0 @@
1// mksysnum_dragonfly.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,dragonfly
5
6package unix
7
8const (
9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
10 SYS_EXIT = 1 // { void exit(int rval); }
11 SYS_FORK = 2 // { int fork(void); }
12 SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \
17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); }
20 SYS_FCHDIR = 13 // { int fchdir(int fd); }
21 SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
25 SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \
26 SYS_GETPID = 20 // { pid_t getpid(void); }
27 SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \
28 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
29 SYS_SETUID = 23 // { int setuid(uid_t uid); }
30 SYS_GETUID = 24 // { uid_t getuid(void); }
31 SYS_GETEUID = 25 // { uid_t geteuid(void); }
32 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, \
33 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
34 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
35 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \
36 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
37 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
38 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
39 SYS_ACCESS = 33 // { int access(char *path, int flags); }
40 SYS_CHFLAGS = 34 // { int chflags(char *path, int flags); }
41 SYS_FCHFLAGS = 35 // { int fchflags(int fd, int flags); }
42 SYS_SYNC = 36 // { int sync(void); }
43 SYS_KILL = 37 // { int kill(int pid, int signum); }
44 SYS_GETPPID = 39 // { pid_t getppid(void); }
45 SYS_DUP = 41 // { int dup(u_int fd); }
46 SYS_PIPE = 42 // { int pipe(void); }
47 SYS_GETEGID = 43 // { gid_t getegid(void); }
48 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
49 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \
50 SYS_GETGID = 47 // { gid_t getgid(void); }
51 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
52 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
53 SYS_ACCT = 51 // { int acct(char *path); }
54 SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
55 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
56 SYS_REBOOT = 55 // { int reboot(int opt); }
57 SYS_REVOKE = 56 // { int revoke(char *path); }
58 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
59 SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count); }
60 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
61 SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
62 SYS_CHROOT = 61 // { int chroot(char *path); }
63 SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
64 SYS_VFORK = 66 // { pid_t vfork(void); }
65 SYS_SBRK = 69 // { int sbrk(int incr); }
66 SYS_SSTK = 70 // { int sstk(int incr); }
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, \
76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
84 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
99 SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, \
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
112 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
113 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
114 SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
115 SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); }
116 SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
117 SYS_UNAME = 164 // { int uname(struct utsname *name); }
118 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
119 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
120 SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \
121 SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \
122 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
123 SYS_SETGID = 181 // { int setgid(gid_t gid); }
124 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
125 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
130 SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
131 // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
132 SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \
133 SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
134 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
142 SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \
143 SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
144 SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \
145 SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \
146 SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
147 SYS_MSGSND = 226 // { int msgsnd(int msqid, void *msgp, size_t msgsz, \
148 SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
149 SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
150 SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \
151 SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
152 SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
153 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
154 SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \
155 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
156 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
157 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
158 SYS_RFORK = 251 // { int rfork(int flags); }
159 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
160 SYS_ISSETUGID = 253 // { int issetugid(void); }
161 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
164 SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
165 SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
166 SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
167 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
168 SYS_MODNEXT = 300 // { int modnext(int modid); }
169 SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
170 SYS_MODFNEXT = 302 // { int modfnext(int modid); }
171 SYS_MODFIND = 303 // { int modfind(const char *name); }
172 SYS_KLDLOAD = 304 // { int kldload(const char *file); }
173 SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
174 SYS_KLDFIND = 306 // { int kldfind(const char *file); }
175 SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
176 SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
177 SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
178 SYS_GETSID = 310 // { int getsid(pid_t pid); }
179 SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
180 SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
181 SYS_AIO_RETURN = 314 // { int aio_return(struct aiocb *aiocbp); }
182 SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
183 SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
184 SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
185 SYS_AIO_READ = 318 // { int aio_read(struct aiocb *aiocbp); }
186 SYS_AIO_WRITE = 319 // { int aio_write(struct aiocb *aiocbp); }
187 SYS_LIO_LISTIO = 320 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
188 SYS_YIELD = 321 // { int yield(void); }
189 SYS_MLOCKALL = 324 // { int mlockall(int how); }
190 SYS_MUNLOCKALL = 325 // { int munlockall(void); }
191 SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); }
192 SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
193 SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
194 SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
195 SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
196 SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
197 SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
198 SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
199 SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
200 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
201 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
202 SYS_JAIL = 338 // { int jail(struct jail *jail); }
203 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \
204 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
205 SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \
206 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
207 SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); }
208 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\
209 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\
210 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
211 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
212 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
213 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
214 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
215 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
216 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
217 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
218 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
219 SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \
220 SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \
221 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
222 SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
223 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
224 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
225 SYS_KQUEUE = 362 // { int kqueue(void); }
226 SYS_KEVENT = 363 // { int kevent(int fd, \
227 SYS_SCTP_PEELOFF = 364 // { int sctp_peeloff(int sd, caddr_t name ); }
228 SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
229 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
230 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
231 SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
232 SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
233 SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
234 SYS_EXEC_SYS_REGISTER = 465 // { int exec_sys_register(void *entry); }
235 SYS_EXEC_SYS_UNREGISTER = 466 // { int exec_sys_unregister(int id); }
236 SYS_SYS_CHECKPOINT = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); }
237 SYS_MOUNTCTL = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); }
238 SYS_UMTX_SLEEP = 469 // { int umtx_sleep(volatile const int *ptr, int value, int timeout); }
239 SYS_UMTX_WAKEUP = 470 // { int umtx_wakeup(volatile const int *ptr, int count); }
240 SYS_JAIL_ATTACH = 471 // { int jail_attach(int jid); }
241 SYS_SET_TLS_AREA = 472 // { int set_tls_area(int which, struct tls_info *info, size_t infosize); }
242 SYS_GET_TLS_AREA = 473 // { int get_tls_area(int which, struct tls_info *info, size_t infosize); }
243 SYS_CLOSEFROM = 474 // { int closefrom(int fd); }
244 SYS_STAT = 475 // { int stat(const char *path, struct stat *ub); }
245 SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); }
246 SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); }
247 SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
248 SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \
249 SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); }
250 SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
251 SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
252 SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
253 SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
254 SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); }
255 SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); }
256 SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \
257 SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
258 SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \
259 SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \
260 SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
261 SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
262 SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); }
263 SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); }
264 SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); }
265 SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
266 SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
267 SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
268 SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); }
269 SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
270 SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
271 SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \
272 SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); }
273 SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \
274 SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \
275 SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
276 SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); }
277 SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \
278 SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \
279 SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); }
280 SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); }
281 SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \
282 SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \
283 SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \
284 SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
285 SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
286 SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \
287 SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
288 SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); }
289 SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); }
290 SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); }
291 SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \
292 SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
293 SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
294 SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \
295 SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \
296 SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); }
297 SYS_SWAPOFF = 529 // { int swapoff(char *name); }
298 SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \
299 SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \
300 SYS_EACCESS = 532 // { int eaccess(char *path, int flags); }
301 SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); }
302 SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
303 SYS_VMM_GUEST_SYNC_ADDR = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
304)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
deleted file mode 100644
index d6038fa..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
+++ /dev/null
@@ -1,304 +0,0 @@
1// mksysnum_dragonfly.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,dragonfly
5
6package unix
7
8const (
9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
10 SYS_EXIT = 1 // { void exit(int rval); }
11 SYS_FORK = 2 // { int fork(void); }
12 SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \
17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); }
20 SYS_FCHDIR = 13 // { int fchdir(int fd); }
21 SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
25 SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \
26 SYS_GETPID = 20 // { pid_t getpid(void); }
27 SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \
28 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
29 SYS_SETUID = 23 // { int setuid(uid_t uid); }
30 SYS_GETUID = 24 // { uid_t getuid(void); }
31 SYS_GETEUID = 25 // { uid_t geteuid(void); }
32 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, \
33 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
34 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
35 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \
36 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
37 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
38 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
39 SYS_ACCESS = 33 // { int access(char *path, int flags); }
40 SYS_CHFLAGS = 34 // { int chflags(char *path, int flags); }
41 SYS_FCHFLAGS = 35 // { int fchflags(int fd, int flags); }
42 SYS_SYNC = 36 // { int sync(void); }
43 SYS_KILL = 37 // { int kill(int pid, int signum); }
44 SYS_GETPPID = 39 // { pid_t getppid(void); }
45 SYS_DUP = 41 // { int dup(u_int fd); }
46 SYS_PIPE = 42 // { int pipe(void); }
47 SYS_GETEGID = 43 // { gid_t getegid(void); }
48 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
49 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \
50 SYS_GETGID = 47 // { gid_t getgid(void); }
51 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
52 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
53 SYS_ACCT = 51 // { int acct(char *path); }
54 SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
55 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
56 SYS_REBOOT = 55 // { int reboot(int opt); }
57 SYS_REVOKE = 56 // { int revoke(char *path); }
58 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
59 SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count); }
60 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
61 SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
62 SYS_CHROOT = 61 // { int chroot(char *path); }
63 SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
64 SYS_VFORK = 66 // { pid_t vfork(void); }
65 SYS_SBRK = 69 // { int sbrk(int incr); }
66 SYS_SSTK = 70 // { int sstk(int incr); }
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, \
76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
84 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
99 SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, \
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
112 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
113 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
114 SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
115 SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); }
116 SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
117 SYS_UNAME = 164 // { int uname(struct utsname *name); }
118 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
119 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
120 SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \
121 SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \
122 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
123 SYS_SETGID = 181 // { int setgid(gid_t gid); }
124 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
125 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
130 SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
131 // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
132 SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \
133 SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
134 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
142 SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \
143 SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
144 SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \
145 SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \
146 SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
147 SYS_MSGSND = 226 // { int msgsnd(int msqid, void *msgp, size_t msgsz, \
148 SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
149 SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
150 SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \
151 SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
152 SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
153 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
154 SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \
155 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
156 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
157 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
158 SYS_RFORK = 251 // { int rfork(int flags); }
159 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
160 SYS_ISSETUGID = 253 // { int issetugid(void); }
161 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
164 SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
165 SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
166 SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
167 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
168 SYS_MODNEXT = 300 // { int modnext(int modid); }
169 SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
170 SYS_MODFNEXT = 302 // { int modfnext(int modid); }
171 SYS_MODFIND = 303 // { int modfind(const char *name); }
172 SYS_KLDLOAD = 304 // { int kldload(const char *file); }
173 SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
174 SYS_KLDFIND = 306 // { int kldfind(const char *file); }
175 SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
176 SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
177 SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
178 SYS_GETSID = 310 // { int getsid(pid_t pid); }
179 SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
180 SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
181 SYS_AIO_RETURN = 314 // { int aio_return(struct aiocb *aiocbp); }
182 SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
183 SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
184 SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
185 SYS_AIO_READ = 318 // { int aio_read(struct aiocb *aiocbp); }
186 SYS_AIO_WRITE = 319 // { int aio_write(struct aiocb *aiocbp); }
187 SYS_LIO_LISTIO = 320 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
188 SYS_YIELD = 321 // { int yield(void); }
189 SYS_MLOCKALL = 324 // { int mlockall(int how); }
190 SYS_MUNLOCKALL = 325 // { int munlockall(void); }
191 SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); }
192 SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
193 SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
194 SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
195 SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
196 SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
197 SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
198 SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
199 SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
200 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
201 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
202 SYS_JAIL = 338 // { int jail(struct jail *jail); }
203 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \
204 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
205 SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \
206 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
207 SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); }
208 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\
209 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\
210 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
211 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
212 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
213 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
214 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
215 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
216 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
217 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
218 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
219 SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \
220 SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \
221 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
222 SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
223 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
224 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
225 SYS_KQUEUE = 362 // { int kqueue(void); }
226 SYS_KEVENT = 363 // { int kevent(int fd, \
227 SYS_SCTP_PEELOFF = 364 // { int sctp_peeloff(int sd, caddr_t name ); }
228 SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
229 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
230 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
231 SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
232 SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
233 SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
234 SYS_EXEC_SYS_REGISTER = 465 // { int exec_sys_register(void *entry); }
235 SYS_EXEC_SYS_UNREGISTER = 466 // { int exec_sys_unregister(int id); }
236 SYS_SYS_CHECKPOINT = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); }
237 SYS_MOUNTCTL = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); }
238 SYS_UMTX_SLEEP = 469 // { int umtx_sleep(volatile const int *ptr, int value, int timeout); }
239 SYS_UMTX_WAKEUP = 470 // { int umtx_wakeup(volatile const int *ptr, int count); }
240 SYS_JAIL_ATTACH = 471 // { int jail_attach(int jid); }
241 SYS_SET_TLS_AREA = 472 // { int set_tls_area(int which, struct tls_info *info, size_t infosize); }
242 SYS_GET_TLS_AREA = 473 // { int get_tls_area(int which, struct tls_info *info, size_t infosize); }
243 SYS_CLOSEFROM = 474 // { int closefrom(int fd); }
244 SYS_STAT = 475 // { int stat(const char *path, struct stat *ub); }
245 SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); }
246 SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); }
247 SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
248 SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \
249 SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); }
250 SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
251 SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
252 SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
253 SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
254 SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); }
255 SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); }
256 SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \
257 SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
258 SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \
259 SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \
260 SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
261 SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
262 SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); }
263 SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); }
264 SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); }
265 SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
266 SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
267 SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
268 SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); }
269 SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
270 SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
271 SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \
272 SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); }
273 SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \
274 SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \
275 SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
276 SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); }
277 SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \
278 SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \
279 SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); }
280 SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); }
281 SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \
282 SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \
283 SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \
284 SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
285 SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
286 SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \
287 SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
288 SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); }
289 SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); }
290 SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); }
291 SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \
292 SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
293 SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
294 SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \
295 SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \
296 SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); }
297 SYS_SWAPOFF = 529 // { int swapoff(char *name); }
298 SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \
299 SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \
300 SYS_EACCESS = 532 // { int eaccess(char *path, int flags); }
301 SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); }
302 SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
303 SYS_VMM_GUEST_SYNC_ADDR = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
304)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_386.go
deleted file mode 100644
index 262a845..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_386.go
+++ /dev/null
@@ -1,351 +0,0 @@
1// mksysnum_freebsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,freebsd
5
6package unix
7
8const (
9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
10 SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
11 SYS_FORK = 2 // { int fork(void); }
12 SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); }
20 SYS_FCHDIR = 13 // { int fchdir(int fd); }
21 SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
25 SYS_GETPID = 20 // { pid_t getpid(void); }
26 SYS_MOUNT = 21 // { int mount(char *type, char *path, \
27 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
28 SYS_SETUID = 23 // { int setuid(uid_t uid); }
29 SYS_GETUID = 24 // { uid_t getuid(void); }
30 SYS_GETEUID = 25 // { uid_t geteuid(void); }
31 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
32 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
33 SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
34 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
35 SYS_ACCEPT = 30 // { int accept(int s, \
36 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
37 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
38 SYS_ACCESS = 33 // { int access(char *path, int amode); }
39 SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
40 SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
41 SYS_SYNC = 36 // { int sync(void); }
42 SYS_KILL = 37 // { int kill(int pid, int signum); }
43 SYS_GETPPID = 39 // { pid_t getppid(void); }
44 SYS_DUP = 41 // { int dup(u_int fd); }
45 SYS_PIPE = 42 // { int pipe(void); }
46 SYS_GETEGID = 43 // { gid_t getegid(void); }
47 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
48 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
49 SYS_GETGID = 47 // { gid_t getgid(void); }
50 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
51 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
52 SYS_ACCT = 51 // { int acct(char *path); }
53 SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
54 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
55 SYS_REBOOT = 55 // { int reboot(int opt); }
56 SYS_REVOKE = 56 // { int revoke(char *path); }
57 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
58 SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
59 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
60 SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
61 SYS_CHROOT = 61 // { int chroot(char *path); }
62 SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
63 SYS_VFORK = 66 // { int vfork(void); }
64 SYS_SBRK = 69 // { int sbrk(int incr); }
65 SYS_SSTK = 70 // { int sstk(int incr); }
66 SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, \
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
84 SYS_SOCKET = 97 // { int socket(int domain, int type, \
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, \
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, \
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
99 SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, \
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
112 SYS_LGETFH = 160 // { int lgetfh(char *fname, \
113 SYS_GETFH = 161 // { int getfh(char *fname, \
114 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
115 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
116 SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
117 SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
118 SYS_SETFIB = 175 // { int setfib(int fibnum); }
119 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
120 SYS_SETGID = 181 // { int setgid(gid_t gid); }
121 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
122 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
123 SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
124 SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
125 SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
130 SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
131 SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
132 SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
133 SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
134 SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
142 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
143 SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
144 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
145 SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
146 SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
147 SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
148 SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
149 SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
150 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
151 SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
152 SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
153 SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
154 SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
155 SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
156 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
157 SYS_RFORK = 251 // { int rfork(int flags); }
158 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
159 SYS_ISSETUGID = 253 // { int issetugid(void); }
160 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
161 SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, \
164 SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
165 SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
166 SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
167 SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
168 SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
169 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
170 SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
171 SYS_MODNEXT = 300 // { int modnext(int modid); }
172 SYS_MODSTAT = 301 // { int modstat(int modid, \
173 SYS_MODFNEXT = 302 // { int modfnext(int modid); }
174 SYS_MODFIND = 303 // { int modfind(const char *name); }
175 SYS_KLDLOAD = 304 // { int kldload(const char *file); }
176 SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
177 SYS_KLDFIND = 306 // { int kldfind(const char *file); }
178 SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
179 SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
180 SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
181 SYS_GETSID = 310 // { int getsid(pid_t pid); }
182 SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
183 SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
184 SYS_YIELD = 321 // { int yield(void); }
185 SYS_MLOCKALL = 324 // { int mlockall(int how); }
186 SYS_MUNLOCKALL = 325 // { int munlockall(void); }
187 SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
188 SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
189 SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
190 SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
191 SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
192 SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
193 SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
194 SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
195 SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
196 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
197 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
198 SYS_JAIL = 338 // { int jail(struct jail *jail); }
199 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
200 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
201 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
202 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
203 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
204 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
205 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
206 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
207 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
208 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
209 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
210 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
211 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
212 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
213 SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
214 SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
215 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
216 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
217 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
218 SYS_KQUEUE = 362 // { int kqueue(void); }
219 SYS_KEVENT = 363 // { int kevent(int fd, \
220 SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
221 SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
222 SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
223 SYS___SETUGID = 374 // { int __setugid(int flag); }
224 SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
225 SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
226 SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
227 SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
228 SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
229 SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
230 SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
231 SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
232 SYS_KENV = 390 // { int kenv(int what, const char *name, \
233 SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
234 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
235 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
236 SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
237 SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
238 SYS_STATFS = 396 // { int statfs(char *path, \
239 SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
240 SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
241 SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
242 SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
243 SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
244 SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
245 SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
246 SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
247 SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
248 SYS_SIGACTION = 416 // { int sigaction(int sig, \
249 SYS_SIGRETURN = 417 // { int sigreturn( \
250 SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
251 SYS_SETCONTEXT = 422 // { int setcontext( \
252 SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
253 SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
254 SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
255 SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
256 SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
257 SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
258 SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
259 SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
260 SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
261 SYS_THR_SELF = 432 // { int thr_self(long *id); }
262 SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
263 SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
264 SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
265 SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
266 SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
267 SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
268 SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
269 SYS_THR_SUSPEND = 442 // { int thr_suspend( \
270 SYS_THR_WAKE = 443 // { int thr_wake(long id); }
271 SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
272 SYS_AUDIT = 445 // { int audit(const void *record, \
273 SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
274 SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
275 SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
276 SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
277 SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
278 SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
279 SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
280 SYS_AUDITCTL = 453 // { int auditctl(char *path); }
281 SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
282 SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
283 SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
284 SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
285 SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
286 SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
287 SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
288 SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
289 SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
290 SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
291 SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
292 SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
293 SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
294 SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
295 SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
296 SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
297 SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
298 SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
299 SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
300 SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
301 SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
302 SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
303 SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
304 SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
305 SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
306 SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
307 SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
308 SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
309 SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
310 SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
311 SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
312 SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
313 SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
314 SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
315 SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
316 SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
317 SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
318 SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
319 SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
320 SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
321 SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
322 SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
323 SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
324 SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
325 SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
326 SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }
327 SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \
328 SYS_CAP_ENTER = 516 // { int cap_enter(void); }
329 SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
330 SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
331 SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
332 SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
333 SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
334 SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
335 SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
336 SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
337 SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
338 SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
339 SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
340 SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
341 SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
342 SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
343 SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
344 SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
345 SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
346 SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
347 SYS_ACCEPT4 = 541 // { int accept4(int s, \
348 SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
349 SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
350 SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
351)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
deleted file mode 100644
index 57a60ea..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
+++ /dev/null
@@ -1,351 +0,0 @@
1// mksysnum_freebsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,freebsd
5
6package unix
7
8const (
9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
10 SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
11 SYS_FORK = 2 // { int fork(void); }
12 SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); }
20 SYS_FCHDIR = 13 // { int fchdir(int fd); }
21 SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
25 SYS_GETPID = 20 // { pid_t getpid(void); }
26 SYS_MOUNT = 21 // { int mount(char *type, char *path, \
27 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
28 SYS_SETUID = 23 // { int setuid(uid_t uid); }
29 SYS_GETUID = 24 // { uid_t getuid(void); }
30 SYS_GETEUID = 25 // { uid_t geteuid(void); }
31 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
32 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
33 SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
34 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
35 SYS_ACCEPT = 30 // { int accept(int s, \
36 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
37 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
38 SYS_ACCESS = 33 // { int access(char *path, int amode); }
39 SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
40 SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
41 SYS_SYNC = 36 // { int sync(void); }
42 SYS_KILL = 37 // { int kill(int pid, int signum); }
43 SYS_GETPPID = 39 // { pid_t getppid(void); }
44 SYS_DUP = 41 // { int dup(u_int fd); }
45 SYS_PIPE = 42 // { int pipe(void); }
46 SYS_GETEGID = 43 // { gid_t getegid(void); }
47 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
48 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
49 SYS_GETGID = 47 // { gid_t getgid(void); }
50 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
51 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
52 SYS_ACCT = 51 // { int acct(char *path); }
53 SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
54 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
55 SYS_REBOOT = 55 // { int reboot(int opt); }
56 SYS_REVOKE = 56 // { int revoke(char *path); }
57 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
58 SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
59 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
60 SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
61 SYS_CHROOT = 61 // { int chroot(char *path); }
62 SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
63 SYS_VFORK = 66 // { int vfork(void); }
64 SYS_SBRK = 69 // { int sbrk(int incr); }
65 SYS_SSTK = 70 // { int sstk(int incr); }
66 SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, \
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
84 SYS_SOCKET = 97 // { int socket(int domain, int type, \
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, \
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, \
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
99 SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, \
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
112 SYS_LGETFH = 160 // { int lgetfh(char *fname, \
113 SYS_GETFH = 161 // { int getfh(char *fname, \
114 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
115 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
116 SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
117 SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
118 SYS_SETFIB = 175 // { int setfib(int fibnum); }
119 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
120 SYS_SETGID = 181 // { int setgid(gid_t gid); }
121 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
122 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
123 SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
124 SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
125 SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
130 SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
131 SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
132 SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
133 SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
134 SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
142 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
143 SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
144 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
145 SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
146 SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
147 SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
148 SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
149 SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
150 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
151 SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
152 SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
153 SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
154 SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
155 SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
156 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
157 SYS_RFORK = 251 // { int rfork(int flags); }
158 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
159 SYS_ISSETUGID = 253 // { int issetugid(void); }
160 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
161 SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, \
164 SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
165 SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
166 SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
167 SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
168 SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
169 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
170 SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
171 SYS_MODNEXT = 300 // { int modnext(int modid); }
172 SYS_MODSTAT = 301 // { int modstat(int modid, \
173 SYS_MODFNEXT = 302 // { int modfnext(int modid); }
174 SYS_MODFIND = 303 // { int modfind(const char *name); }
175 SYS_KLDLOAD = 304 // { int kldload(const char *file); }
176 SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
177 SYS_KLDFIND = 306 // { int kldfind(const char *file); }
178 SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
179 SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
180 SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
181 SYS_GETSID = 310 // { int getsid(pid_t pid); }
182 SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
183 SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
184 SYS_YIELD = 321 // { int yield(void); }
185 SYS_MLOCKALL = 324 // { int mlockall(int how); }
186 SYS_MUNLOCKALL = 325 // { int munlockall(void); }
187 SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
188 SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
189 SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
190 SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
191 SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
192 SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
193 SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
194 SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
195 SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
196 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
197 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
198 SYS_JAIL = 338 // { int jail(struct jail *jail); }
199 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
200 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
201 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
202 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
203 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
204 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
205 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
206 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
207 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
208 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
209 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
210 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
211 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
212 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
213 SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
214 SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
215 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
216 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
217 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
218 SYS_KQUEUE = 362 // { int kqueue(void); }
219 SYS_KEVENT = 363 // { int kevent(int fd, \
220 SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
221 SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
222 SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
223 SYS___SETUGID = 374 // { int __setugid(int flag); }
224 SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
225 SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
226 SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
227 SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
228 SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
229 SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
230 SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
231 SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
232 SYS_KENV = 390 // { int kenv(int what, const char *name, \
233 SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
234 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
235 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
236 SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
237 SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
238 SYS_STATFS = 396 // { int statfs(char *path, \
239 SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
240 SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
241 SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
242 SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
243 SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
244 SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
245 SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
246 SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
247 SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
248 SYS_SIGACTION = 416 // { int sigaction(int sig, \
249 SYS_SIGRETURN = 417 // { int sigreturn( \
250 SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
251 SYS_SETCONTEXT = 422 // { int setcontext( \
252 SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
253 SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
254 SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
255 SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
256 SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
257 SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
258 SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
259 SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
260 SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
261 SYS_THR_SELF = 432 // { int thr_self(long *id); }
262 SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
263 SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
264 SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
265 SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
266 SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
267 SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
268 SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
269 SYS_THR_SUSPEND = 442 // { int thr_suspend( \
270 SYS_THR_WAKE = 443 // { int thr_wake(long id); }
271 SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
272 SYS_AUDIT = 445 // { int audit(const void *record, \
273 SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
274 SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
275 SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
276 SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
277 SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
278 SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
279 SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
280 SYS_AUDITCTL = 453 // { int auditctl(char *path); }
281 SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
282 SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
283 SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
284 SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
285 SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
286 SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
287 SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
288 SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
289 SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
290 SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
291 SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
292 SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
293 SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
294 SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
295 SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
296 SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
297 SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
298 SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
299 SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
300 SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
301 SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
302 SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
303 SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
304 SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
305 SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
306 SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
307 SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
308 SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
309 SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
310 SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
311 SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
312 SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
313 SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
314 SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
315 SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
316 SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
317 SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
318 SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
319 SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
320 SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
321 SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
322 SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
323 SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
324 SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
325 SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
326 SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }
327 SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \
328 SYS_CAP_ENTER = 516 // { int cap_enter(void); }
329 SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
330 SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
331 SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
332 SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
333 SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
334 SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
335 SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
336 SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
337 SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
338 SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
339 SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
340 SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
341 SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
342 SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
343 SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
344 SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
345 SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
346 SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
347 SYS_ACCEPT4 = 541 // { int accept4(int s, \
348 SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
349 SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
350 SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
351)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
deleted file mode 100644
index 206b9f6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
+++ /dev/null
@@ -1,351 +0,0 @@
1// mksysnum_freebsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm,freebsd
5
6package unix
7
8const (
9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
10 SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
11 SYS_FORK = 2 // { int fork(void); }
12 SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); }
20 SYS_FCHDIR = 13 // { int fchdir(int fd); }
21 SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
25 SYS_GETPID = 20 // { pid_t getpid(void); }
26 SYS_MOUNT = 21 // { int mount(char *type, char *path, \
27 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
28 SYS_SETUID = 23 // { int setuid(uid_t uid); }
29 SYS_GETUID = 24 // { uid_t getuid(void); }
30 SYS_GETEUID = 25 // { uid_t geteuid(void); }
31 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
32 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
33 SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
34 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
35 SYS_ACCEPT = 30 // { int accept(int s, \
36 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
37 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
38 SYS_ACCESS = 33 // { int access(char *path, int amode); }
39 SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
40 SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
41 SYS_SYNC = 36 // { int sync(void); }
42 SYS_KILL = 37 // { int kill(int pid, int signum); }
43 SYS_GETPPID = 39 // { pid_t getppid(void); }
44 SYS_DUP = 41 // { int dup(u_int fd); }
45 SYS_PIPE = 42 // { int pipe(void); }
46 SYS_GETEGID = 43 // { gid_t getegid(void); }
47 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
48 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
49 SYS_GETGID = 47 // { gid_t getgid(void); }
50 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
51 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
52 SYS_ACCT = 51 // { int acct(char *path); }
53 SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
54 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
55 SYS_REBOOT = 55 // { int reboot(int opt); }
56 SYS_REVOKE = 56 // { int revoke(char *path); }
57 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
58 SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
59 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
60 SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
61 SYS_CHROOT = 61 // { int chroot(char *path); }
62 SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
63 SYS_VFORK = 66 // { int vfork(void); }
64 SYS_SBRK = 69 // { int sbrk(int incr); }
65 SYS_SSTK = 70 // { int sstk(int incr); }
66 SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, \
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
84 SYS_SOCKET = 97 // { int socket(int domain, int type, \
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, \
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, \
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
99 SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, \
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
112 SYS_LGETFH = 160 // { int lgetfh(char *fname, \
113 SYS_GETFH = 161 // { int getfh(char *fname, \
114 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
115 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
116 SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
117 SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
118 SYS_SETFIB = 175 // { int setfib(int fibnum); }
119 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
120 SYS_SETGID = 181 // { int setgid(gid_t gid); }
121 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
122 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
123 SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
124 SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
125 SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
130 SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
131 SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
132 SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
133 SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
134 SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
142 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
143 SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
144 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
145 SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
146 SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
147 SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
148 SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
149 SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
150 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
151 SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
152 SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
153 SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
154 SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
155 SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
156 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
157 SYS_RFORK = 251 // { int rfork(int flags); }
158 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
159 SYS_ISSETUGID = 253 // { int issetugid(void); }
160 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
161 SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, \
164 SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
165 SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
166 SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
167 SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
168 SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
169 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
170 SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
171 SYS_MODNEXT = 300 // { int modnext(int modid); }
172 SYS_MODSTAT = 301 // { int modstat(int modid, \
173 SYS_MODFNEXT = 302 // { int modfnext(int modid); }
174 SYS_MODFIND = 303 // { int modfind(const char *name); }
175 SYS_KLDLOAD = 304 // { int kldload(const char *file); }
176 SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
177 SYS_KLDFIND = 306 // { int kldfind(const char *file); }
178 SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
179 SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
180 SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
181 SYS_GETSID = 310 // { int getsid(pid_t pid); }
182 SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
183 SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
184 SYS_YIELD = 321 // { int yield(void); }
185 SYS_MLOCKALL = 324 // { int mlockall(int how); }
186 SYS_MUNLOCKALL = 325 // { int munlockall(void); }
187 SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
188 SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
189 SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
190 SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
191 SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
192 SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
193 SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
194 SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
195 SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
196 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
197 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
198 SYS_JAIL = 338 // { int jail(struct jail *jail); }
199 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
200 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
201 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
202 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
203 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
204 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
205 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
206 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
207 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
208 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
209 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
210 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
211 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
212 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
213 SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
214 SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
215 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
216 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
217 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
218 SYS_KQUEUE = 362 // { int kqueue(void); }
219 SYS_KEVENT = 363 // { int kevent(int fd, \
220 SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
221 SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
222 SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
223 SYS___SETUGID = 374 // { int __setugid(int flag); }
224 SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
225 SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
226 SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
227 SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
228 SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
229 SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
230 SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
231 SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
232 SYS_KENV = 390 // { int kenv(int what, const char *name, \
233 SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
234 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
235 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
236 SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
237 SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
238 SYS_STATFS = 396 // { int statfs(char *path, \
239 SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
240 SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
241 SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
242 SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
243 SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
244 SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
245 SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
246 SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
247 SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
248 SYS_SIGACTION = 416 // { int sigaction(int sig, \
249 SYS_SIGRETURN = 417 // { int sigreturn( \
250 SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
251 SYS_SETCONTEXT = 422 // { int setcontext( \
252 SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
253 SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
254 SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
255 SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
256 SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
257 SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
258 SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
259 SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
260 SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
261 SYS_THR_SELF = 432 // { int thr_self(long *id); }
262 SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
263 SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
264 SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
265 SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
266 SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
267 SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
268 SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
269 SYS_THR_SUSPEND = 442 // { int thr_suspend( \
270 SYS_THR_WAKE = 443 // { int thr_wake(long id); }
271 SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
272 SYS_AUDIT = 445 // { int audit(const void *record, \
273 SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
274 SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
275 SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
276 SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
277 SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
278 SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
279 SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
280 SYS_AUDITCTL = 453 // { int auditctl(char *path); }
281 SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
282 SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
283 SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
284 SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
285 SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
286 SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
287 SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
288 SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
289 SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
290 SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
291 SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
292 SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
293 SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
294 SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
295 SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
296 SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
297 SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
298 SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
299 SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
300 SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
301 SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
302 SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
303 SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
304 SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
305 SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
306 SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
307 SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
308 SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
309 SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
310 SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
311 SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
312 SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
313 SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
314 SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
315 SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
316 SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
317 SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
318 SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
319 SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
320 SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
321 SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
322 SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
323 SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
324 SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
325 SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
326 SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }
327 SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \
328 SYS_CAP_ENTER = 516 // { int cap_enter(void); }
329 SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
330 SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
331 SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
332 SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
333 SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
334 SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
335 SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
336 SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
337 SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
338 SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
339 SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
340 SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
341 SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
342 SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
343 SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
344 SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
345 SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
346 SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
347 SYS_ACCEPT4 = 541 // { int accept4(int s, \
348 SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
349 SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
350 SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
351)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_386.go
deleted file mode 100644
index ba952c6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_386.go
+++ /dev/null
@@ -1,355 +0,0 @@
1// mksysnum_linux.pl /usr/include/asm/unistd_32.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,linux
5
6package unix
7
8const (
9 SYS_RESTART_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAITPID = 7
17 SYS_CREAT = 8
18 SYS_LINK = 9
19 SYS_UNLINK = 10
20 SYS_EXECVE = 11
21 SYS_CHDIR = 12
22 SYS_TIME = 13
23 SYS_MKNOD = 14
24 SYS_CHMOD = 15
25 SYS_LCHOWN = 16
26 SYS_BREAK = 17
27 SYS_OLDSTAT = 18
28 SYS_LSEEK = 19
29 SYS_GETPID = 20
30 SYS_MOUNT = 21
31 SYS_UMOUNT = 22
32 SYS_SETUID = 23
33 SYS_GETUID = 24
34 SYS_STIME = 25
35 SYS_PTRACE = 26
36 SYS_ALARM = 27
37 SYS_OLDFSTAT = 28
38 SYS_PAUSE = 29
39 SYS_UTIME = 30
40 SYS_STTY = 31
41 SYS_GTTY = 32
42 SYS_ACCESS = 33
43 SYS_NICE = 34
44 SYS_FTIME = 35
45 SYS_SYNC = 36
46 SYS_KILL = 37
47 SYS_RENAME = 38
48 SYS_MKDIR = 39
49 SYS_RMDIR = 40
50 SYS_DUP = 41
51 SYS_PIPE = 42
52 SYS_TIMES = 43
53 SYS_PROF = 44
54 SYS_BRK = 45
55 SYS_SETGID = 46
56 SYS_GETGID = 47
57 SYS_SIGNAL = 48
58 SYS_GETEUID = 49
59 SYS_GETEGID = 50
60 SYS_ACCT = 51
61 SYS_UMOUNT2 = 52
62 SYS_LOCK = 53
63 SYS_IOCTL = 54
64 SYS_FCNTL = 55
65 SYS_MPX = 56
66 SYS_SETPGID = 57
67 SYS_ULIMIT = 58
68 SYS_OLDOLDUNAME = 59
69 SYS_UMASK = 60
70 SYS_CHROOT = 61
71 SYS_USTAT = 62
72 SYS_DUP2 = 63
73 SYS_GETPPID = 64
74 SYS_GETPGRP = 65
75 SYS_SETSID = 66
76 SYS_SIGACTION = 67
77 SYS_SGETMASK = 68
78 SYS_SSETMASK = 69
79 SYS_SETREUID = 70
80 SYS_SETREGID = 71
81 SYS_SIGSUSPEND = 72
82 SYS_SIGPENDING = 73
83 SYS_SETHOSTNAME = 74
84 SYS_SETRLIMIT = 75
85 SYS_GETRLIMIT = 76
86 SYS_GETRUSAGE = 77
87 SYS_GETTIMEOFDAY = 78
88 SYS_SETTIMEOFDAY = 79
89 SYS_GETGROUPS = 80
90 SYS_SETGROUPS = 81
91 SYS_SELECT = 82
92 SYS_SYMLINK = 83
93 SYS_OLDLSTAT = 84
94 SYS_READLINK = 85
95 SYS_USELIB = 86
96 SYS_SWAPON = 87
97 SYS_REBOOT = 88
98 SYS_READDIR = 89
99 SYS_MMAP = 90
100 SYS_MUNMAP = 91
101 SYS_TRUNCATE = 92
102 SYS_FTRUNCATE = 93
103 SYS_FCHMOD = 94
104 SYS_FCHOWN = 95
105 SYS_GETPRIORITY = 96
106 SYS_SETPRIORITY = 97
107 SYS_PROFIL = 98
108 SYS_STATFS = 99
109 SYS_FSTATFS = 100
110 SYS_IOPERM = 101
111 SYS_SOCKETCALL = 102
112 SYS_SYSLOG = 103
113 SYS_SETITIMER = 104
114 SYS_GETITIMER = 105
115 SYS_STAT = 106
116 SYS_LSTAT = 107
117 SYS_FSTAT = 108
118 SYS_OLDUNAME = 109
119 SYS_IOPL = 110
120 SYS_VHANGUP = 111
121 SYS_IDLE = 112
122 SYS_VM86OLD = 113
123 SYS_WAIT4 = 114
124 SYS_SWAPOFF = 115
125 SYS_SYSINFO = 116
126 SYS_IPC = 117
127 SYS_FSYNC = 118
128 SYS_SIGRETURN = 119
129 SYS_CLONE = 120
130 SYS_SETDOMAINNAME = 121
131 SYS_UNAME = 122
132 SYS_MODIFY_LDT = 123
133 SYS_ADJTIMEX = 124
134 SYS_MPROTECT = 125
135 SYS_SIGPROCMASK = 126
136 SYS_CREATE_MODULE = 127
137 SYS_INIT_MODULE = 128
138 SYS_DELETE_MODULE = 129
139 SYS_GET_KERNEL_SYMS = 130
140 SYS_QUOTACTL = 131
141 SYS_GETPGID = 132
142 SYS_FCHDIR = 133
143 SYS_BDFLUSH = 134
144 SYS_SYSFS = 135
145 SYS_PERSONALITY = 136
146 SYS_AFS_SYSCALL = 137
147 SYS_SETFSUID = 138
148 SYS_SETFSGID = 139
149 SYS__LLSEEK = 140
150 SYS_GETDENTS = 141
151 SYS__NEWSELECT = 142
152 SYS_FLOCK = 143
153 SYS_MSYNC = 144
154 SYS_READV = 145
155 SYS_WRITEV = 146
156 SYS_GETSID = 147
157 SYS_FDATASYNC = 148
158 SYS__SYSCTL = 149
159 SYS_MLOCK = 150
160 SYS_MUNLOCK = 151
161 SYS_MLOCKALL = 152
162 SYS_MUNLOCKALL = 153
163 SYS_SCHED_SETPARAM = 154
164 SYS_SCHED_GETPARAM = 155
165 SYS_SCHED_SETSCHEDULER = 156
166 SYS_SCHED_GETSCHEDULER = 157
167 SYS_SCHED_YIELD = 158
168 SYS_SCHED_GET_PRIORITY_MAX = 159
169 SYS_SCHED_GET_PRIORITY_MIN = 160
170 SYS_SCHED_RR_GET_INTERVAL = 161
171 SYS_NANOSLEEP = 162
172 SYS_MREMAP = 163
173 SYS_SETRESUID = 164
174 SYS_GETRESUID = 165
175 SYS_VM86 = 166
176 SYS_QUERY_MODULE = 167
177 SYS_POLL = 168
178 SYS_NFSSERVCTL = 169
179 SYS_SETRESGID = 170
180 SYS_GETRESGID = 171
181 SYS_PRCTL = 172
182 SYS_RT_SIGRETURN = 173
183 SYS_RT_SIGACTION = 174
184 SYS_RT_SIGPROCMASK = 175
185 SYS_RT_SIGPENDING = 176
186 SYS_RT_SIGTIMEDWAIT = 177
187 SYS_RT_SIGQUEUEINFO = 178
188 SYS_RT_SIGSUSPEND = 179
189 SYS_PREAD64 = 180
190 SYS_PWRITE64 = 181
191 SYS_CHOWN = 182
192 SYS_GETCWD = 183
193 SYS_CAPGET = 184
194 SYS_CAPSET = 185
195 SYS_SIGALTSTACK = 186
196 SYS_SENDFILE = 187
197 SYS_GETPMSG = 188
198 SYS_PUTPMSG = 189
199 SYS_VFORK = 190
200 SYS_UGETRLIMIT = 191
201 SYS_MMAP2 = 192
202 SYS_TRUNCATE64 = 193
203 SYS_FTRUNCATE64 = 194
204 SYS_STAT64 = 195
205 SYS_LSTAT64 = 196
206 SYS_FSTAT64 = 197
207 SYS_LCHOWN32 = 198
208 SYS_GETUID32 = 199
209 SYS_GETGID32 = 200
210 SYS_GETEUID32 = 201
211 SYS_GETEGID32 = 202
212 SYS_SETREUID32 = 203
213 SYS_SETREGID32 = 204
214 SYS_GETGROUPS32 = 205
215 SYS_SETGROUPS32 = 206
216 SYS_FCHOWN32 = 207
217 SYS_SETRESUID32 = 208
218 SYS_GETRESUID32 = 209
219 SYS_SETRESGID32 = 210
220 SYS_GETRESGID32 = 211
221 SYS_CHOWN32 = 212
222 SYS_SETUID32 = 213
223 SYS_SETGID32 = 214
224 SYS_SETFSUID32 = 215
225 SYS_SETFSGID32 = 216
226 SYS_PIVOT_ROOT = 217
227 SYS_MINCORE = 218
228 SYS_MADVISE = 219
229 SYS_MADVISE1 = 219
230 SYS_GETDENTS64 = 220
231 SYS_FCNTL64 = 221
232 SYS_GETTID = 224
233 SYS_READAHEAD = 225
234 SYS_SETXATTR = 226
235 SYS_LSETXATTR = 227
236 SYS_FSETXATTR = 228
237 SYS_GETXATTR = 229
238 SYS_LGETXATTR = 230
239 SYS_FGETXATTR = 231
240 SYS_LISTXATTR = 232
241 SYS_LLISTXATTR = 233
242 SYS_FLISTXATTR = 234
243 SYS_REMOVEXATTR = 235
244 SYS_LREMOVEXATTR = 236
245 SYS_FREMOVEXATTR = 237
246 SYS_TKILL = 238
247 SYS_SENDFILE64 = 239
248 SYS_FUTEX = 240
249 SYS_SCHED_SETAFFINITY = 241
250 SYS_SCHED_GETAFFINITY = 242
251 SYS_SET_THREAD_AREA = 243
252 SYS_GET_THREAD_AREA = 244
253 SYS_IO_SETUP = 245
254 SYS_IO_DESTROY = 246
255 SYS_IO_GETEVENTS = 247
256 SYS_IO_SUBMIT = 248
257 SYS_IO_CANCEL = 249
258 SYS_FADVISE64 = 250
259 SYS_EXIT_GROUP = 252
260 SYS_LOOKUP_DCOOKIE = 253
261 SYS_EPOLL_CREATE = 254
262 SYS_EPOLL_CTL = 255
263 SYS_EPOLL_WAIT = 256
264 SYS_REMAP_FILE_PAGES = 257
265 SYS_SET_TID_ADDRESS = 258
266 SYS_TIMER_CREATE = 259
267 SYS_TIMER_SETTIME = 260
268 SYS_TIMER_GETTIME = 261
269 SYS_TIMER_GETOVERRUN = 262
270 SYS_TIMER_DELETE = 263
271 SYS_CLOCK_SETTIME = 264
272 SYS_CLOCK_GETTIME = 265
273 SYS_CLOCK_GETRES = 266
274 SYS_CLOCK_NANOSLEEP = 267
275 SYS_STATFS64 = 268
276 SYS_FSTATFS64 = 269
277 SYS_TGKILL = 270
278 SYS_UTIMES = 271
279 SYS_FADVISE64_64 = 272
280 SYS_VSERVER = 273
281 SYS_MBIND = 274
282 SYS_GET_MEMPOLICY = 275
283 SYS_SET_MEMPOLICY = 276
284 SYS_MQ_OPEN = 277
285 SYS_MQ_UNLINK = 278
286 SYS_MQ_TIMEDSEND = 279
287 SYS_MQ_TIMEDRECEIVE = 280
288 SYS_MQ_NOTIFY = 281
289 SYS_MQ_GETSETATTR = 282
290 SYS_KEXEC_LOAD = 283
291 SYS_WAITID = 284
292 SYS_ADD_KEY = 286
293 SYS_REQUEST_KEY = 287
294 SYS_KEYCTL = 288
295 SYS_IOPRIO_SET = 289
296 SYS_IOPRIO_GET = 290
297 SYS_INOTIFY_INIT = 291
298 SYS_INOTIFY_ADD_WATCH = 292
299 SYS_INOTIFY_RM_WATCH = 293
300 SYS_MIGRATE_PAGES = 294
301 SYS_OPENAT = 295
302 SYS_MKDIRAT = 296
303 SYS_MKNODAT = 297
304 SYS_FCHOWNAT = 298
305 SYS_FUTIMESAT = 299
306 SYS_FSTATAT64 = 300
307 SYS_UNLINKAT = 301
308 SYS_RENAMEAT = 302
309 SYS_LINKAT = 303
310 SYS_SYMLINKAT = 304
311 SYS_READLINKAT = 305
312 SYS_FCHMODAT = 306
313 SYS_FACCESSAT = 307
314 SYS_PSELECT6 = 308
315 SYS_PPOLL = 309
316 SYS_UNSHARE = 310
317 SYS_SET_ROBUST_LIST = 311
318 SYS_GET_ROBUST_LIST = 312
319 SYS_SPLICE = 313
320 SYS_SYNC_FILE_RANGE = 314
321 SYS_TEE = 315
322 SYS_VMSPLICE = 316
323 SYS_MOVE_PAGES = 317
324 SYS_GETCPU = 318
325 SYS_EPOLL_PWAIT = 319
326 SYS_UTIMENSAT = 320
327 SYS_SIGNALFD = 321
328 SYS_TIMERFD_CREATE = 322
329 SYS_EVENTFD = 323
330 SYS_FALLOCATE = 324
331 SYS_TIMERFD_SETTIME = 325
332 SYS_TIMERFD_GETTIME = 326
333 SYS_SIGNALFD4 = 327
334 SYS_EVENTFD2 = 328
335 SYS_EPOLL_CREATE1 = 329
336 SYS_DUP3 = 330
337 SYS_PIPE2 = 331
338 SYS_INOTIFY_INIT1 = 332
339 SYS_PREADV = 333
340 SYS_PWRITEV = 334
341 SYS_RT_TGSIGQUEUEINFO = 335
342 SYS_PERF_EVENT_OPEN = 336
343 SYS_RECVMMSG = 337
344 SYS_FANOTIFY_INIT = 338
345 SYS_FANOTIFY_MARK = 339
346 SYS_PRLIMIT64 = 340
347 SYS_NAME_TO_HANDLE_AT = 341
348 SYS_OPEN_BY_HANDLE_AT = 342
349 SYS_CLOCK_ADJTIME = 343
350 SYS_SYNCFS = 344
351 SYS_SENDMMSG = 345
352 SYS_SETNS = 346
353 SYS_PROCESS_VM_READV = 347
354 SYS_PROCESS_VM_WRITEV = 348
355)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_amd64.go
deleted file mode 100644
index ddac31f..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_amd64.go
+++ /dev/null
@@ -1,321 +0,0 @@
1// mksysnum_linux.pl /usr/include/asm/unistd_64.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,linux
5
6package unix
7
8const (
9 SYS_READ = 0
10 SYS_WRITE = 1
11 SYS_OPEN = 2
12 SYS_CLOSE = 3
13 SYS_STAT = 4
14 SYS_FSTAT = 5
15 SYS_LSTAT = 6
16 SYS_POLL = 7
17 SYS_LSEEK = 8
18 SYS_MMAP = 9
19 SYS_MPROTECT = 10
20 SYS_MUNMAP = 11
21 SYS_BRK = 12
22 SYS_RT_SIGACTION = 13
23 SYS_RT_SIGPROCMASK = 14
24 SYS_RT_SIGRETURN = 15
25 SYS_IOCTL = 16
26 SYS_PREAD64 = 17
27 SYS_PWRITE64 = 18
28 SYS_READV = 19
29 SYS_WRITEV = 20
30 SYS_ACCESS = 21
31 SYS_PIPE = 22
32 SYS_SELECT = 23
33 SYS_SCHED_YIELD = 24
34 SYS_MREMAP = 25
35 SYS_MSYNC = 26
36 SYS_MINCORE = 27
37 SYS_MADVISE = 28
38 SYS_SHMGET = 29
39 SYS_SHMAT = 30
40 SYS_SHMCTL = 31
41 SYS_DUP = 32
42 SYS_DUP2 = 33
43 SYS_PAUSE = 34
44 SYS_NANOSLEEP = 35
45 SYS_GETITIMER = 36
46 SYS_ALARM = 37
47 SYS_SETITIMER = 38
48 SYS_GETPID = 39
49 SYS_SENDFILE = 40
50 SYS_SOCKET = 41
51 SYS_CONNECT = 42
52 SYS_ACCEPT = 43
53 SYS_SENDTO = 44
54 SYS_RECVFROM = 45
55 SYS_SENDMSG = 46
56 SYS_RECVMSG = 47
57 SYS_SHUTDOWN = 48
58 SYS_BIND = 49
59 SYS_LISTEN = 50
60 SYS_GETSOCKNAME = 51
61 SYS_GETPEERNAME = 52
62 SYS_SOCKETPAIR = 53
63 SYS_SETSOCKOPT = 54
64 SYS_GETSOCKOPT = 55
65 SYS_CLONE = 56
66 SYS_FORK = 57
67 SYS_VFORK = 58
68 SYS_EXECVE = 59
69 SYS_EXIT = 60
70 SYS_WAIT4 = 61
71 SYS_KILL = 62
72 SYS_UNAME = 63
73 SYS_SEMGET = 64
74 SYS_SEMOP = 65
75 SYS_SEMCTL = 66
76 SYS_SHMDT = 67
77 SYS_MSGGET = 68
78 SYS_MSGSND = 69
79 SYS_MSGRCV = 70
80 SYS_MSGCTL = 71
81 SYS_FCNTL = 72
82 SYS_FLOCK = 73
83 SYS_FSYNC = 74
84 SYS_FDATASYNC = 75
85 SYS_TRUNCATE = 76
86 SYS_FTRUNCATE = 77
87 SYS_GETDENTS = 78
88 SYS_GETCWD = 79
89 SYS_CHDIR = 80
90 SYS_FCHDIR = 81
91 SYS_RENAME = 82
92 SYS_MKDIR = 83
93 SYS_RMDIR = 84
94 SYS_CREAT = 85
95 SYS_LINK = 86
96 SYS_UNLINK = 87
97 SYS_SYMLINK = 88
98 SYS_READLINK = 89
99 SYS_CHMOD = 90
100 SYS_FCHMOD = 91
101 SYS_CHOWN = 92
102 SYS_FCHOWN = 93
103 SYS_LCHOWN = 94
104 SYS_UMASK = 95
105 SYS_GETTIMEOFDAY = 96
106 SYS_GETRLIMIT = 97
107 SYS_GETRUSAGE = 98
108 SYS_SYSINFO = 99
109 SYS_TIMES = 100
110 SYS_PTRACE = 101
111 SYS_GETUID = 102
112 SYS_SYSLOG = 103
113 SYS_GETGID = 104
114 SYS_SETUID = 105
115 SYS_SETGID = 106
116 SYS_GETEUID = 107
117 SYS_GETEGID = 108
118 SYS_SETPGID = 109
119 SYS_GETPPID = 110
120 SYS_GETPGRP = 111
121 SYS_SETSID = 112
122 SYS_SETREUID = 113
123 SYS_SETREGID = 114
124 SYS_GETGROUPS = 115
125 SYS_SETGROUPS = 116
126 SYS_SETRESUID = 117
127 SYS_GETRESUID = 118
128 SYS_SETRESGID = 119
129 SYS_GETRESGID = 120
130 SYS_GETPGID = 121
131 SYS_SETFSUID = 122
132 SYS_SETFSGID = 123
133 SYS_GETSID = 124
134 SYS_CAPGET = 125
135 SYS_CAPSET = 126
136 SYS_RT_SIGPENDING = 127
137 SYS_RT_SIGTIMEDWAIT = 128
138 SYS_RT_SIGQUEUEINFO = 129
139 SYS_RT_SIGSUSPEND = 130
140 SYS_SIGALTSTACK = 131
141 SYS_UTIME = 132
142 SYS_MKNOD = 133
143 SYS_USELIB = 134
144 SYS_PERSONALITY = 135
145 SYS_USTAT = 136
146 SYS_STATFS = 137
147 SYS_FSTATFS = 138
148 SYS_SYSFS = 139
149 SYS_GETPRIORITY = 140
150 SYS_SETPRIORITY = 141
151 SYS_SCHED_SETPARAM = 142
152 SYS_SCHED_GETPARAM = 143
153 SYS_SCHED_SETSCHEDULER = 144
154 SYS_SCHED_GETSCHEDULER = 145
155 SYS_SCHED_GET_PRIORITY_MAX = 146
156 SYS_SCHED_GET_PRIORITY_MIN = 147
157 SYS_SCHED_RR_GET_INTERVAL = 148
158 SYS_MLOCK = 149
159 SYS_MUNLOCK = 150
160 SYS_MLOCKALL = 151
161 SYS_MUNLOCKALL = 152
162 SYS_VHANGUP = 153
163 SYS_MODIFY_LDT = 154
164 SYS_PIVOT_ROOT = 155
165 SYS__SYSCTL = 156
166 SYS_PRCTL = 157
167 SYS_ARCH_PRCTL = 158
168 SYS_ADJTIMEX = 159
169 SYS_SETRLIMIT = 160
170 SYS_CHROOT = 161
171 SYS_SYNC = 162
172 SYS_ACCT = 163
173 SYS_SETTIMEOFDAY = 164
174 SYS_MOUNT = 165
175 SYS_UMOUNT2 = 166
176 SYS_SWAPON = 167
177 SYS_SWAPOFF = 168
178 SYS_REBOOT = 169
179 SYS_SETHOSTNAME = 170
180 SYS_SETDOMAINNAME = 171
181 SYS_IOPL = 172
182 SYS_IOPERM = 173
183 SYS_CREATE_MODULE = 174
184 SYS_INIT_MODULE = 175
185 SYS_DELETE_MODULE = 176
186 SYS_GET_KERNEL_SYMS = 177
187 SYS_QUERY_MODULE = 178
188 SYS_QUOTACTL = 179
189 SYS_NFSSERVCTL = 180
190 SYS_GETPMSG = 181
191 SYS_PUTPMSG = 182
192 SYS_AFS_SYSCALL = 183
193 SYS_TUXCALL = 184
194 SYS_SECURITY = 185
195 SYS_GETTID = 186
196 SYS_READAHEAD = 187
197 SYS_SETXATTR = 188
198 SYS_LSETXATTR = 189
199 SYS_FSETXATTR = 190
200 SYS_GETXATTR = 191
201 SYS_LGETXATTR = 192
202 SYS_FGETXATTR = 193
203 SYS_LISTXATTR = 194
204 SYS_LLISTXATTR = 195
205 SYS_FLISTXATTR = 196
206 SYS_REMOVEXATTR = 197
207 SYS_LREMOVEXATTR = 198
208 SYS_FREMOVEXATTR = 199
209 SYS_TKILL = 200
210 SYS_TIME = 201
211 SYS_FUTEX = 202
212 SYS_SCHED_SETAFFINITY = 203
213 SYS_SCHED_GETAFFINITY = 204
214 SYS_SET_THREAD_AREA = 205
215 SYS_IO_SETUP = 206
216 SYS_IO_DESTROY = 207
217 SYS_IO_GETEVENTS = 208
218 SYS_IO_SUBMIT = 209
219 SYS_IO_CANCEL = 210
220 SYS_GET_THREAD_AREA = 211
221 SYS_LOOKUP_DCOOKIE = 212
222 SYS_EPOLL_CREATE = 213
223 SYS_EPOLL_CTL_OLD = 214
224 SYS_EPOLL_WAIT_OLD = 215
225 SYS_REMAP_FILE_PAGES = 216
226 SYS_GETDENTS64 = 217
227 SYS_SET_TID_ADDRESS = 218
228 SYS_RESTART_SYSCALL = 219
229 SYS_SEMTIMEDOP = 220
230 SYS_FADVISE64 = 221
231 SYS_TIMER_CREATE = 222
232 SYS_TIMER_SETTIME = 223
233 SYS_TIMER_GETTIME = 224
234 SYS_TIMER_GETOVERRUN = 225
235 SYS_TIMER_DELETE = 226
236 SYS_CLOCK_SETTIME = 227
237 SYS_CLOCK_GETTIME = 228
238 SYS_CLOCK_GETRES = 229
239 SYS_CLOCK_NANOSLEEP = 230
240 SYS_EXIT_GROUP = 231
241 SYS_EPOLL_WAIT = 232
242 SYS_EPOLL_CTL = 233
243 SYS_TGKILL = 234
244 SYS_UTIMES = 235
245 SYS_VSERVER = 236
246 SYS_MBIND = 237
247 SYS_SET_MEMPOLICY = 238
248 SYS_GET_MEMPOLICY = 239
249 SYS_MQ_OPEN = 240
250 SYS_MQ_UNLINK = 241
251 SYS_MQ_TIMEDSEND = 242
252 SYS_MQ_TIMEDRECEIVE = 243
253 SYS_MQ_NOTIFY = 244
254 SYS_MQ_GETSETATTR = 245
255 SYS_KEXEC_LOAD = 246
256 SYS_WAITID = 247
257 SYS_ADD_KEY = 248
258 SYS_REQUEST_KEY = 249
259 SYS_KEYCTL = 250
260 SYS_IOPRIO_SET = 251
261 SYS_IOPRIO_GET = 252
262 SYS_INOTIFY_INIT = 253
263 SYS_INOTIFY_ADD_WATCH = 254
264 SYS_INOTIFY_RM_WATCH = 255
265 SYS_MIGRATE_PAGES = 256
266 SYS_OPENAT = 257
267 SYS_MKDIRAT = 258
268 SYS_MKNODAT = 259
269 SYS_FCHOWNAT = 260
270 SYS_FUTIMESAT = 261
271 SYS_NEWFSTATAT = 262
272 SYS_UNLINKAT = 263
273 SYS_RENAMEAT = 264
274 SYS_LINKAT = 265
275 SYS_SYMLINKAT = 266
276 SYS_READLINKAT = 267
277 SYS_FCHMODAT = 268
278 SYS_FACCESSAT = 269
279 SYS_PSELECT6 = 270
280 SYS_PPOLL = 271
281 SYS_UNSHARE = 272
282 SYS_SET_ROBUST_LIST = 273
283 SYS_GET_ROBUST_LIST = 274
284 SYS_SPLICE = 275
285 SYS_TEE = 276
286 SYS_SYNC_FILE_RANGE = 277
287 SYS_VMSPLICE = 278
288 SYS_MOVE_PAGES = 279
289 SYS_UTIMENSAT = 280
290 SYS_EPOLL_PWAIT = 281
291 SYS_SIGNALFD = 282
292 SYS_TIMERFD_CREATE = 283
293 SYS_EVENTFD = 284
294 SYS_FALLOCATE = 285
295 SYS_TIMERFD_SETTIME = 286
296 SYS_TIMERFD_GETTIME = 287
297 SYS_ACCEPT4 = 288
298 SYS_SIGNALFD4 = 289
299 SYS_EVENTFD2 = 290
300 SYS_EPOLL_CREATE1 = 291
301 SYS_DUP3 = 292
302 SYS_PIPE2 = 293
303 SYS_INOTIFY_INIT1 = 294
304 SYS_PREADV = 295
305 SYS_PWRITEV = 296
306 SYS_RT_TGSIGQUEUEINFO = 297
307 SYS_PERF_EVENT_OPEN = 298
308 SYS_RECVMMSG = 299
309 SYS_FANOTIFY_INIT = 300
310 SYS_FANOTIFY_MARK = 301
311 SYS_PRLIMIT64 = 302
312 SYS_NAME_TO_HANDLE_AT = 303
313 SYS_OPEN_BY_HANDLE_AT = 304
314 SYS_CLOCK_ADJTIME = 305
315 SYS_SYNCFS = 306
316 SYS_SENDMMSG = 307
317 SYS_SETNS = 308
318 SYS_GETCPU = 309
319 SYS_PROCESS_VM_READV = 310
320 SYS_PROCESS_VM_WRITEV = 311
321)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm.go
deleted file mode 100644
index 45ced17..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm.go
+++ /dev/null
@@ -1,356 +0,0 @@
1// mksysnum_linux.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm,linux
5
6package unix
7
8const (
9 SYS_OABI_SYSCALL_BASE = 0
10 SYS_SYSCALL_BASE = 0
11 SYS_RESTART_SYSCALL = 0
12 SYS_EXIT = 1
13 SYS_FORK = 2
14 SYS_READ = 3
15 SYS_WRITE = 4
16 SYS_OPEN = 5
17 SYS_CLOSE = 6
18 SYS_CREAT = 8
19 SYS_LINK = 9
20 SYS_UNLINK = 10
21 SYS_EXECVE = 11
22 SYS_CHDIR = 12
23 SYS_TIME = 13
24 SYS_MKNOD = 14
25 SYS_CHMOD = 15
26 SYS_LCHOWN = 16
27 SYS_LSEEK = 19
28 SYS_GETPID = 20
29 SYS_MOUNT = 21
30 SYS_UMOUNT = 22
31 SYS_SETUID = 23
32 SYS_GETUID = 24
33 SYS_STIME = 25
34 SYS_PTRACE = 26
35 SYS_ALARM = 27
36 SYS_PAUSE = 29
37 SYS_UTIME = 30
38 SYS_ACCESS = 33
39 SYS_NICE = 34
40 SYS_SYNC = 36
41 SYS_KILL = 37
42 SYS_RENAME = 38
43 SYS_MKDIR = 39
44 SYS_RMDIR = 40
45 SYS_DUP = 41
46 SYS_PIPE = 42
47 SYS_TIMES = 43
48 SYS_BRK = 45
49 SYS_SETGID = 46
50 SYS_GETGID = 47
51 SYS_GETEUID = 49
52 SYS_GETEGID = 50
53 SYS_ACCT = 51
54 SYS_UMOUNT2 = 52
55 SYS_IOCTL = 54
56 SYS_FCNTL = 55
57 SYS_SETPGID = 57
58 SYS_UMASK = 60
59 SYS_CHROOT = 61
60 SYS_USTAT = 62
61 SYS_DUP2 = 63
62 SYS_GETPPID = 64
63 SYS_GETPGRP = 65
64 SYS_SETSID = 66
65 SYS_SIGACTION = 67
66 SYS_SETREUID = 70
67 SYS_SETREGID = 71
68 SYS_SIGSUSPEND = 72
69 SYS_SIGPENDING = 73
70 SYS_SETHOSTNAME = 74
71 SYS_SETRLIMIT = 75
72 SYS_GETRLIMIT = 76
73 SYS_GETRUSAGE = 77
74 SYS_GETTIMEOFDAY = 78
75 SYS_SETTIMEOFDAY = 79
76 SYS_GETGROUPS = 80
77 SYS_SETGROUPS = 81
78 SYS_SELECT = 82
79 SYS_SYMLINK = 83
80 SYS_READLINK = 85
81 SYS_USELIB = 86
82 SYS_SWAPON = 87
83 SYS_REBOOT = 88
84 SYS_READDIR = 89
85 SYS_MMAP = 90
86 SYS_MUNMAP = 91
87 SYS_TRUNCATE = 92
88 SYS_FTRUNCATE = 93
89 SYS_FCHMOD = 94
90 SYS_FCHOWN = 95
91 SYS_GETPRIORITY = 96
92 SYS_SETPRIORITY = 97
93 SYS_STATFS = 99
94 SYS_FSTATFS = 100
95 SYS_SOCKETCALL = 102
96 SYS_SYSLOG = 103
97 SYS_SETITIMER = 104
98 SYS_GETITIMER = 105
99 SYS_STAT = 106
100 SYS_LSTAT = 107
101 SYS_FSTAT = 108
102 SYS_VHANGUP = 111
103 SYS_SYSCALL = 113
104 SYS_WAIT4 = 114
105 SYS_SWAPOFF = 115
106 SYS_SYSINFO = 116
107 SYS_IPC = 117
108 SYS_FSYNC = 118
109 SYS_SIGRETURN = 119
110 SYS_CLONE = 120
111 SYS_SETDOMAINNAME = 121
112 SYS_UNAME = 122
113 SYS_ADJTIMEX = 124
114 SYS_MPROTECT = 125
115 SYS_SIGPROCMASK = 126
116 SYS_INIT_MODULE = 128
117 SYS_DELETE_MODULE = 129
118 SYS_QUOTACTL = 131
119 SYS_GETPGID = 132
120 SYS_FCHDIR = 133
121 SYS_BDFLUSH = 134
122 SYS_SYSFS = 135
123 SYS_PERSONALITY = 136
124 SYS_SETFSUID = 138
125 SYS_SETFSGID = 139
126 SYS__LLSEEK = 140
127 SYS_GETDENTS = 141
128 SYS__NEWSELECT = 142
129 SYS_FLOCK = 143
130 SYS_MSYNC = 144
131 SYS_READV = 145
132 SYS_WRITEV = 146
133 SYS_GETSID = 147
134 SYS_FDATASYNC = 148
135 SYS__SYSCTL = 149
136 SYS_MLOCK = 150
137 SYS_MUNLOCK = 151
138 SYS_MLOCKALL = 152
139 SYS_MUNLOCKALL = 153
140 SYS_SCHED_SETPARAM = 154
141 SYS_SCHED_GETPARAM = 155
142 SYS_SCHED_SETSCHEDULER = 156
143 SYS_SCHED_GETSCHEDULER = 157
144 SYS_SCHED_YIELD = 158
145 SYS_SCHED_GET_PRIORITY_MAX = 159
146 SYS_SCHED_GET_PRIORITY_MIN = 160
147 SYS_SCHED_RR_GET_INTERVAL = 161
148 SYS_NANOSLEEP = 162
149 SYS_MREMAP = 163
150 SYS_SETRESUID = 164
151 SYS_GETRESUID = 165
152 SYS_POLL = 168
153 SYS_NFSSERVCTL = 169
154 SYS_SETRESGID = 170
155 SYS_GETRESGID = 171
156 SYS_PRCTL = 172
157 SYS_RT_SIGRETURN = 173
158 SYS_RT_SIGACTION = 174
159 SYS_RT_SIGPROCMASK = 175
160 SYS_RT_SIGPENDING = 176
161 SYS_RT_SIGTIMEDWAIT = 177
162 SYS_RT_SIGQUEUEINFO = 178
163 SYS_RT_SIGSUSPEND = 179
164 SYS_PREAD64 = 180
165 SYS_PWRITE64 = 181
166 SYS_CHOWN = 182
167 SYS_GETCWD = 183
168 SYS_CAPGET = 184
169 SYS_CAPSET = 185
170 SYS_SIGALTSTACK = 186
171 SYS_SENDFILE = 187
172 SYS_VFORK = 190
173 SYS_UGETRLIMIT = 191
174 SYS_MMAP2 = 192
175 SYS_TRUNCATE64 = 193
176 SYS_FTRUNCATE64 = 194
177 SYS_STAT64 = 195
178 SYS_LSTAT64 = 196
179 SYS_FSTAT64 = 197
180 SYS_LCHOWN32 = 198
181 SYS_GETUID32 = 199
182 SYS_GETGID32 = 200
183 SYS_GETEUID32 = 201
184 SYS_GETEGID32 = 202
185 SYS_SETREUID32 = 203
186 SYS_SETREGID32 = 204
187 SYS_GETGROUPS32 = 205
188 SYS_SETGROUPS32 = 206
189 SYS_FCHOWN32 = 207
190 SYS_SETRESUID32 = 208
191 SYS_GETRESUID32 = 209
192 SYS_SETRESGID32 = 210
193 SYS_GETRESGID32 = 211
194 SYS_CHOWN32 = 212
195 SYS_SETUID32 = 213
196 SYS_SETGID32 = 214
197 SYS_SETFSUID32 = 215
198 SYS_SETFSGID32 = 216
199 SYS_GETDENTS64 = 217
200 SYS_PIVOT_ROOT = 218
201 SYS_MINCORE = 219
202 SYS_MADVISE = 220
203 SYS_FCNTL64 = 221
204 SYS_GETTID = 224
205 SYS_READAHEAD = 225
206 SYS_SETXATTR = 226
207 SYS_LSETXATTR = 227
208 SYS_FSETXATTR = 228
209 SYS_GETXATTR = 229
210 SYS_LGETXATTR = 230
211 SYS_FGETXATTR = 231
212 SYS_LISTXATTR = 232
213 SYS_LLISTXATTR = 233
214 SYS_FLISTXATTR = 234
215 SYS_REMOVEXATTR = 235
216 SYS_LREMOVEXATTR = 236
217 SYS_FREMOVEXATTR = 237
218 SYS_TKILL = 238
219 SYS_SENDFILE64 = 239
220 SYS_FUTEX = 240
221 SYS_SCHED_SETAFFINITY = 241
222 SYS_SCHED_GETAFFINITY = 242
223 SYS_IO_SETUP = 243
224 SYS_IO_DESTROY = 244
225 SYS_IO_GETEVENTS = 245
226 SYS_IO_SUBMIT = 246
227 SYS_IO_CANCEL = 247
228 SYS_EXIT_GROUP = 248
229 SYS_LOOKUP_DCOOKIE = 249
230 SYS_EPOLL_CREATE = 250
231 SYS_EPOLL_CTL = 251
232 SYS_EPOLL_WAIT = 252
233 SYS_REMAP_FILE_PAGES = 253
234 SYS_SET_TID_ADDRESS = 256
235 SYS_TIMER_CREATE = 257
236 SYS_TIMER_SETTIME = 258
237 SYS_TIMER_GETTIME = 259
238 SYS_TIMER_GETOVERRUN = 260
239 SYS_TIMER_DELETE = 261
240 SYS_CLOCK_SETTIME = 262
241 SYS_CLOCK_GETTIME = 263
242 SYS_CLOCK_GETRES = 264
243 SYS_CLOCK_NANOSLEEP = 265
244 SYS_STATFS64 = 266
245 SYS_FSTATFS64 = 267
246 SYS_TGKILL = 268
247 SYS_UTIMES = 269
248 SYS_ARM_FADVISE64_64 = 270
249 SYS_PCICONFIG_IOBASE = 271
250 SYS_PCICONFIG_READ = 272
251 SYS_PCICONFIG_WRITE = 273
252 SYS_MQ_OPEN = 274
253 SYS_MQ_UNLINK = 275
254 SYS_MQ_TIMEDSEND = 276
255 SYS_MQ_TIMEDRECEIVE = 277
256 SYS_MQ_NOTIFY = 278
257 SYS_MQ_GETSETATTR = 279
258 SYS_WAITID = 280
259 SYS_SOCKET = 281
260 SYS_BIND = 282
261 SYS_CONNECT = 283
262 SYS_LISTEN = 284
263 SYS_ACCEPT = 285
264 SYS_GETSOCKNAME = 286
265 SYS_GETPEERNAME = 287
266 SYS_SOCKETPAIR = 288
267 SYS_SEND = 289
268 SYS_SENDTO = 290
269 SYS_RECV = 291
270 SYS_RECVFROM = 292
271 SYS_SHUTDOWN = 293
272 SYS_SETSOCKOPT = 294
273 SYS_GETSOCKOPT = 295
274 SYS_SENDMSG = 296
275 SYS_RECVMSG = 297
276 SYS_SEMOP = 298
277 SYS_SEMGET = 299
278 SYS_SEMCTL = 300
279 SYS_MSGSND = 301
280 SYS_MSGRCV = 302
281 SYS_MSGGET = 303
282 SYS_MSGCTL = 304
283 SYS_SHMAT = 305
284 SYS_SHMDT = 306
285 SYS_SHMGET = 307
286 SYS_SHMCTL = 308
287 SYS_ADD_KEY = 309
288 SYS_REQUEST_KEY = 310
289 SYS_KEYCTL = 311
290 SYS_SEMTIMEDOP = 312
291 SYS_VSERVER = 313
292 SYS_IOPRIO_SET = 314
293 SYS_IOPRIO_GET = 315
294 SYS_INOTIFY_INIT = 316
295 SYS_INOTIFY_ADD_WATCH = 317
296 SYS_INOTIFY_RM_WATCH = 318
297 SYS_MBIND = 319
298 SYS_GET_MEMPOLICY = 320
299 SYS_SET_MEMPOLICY = 321
300 SYS_OPENAT = 322
301 SYS_MKDIRAT = 323
302 SYS_MKNODAT = 324
303 SYS_FCHOWNAT = 325
304 SYS_FUTIMESAT = 326
305 SYS_FSTATAT64 = 327
306 SYS_UNLINKAT = 328
307 SYS_RENAMEAT = 329
308 SYS_LINKAT = 330
309 SYS_SYMLINKAT = 331
310 SYS_READLINKAT = 332
311 SYS_FCHMODAT = 333
312 SYS_FACCESSAT = 334
313 SYS_PSELECT6 = 335
314 SYS_PPOLL = 336
315 SYS_UNSHARE = 337
316 SYS_SET_ROBUST_LIST = 338
317 SYS_GET_ROBUST_LIST = 339
318 SYS_SPLICE = 340
319 SYS_ARM_SYNC_FILE_RANGE = 341
320 SYS_TEE = 342
321 SYS_VMSPLICE = 343
322 SYS_MOVE_PAGES = 344
323 SYS_GETCPU = 345
324 SYS_EPOLL_PWAIT = 346
325 SYS_KEXEC_LOAD = 347
326 SYS_UTIMENSAT = 348
327 SYS_SIGNALFD = 349
328 SYS_TIMERFD_CREATE = 350
329 SYS_EVENTFD = 351
330 SYS_FALLOCATE = 352
331 SYS_TIMERFD_SETTIME = 353
332 SYS_TIMERFD_GETTIME = 354
333 SYS_SIGNALFD4 = 355
334 SYS_EVENTFD2 = 356
335 SYS_EPOLL_CREATE1 = 357
336 SYS_DUP3 = 358
337 SYS_PIPE2 = 359
338 SYS_INOTIFY_INIT1 = 360
339 SYS_PREADV = 361
340 SYS_PWRITEV = 362
341 SYS_RT_TGSIGQUEUEINFO = 363
342 SYS_PERF_EVENT_OPEN = 364
343 SYS_RECVMMSG = 365
344 SYS_ACCEPT4 = 366
345 SYS_FANOTIFY_INIT = 367
346 SYS_FANOTIFY_MARK = 368
347 SYS_PRLIMIT64 = 369
348 SYS_NAME_TO_HANDLE_AT = 370
349 SYS_OPEN_BY_HANDLE_AT = 371
350 SYS_CLOCK_ADJTIME = 372
351 SYS_SYNCFS = 373
352 SYS_SENDMMSG = 374
353 SYS_SETNS = 375
354 SYS_PROCESS_VM_READV = 376
355 SYS_PROCESS_VM_WRITEV = 377
356)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm64.go
deleted file mode 100644
index 2e9514f..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_arm64.go
+++ /dev/null
@@ -1,272 +0,0 @@
1// mksysnum_linux.pl /usr/include/asm-generic/unistd.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm64,linux
5
6package unix
7
8const (
9 SYS_IO_SETUP = 0
10 SYS_IO_DESTROY = 1
11 SYS_IO_SUBMIT = 2
12 SYS_IO_CANCEL = 3
13 SYS_IO_GETEVENTS = 4
14 SYS_SETXATTR = 5
15 SYS_LSETXATTR = 6
16 SYS_FSETXATTR = 7
17 SYS_GETXATTR = 8
18 SYS_LGETXATTR = 9
19 SYS_FGETXATTR = 10
20 SYS_LISTXATTR = 11
21 SYS_LLISTXATTR = 12
22 SYS_FLISTXATTR = 13
23 SYS_REMOVEXATTR = 14
24 SYS_LREMOVEXATTR = 15
25 SYS_FREMOVEXATTR = 16
26 SYS_GETCWD = 17
27 SYS_LOOKUP_DCOOKIE = 18
28 SYS_EVENTFD2 = 19
29 SYS_EPOLL_CREATE1 = 20
30 SYS_EPOLL_CTL = 21
31 SYS_EPOLL_PWAIT = 22
32 SYS_DUP = 23
33 SYS_DUP3 = 24
34 SYS_FCNTL = 25
35 SYS_INOTIFY_INIT1 = 26
36 SYS_INOTIFY_ADD_WATCH = 27
37 SYS_INOTIFY_RM_WATCH = 28
38 SYS_IOCTL = 29
39 SYS_IOPRIO_SET = 30
40 SYS_IOPRIO_GET = 31
41 SYS_FLOCK = 32
42 SYS_MKNODAT = 33
43 SYS_MKDIRAT = 34
44 SYS_UNLINKAT = 35
45 SYS_SYMLINKAT = 36
46 SYS_LINKAT = 37
47 SYS_RENAMEAT = 38
48 SYS_UMOUNT2 = 39
49 SYS_MOUNT = 40
50 SYS_PIVOT_ROOT = 41
51 SYS_NFSSERVCTL = 42
52 SYS_STATFS = 43
53 SYS_FSTATFS = 44
54 SYS_TRUNCATE = 45
55 SYS_FTRUNCATE = 46
56 SYS_FALLOCATE = 47
57 SYS_FACCESSAT = 48
58 SYS_CHDIR = 49
59 SYS_FCHDIR = 50
60 SYS_CHROOT = 51
61 SYS_FCHMOD = 52
62 SYS_FCHMODAT = 53
63 SYS_FCHOWNAT = 54
64 SYS_FCHOWN = 55
65 SYS_OPENAT = 56
66 SYS_CLOSE = 57
67 SYS_VHANGUP = 58
68 SYS_PIPE2 = 59
69 SYS_QUOTACTL = 60
70 SYS_GETDENTS64 = 61
71 SYS_LSEEK = 62
72 SYS_READ = 63
73 SYS_WRITE = 64
74 SYS_READV = 65
75 SYS_WRITEV = 66
76 SYS_PREAD64 = 67
77 SYS_PWRITE64 = 68
78 SYS_PREADV = 69
79 SYS_PWRITEV = 70
80 SYS_SENDFILE = 71
81 SYS_PSELECT6 = 72
82 SYS_PPOLL = 73
83 SYS_SIGNALFD4 = 74
84 SYS_VMSPLICE = 75
85 SYS_SPLICE = 76
86 SYS_TEE = 77
87 SYS_READLINKAT = 78
88 SYS_FSTATAT = 79
89 SYS_FSTAT = 80
90 SYS_SYNC = 81
91 SYS_FSYNC = 82
92 SYS_FDATASYNC = 83
93 SYS_SYNC_FILE_RANGE = 84
94 SYS_TIMERFD_CREATE = 85
95 SYS_TIMERFD_SETTIME = 86
96 SYS_TIMERFD_GETTIME = 87
97 SYS_UTIMENSAT = 88
98 SYS_ACCT = 89
99 SYS_CAPGET = 90
100 SYS_CAPSET = 91
101 SYS_PERSONALITY = 92
102 SYS_EXIT = 93
103 SYS_EXIT_GROUP = 94
104 SYS_WAITID = 95
105 SYS_SET_TID_ADDRESS = 96
106 SYS_UNSHARE = 97
107 SYS_FUTEX = 98
108 SYS_SET_ROBUST_LIST = 99
109 SYS_GET_ROBUST_LIST = 100
110 SYS_NANOSLEEP = 101
111 SYS_GETITIMER = 102
112 SYS_SETITIMER = 103
113 SYS_KEXEC_LOAD = 104
114 SYS_INIT_MODULE = 105
115 SYS_DELETE_MODULE = 106
116 SYS_TIMER_CREATE = 107
117 SYS_TIMER_GETTIME = 108
118 SYS_TIMER_GETOVERRUN = 109
119 SYS_TIMER_SETTIME = 110
120 SYS_TIMER_DELETE = 111
121 SYS_CLOCK_SETTIME = 112
122 SYS_CLOCK_GETTIME = 113
123 SYS_CLOCK_GETRES = 114
124 SYS_CLOCK_NANOSLEEP = 115
125 SYS_SYSLOG = 116
126 SYS_PTRACE = 117
127 SYS_SCHED_SETPARAM = 118
128 SYS_SCHED_SETSCHEDULER = 119
129 SYS_SCHED_GETSCHEDULER = 120
130 SYS_SCHED_GETPARAM = 121
131 SYS_SCHED_SETAFFINITY = 122
132 SYS_SCHED_GETAFFINITY = 123
133 SYS_SCHED_YIELD = 124
134 SYS_SCHED_GET_PRIORITY_MAX = 125
135 SYS_SCHED_GET_PRIORITY_MIN = 126
136 SYS_SCHED_RR_GET_INTERVAL = 127
137 SYS_RESTART_SYSCALL = 128
138 SYS_KILL = 129
139 SYS_TKILL = 130
140 SYS_TGKILL = 131
141 SYS_SIGALTSTACK = 132
142 SYS_RT_SIGSUSPEND = 133
143 SYS_RT_SIGACTION = 134
144 SYS_RT_SIGPROCMASK = 135
145 SYS_RT_SIGPENDING = 136
146 SYS_RT_SIGTIMEDWAIT = 137
147 SYS_RT_SIGQUEUEINFO = 138
148 SYS_RT_SIGRETURN = 139
149 SYS_SETPRIORITY = 140
150 SYS_GETPRIORITY = 141
151 SYS_REBOOT = 142
152 SYS_SETREGID = 143
153 SYS_SETGID = 144
154 SYS_SETREUID = 145
155 SYS_SETUID = 146
156 SYS_SETRESUID = 147
157 SYS_GETRESUID = 148
158 SYS_SETRESGID = 149
159 SYS_GETRESGID = 150
160 SYS_SETFSUID = 151
161 SYS_SETFSGID = 152
162 SYS_TIMES = 153
163 SYS_SETPGID = 154
164 SYS_GETPGID = 155
165 SYS_GETSID = 156
166 SYS_SETSID = 157
167 SYS_GETGROUPS = 158
168 SYS_SETGROUPS = 159
169 SYS_UNAME = 160
170 SYS_SETHOSTNAME = 161
171 SYS_SETDOMAINNAME = 162
172 SYS_GETRLIMIT = 163
173 SYS_SETRLIMIT = 164
174 SYS_GETRUSAGE = 165
175 SYS_UMASK = 166
176 SYS_PRCTL = 167
177 SYS_GETCPU = 168
178 SYS_GETTIMEOFDAY = 169
179 SYS_SETTIMEOFDAY = 170
180 SYS_ADJTIMEX = 171
181 SYS_GETPID = 172
182 SYS_GETPPID = 173
183 SYS_GETUID = 174
184 SYS_GETEUID = 175
185 SYS_GETGID = 176
186 SYS_GETEGID = 177
187 SYS_GETTID = 178
188 SYS_SYSINFO = 179
189 SYS_MQ_OPEN = 180
190 SYS_MQ_UNLINK = 181
191 SYS_MQ_TIMEDSEND = 182
192 SYS_MQ_TIMEDRECEIVE = 183
193 SYS_MQ_NOTIFY = 184
194 SYS_MQ_GETSETATTR = 185
195 SYS_MSGGET = 186
196 SYS_MSGCTL = 187
197 SYS_MSGRCV = 188
198 SYS_MSGSND = 189
199 SYS_SEMGET = 190
200 SYS_SEMCTL = 191
201 SYS_SEMTIMEDOP = 192
202 SYS_SEMOP = 193
203 SYS_SHMGET = 194
204 SYS_SHMCTL = 195
205 SYS_SHMAT = 196
206 SYS_SHMDT = 197
207 SYS_SOCKET = 198
208 SYS_SOCKETPAIR = 199
209 SYS_BIND = 200
210 SYS_LISTEN = 201
211 SYS_ACCEPT = 202
212 SYS_CONNECT = 203
213 SYS_GETSOCKNAME = 204
214 SYS_GETPEERNAME = 205
215 SYS_SENDTO = 206
216 SYS_RECVFROM = 207
217 SYS_SETSOCKOPT = 208
218 SYS_GETSOCKOPT = 209
219 SYS_SHUTDOWN = 210
220 SYS_SENDMSG = 211
221 SYS_RECVMSG = 212
222 SYS_READAHEAD = 213
223 SYS_BRK = 214
224 SYS_MUNMAP = 215
225 SYS_MREMAP = 216
226 SYS_ADD_KEY = 217
227 SYS_REQUEST_KEY = 218
228 SYS_KEYCTL = 219
229 SYS_CLONE = 220
230 SYS_EXECVE = 221
231 SYS_MMAP = 222
232 SYS_FADVISE64 = 223
233 SYS_SWAPON = 224
234 SYS_SWAPOFF = 225
235 SYS_MPROTECT = 226
236 SYS_MSYNC = 227
237 SYS_MLOCK = 228
238 SYS_MUNLOCK = 229
239 SYS_MLOCKALL = 230
240 SYS_MUNLOCKALL = 231
241 SYS_MINCORE = 232
242 SYS_MADVISE = 233
243 SYS_REMAP_FILE_PAGES = 234
244 SYS_MBIND = 235
245 SYS_GET_MEMPOLICY = 236
246 SYS_SET_MEMPOLICY = 237
247 SYS_MIGRATE_PAGES = 238
248 SYS_MOVE_PAGES = 239
249 SYS_RT_TGSIGQUEUEINFO = 240
250 SYS_PERF_EVENT_OPEN = 241
251 SYS_ACCEPT4 = 242
252 SYS_RECVMMSG = 243
253 SYS_ARCH_SPECIFIC_SYSCALL = 244
254 SYS_WAIT4 = 260
255 SYS_PRLIMIT64 = 261
256 SYS_FANOTIFY_INIT = 262
257 SYS_FANOTIFY_MARK = 263
258 SYS_NAME_TO_HANDLE_AT = 264
259 SYS_OPEN_BY_HANDLE_AT = 265
260 SYS_CLOCK_ADJTIME = 266
261 SYS_SYNCFS = 267
262 SYS_SETNS = 268
263 SYS_SENDMMSG = 269
264 SYS_PROCESS_VM_READV = 270
265 SYS_PROCESS_VM_WRITEV = 271
266 SYS_KCMP = 272
267 SYS_FINIT_MODULE = 273
268 SYS_SCHED_SETATTR = 274
269 SYS_SCHED_GETATTR = 275
270 SYS_RENAMEAT2 = 276
271 SYS_SECCOMP = 277
272)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
deleted file mode 100644
index e1b08f0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
+++ /dev/null
@@ -1,360 +0,0 @@
1// mksysnum_linux.pl /usr/include/asm/unistd.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build ppc64,linux
5
6package unix
7
8const (
9 SYS_RESTART_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAITPID = 7
17 SYS_CREAT = 8
18 SYS_LINK = 9
19 SYS_UNLINK = 10
20 SYS_EXECVE = 11
21 SYS_CHDIR = 12
22 SYS_TIME = 13
23 SYS_MKNOD = 14
24 SYS_CHMOD = 15
25 SYS_LCHOWN = 16
26 SYS_BREAK = 17
27 SYS_OLDSTAT = 18
28 SYS_LSEEK = 19
29 SYS_GETPID = 20
30 SYS_MOUNT = 21
31 SYS_UMOUNT = 22
32 SYS_SETUID = 23
33 SYS_GETUID = 24
34 SYS_STIME = 25
35 SYS_PTRACE = 26
36 SYS_ALARM = 27
37 SYS_OLDFSTAT = 28
38 SYS_PAUSE = 29
39 SYS_UTIME = 30
40 SYS_STTY = 31
41 SYS_GTTY = 32
42 SYS_ACCESS = 33
43 SYS_NICE = 34
44 SYS_FTIME = 35
45 SYS_SYNC = 36
46 SYS_KILL = 37
47 SYS_RENAME = 38
48 SYS_MKDIR = 39
49 SYS_RMDIR = 40
50 SYS_DUP = 41
51 SYS_PIPE = 42
52 SYS_TIMES = 43
53 SYS_PROF = 44
54 SYS_BRK = 45
55 SYS_SETGID = 46
56 SYS_GETGID = 47
57 SYS_SIGNAL = 48
58 SYS_GETEUID = 49
59 SYS_GETEGID = 50
60 SYS_ACCT = 51
61 SYS_UMOUNT2 = 52
62 SYS_LOCK = 53
63 SYS_IOCTL = 54
64 SYS_FCNTL = 55
65 SYS_MPX = 56
66 SYS_SETPGID = 57
67 SYS_ULIMIT = 58
68 SYS_OLDOLDUNAME = 59
69 SYS_UMASK = 60
70 SYS_CHROOT = 61
71 SYS_USTAT = 62
72 SYS_DUP2 = 63
73 SYS_GETPPID = 64
74 SYS_GETPGRP = 65
75 SYS_SETSID = 66
76 SYS_SIGACTION = 67
77 SYS_SGETMASK = 68
78 SYS_SSETMASK = 69
79 SYS_SETREUID = 70
80 SYS_SETREGID = 71
81 SYS_SIGSUSPEND = 72
82 SYS_SIGPENDING = 73
83 SYS_SETHOSTNAME = 74
84 SYS_SETRLIMIT = 75
85 SYS_GETRLIMIT = 76
86 SYS_GETRUSAGE = 77
87 SYS_GETTIMEOFDAY = 78
88 SYS_SETTIMEOFDAY = 79
89 SYS_GETGROUPS = 80
90 SYS_SETGROUPS = 81
91 SYS_SELECT = 82
92 SYS_SYMLINK = 83
93 SYS_OLDLSTAT = 84
94 SYS_READLINK = 85
95 SYS_USELIB = 86
96 SYS_SWAPON = 87
97 SYS_REBOOT = 88
98 SYS_READDIR = 89
99 SYS_MMAP = 90
100 SYS_MUNMAP = 91
101 SYS_TRUNCATE = 92
102 SYS_FTRUNCATE = 93
103 SYS_FCHMOD = 94
104 SYS_FCHOWN = 95
105 SYS_GETPRIORITY = 96
106 SYS_SETPRIORITY = 97
107 SYS_PROFIL = 98
108 SYS_STATFS = 99
109 SYS_FSTATFS = 100
110 SYS_IOPERM = 101
111 SYS_SOCKETCALL = 102
112 SYS_SYSLOG = 103
113 SYS_SETITIMER = 104
114 SYS_GETITIMER = 105
115 SYS_STAT = 106
116 SYS_LSTAT = 107
117 SYS_FSTAT = 108
118 SYS_OLDUNAME = 109
119 SYS_IOPL = 110
120 SYS_VHANGUP = 111
121 SYS_IDLE = 112
122 SYS_VM86 = 113
123 SYS_WAIT4 = 114
124 SYS_SWAPOFF = 115
125 SYS_SYSINFO = 116
126 SYS_IPC = 117
127 SYS_FSYNC = 118
128 SYS_SIGRETURN = 119
129 SYS_CLONE = 120
130 SYS_SETDOMAINNAME = 121
131 SYS_UNAME = 122
132 SYS_MODIFY_LDT = 123
133 SYS_ADJTIMEX = 124
134 SYS_MPROTECT = 125
135 SYS_SIGPROCMASK = 126
136 SYS_CREATE_MODULE = 127
137 SYS_INIT_MODULE = 128
138 SYS_DELETE_MODULE = 129
139 SYS_GET_KERNEL_SYMS = 130
140 SYS_QUOTACTL = 131
141 SYS_GETPGID = 132
142 SYS_FCHDIR = 133
143 SYS_BDFLUSH = 134
144 SYS_SYSFS = 135
145 SYS_PERSONALITY = 136
146 SYS_AFS_SYSCALL = 137
147 SYS_SETFSUID = 138
148 SYS_SETFSGID = 139
149 SYS__LLSEEK = 140
150 SYS_GETDENTS = 141
151 SYS__NEWSELECT = 142
152 SYS_FLOCK = 143
153 SYS_MSYNC = 144
154 SYS_READV = 145
155 SYS_WRITEV = 146
156 SYS_GETSID = 147
157 SYS_FDATASYNC = 148
158 SYS__SYSCTL = 149
159 SYS_MLOCK = 150
160 SYS_MUNLOCK = 151
161 SYS_MLOCKALL = 152
162 SYS_MUNLOCKALL = 153
163 SYS_SCHED_SETPARAM = 154
164 SYS_SCHED_GETPARAM = 155
165 SYS_SCHED_SETSCHEDULER = 156
166 SYS_SCHED_GETSCHEDULER = 157
167 SYS_SCHED_YIELD = 158
168 SYS_SCHED_GET_PRIORITY_MAX = 159
169 SYS_SCHED_GET_PRIORITY_MIN = 160
170 SYS_SCHED_RR_GET_INTERVAL = 161
171 SYS_NANOSLEEP = 162
172 SYS_MREMAP = 163
173 SYS_SETRESUID = 164
174 SYS_GETRESUID = 165
175 SYS_QUERY_MODULE = 166
176 SYS_POLL = 167
177 SYS_NFSSERVCTL = 168
178 SYS_SETRESGID = 169
179 SYS_GETRESGID = 170
180 SYS_PRCTL = 171
181 SYS_RT_SIGRETURN = 172
182 SYS_RT_SIGACTION = 173
183 SYS_RT_SIGPROCMASK = 174
184 SYS_RT_SIGPENDING = 175
185 SYS_RT_SIGTIMEDWAIT = 176
186 SYS_RT_SIGQUEUEINFO = 177
187 SYS_RT_SIGSUSPEND = 178
188 SYS_PREAD64 = 179
189 SYS_PWRITE64 = 180
190 SYS_CHOWN = 181
191 SYS_GETCWD = 182
192 SYS_CAPGET = 183
193 SYS_CAPSET = 184
194 SYS_SIGALTSTACK = 185
195 SYS_SENDFILE = 186
196 SYS_GETPMSG = 187
197 SYS_PUTPMSG = 188
198 SYS_VFORK = 189
199 SYS_UGETRLIMIT = 190
200 SYS_READAHEAD = 191
201 SYS_PCICONFIG_READ = 198
202 SYS_PCICONFIG_WRITE = 199
203 SYS_PCICONFIG_IOBASE = 200
204 SYS_MULTIPLEXER = 201
205 SYS_GETDENTS64 = 202
206 SYS_PIVOT_ROOT = 203
207 SYS_MADVISE = 205
208 SYS_MINCORE = 206
209 SYS_GETTID = 207
210 SYS_TKILL = 208
211 SYS_SETXATTR = 209
212 SYS_LSETXATTR = 210
213 SYS_FSETXATTR = 211
214 SYS_GETXATTR = 212
215 SYS_LGETXATTR = 213
216 SYS_FGETXATTR = 214
217 SYS_LISTXATTR = 215
218 SYS_LLISTXATTR = 216
219 SYS_FLISTXATTR = 217
220 SYS_REMOVEXATTR = 218
221 SYS_LREMOVEXATTR = 219
222 SYS_FREMOVEXATTR = 220
223 SYS_FUTEX = 221
224 SYS_SCHED_SETAFFINITY = 222
225 SYS_SCHED_GETAFFINITY = 223
226 SYS_TUXCALL = 225
227 SYS_IO_SETUP = 227
228 SYS_IO_DESTROY = 228
229 SYS_IO_GETEVENTS = 229
230 SYS_IO_SUBMIT = 230
231 SYS_IO_CANCEL = 231
232 SYS_SET_TID_ADDRESS = 232
233 SYS_FADVISE64 = 233
234 SYS_EXIT_GROUP = 234
235 SYS_LOOKUP_DCOOKIE = 235
236 SYS_EPOLL_CREATE = 236
237 SYS_EPOLL_CTL = 237
238 SYS_EPOLL_WAIT = 238
239 SYS_REMAP_FILE_PAGES = 239
240 SYS_TIMER_CREATE = 240
241 SYS_TIMER_SETTIME = 241
242 SYS_TIMER_GETTIME = 242
243 SYS_TIMER_GETOVERRUN = 243
244 SYS_TIMER_DELETE = 244
245 SYS_CLOCK_SETTIME = 245
246 SYS_CLOCK_GETTIME = 246
247 SYS_CLOCK_GETRES = 247
248 SYS_CLOCK_NANOSLEEP = 248
249 SYS_SWAPCONTEXT = 249
250 SYS_TGKILL = 250
251 SYS_UTIMES = 251
252 SYS_STATFS64 = 252
253 SYS_FSTATFS64 = 253
254 SYS_RTAS = 255
255 SYS_SYS_DEBUG_SETCONTEXT = 256
256 SYS_MIGRATE_PAGES = 258
257 SYS_MBIND = 259
258 SYS_GET_MEMPOLICY = 260
259 SYS_SET_MEMPOLICY = 261
260 SYS_MQ_OPEN = 262
261 SYS_MQ_UNLINK = 263
262 SYS_MQ_TIMEDSEND = 264
263 SYS_MQ_TIMEDRECEIVE = 265
264 SYS_MQ_NOTIFY = 266
265 SYS_MQ_GETSETATTR = 267
266 SYS_KEXEC_LOAD = 268
267 SYS_ADD_KEY = 269
268 SYS_REQUEST_KEY = 270
269 SYS_KEYCTL = 271
270 SYS_WAITID = 272
271 SYS_IOPRIO_SET = 273
272 SYS_IOPRIO_GET = 274
273 SYS_INOTIFY_INIT = 275
274 SYS_INOTIFY_ADD_WATCH = 276
275 SYS_INOTIFY_RM_WATCH = 277
276 SYS_SPU_RUN = 278
277 SYS_SPU_CREATE = 279
278 SYS_PSELECT6 = 280
279 SYS_PPOLL = 281
280 SYS_UNSHARE = 282
281 SYS_SPLICE = 283
282 SYS_TEE = 284
283 SYS_VMSPLICE = 285
284 SYS_OPENAT = 286
285 SYS_MKDIRAT = 287
286 SYS_MKNODAT = 288
287 SYS_FCHOWNAT = 289
288 SYS_FUTIMESAT = 290
289 SYS_NEWFSTATAT = 291
290 SYS_UNLINKAT = 292
291 SYS_RENAMEAT = 293
292 SYS_LINKAT = 294
293 SYS_SYMLINKAT = 295
294 SYS_READLINKAT = 296
295 SYS_FCHMODAT = 297
296 SYS_FACCESSAT = 298
297 SYS_GET_ROBUST_LIST = 299
298 SYS_SET_ROBUST_LIST = 300
299 SYS_MOVE_PAGES = 301
300 SYS_GETCPU = 302
301 SYS_EPOLL_PWAIT = 303
302 SYS_UTIMENSAT = 304
303 SYS_SIGNALFD = 305
304 SYS_TIMERFD_CREATE = 306
305 SYS_EVENTFD = 307
306 SYS_SYNC_FILE_RANGE2 = 308
307 SYS_FALLOCATE = 309
308 SYS_SUBPAGE_PROT = 310
309 SYS_TIMERFD_SETTIME = 311
310 SYS_TIMERFD_GETTIME = 312
311 SYS_SIGNALFD4 = 313
312 SYS_EVENTFD2 = 314
313 SYS_EPOLL_CREATE1 = 315
314 SYS_DUP3 = 316
315 SYS_PIPE2 = 317
316 SYS_INOTIFY_INIT1 = 318
317 SYS_PERF_EVENT_OPEN = 319
318 SYS_PREADV = 320
319 SYS_PWRITEV = 321
320 SYS_RT_TGSIGQUEUEINFO = 322
321 SYS_FANOTIFY_INIT = 323
322 SYS_FANOTIFY_MARK = 324
323 SYS_PRLIMIT64 = 325
324 SYS_SOCKET = 326
325 SYS_BIND = 327
326 SYS_CONNECT = 328
327 SYS_LISTEN = 329
328 SYS_ACCEPT = 330
329 SYS_GETSOCKNAME = 331
330 SYS_GETPEERNAME = 332
331 SYS_SOCKETPAIR = 333
332 SYS_SEND = 334
333 SYS_SENDTO = 335
334 SYS_RECV = 336
335 SYS_RECVFROM = 337
336 SYS_SHUTDOWN = 338
337 SYS_SETSOCKOPT = 339
338 SYS_GETSOCKOPT = 340
339 SYS_SENDMSG = 341
340 SYS_RECVMSG = 342
341 SYS_RECVMMSG = 343
342 SYS_ACCEPT4 = 344
343 SYS_NAME_TO_HANDLE_AT = 345
344 SYS_OPEN_BY_HANDLE_AT = 346
345 SYS_CLOCK_ADJTIME = 347
346 SYS_SYNCFS = 348
347 SYS_SENDMMSG = 349
348 SYS_SETNS = 350
349 SYS_PROCESS_VM_READV = 351
350 SYS_PROCESS_VM_WRITEV = 352
351 SYS_FINIT_MODULE = 353
352 SYS_KCMP = 354
353 SYS_SCHED_SETATTR = 355
354 SYS_SCHED_GETATTR = 356
355 SYS_RENAMEAT2 = 357
356 SYS_SECCOMP = 358
357 SYS_GETRANDOM = 359
358 SYS_MEMFD_CREATE = 360
359 SYS_BPF = 361
360)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
deleted file mode 100644
index 45e63f5..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
+++ /dev/null
@@ -1,353 +0,0 @@
1// mksysnum_linux.pl /usr/include/powerpc64le-linux-gnu/asm/unistd.h
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build ppc64le,linux
5
6package unix
7
8const (
9 SYS_RESTART_SYSCALL = 0
10 SYS_EXIT = 1
11 SYS_FORK = 2
12 SYS_READ = 3
13 SYS_WRITE = 4
14 SYS_OPEN = 5
15 SYS_CLOSE = 6
16 SYS_WAITPID = 7
17 SYS_CREAT = 8
18 SYS_LINK = 9
19 SYS_UNLINK = 10
20 SYS_EXECVE = 11
21 SYS_CHDIR = 12
22 SYS_TIME = 13
23 SYS_MKNOD = 14
24 SYS_CHMOD = 15
25 SYS_LCHOWN = 16
26 SYS_BREAK = 17
27 SYS_OLDSTAT = 18
28 SYS_LSEEK = 19
29 SYS_GETPID = 20
30 SYS_MOUNT = 21
31 SYS_UMOUNT = 22
32 SYS_SETUID = 23
33 SYS_GETUID = 24
34 SYS_STIME = 25
35 SYS_PTRACE = 26
36 SYS_ALARM = 27
37 SYS_OLDFSTAT = 28
38 SYS_PAUSE = 29
39 SYS_UTIME = 30
40 SYS_STTY = 31
41 SYS_GTTY = 32
42 SYS_ACCESS = 33
43 SYS_NICE = 34
44 SYS_FTIME = 35
45 SYS_SYNC = 36
46 SYS_KILL = 37
47 SYS_RENAME = 38
48 SYS_MKDIR = 39
49 SYS_RMDIR = 40
50 SYS_DUP = 41
51 SYS_PIPE = 42
52 SYS_TIMES = 43
53 SYS_PROF = 44
54 SYS_BRK = 45
55 SYS_SETGID = 46
56 SYS_GETGID = 47
57 SYS_SIGNAL = 48
58 SYS_GETEUID = 49
59 SYS_GETEGID = 50
60 SYS_ACCT = 51
61 SYS_UMOUNT2 = 52
62 SYS_LOCK = 53
63 SYS_IOCTL = 54
64 SYS_FCNTL = 55
65 SYS_MPX = 56
66 SYS_SETPGID = 57
67 SYS_ULIMIT = 58
68 SYS_OLDOLDUNAME = 59
69 SYS_UMASK = 60
70 SYS_CHROOT = 61
71 SYS_USTAT = 62
72 SYS_DUP2 = 63
73 SYS_GETPPID = 64
74 SYS_GETPGRP = 65
75 SYS_SETSID = 66
76 SYS_SIGACTION = 67
77 SYS_SGETMASK = 68
78 SYS_SSETMASK = 69
79 SYS_SETREUID = 70
80 SYS_SETREGID = 71
81 SYS_SIGSUSPEND = 72
82 SYS_SIGPENDING = 73
83 SYS_SETHOSTNAME = 74
84 SYS_SETRLIMIT = 75
85 SYS_GETRLIMIT = 76
86 SYS_GETRUSAGE = 77
87 SYS_GETTIMEOFDAY = 78
88 SYS_SETTIMEOFDAY = 79
89 SYS_GETGROUPS = 80
90 SYS_SETGROUPS = 81
91 SYS_SELECT = 82
92 SYS_SYMLINK = 83
93 SYS_OLDLSTAT = 84
94 SYS_READLINK = 85
95 SYS_USELIB = 86
96 SYS_SWAPON = 87
97 SYS_REBOOT = 88
98 SYS_READDIR = 89
99 SYS_MMAP = 90
100 SYS_MUNMAP = 91
101 SYS_TRUNCATE = 92
102 SYS_FTRUNCATE = 93
103 SYS_FCHMOD = 94
104 SYS_FCHOWN = 95
105 SYS_GETPRIORITY = 96
106 SYS_SETPRIORITY = 97
107 SYS_PROFIL = 98
108 SYS_STATFS = 99
109 SYS_FSTATFS = 100
110 SYS_IOPERM = 101
111 SYS_SOCKETCALL = 102
112 SYS_SYSLOG = 103
113 SYS_SETITIMER = 104
114 SYS_GETITIMER = 105
115 SYS_STAT = 106
116 SYS_LSTAT = 107
117 SYS_FSTAT = 108
118 SYS_OLDUNAME = 109
119 SYS_IOPL = 110
120 SYS_VHANGUP = 111
121 SYS_IDLE = 112
122 SYS_VM86 = 113
123 SYS_WAIT4 = 114
124 SYS_SWAPOFF = 115
125 SYS_SYSINFO = 116
126 SYS_IPC = 117
127 SYS_FSYNC = 118
128 SYS_SIGRETURN = 119
129 SYS_CLONE = 120
130 SYS_SETDOMAINNAME = 121
131 SYS_UNAME = 122
132 SYS_MODIFY_LDT = 123
133 SYS_ADJTIMEX = 124
134 SYS_MPROTECT = 125
135 SYS_SIGPROCMASK = 126
136 SYS_CREATE_MODULE = 127
137 SYS_INIT_MODULE = 128
138 SYS_DELETE_MODULE = 129
139 SYS_GET_KERNEL_SYMS = 130
140 SYS_QUOTACTL = 131
141 SYS_GETPGID = 132
142 SYS_FCHDIR = 133
143 SYS_BDFLUSH = 134
144 SYS_SYSFS = 135
145 SYS_PERSONALITY = 136
146 SYS_AFS_SYSCALL = 137
147 SYS_SETFSUID = 138
148 SYS_SETFSGID = 139
149 SYS__LLSEEK = 140
150 SYS_GETDENTS = 141
151 SYS__NEWSELECT = 142
152 SYS_FLOCK = 143
153 SYS_MSYNC = 144
154 SYS_READV = 145
155 SYS_WRITEV = 146
156 SYS_GETSID = 147
157 SYS_FDATASYNC = 148
158 SYS__SYSCTL = 149
159 SYS_MLOCK = 150
160 SYS_MUNLOCK = 151
161 SYS_MLOCKALL = 152
162 SYS_MUNLOCKALL = 153
163 SYS_SCHED_SETPARAM = 154
164 SYS_SCHED_GETPARAM = 155
165 SYS_SCHED_SETSCHEDULER = 156
166 SYS_SCHED_GETSCHEDULER = 157
167 SYS_SCHED_YIELD = 158
168 SYS_SCHED_GET_PRIORITY_MAX = 159
169 SYS_SCHED_GET_PRIORITY_MIN = 160
170 SYS_SCHED_RR_GET_INTERVAL = 161
171 SYS_NANOSLEEP = 162
172 SYS_MREMAP = 163
173 SYS_SETRESUID = 164
174 SYS_GETRESUID = 165
175 SYS_QUERY_MODULE = 166
176 SYS_POLL = 167
177 SYS_NFSSERVCTL = 168
178 SYS_SETRESGID = 169
179 SYS_GETRESGID = 170
180 SYS_PRCTL = 171
181 SYS_RT_SIGRETURN = 172
182 SYS_RT_SIGACTION = 173
183 SYS_RT_SIGPROCMASK = 174
184 SYS_RT_SIGPENDING = 175
185 SYS_RT_SIGTIMEDWAIT = 176
186 SYS_RT_SIGQUEUEINFO = 177
187 SYS_RT_SIGSUSPEND = 178
188 SYS_PREAD64 = 179
189 SYS_PWRITE64 = 180
190 SYS_CHOWN = 181
191 SYS_GETCWD = 182
192 SYS_CAPGET = 183
193 SYS_CAPSET = 184
194 SYS_SIGALTSTACK = 185
195 SYS_SENDFILE = 186
196 SYS_GETPMSG = 187
197 SYS_PUTPMSG = 188
198 SYS_VFORK = 189
199 SYS_UGETRLIMIT = 190
200 SYS_READAHEAD = 191
201 SYS_PCICONFIG_READ = 198
202 SYS_PCICONFIG_WRITE = 199
203 SYS_PCICONFIG_IOBASE = 200
204 SYS_MULTIPLEXER = 201
205 SYS_GETDENTS64 = 202
206 SYS_PIVOT_ROOT = 203
207 SYS_MADVISE = 205
208 SYS_MINCORE = 206
209 SYS_GETTID = 207
210 SYS_TKILL = 208
211 SYS_SETXATTR = 209
212 SYS_LSETXATTR = 210
213 SYS_FSETXATTR = 211
214 SYS_GETXATTR = 212
215 SYS_LGETXATTR = 213
216 SYS_FGETXATTR = 214
217 SYS_LISTXATTR = 215
218 SYS_LLISTXATTR = 216
219 SYS_FLISTXATTR = 217
220 SYS_REMOVEXATTR = 218
221 SYS_LREMOVEXATTR = 219
222 SYS_FREMOVEXATTR = 220
223 SYS_FUTEX = 221
224 SYS_SCHED_SETAFFINITY = 222
225 SYS_SCHED_GETAFFINITY = 223
226 SYS_TUXCALL = 225
227 SYS_IO_SETUP = 227
228 SYS_IO_DESTROY = 228
229 SYS_IO_GETEVENTS = 229
230 SYS_IO_SUBMIT = 230
231 SYS_IO_CANCEL = 231
232 SYS_SET_TID_ADDRESS = 232
233 SYS_FADVISE64 = 233
234 SYS_EXIT_GROUP = 234
235 SYS_LOOKUP_DCOOKIE = 235
236 SYS_EPOLL_CREATE = 236
237 SYS_EPOLL_CTL = 237
238 SYS_EPOLL_WAIT = 238
239 SYS_REMAP_FILE_PAGES = 239
240 SYS_TIMER_CREATE = 240
241 SYS_TIMER_SETTIME = 241
242 SYS_TIMER_GETTIME = 242
243 SYS_TIMER_GETOVERRUN = 243
244 SYS_TIMER_DELETE = 244
245 SYS_CLOCK_SETTIME = 245
246 SYS_CLOCK_GETTIME = 246
247 SYS_CLOCK_GETRES = 247
248 SYS_CLOCK_NANOSLEEP = 248
249 SYS_SWAPCONTEXT = 249
250 SYS_TGKILL = 250
251 SYS_UTIMES = 251
252 SYS_STATFS64 = 252
253 SYS_FSTATFS64 = 253
254 SYS_RTAS = 255
255 SYS_SYS_DEBUG_SETCONTEXT = 256
256 SYS_MIGRATE_PAGES = 258
257 SYS_MBIND = 259
258 SYS_GET_MEMPOLICY = 260
259 SYS_SET_MEMPOLICY = 261
260 SYS_MQ_OPEN = 262
261 SYS_MQ_UNLINK = 263
262 SYS_MQ_TIMEDSEND = 264
263 SYS_MQ_TIMEDRECEIVE = 265
264 SYS_MQ_NOTIFY = 266
265 SYS_MQ_GETSETATTR = 267
266 SYS_KEXEC_LOAD = 268
267 SYS_ADD_KEY = 269
268 SYS_REQUEST_KEY = 270
269 SYS_KEYCTL = 271
270 SYS_WAITID = 272
271 SYS_IOPRIO_SET = 273
272 SYS_IOPRIO_GET = 274
273 SYS_INOTIFY_INIT = 275
274 SYS_INOTIFY_ADD_WATCH = 276
275 SYS_INOTIFY_RM_WATCH = 277
276 SYS_SPU_RUN = 278
277 SYS_SPU_CREATE = 279
278 SYS_PSELECT6 = 280
279 SYS_PPOLL = 281
280 SYS_UNSHARE = 282
281 SYS_SPLICE = 283
282 SYS_TEE = 284
283 SYS_VMSPLICE = 285
284 SYS_OPENAT = 286
285 SYS_MKDIRAT = 287
286 SYS_MKNODAT = 288
287 SYS_FCHOWNAT = 289
288 SYS_FUTIMESAT = 290
289 SYS_NEWFSTATAT = 291
290 SYS_UNLINKAT = 292
291 SYS_RENAMEAT = 293
292 SYS_LINKAT = 294
293 SYS_SYMLINKAT = 295
294 SYS_READLINKAT = 296
295 SYS_FCHMODAT = 297
296 SYS_FACCESSAT = 298
297 SYS_GET_ROBUST_LIST = 299
298 SYS_SET_ROBUST_LIST = 300
299 SYS_MOVE_PAGES = 301
300 SYS_GETCPU = 302
301 SYS_EPOLL_PWAIT = 303
302 SYS_UTIMENSAT = 304
303 SYS_SIGNALFD = 305
304 SYS_TIMERFD_CREATE = 306
305 SYS_EVENTFD = 307
306 SYS_SYNC_FILE_RANGE2 = 308
307 SYS_FALLOCATE = 309
308 SYS_SUBPAGE_PROT = 310
309 SYS_TIMERFD_SETTIME = 311
310 SYS_TIMERFD_GETTIME = 312
311 SYS_SIGNALFD4 = 313
312 SYS_EVENTFD2 = 314
313 SYS_EPOLL_CREATE1 = 315
314 SYS_DUP3 = 316
315 SYS_PIPE2 = 317
316 SYS_INOTIFY_INIT1 = 318
317 SYS_PERF_EVENT_OPEN = 319
318 SYS_PREADV = 320
319 SYS_PWRITEV = 321
320 SYS_RT_TGSIGQUEUEINFO = 322
321 SYS_FANOTIFY_INIT = 323
322 SYS_FANOTIFY_MARK = 324
323 SYS_PRLIMIT64 = 325
324 SYS_SOCKET = 326
325 SYS_BIND = 327
326 SYS_CONNECT = 328
327 SYS_LISTEN = 329
328 SYS_ACCEPT = 330
329 SYS_GETSOCKNAME = 331
330 SYS_GETPEERNAME = 332
331 SYS_SOCKETPAIR = 333
332 SYS_SEND = 334
333 SYS_SENDTO = 335
334 SYS_RECV = 336
335 SYS_RECVFROM = 337
336 SYS_SHUTDOWN = 338
337 SYS_SETSOCKOPT = 339
338 SYS_GETSOCKOPT = 340
339 SYS_SENDMSG = 341
340 SYS_RECVMSG = 342
341 SYS_RECVMMSG = 343
342 SYS_ACCEPT4 = 344
343 SYS_NAME_TO_HANDLE_AT = 345
344 SYS_OPEN_BY_HANDLE_AT = 346
345 SYS_CLOCK_ADJTIME = 347
346 SYS_SYNCFS = 348
347 SYS_SENDMMSG = 349
348 SYS_SETNS = 350
349 SYS_PROCESS_VM_READV = 351
350 SYS_PROCESS_VM_WRITEV = 352
351 SYS_FINIT_MODULE = 353
352 SYS_KCMP = 354
353)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_386.go
deleted file mode 100644
index f60d8f9..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_386.go
+++ /dev/null
@@ -1,273 +0,0 @@
1// mksysnum_netbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,netbsd
5
6package unix
7
8const (
9 SYS_EXIT = 1 // { void|sys||exit(int rval); }
10 SYS_FORK = 2 // { int|sys||fork(void); }
11 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
12 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
13 SYS_OPEN = 5 // { int|sys||open(const char *path, int flags, ... mode_t mode); }
14 SYS_CLOSE = 6 // { int|sys||close(int fd); }
15 SYS_LINK = 9 // { int|sys||link(const char *path, const char *link); }
16 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); }
17 SYS_CHDIR = 12 // { int|sys||chdir(const char *path); }
18 SYS_FCHDIR = 13 // { int|sys||fchdir(int fd); }
19 SYS_CHMOD = 15 // { int|sys||chmod(const char *path, mode_t mode); }
20 SYS_CHOWN = 16 // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
21 SYS_BREAK = 17 // { int|sys||obreak(char *nsize); }
22 SYS_GETPID = 20 // { pid_t|sys||getpid_with_ppid(void); }
23 SYS_UNMOUNT = 22 // { int|sys||unmount(const char *path, int flags); }
24 SYS_SETUID = 23 // { int|sys||setuid(uid_t uid); }
25 SYS_GETUID = 24 // { uid_t|sys||getuid_with_euid(void); }
26 SYS_GETEUID = 25 // { uid_t|sys||geteuid(void); }
27 SYS_PTRACE = 26 // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
28 SYS_RECVMSG = 27 // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
29 SYS_SENDMSG = 28 // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
30 SYS_RECVFROM = 29 // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
31 SYS_ACCEPT = 30 // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
32 SYS_GETPEERNAME = 31 // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
33 SYS_GETSOCKNAME = 32 // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
34 SYS_ACCESS = 33 // { int|sys||access(const char *path, int flags); }
35 SYS_CHFLAGS = 34 // { int|sys||chflags(const char *path, u_long flags); }
36 SYS_FCHFLAGS = 35 // { int|sys||fchflags(int fd, u_long flags); }
37 SYS_SYNC = 36 // { void|sys||sync(void); }
38 SYS_KILL = 37 // { int|sys||kill(pid_t pid, int signum); }
39 SYS_GETPPID = 39 // { pid_t|sys||getppid(void); }
40 SYS_DUP = 41 // { int|sys||dup(int fd); }
41 SYS_PIPE = 42 // { int|sys||pipe(void); }
42 SYS_GETEGID = 43 // { gid_t|sys||getegid(void); }
43 SYS_PROFIL = 44 // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
44 SYS_KTRACE = 45 // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
45 SYS_GETGID = 47 // { gid_t|sys||getgid_with_egid(void); }
46 SYS___GETLOGIN = 49 // { int|sys||__getlogin(char *namebuf, size_t namelen); }
47 SYS___SETLOGIN = 50 // { int|sys||__setlogin(const char *namebuf); }
48 SYS_ACCT = 51 // { int|sys||acct(const char *path); }
49 SYS_IOCTL = 54 // { int|sys||ioctl(int fd, u_long com, ... void *data); }
50 SYS_REVOKE = 56 // { int|sys||revoke(const char *path); }
51 SYS_SYMLINK = 57 // { int|sys||symlink(const char *path, const char *link); }
52 SYS_READLINK = 58 // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
53 SYS_EXECVE = 59 // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
54 SYS_UMASK = 60 // { mode_t|sys||umask(mode_t newmask); }
55 SYS_CHROOT = 61 // { int|sys||chroot(const char *path); }
56 SYS_VFORK = 66 // { int|sys||vfork(void); }
57 SYS_SBRK = 69 // { int|sys||sbrk(intptr_t incr); }
58 SYS_SSTK = 70 // { int|sys||sstk(int incr); }
59 SYS_VADVISE = 72 // { int|sys||ovadvise(int anom); }
60 SYS_MUNMAP = 73 // { int|sys||munmap(void *addr, size_t len); }
61 SYS_MPROTECT = 74 // { int|sys||mprotect(void *addr, size_t len, int prot); }
62 SYS_MADVISE = 75 // { int|sys||madvise(void *addr, size_t len, int behav); }
63 SYS_MINCORE = 78 // { int|sys||mincore(void *addr, size_t len, char *vec); }
64 SYS_GETGROUPS = 79 // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
65 SYS_SETGROUPS = 80 // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
66 SYS_GETPGRP = 81 // { int|sys||getpgrp(void); }
67 SYS_SETPGID = 82 // { int|sys||setpgid(pid_t pid, pid_t pgid); }
68 SYS_DUP2 = 90 // { int|sys||dup2(int from, int to); }
69 SYS_FCNTL = 92 // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
70 SYS_FSYNC = 95 // { int|sys||fsync(int fd); }
71 SYS_SETPRIORITY = 96 // { int|sys||setpriority(int which, id_t who, int prio); }
72 SYS_CONNECT = 98 // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
73 SYS_GETPRIORITY = 100 // { int|sys||getpriority(int which, id_t who); }
74 SYS_BIND = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
75 SYS_SETSOCKOPT = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
76 SYS_LISTEN = 106 // { int|sys||listen(int s, int backlog); }
77 SYS_GETSOCKOPT = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
78 SYS_READV = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
79 SYS_WRITEV = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
80 SYS_FCHOWN = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
81 SYS_FCHMOD = 124 // { int|sys||fchmod(int fd, mode_t mode); }
82 SYS_SETREUID = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
83 SYS_SETREGID = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
84 SYS_RENAME = 128 // { int|sys||rename(const char *from, const char *to); }
85 SYS_FLOCK = 131 // { int|sys||flock(int fd, int how); }
86 SYS_MKFIFO = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
87 SYS_SENDTO = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
88 SYS_SHUTDOWN = 134 // { int|sys||shutdown(int s, int how); }
89 SYS_SOCKETPAIR = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
90 SYS_MKDIR = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
91 SYS_RMDIR = 137 // { int|sys||rmdir(const char *path); }
92 SYS_SETSID = 147 // { int|sys||setsid(void); }
93 SYS_SYSARCH = 165 // { int|sys||sysarch(int op, void *parms); }
94 SYS_PREAD = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
95 SYS_PWRITE = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
96 SYS_NTP_ADJTIME = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
97 SYS_SETGID = 181 // { int|sys||setgid(gid_t gid); }
98 SYS_SETEGID = 182 // { int|sys||setegid(gid_t egid); }
99 SYS_SETEUID = 183 // { int|sys||seteuid(uid_t euid); }
100 SYS_PATHCONF = 191 // { long|sys||pathconf(const char *path, int name); }
101 SYS_FPATHCONF = 192 // { long|sys||fpathconf(int fd, int name); }
102 SYS_GETRLIMIT = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
103 SYS_SETRLIMIT = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
104 SYS_MMAP = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
105 SYS_LSEEK = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
106 SYS_TRUNCATE = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
107 SYS_FTRUNCATE = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
108 SYS___SYSCTL = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
109 SYS_MLOCK = 203 // { int|sys||mlock(const void *addr, size_t len); }
110 SYS_MUNLOCK = 204 // { int|sys||munlock(const void *addr, size_t len); }
111 SYS_UNDELETE = 205 // { int|sys||undelete(const char *path); }
112 SYS_GETPGID = 207 // { pid_t|sys||getpgid(pid_t pid); }
113 SYS_REBOOT = 208 // { int|sys||reboot(int opt, char *bootstr); }
114 SYS_POLL = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
115 SYS_SEMGET = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
116 SYS_SEMOP = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
117 SYS_SEMCONFIG = 223 // { int|sys||semconfig(int flag); }
118 SYS_MSGGET = 225 // { int|sys||msgget(key_t key, int msgflg); }
119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
121 SYS_SHMAT = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
122 SYS_SHMDT = 230 // { int|sys||shmdt(const void *shmaddr); }
123 SYS_SHMGET = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
124 SYS_TIMER_CREATE = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
125 SYS_TIMER_DELETE = 236 // { int|sys||timer_delete(timer_t timerid); }
126 SYS_TIMER_GETOVERRUN = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
127 SYS_FDATASYNC = 241 // { int|sys||fdatasync(int fd); }
128 SYS_MLOCKALL = 242 // { int|sys||mlockall(int flags); }
129 SYS_MUNLOCKALL = 243 // { int|sys||munlockall(void); }
130 SYS_SIGQUEUEINFO = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
131 SYS_MODCTL = 246 // { int|sys||modctl(int cmd, void *arg); }
132 SYS___POSIX_RENAME = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
133 SYS_SWAPCTL = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
134 SYS_MINHERIT = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
135 SYS_LCHMOD = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
136 SYS_LCHOWN = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
137 SYS___POSIX_CHOWN = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
138 SYS___POSIX_FCHOWN = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
139 SYS___POSIX_LCHOWN = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
140 SYS_GETSID = 286 // { pid_t|sys||getsid(pid_t pid); }
141 SYS___CLONE = 287 // { pid_t|sys||__clone(int flags, void *stack); }
142 SYS_FKTRACE = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
143 SYS_PREADV = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
144 SYS_PWRITEV = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
145 SYS___GETCWD = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
146 SYS_FCHROOT = 297 // { int|sys||fchroot(int fd); }
147 SYS_LCHFLAGS = 304 // { int|sys||lchflags(const char *path, u_long flags); }
148 SYS_ISSETUGID = 305 // { int|sys||issetugid(void); }
149 SYS_UTRACE = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
150 SYS_GETCONTEXT = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
151 SYS_SETCONTEXT = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
152 SYS__LWP_CREATE = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
153 SYS__LWP_EXIT = 310 // { int|sys||_lwp_exit(void); }
154 SYS__LWP_SELF = 311 // { lwpid_t|sys||_lwp_self(void); }
155 SYS__LWP_WAIT = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
156 SYS__LWP_SUSPEND = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
157 SYS__LWP_CONTINUE = 314 // { int|sys||_lwp_continue(lwpid_t target); }
158 SYS__LWP_WAKEUP = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
159 SYS__LWP_GETPRIVATE = 316 // { void *|sys||_lwp_getprivate(void); }
160 SYS__LWP_SETPRIVATE = 317 // { void|sys||_lwp_setprivate(void *ptr); }
161 SYS__LWP_KILL = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
162 SYS__LWP_DETACH = 319 // { int|sys||_lwp_detach(lwpid_t target); }
163 SYS__LWP_UNPARK = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
164 SYS__LWP_UNPARK_ALL = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
165 SYS__LWP_SETNAME = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
166 SYS__LWP_GETNAME = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
167 SYS__LWP_CTL = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
168 SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
169 SYS_PMC_GET_INFO = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
170 SYS_PMC_CONTROL = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
171 SYS_RASCTL = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
172 SYS_KQUEUE = 344 // { int|sys||kqueue(void); }
173 SYS__SCHED_SETPARAM = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
174 SYS__SCHED_GETPARAM = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
175 SYS__SCHED_SETAFFINITY = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
176 SYS__SCHED_GETAFFINITY = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
177 SYS_SCHED_YIELD = 350 // { int|sys||sched_yield(void); }
178 SYS_FSYNC_RANGE = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
179 SYS_UUIDGEN = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
180 SYS_GETVFSSTAT = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
181 SYS_STATVFS1 = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
182 SYS_FSTATVFS1 = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
183 SYS_EXTATTRCTL = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
184 SYS_EXTATTR_SET_FILE = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
185 SYS_EXTATTR_GET_FILE = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
186 SYS_EXTATTR_DELETE_FILE = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
187 SYS_EXTATTR_SET_FD = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
188 SYS_EXTATTR_GET_FD = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
189 SYS_EXTATTR_DELETE_FD = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
190 SYS_EXTATTR_SET_LINK = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
191 SYS_EXTATTR_GET_LINK = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
192 SYS_EXTATTR_DELETE_LINK = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
193 SYS_EXTATTR_LIST_FD = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
194 SYS_EXTATTR_LIST_FILE = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
195 SYS_EXTATTR_LIST_LINK = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
196 SYS_SETXATTR = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
197 SYS_LSETXATTR = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
198 SYS_FSETXATTR = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
199 SYS_GETXATTR = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
200 SYS_LGETXATTR = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
201 SYS_FGETXATTR = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
202 SYS_LISTXATTR = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
203 SYS_LLISTXATTR = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
204 SYS_FLISTXATTR = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
205 SYS_REMOVEXATTR = 384 // { int|sys||removexattr(const char *path, const char *name); }
206 SYS_LREMOVEXATTR = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
207 SYS_FREMOVEXATTR = 386 // { int|sys||fremovexattr(int fd, const char *name); }
208 SYS_GETDENTS = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
209 SYS_SOCKET = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
210 SYS_GETFH = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
211 SYS_MOUNT = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
212 SYS_MREMAP = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
213 SYS_PSET_CREATE = 412 // { int|sys||pset_create(psetid_t *psid); }
214 SYS_PSET_DESTROY = 413 // { int|sys||pset_destroy(psetid_t psid); }
215 SYS_PSET_ASSIGN = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
216 SYS__PSET_BIND = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
217 SYS_POSIX_FADVISE = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
218 SYS_SELECT = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
219 SYS_GETTIMEOFDAY = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
220 SYS_SETTIMEOFDAY = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
221 SYS_UTIMES = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
222 SYS_ADJTIME = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
223 SYS_FUTIMES = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
224 SYS_LUTIMES = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
225 SYS_SETITIMER = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
226 SYS_GETITIMER = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
227 SYS_CLOCK_GETTIME = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
228 SYS_CLOCK_SETTIME = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
229 SYS_CLOCK_GETRES = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
230 SYS_NANOSLEEP = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
231 SYS___SIGTIMEDWAIT = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
232 SYS__LWP_PARK = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
233 SYS_KEVENT = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
234 SYS_PSELECT = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
235 SYS_POLLTS = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
236 SYS_STAT = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
237 SYS_FSTAT = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
238 SYS_LSTAT = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
239 SYS___SEMCTL = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
240 SYS_SHMCTL = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
241 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
242 SYS_GETRUSAGE = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
243 SYS_TIMER_SETTIME = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
244 SYS_TIMER_GETTIME = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
245 SYS_NTP_GETTIME = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
246 SYS_WAIT4 = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
247 SYS_MKNOD = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
248 SYS_FHSTAT = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
249 SYS_PIPE2 = 453 // { int|sys||pipe2(int *fildes, int flags); }
250 SYS_DUP3 = 454 // { int|sys||dup3(int from, int to, int flags); }
251 SYS_KQUEUE1 = 455 // { int|sys||kqueue1(int flags); }
252 SYS_PACCEPT = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
253 SYS_LINKAT = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
254 SYS_RENAMEAT = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
255 SYS_MKFIFOAT = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
256 SYS_MKNODAT = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
257 SYS_MKDIRAT = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
258 SYS_FACCESSAT = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
259 SYS_FCHMODAT = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
260 SYS_FCHOWNAT = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
261 SYS_FEXECVE = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
262 SYS_FSTATAT = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
263 SYS_UTIMENSAT = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
264 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
265 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
266 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
267 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
268 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
269 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
270 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
271 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
272 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
273)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
deleted file mode 100644
index 48a91d4..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
+++ /dev/null
@@ -1,273 +0,0 @@
1// mksysnum_netbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,netbsd
5
6package unix
7
8const (
9 SYS_EXIT = 1 // { void|sys||exit(int rval); }
10 SYS_FORK = 2 // { int|sys||fork(void); }
11 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
12 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
13 SYS_OPEN = 5 // { int|sys||open(const char *path, int flags, ... mode_t mode); }
14 SYS_CLOSE = 6 // { int|sys||close(int fd); }
15 SYS_LINK = 9 // { int|sys||link(const char *path, const char *link); }
16 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); }
17 SYS_CHDIR = 12 // { int|sys||chdir(const char *path); }
18 SYS_FCHDIR = 13 // { int|sys||fchdir(int fd); }
19 SYS_CHMOD = 15 // { int|sys||chmod(const char *path, mode_t mode); }
20 SYS_CHOWN = 16 // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
21 SYS_BREAK = 17 // { int|sys||obreak(char *nsize); }
22 SYS_GETPID = 20 // { pid_t|sys||getpid_with_ppid(void); }
23 SYS_UNMOUNT = 22 // { int|sys||unmount(const char *path, int flags); }
24 SYS_SETUID = 23 // { int|sys||setuid(uid_t uid); }
25 SYS_GETUID = 24 // { uid_t|sys||getuid_with_euid(void); }
26 SYS_GETEUID = 25 // { uid_t|sys||geteuid(void); }
27 SYS_PTRACE = 26 // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
28 SYS_RECVMSG = 27 // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
29 SYS_SENDMSG = 28 // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
30 SYS_RECVFROM = 29 // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
31 SYS_ACCEPT = 30 // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
32 SYS_GETPEERNAME = 31 // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
33 SYS_GETSOCKNAME = 32 // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
34 SYS_ACCESS = 33 // { int|sys||access(const char *path, int flags); }
35 SYS_CHFLAGS = 34 // { int|sys||chflags(const char *path, u_long flags); }
36 SYS_FCHFLAGS = 35 // { int|sys||fchflags(int fd, u_long flags); }
37 SYS_SYNC = 36 // { void|sys||sync(void); }
38 SYS_KILL = 37 // { int|sys||kill(pid_t pid, int signum); }
39 SYS_GETPPID = 39 // { pid_t|sys||getppid(void); }
40 SYS_DUP = 41 // { int|sys||dup(int fd); }
41 SYS_PIPE = 42 // { int|sys||pipe(void); }
42 SYS_GETEGID = 43 // { gid_t|sys||getegid(void); }
43 SYS_PROFIL = 44 // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
44 SYS_KTRACE = 45 // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
45 SYS_GETGID = 47 // { gid_t|sys||getgid_with_egid(void); }
46 SYS___GETLOGIN = 49 // { int|sys||__getlogin(char *namebuf, size_t namelen); }
47 SYS___SETLOGIN = 50 // { int|sys||__setlogin(const char *namebuf); }
48 SYS_ACCT = 51 // { int|sys||acct(const char *path); }
49 SYS_IOCTL = 54 // { int|sys||ioctl(int fd, u_long com, ... void *data); }
50 SYS_REVOKE = 56 // { int|sys||revoke(const char *path); }
51 SYS_SYMLINK = 57 // { int|sys||symlink(const char *path, const char *link); }
52 SYS_READLINK = 58 // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
53 SYS_EXECVE = 59 // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
54 SYS_UMASK = 60 // { mode_t|sys||umask(mode_t newmask); }
55 SYS_CHROOT = 61 // { int|sys||chroot(const char *path); }
56 SYS_VFORK = 66 // { int|sys||vfork(void); }
57 SYS_SBRK = 69 // { int|sys||sbrk(intptr_t incr); }
58 SYS_SSTK = 70 // { int|sys||sstk(int incr); }
59 SYS_VADVISE = 72 // { int|sys||ovadvise(int anom); }
60 SYS_MUNMAP = 73 // { int|sys||munmap(void *addr, size_t len); }
61 SYS_MPROTECT = 74 // { int|sys||mprotect(void *addr, size_t len, int prot); }
62 SYS_MADVISE = 75 // { int|sys||madvise(void *addr, size_t len, int behav); }
63 SYS_MINCORE = 78 // { int|sys||mincore(void *addr, size_t len, char *vec); }
64 SYS_GETGROUPS = 79 // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
65 SYS_SETGROUPS = 80 // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
66 SYS_GETPGRP = 81 // { int|sys||getpgrp(void); }
67 SYS_SETPGID = 82 // { int|sys||setpgid(pid_t pid, pid_t pgid); }
68 SYS_DUP2 = 90 // { int|sys||dup2(int from, int to); }
69 SYS_FCNTL = 92 // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
70 SYS_FSYNC = 95 // { int|sys||fsync(int fd); }
71 SYS_SETPRIORITY = 96 // { int|sys||setpriority(int which, id_t who, int prio); }
72 SYS_CONNECT = 98 // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
73 SYS_GETPRIORITY = 100 // { int|sys||getpriority(int which, id_t who); }
74 SYS_BIND = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
75 SYS_SETSOCKOPT = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
76 SYS_LISTEN = 106 // { int|sys||listen(int s, int backlog); }
77 SYS_GETSOCKOPT = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
78 SYS_READV = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
79 SYS_WRITEV = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
80 SYS_FCHOWN = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
81 SYS_FCHMOD = 124 // { int|sys||fchmod(int fd, mode_t mode); }
82 SYS_SETREUID = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
83 SYS_SETREGID = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
84 SYS_RENAME = 128 // { int|sys||rename(const char *from, const char *to); }
85 SYS_FLOCK = 131 // { int|sys||flock(int fd, int how); }
86 SYS_MKFIFO = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
87 SYS_SENDTO = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
88 SYS_SHUTDOWN = 134 // { int|sys||shutdown(int s, int how); }
89 SYS_SOCKETPAIR = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
90 SYS_MKDIR = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
91 SYS_RMDIR = 137 // { int|sys||rmdir(const char *path); }
92 SYS_SETSID = 147 // { int|sys||setsid(void); }
93 SYS_SYSARCH = 165 // { int|sys||sysarch(int op, void *parms); }
94 SYS_PREAD = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
95 SYS_PWRITE = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
96 SYS_NTP_ADJTIME = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
97 SYS_SETGID = 181 // { int|sys||setgid(gid_t gid); }
98 SYS_SETEGID = 182 // { int|sys||setegid(gid_t egid); }
99 SYS_SETEUID = 183 // { int|sys||seteuid(uid_t euid); }
100 SYS_PATHCONF = 191 // { long|sys||pathconf(const char *path, int name); }
101 SYS_FPATHCONF = 192 // { long|sys||fpathconf(int fd, int name); }
102 SYS_GETRLIMIT = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
103 SYS_SETRLIMIT = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
104 SYS_MMAP = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
105 SYS_LSEEK = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
106 SYS_TRUNCATE = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
107 SYS_FTRUNCATE = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
108 SYS___SYSCTL = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
109 SYS_MLOCK = 203 // { int|sys||mlock(const void *addr, size_t len); }
110 SYS_MUNLOCK = 204 // { int|sys||munlock(const void *addr, size_t len); }
111 SYS_UNDELETE = 205 // { int|sys||undelete(const char *path); }
112 SYS_GETPGID = 207 // { pid_t|sys||getpgid(pid_t pid); }
113 SYS_REBOOT = 208 // { int|sys||reboot(int opt, char *bootstr); }
114 SYS_POLL = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
115 SYS_SEMGET = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
116 SYS_SEMOP = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
117 SYS_SEMCONFIG = 223 // { int|sys||semconfig(int flag); }
118 SYS_MSGGET = 225 // { int|sys||msgget(key_t key, int msgflg); }
119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
121 SYS_SHMAT = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
122 SYS_SHMDT = 230 // { int|sys||shmdt(const void *shmaddr); }
123 SYS_SHMGET = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
124 SYS_TIMER_CREATE = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
125 SYS_TIMER_DELETE = 236 // { int|sys||timer_delete(timer_t timerid); }
126 SYS_TIMER_GETOVERRUN = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
127 SYS_FDATASYNC = 241 // { int|sys||fdatasync(int fd); }
128 SYS_MLOCKALL = 242 // { int|sys||mlockall(int flags); }
129 SYS_MUNLOCKALL = 243 // { int|sys||munlockall(void); }
130 SYS_SIGQUEUEINFO = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
131 SYS_MODCTL = 246 // { int|sys||modctl(int cmd, void *arg); }
132 SYS___POSIX_RENAME = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
133 SYS_SWAPCTL = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
134 SYS_MINHERIT = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
135 SYS_LCHMOD = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
136 SYS_LCHOWN = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
137 SYS___POSIX_CHOWN = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
138 SYS___POSIX_FCHOWN = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
139 SYS___POSIX_LCHOWN = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
140 SYS_GETSID = 286 // { pid_t|sys||getsid(pid_t pid); }
141 SYS___CLONE = 287 // { pid_t|sys||__clone(int flags, void *stack); }
142 SYS_FKTRACE = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
143 SYS_PREADV = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
144 SYS_PWRITEV = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
145 SYS___GETCWD = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
146 SYS_FCHROOT = 297 // { int|sys||fchroot(int fd); }
147 SYS_LCHFLAGS = 304 // { int|sys||lchflags(const char *path, u_long flags); }
148 SYS_ISSETUGID = 305 // { int|sys||issetugid(void); }
149 SYS_UTRACE = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
150 SYS_GETCONTEXT = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
151 SYS_SETCONTEXT = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
152 SYS__LWP_CREATE = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
153 SYS__LWP_EXIT = 310 // { int|sys||_lwp_exit(void); }
154 SYS__LWP_SELF = 311 // { lwpid_t|sys||_lwp_self(void); }
155 SYS__LWP_WAIT = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
156 SYS__LWP_SUSPEND = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
157 SYS__LWP_CONTINUE = 314 // { int|sys||_lwp_continue(lwpid_t target); }
158 SYS__LWP_WAKEUP = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
159 SYS__LWP_GETPRIVATE = 316 // { void *|sys||_lwp_getprivate(void); }
160 SYS__LWP_SETPRIVATE = 317 // { void|sys||_lwp_setprivate(void *ptr); }
161 SYS__LWP_KILL = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
162 SYS__LWP_DETACH = 319 // { int|sys||_lwp_detach(lwpid_t target); }
163 SYS__LWP_UNPARK = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
164 SYS__LWP_UNPARK_ALL = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
165 SYS__LWP_SETNAME = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
166 SYS__LWP_GETNAME = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
167 SYS__LWP_CTL = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
168 SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
169 SYS_PMC_GET_INFO = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
170 SYS_PMC_CONTROL = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
171 SYS_RASCTL = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
172 SYS_KQUEUE = 344 // { int|sys||kqueue(void); }
173 SYS__SCHED_SETPARAM = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
174 SYS__SCHED_GETPARAM = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
175 SYS__SCHED_SETAFFINITY = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
176 SYS__SCHED_GETAFFINITY = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
177 SYS_SCHED_YIELD = 350 // { int|sys||sched_yield(void); }
178 SYS_FSYNC_RANGE = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
179 SYS_UUIDGEN = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
180 SYS_GETVFSSTAT = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
181 SYS_STATVFS1 = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
182 SYS_FSTATVFS1 = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
183 SYS_EXTATTRCTL = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
184 SYS_EXTATTR_SET_FILE = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
185 SYS_EXTATTR_GET_FILE = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
186 SYS_EXTATTR_DELETE_FILE = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
187 SYS_EXTATTR_SET_FD = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
188 SYS_EXTATTR_GET_FD = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
189 SYS_EXTATTR_DELETE_FD = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
190 SYS_EXTATTR_SET_LINK = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
191 SYS_EXTATTR_GET_LINK = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
192 SYS_EXTATTR_DELETE_LINK = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
193 SYS_EXTATTR_LIST_FD = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
194 SYS_EXTATTR_LIST_FILE = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
195 SYS_EXTATTR_LIST_LINK = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
196 SYS_SETXATTR = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
197 SYS_LSETXATTR = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
198 SYS_FSETXATTR = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
199 SYS_GETXATTR = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
200 SYS_LGETXATTR = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
201 SYS_FGETXATTR = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
202 SYS_LISTXATTR = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
203 SYS_LLISTXATTR = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
204 SYS_FLISTXATTR = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
205 SYS_REMOVEXATTR = 384 // { int|sys||removexattr(const char *path, const char *name); }
206 SYS_LREMOVEXATTR = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
207 SYS_FREMOVEXATTR = 386 // { int|sys||fremovexattr(int fd, const char *name); }
208 SYS_GETDENTS = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
209 SYS_SOCKET = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
210 SYS_GETFH = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
211 SYS_MOUNT = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
212 SYS_MREMAP = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
213 SYS_PSET_CREATE = 412 // { int|sys||pset_create(psetid_t *psid); }
214 SYS_PSET_DESTROY = 413 // { int|sys||pset_destroy(psetid_t psid); }
215 SYS_PSET_ASSIGN = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
216 SYS__PSET_BIND = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
217 SYS_POSIX_FADVISE = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
218 SYS_SELECT = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
219 SYS_GETTIMEOFDAY = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
220 SYS_SETTIMEOFDAY = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
221 SYS_UTIMES = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
222 SYS_ADJTIME = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
223 SYS_FUTIMES = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
224 SYS_LUTIMES = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
225 SYS_SETITIMER = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
226 SYS_GETITIMER = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
227 SYS_CLOCK_GETTIME = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
228 SYS_CLOCK_SETTIME = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
229 SYS_CLOCK_GETRES = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
230 SYS_NANOSLEEP = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
231 SYS___SIGTIMEDWAIT = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
232 SYS__LWP_PARK = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
233 SYS_KEVENT = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
234 SYS_PSELECT = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
235 SYS_POLLTS = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
236 SYS_STAT = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
237 SYS_FSTAT = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
238 SYS_LSTAT = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
239 SYS___SEMCTL = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
240 SYS_SHMCTL = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
241 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
242 SYS_GETRUSAGE = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
243 SYS_TIMER_SETTIME = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
244 SYS_TIMER_GETTIME = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
245 SYS_NTP_GETTIME = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
246 SYS_WAIT4 = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
247 SYS_MKNOD = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
248 SYS_FHSTAT = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
249 SYS_PIPE2 = 453 // { int|sys||pipe2(int *fildes, int flags); }
250 SYS_DUP3 = 454 // { int|sys||dup3(int from, int to, int flags); }
251 SYS_KQUEUE1 = 455 // { int|sys||kqueue1(int flags); }
252 SYS_PACCEPT = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
253 SYS_LINKAT = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
254 SYS_RENAMEAT = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
255 SYS_MKFIFOAT = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
256 SYS_MKNODAT = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
257 SYS_MKDIRAT = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
258 SYS_FACCESSAT = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
259 SYS_FCHMODAT = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
260 SYS_FCHOWNAT = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
261 SYS_FEXECVE = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
262 SYS_FSTATAT = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
263 SYS_UTIMENSAT = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
264 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
265 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
266 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
267 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
268 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
269 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
270 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
271 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
272 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
273)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
deleted file mode 100644
index 612ba66..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
+++ /dev/null
@@ -1,273 +0,0 @@
1// mksysnum_netbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build arm,netbsd
5
6package unix
7
8const (
9 SYS_EXIT = 1 // { void|sys||exit(int rval); }
10 SYS_FORK = 2 // { int|sys||fork(void); }
11 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
12 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); }
13 SYS_OPEN = 5 // { int|sys||open(const char *path, int flags, ... mode_t mode); }
14 SYS_CLOSE = 6 // { int|sys||close(int fd); }
15 SYS_LINK = 9 // { int|sys||link(const char *path, const char *link); }
16 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); }
17 SYS_CHDIR = 12 // { int|sys||chdir(const char *path); }
18 SYS_FCHDIR = 13 // { int|sys||fchdir(int fd); }
19 SYS_CHMOD = 15 // { int|sys||chmod(const char *path, mode_t mode); }
20 SYS_CHOWN = 16 // { int|sys||chown(const char *path, uid_t uid, gid_t gid); }
21 SYS_BREAK = 17 // { int|sys||obreak(char *nsize); }
22 SYS_GETPID = 20 // { pid_t|sys||getpid_with_ppid(void); }
23 SYS_UNMOUNT = 22 // { int|sys||unmount(const char *path, int flags); }
24 SYS_SETUID = 23 // { int|sys||setuid(uid_t uid); }
25 SYS_GETUID = 24 // { uid_t|sys||getuid_with_euid(void); }
26 SYS_GETEUID = 25 // { uid_t|sys||geteuid(void); }
27 SYS_PTRACE = 26 // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); }
28 SYS_RECVMSG = 27 // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); }
29 SYS_SENDMSG = 28 // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); }
30 SYS_RECVFROM = 29 // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
31 SYS_ACCEPT = 30 // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); }
32 SYS_GETPEERNAME = 31 // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
33 SYS_GETSOCKNAME = 32 // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
34 SYS_ACCESS = 33 // { int|sys||access(const char *path, int flags); }
35 SYS_CHFLAGS = 34 // { int|sys||chflags(const char *path, u_long flags); }
36 SYS_FCHFLAGS = 35 // { int|sys||fchflags(int fd, u_long flags); }
37 SYS_SYNC = 36 // { void|sys||sync(void); }
38 SYS_KILL = 37 // { int|sys||kill(pid_t pid, int signum); }
39 SYS_GETPPID = 39 // { pid_t|sys||getppid(void); }
40 SYS_DUP = 41 // { int|sys||dup(int fd); }
41 SYS_PIPE = 42 // { int|sys||pipe(void); }
42 SYS_GETEGID = 43 // { gid_t|sys||getegid(void); }
43 SYS_PROFIL = 44 // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); }
44 SYS_KTRACE = 45 // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); }
45 SYS_GETGID = 47 // { gid_t|sys||getgid_with_egid(void); }
46 SYS___GETLOGIN = 49 // { int|sys||__getlogin(char *namebuf, size_t namelen); }
47 SYS___SETLOGIN = 50 // { int|sys||__setlogin(const char *namebuf); }
48 SYS_ACCT = 51 // { int|sys||acct(const char *path); }
49 SYS_IOCTL = 54 // { int|sys||ioctl(int fd, u_long com, ... void *data); }
50 SYS_REVOKE = 56 // { int|sys||revoke(const char *path); }
51 SYS_SYMLINK = 57 // { int|sys||symlink(const char *path, const char *link); }
52 SYS_READLINK = 58 // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); }
53 SYS_EXECVE = 59 // { int|sys||execve(const char *path, char * const *argp, char * const *envp); }
54 SYS_UMASK = 60 // { mode_t|sys||umask(mode_t newmask); }
55 SYS_CHROOT = 61 // { int|sys||chroot(const char *path); }
56 SYS_VFORK = 66 // { int|sys||vfork(void); }
57 SYS_SBRK = 69 // { int|sys||sbrk(intptr_t incr); }
58 SYS_SSTK = 70 // { int|sys||sstk(int incr); }
59 SYS_VADVISE = 72 // { int|sys||ovadvise(int anom); }
60 SYS_MUNMAP = 73 // { int|sys||munmap(void *addr, size_t len); }
61 SYS_MPROTECT = 74 // { int|sys||mprotect(void *addr, size_t len, int prot); }
62 SYS_MADVISE = 75 // { int|sys||madvise(void *addr, size_t len, int behav); }
63 SYS_MINCORE = 78 // { int|sys||mincore(void *addr, size_t len, char *vec); }
64 SYS_GETGROUPS = 79 // { int|sys||getgroups(int gidsetsize, gid_t *gidset); }
65 SYS_SETGROUPS = 80 // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
66 SYS_GETPGRP = 81 // { int|sys||getpgrp(void); }
67 SYS_SETPGID = 82 // { int|sys||setpgid(pid_t pid, pid_t pgid); }
68 SYS_DUP2 = 90 // { int|sys||dup2(int from, int to); }
69 SYS_FCNTL = 92 // { int|sys||fcntl(int fd, int cmd, ... void *arg); }
70 SYS_FSYNC = 95 // { int|sys||fsync(int fd); }
71 SYS_SETPRIORITY = 96 // { int|sys||setpriority(int which, id_t who, int prio); }
72 SYS_CONNECT = 98 // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); }
73 SYS_GETPRIORITY = 100 // { int|sys||getpriority(int which, id_t who); }
74 SYS_BIND = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); }
75 SYS_SETSOCKOPT = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
76 SYS_LISTEN = 106 // { int|sys||listen(int s, int backlog); }
77 SYS_GETSOCKOPT = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
78 SYS_READV = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); }
79 SYS_WRITEV = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); }
80 SYS_FCHOWN = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
81 SYS_FCHMOD = 124 // { int|sys||fchmod(int fd, mode_t mode); }
82 SYS_SETREUID = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); }
83 SYS_SETREGID = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); }
84 SYS_RENAME = 128 // { int|sys||rename(const char *from, const char *to); }
85 SYS_FLOCK = 131 // { int|sys||flock(int fd, int how); }
86 SYS_MKFIFO = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
87 SYS_SENDTO = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
88 SYS_SHUTDOWN = 134 // { int|sys||shutdown(int s, int how); }
89 SYS_SOCKETPAIR = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
90 SYS_MKDIR = 136 // { int|sys||mkdir(const char *path, mode_t mode); }
91 SYS_RMDIR = 137 // { int|sys||rmdir(const char *path); }
92 SYS_SETSID = 147 // { int|sys||setsid(void); }
93 SYS_SYSARCH = 165 // { int|sys||sysarch(int op, void *parms); }
94 SYS_PREAD = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); }
95 SYS_PWRITE = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); }
96 SYS_NTP_ADJTIME = 176 // { int|sys||ntp_adjtime(struct timex *tp); }
97 SYS_SETGID = 181 // { int|sys||setgid(gid_t gid); }
98 SYS_SETEGID = 182 // { int|sys||setegid(gid_t egid); }
99 SYS_SETEUID = 183 // { int|sys||seteuid(uid_t euid); }
100 SYS_PATHCONF = 191 // { long|sys||pathconf(const char *path, int name); }
101 SYS_FPATHCONF = 192 // { long|sys||fpathconf(int fd, int name); }
102 SYS_GETRLIMIT = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); }
103 SYS_SETRLIMIT = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); }
104 SYS_MMAP = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); }
105 SYS_LSEEK = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); }
106 SYS_TRUNCATE = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); }
107 SYS_FTRUNCATE = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); }
108 SYS___SYSCTL = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
109 SYS_MLOCK = 203 // { int|sys||mlock(const void *addr, size_t len); }
110 SYS_MUNLOCK = 204 // { int|sys||munlock(const void *addr, size_t len); }
111 SYS_UNDELETE = 205 // { int|sys||undelete(const char *path); }
112 SYS_GETPGID = 207 // { pid_t|sys||getpgid(pid_t pid); }
113 SYS_REBOOT = 208 // { int|sys||reboot(int opt, char *bootstr); }
114 SYS_POLL = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); }
115 SYS_SEMGET = 221 // { int|sys||semget(key_t key, int nsems, int semflg); }
116 SYS_SEMOP = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); }
117 SYS_SEMCONFIG = 223 // { int|sys||semconfig(int flag); }
118 SYS_MSGGET = 225 // { int|sys||msgget(key_t key, int msgflg); }
119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
121 SYS_SHMAT = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); }
122 SYS_SHMDT = 230 // { int|sys||shmdt(const void *shmaddr); }
123 SYS_SHMGET = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); }
124 SYS_TIMER_CREATE = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); }
125 SYS_TIMER_DELETE = 236 // { int|sys||timer_delete(timer_t timerid); }
126 SYS_TIMER_GETOVERRUN = 239 // { int|sys||timer_getoverrun(timer_t timerid); }
127 SYS_FDATASYNC = 241 // { int|sys||fdatasync(int fd); }
128 SYS_MLOCKALL = 242 // { int|sys||mlockall(int flags); }
129 SYS_MUNLOCKALL = 243 // { int|sys||munlockall(void); }
130 SYS_SIGQUEUEINFO = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); }
131 SYS_MODCTL = 246 // { int|sys||modctl(int cmd, void *arg); }
132 SYS___POSIX_RENAME = 270 // { int|sys||__posix_rename(const char *from, const char *to); }
133 SYS_SWAPCTL = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); }
134 SYS_MINHERIT = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); }
135 SYS_LCHMOD = 274 // { int|sys||lchmod(const char *path, mode_t mode); }
136 SYS_LCHOWN = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); }
137 SYS___POSIX_CHOWN = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); }
138 SYS___POSIX_FCHOWN = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); }
139 SYS___POSIX_LCHOWN = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); }
140 SYS_GETSID = 286 // { pid_t|sys||getsid(pid_t pid); }
141 SYS___CLONE = 287 // { pid_t|sys||__clone(int flags, void *stack); }
142 SYS_FKTRACE = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); }
143 SYS_PREADV = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
144 SYS_PWRITEV = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); }
145 SYS___GETCWD = 296 // { int|sys||__getcwd(char *bufp, size_t length); }
146 SYS_FCHROOT = 297 // { int|sys||fchroot(int fd); }
147 SYS_LCHFLAGS = 304 // { int|sys||lchflags(const char *path, u_long flags); }
148 SYS_ISSETUGID = 305 // { int|sys||issetugid(void); }
149 SYS_UTRACE = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); }
150 SYS_GETCONTEXT = 307 // { int|sys||getcontext(struct __ucontext *ucp); }
151 SYS_SETCONTEXT = 308 // { int|sys||setcontext(const struct __ucontext *ucp); }
152 SYS__LWP_CREATE = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); }
153 SYS__LWP_EXIT = 310 // { int|sys||_lwp_exit(void); }
154 SYS__LWP_SELF = 311 // { lwpid_t|sys||_lwp_self(void); }
155 SYS__LWP_WAIT = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); }
156 SYS__LWP_SUSPEND = 313 // { int|sys||_lwp_suspend(lwpid_t target); }
157 SYS__LWP_CONTINUE = 314 // { int|sys||_lwp_continue(lwpid_t target); }
158 SYS__LWP_WAKEUP = 315 // { int|sys||_lwp_wakeup(lwpid_t target); }
159 SYS__LWP_GETPRIVATE = 316 // { void *|sys||_lwp_getprivate(void); }
160 SYS__LWP_SETPRIVATE = 317 // { void|sys||_lwp_setprivate(void *ptr); }
161 SYS__LWP_KILL = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); }
162 SYS__LWP_DETACH = 319 // { int|sys||_lwp_detach(lwpid_t target); }
163 SYS__LWP_UNPARK = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
164 SYS__LWP_UNPARK_ALL = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); }
165 SYS__LWP_SETNAME = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); }
166 SYS__LWP_GETNAME = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); }
167 SYS__LWP_CTL = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); }
168 SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); }
169 SYS_PMC_GET_INFO = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); }
170 SYS_PMC_CONTROL = 342 // { int|sys||pmc_control(int ctr, int op, void *args); }
171 SYS_RASCTL = 343 // { int|sys||rasctl(void *addr, size_t len, int op); }
172 SYS_KQUEUE = 344 // { int|sys||kqueue(void); }
173 SYS__SCHED_SETPARAM = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); }
174 SYS__SCHED_GETPARAM = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); }
175 SYS__SCHED_SETAFFINITY = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); }
176 SYS__SCHED_GETAFFINITY = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); }
177 SYS_SCHED_YIELD = 350 // { int|sys||sched_yield(void); }
178 SYS_FSYNC_RANGE = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); }
179 SYS_UUIDGEN = 355 // { int|sys||uuidgen(struct uuid *store, int count); }
180 SYS_GETVFSSTAT = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); }
181 SYS_STATVFS1 = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); }
182 SYS_FSTATVFS1 = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); }
183 SYS_EXTATTRCTL = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
184 SYS_EXTATTR_SET_FILE = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
185 SYS_EXTATTR_GET_FILE = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
186 SYS_EXTATTR_DELETE_FILE = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
187 SYS_EXTATTR_SET_FD = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
188 SYS_EXTATTR_GET_FD = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
189 SYS_EXTATTR_DELETE_FD = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
190 SYS_EXTATTR_SET_LINK = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); }
191 SYS_EXTATTR_GET_LINK = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
192 SYS_EXTATTR_DELETE_LINK = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
193 SYS_EXTATTR_LIST_FD = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
194 SYS_EXTATTR_LIST_FILE = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
195 SYS_EXTATTR_LIST_LINK = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
196 SYS_SETXATTR = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
197 SYS_LSETXATTR = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); }
198 SYS_FSETXATTR = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); }
199 SYS_GETXATTR = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); }
200 SYS_LGETXATTR = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); }
201 SYS_FGETXATTR = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); }
202 SYS_LISTXATTR = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); }
203 SYS_LLISTXATTR = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); }
204 SYS_FLISTXATTR = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); }
205 SYS_REMOVEXATTR = 384 // { int|sys||removexattr(const char *path, const char *name); }
206 SYS_LREMOVEXATTR = 385 // { int|sys||lremovexattr(const char *path, const char *name); }
207 SYS_FREMOVEXATTR = 386 // { int|sys||fremovexattr(int fd, const char *name); }
208 SYS_GETDENTS = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); }
209 SYS_SOCKET = 394 // { int|sys|30|socket(int domain, int type, int protocol); }
210 SYS_GETFH = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); }
211 SYS_MOUNT = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); }
212 SYS_MREMAP = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); }
213 SYS_PSET_CREATE = 412 // { int|sys||pset_create(psetid_t *psid); }
214 SYS_PSET_DESTROY = 413 // { int|sys||pset_destroy(psetid_t psid); }
215 SYS_PSET_ASSIGN = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); }
216 SYS__PSET_BIND = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); }
217 SYS_POSIX_FADVISE = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); }
218 SYS_SELECT = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
219 SYS_GETTIMEOFDAY = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); }
220 SYS_SETTIMEOFDAY = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); }
221 SYS_UTIMES = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); }
222 SYS_ADJTIME = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); }
223 SYS_FUTIMES = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); }
224 SYS_LUTIMES = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); }
225 SYS_SETITIMER = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
226 SYS_GETITIMER = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
227 SYS_CLOCK_GETTIME = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
228 SYS_CLOCK_SETTIME = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
229 SYS_CLOCK_GETRES = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
230 SYS_NANOSLEEP = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
231 SYS___SIGTIMEDWAIT = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); }
232 SYS__LWP_PARK = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); }
233 SYS_KEVENT = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); }
234 SYS_PSELECT = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
235 SYS_POLLTS = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
236 SYS_STAT = 439 // { int|sys|50|stat(const char *path, struct stat *ub); }
237 SYS_FSTAT = 440 // { int|sys|50|fstat(int fd, struct stat *sb); }
238 SYS_LSTAT = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); }
239 SYS___SEMCTL = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); }
240 SYS_SHMCTL = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); }
241 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); }
242 SYS_GETRUSAGE = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); }
243 SYS_TIMER_SETTIME = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
244 SYS_TIMER_GETTIME = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); }
245 SYS_NTP_GETTIME = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
246 SYS_WAIT4 = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
247 SYS_MKNOD = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); }
248 SYS_FHSTAT = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); }
249 SYS_PIPE2 = 453 // { int|sys||pipe2(int *fildes, int flags); }
250 SYS_DUP3 = 454 // { int|sys||dup3(int from, int to, int flags); }
251 SYS_KQUEUE1 = 455 // { int|sys||kqueue1(int flags); }
252 SYS_PACCEPT = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); }
253 SYS_LINKAT = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); }
254 SYS_RENAMEAT = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); }
255 SYS_MKFIFOAT = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); }
256 SYS_MKNODAT = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); }
257 SYS_MKDIRAT = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); }
258 SYS_FACCESSAT = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); }
259 SYS_FCHMODAT = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); }
260 SYS_FCHOWNAT = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); }
261 SYS_FEXECVE = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); }
262 SYS_FSTATAT = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); }
263 SYS_UTIMENSAT = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); }
264 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); }
265 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); }
266 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); }
267 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); }
268 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); }
269 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); }
270 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); }
271 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); }
272 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); }
273)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_386.go
deleted file mode 100644
index 3e8ce2a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_386.go
+++ /dev/null
@@ -1,207 +0,0 @@
1// mksysnum_openbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build 386,openbsd
5
6package unix
7
8const (
9 SYS_EXIT = 1 // { void sys_exit(int rval); }
10 SYS_FORK = 2 // { int sys_fork(void); }
11 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
12 SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
13 SYS_OPEN = 5 // { int sys_open(const char *path, \
14 SYS_CLOSE = 6 // { int sys_close(int fd); }
15 SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
16 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
17 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
18 SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
19 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
20 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
21 SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
22 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
23 SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
24 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
25 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
26 SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
27 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
28 SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
29 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
30 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
31 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
32 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
33 SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
34 SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
35 SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
36 SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
37 SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
38 SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
39 SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
40 SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
41 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
42 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
43 SYS_SYNC = 36 // { void sys_sync(void); }
44 SYS_KILL = 37 // { int sys_kill(int pid, int signum); }
45 SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
46 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
47 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
48 SYS_DUP = 41 // { int sys_dup(int fd); }
49 SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
50 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
51 SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
52 SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
53 SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
54 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
55 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
56 SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
57 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
58 SYS_ACCT = 51 // { int sys_acct(const char *path); }
59 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
60 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
61 SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
62 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
63 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
64 SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
65 SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
66 SYS_EXECVE = 59 // { int sys_execve(const char *path, \
67 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
68 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
69 SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
70 SYS_STATFS = 63 // { int sys_statfs(const char *path, \
71 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
72 SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
73 SYS_VFORK = 66 // { int sys_vfork(void); }
74 SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
75 SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
76 SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
77 SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
78 SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
79 SYS_KEVENT = 72 // { int sys_kevent(int fd, \
80 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
81 SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
82 SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
83 SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
84 SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
85 SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
86 SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
87 SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
88 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
89 SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
90 SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
91 SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
92 SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
93 SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
94 SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
95 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
96 SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
97 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
98 SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
99 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
100 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
101 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
102 SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
103 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
104 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
105 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
106 SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
107 SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
108 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
109 SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
110 SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
111 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
112 SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
113 SYS_READV = 120 // { ssize_t sys_readv(int fd, \
114 SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
115 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
116 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
117 SYS_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
118 SYS_SETREGID = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
119 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
120 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
121 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
122 SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
123 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
124 SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
125 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
126 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
127 SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
128 SYS_SETSID = 147 // { int sys_setsid(void); }
129 SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
130 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
131 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
132 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
133 SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
134 SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
135 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
136 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
137 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
138 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
139 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
140 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
141 SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
142 SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
143 SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
144 SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
145 SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
146 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
147 SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
148 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
149 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
150 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
151 SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
152 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
153 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
154 SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
155 SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
156 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
157 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
158 SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
159 SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
160 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
161 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
162 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
163 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
164 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
165 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
166 SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
167 SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
168 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
169 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
170 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
171 SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
172 SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
173 SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
174 SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
175 SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
176 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
177 SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
178 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
179 SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
180 SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
181 SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
182 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
183 SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
184 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
185 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
186 SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
187 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
188 SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
189 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
190 SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
191 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
192 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
193 SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
194 SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
195 SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
196 SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
197 SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
198 SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
199 SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
200 SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
201 SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
202 SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
203 SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
204 SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
205 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
206 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
207)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
deleted file mode 100644
index bd28146..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
+++ /dev/null
@@ -1,207 +0,0 @@
1// mksysnum_openbsd.pl
2// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
3
4// +build amd64,openbsd
5
6package unix
7
8const (
9 SYS_EXIT = 1 // { void sys_exit(int rval); }
10 SYS_FORK = 2 // { int sys_fork(void); }
11 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
12 SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
13 SYS_OPEN = 5 // { int sys_open(const char *path, \
14 SYS_CLOSE = 6 // { int sys_close(int fd); }
15 SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
16 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
17 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
18 SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
19 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
20 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
21 SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
22 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
23 SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
24 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
25 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
26 SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
27 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
28 SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
29 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
30 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
31 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
32 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
33 SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
34 SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
35 SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
36 SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
37 SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
38 SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
39 SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
40 SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
41 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
42 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
43 SYS_SYNC = 36 // { void sys_sync(void); }
44 SYS_KILL = 37 // { int sys_kill(int pid, int signum); }
45 SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
46 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
47 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
48 SYS_DUP = 41 // { int sys_dup(int fd); }
49 SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
50 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
51 SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
52 SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
53 SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
54 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
55 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
56 SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
57 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
58 SYS_ACCT = 51 // { int sys_acct(const char *path); }
59 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
60 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
61 SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
62 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
63 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
64 SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
65 SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
66 SYS_EXECVE = 59 // { int sys_execve(const char *path, \
67 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
68 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
69 SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
70 SYS_STATFS = 63 // { int sys_statfs(const char *path, \
71 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
72 SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
73 SYS_VFORK = 66 // { int sys_vfork(void); }
74 SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
75 SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
76 SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
77 SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
78 SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
79 SYS_KEVENT = 72 // { int sys_kevent(int fd, \
80 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
81 SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
82 SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
83 SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
84 SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
85 SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
86 SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
87 SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
88 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
89 SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
90 SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
91 SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
92 SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
93 SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
94 SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
95 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
96 SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
97 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
98 SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
99 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
100 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
101 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
102 SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
103 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
104 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
105 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
106 SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
107 SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
108 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
109 SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
110 SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
111 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
112 SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
113 SYS_READV = 120 // { ssize_t sys_readv(int fd, \
114 SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
115 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
116 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
117 SYS_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
118 SYS_SETREGID = 127 // { int sys_setregid(gid_t rgid, gid_t egid); }
119 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
120 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
121 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
122 SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
123 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
124 SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
125 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
126 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
127 SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
128 SYS_SETSID = 147 // { int sys_setsid(void); }
129 SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
130 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
131 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
132 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
133 SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
134 SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
135 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
136 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
137 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
138 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
139 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
140 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
141 SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
142 SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
143 SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
144 SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
145 SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
146 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
147 SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
148 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
149 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
150 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
151 SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
152 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
153 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
154 SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
155 SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
156 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
157 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
158 SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
159 SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
160 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
161 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
162 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
163 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
164 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
165 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
166 SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
167 SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
168 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
169 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
170 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
171 SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
172 SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
173 SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
174 SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
175 SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
176 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
177 SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
178 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
179 SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
180 SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
181 SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
182 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
183 SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
184 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
185 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
186 SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
187 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
188 SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
189 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
190 SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
191 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
192 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
193 SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
194 SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
195 SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
196 SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
197 SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
198 SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
199 SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
200 SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
201 SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
202 SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
203 SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
204 SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
205 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
206 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
207)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_solaris_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
deleted file mode 100644
index c708659..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
+++ /dev/null
@@ -1,13 +0,0 @@
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build amd64,solaris
6
7package unix
8
9// TODO(aram): remove these before Go 1.3.
10const (
11 SYS_EXECVE = 59
12 SYS_FCNTL = 62
13)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_386.go
deleted file mode 100644
index 2de1d44..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_386.go
+++ /dev/null
@@ -1,447 +0,0 @@
1// +build 386,darwin
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_darwin.go
4
5package unix
6
7const (
8 sizeofPtr = 0x4
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x4
12 sizeofLongLong = 0x8
13)
14
15type (
16 _C_short int16
17 _C_int int32
18 _C_long int32
19 _C_long_long int64
20)
21
22type Timespec struct {
23 Sec int32
24 Nsec int32
25}
26
27type Timeval struct {
28 Sec int32
29 Usec int32
30}
31
32type Timeval32 struct{}
33
34type Rusage struct {
35 Utime Timeval
36 Stime Timeval
37 Maxrss int32
38 Ixrss int32
39 Idrss int32
40 Isrss int32
41 Minflt int32
42 Majflt int32
43 Nswap int32
44 Inblock int32
45 Oublock int32
46 Msgsnd int32
47 Msgrcv int32
48 Nsignals int32
49 Nvcsw int32
50 Nivcsw int32
51}
52
53type Rlimit struct {
54 Cur uint64
55 Max uint64
56}
57
58type _Gid_t uint32
59
60type Stat_t struct {
61 Dev int32
62 Mode uint16
63 Nlink uint16
64 Ino uint64
65 Uid uint32
66 Gid uint32
67 Rdev int32
68 Atimespec Timespec
69 Mtimespec Timespec
70 Ctimespec Timespec
71 Birthtimespec Timespec
72 Size int64
73 Blocks int64
74 Blksize int32
75 Flags uint32
76 Gen uint32
77 Lspare int32
78 Qspare [2]int64
79}
80
81type Statfs_t struct {
82 Bsize uint32
83 Iosize int32
84 Blocks uint64
85 Bfree uint64
86 Bavail uint64
87 Files uint64
88 Ffree uint64
89 Fsid Fsid
90 Owner uint32
91 Type uint32
92 Flags uint32
93 Fssubtype uint32
94 Fstypename [16]int8
95 Mntonname [1024]int8
96 Mntfromname [1024]int8
97 Reserved [8]uint32
98}
99
100type Flock_t struct {
101 Start int64
102 Len int64
103 Pid int32
104 Type int16
105 Whence int16
106}
107
108type Fstore_t struct {
109 Flags uint32
110 Posmode int32
111 Offset int64
112 Length int64
113 Bytesalloc int64
114}
115
116type Radvisory_t struct {
117 Offset int64
118 Count int32
119}
120
121type Fbootstraptransfer_t struct {
122 Offset int64
123 Length uint32
124 Buffer *byte
125}
126
127type Log2phys_t struct {
128 Flags uint32
129 Contigbytes int64
130 Devoffset int64
131}
132
133type Fsid struct {
134 Val [2]int32
135}
136
137type Dirent struct {
138 Ino uint64
139 Seekoff uint64
140 Reclen uint16
141 Namlen uint16
142 Type uint8
143 Name [1024]int8
144 Pad_cgo_0 [3]byte
145}
146
147type RawSockaddrInet4 struct {
148 Len uint8
149 Family uint8
150 Port uint16
151 Addr [4]byte /* in_addr */
152 Zero [8]int8
153}
154
155type RawSockaddrInet6 struct {
156 Len uint8
157 Family uint8
158 Port uint16
159 Flowinfo uint32
160 Addr [16]byte /* in6_addr */
161 Scope_id uint32
162}
163
164type RawSockaddrUnix struct {
165 Len uint8
166 Family uint8
167 Path [104]int8
168}
169
170type RawSockaddrDatalink struct {
171 Len uint8
172 Family uint8
173 Index uint16
174 Type uint8
175 Nlen uint8
176 Alen uint8
177 Slen uint8
178 Data [12]int8
179}
180
181type RawSockaddr struct {
182 Len uint8
183 Family uint8
184 Data [14]int8
185}
186
187type RawSockaddrAny struct {
188 Addr RawSockaddr
189 Pad [92]int8
190}
191
192type _Socklen uint32
193
194type Linger struct {
195 Onoff int32
196 Linger int32
197}
198
199type Iovec struct {
200 Base *byte
201 Len uint32
202}
203
204type IPMreq struct {
205 Multiaddr [4]byte /* in_addr */
206 Interface [4]byte /* in_addr */
207}
208
209type IPv6Mreq struct {
210 Multiaddr [16]byte /* in6_addr */
211 Interface uint32
212}
213
214type Msghdr struct {
215 Name *byte
216 Namelen uint32
217 Iov *Iovec
218 Iovlen int32
219 Control *byte
220 Controllen uint32
221 Flags int32
222}
223
224type Cmsghdr struct {
225 Len uint32
226 Level int32
227 Type int32
228}
229
230type Inet4Pktinfo struct {
231 Ifindex uint32
232 Spec_dst [4]byte /* in_addr */
233 Addr [4]byte /* in_addr */
234}
235
236type Inet6Pktinfo struct {
237 Addr [16]byte /* in6_addr */
238 Ifindex uint32
239}
240
241type IPv6MTUInfo struct {
242 Addr RawSockaddrInet6
243 Mtu uint32
244}
245
246type ICMPv6Filter struct {
247 Filt [8]uint32
248}
249
250const (
251 SizeofSockaddrInet4 = 0x10
252 SizeofSockaddrInet6 = 0x1c
253 SizeofSockaddrAny = 0x6c
254 SizeofSockaddrUnix = 0x6a
255 SizeofSockaddrDatalink = 0x14
256 SizeofLinger = 0x8
257 SizeofIPMreq = 0x8
258 SizeofIPv6Mreq = 0x14
259 SizeofMsghdr = 0x1c
260 SizeofCmsghdr = 0xc
261 SizeofInet4Pktinfo = 0xc
262 SizeofInet6Pktinfo = 0x14
263 SizeofIPv6MTUInfo = 0x20
264 SizeofICMPv6Filter = 0x20
265)
266
267const (
268 PTRACE_TRACEME = 0x0
269 PTRACE_CONT = 0x7
270 PTRACE_KILL = 0x8
271)
272
273type Kevent_t struct {
274 Ident uint32
275 Filter int16
276 Flags uint16
277 Fflags uint32
278 Data int32
279 Udata *byte
280}
281
282type FdSet struct {
283 Bits [32]int32
284}
285
286const (
287 SizeofIfMsghdr = 0x70
288 SizeofIfData = 0x60
289 SizeofIfaMsghdr = 0x14
290 SizeofIfmaMsghdr = 0x10
291 SizeofIfmaMsghdr2 = 0x14
292 SizeofRtMsghdr = 0x5c
293 SizeofRtMetrics = 0x38
294)
295
296type IfMsghdr struct {
297 Msglen uint16
298 Version uint8
299 Type uint8
300 Addrs int32
301 Flags int32
302 Index uint16
303 Pad_cgo_0 [2]byte
304 Data IfData
305}
306
307type IfData struct {
308 Type uint8
309 Typelen uint8
310 Physical uint8
311 Addrlen uint8
312 Hdrlen uint8
313 Recvquota uint8
314 Xmitquota uint8
315 Unused1 uint8
316 Mtu uint32
317 Metric uint32
318 Baudrate uint32
319 Ipackets uint32
320 Ierrors uint32
321 Opackets uint32
322 Oerrors uint32
323 Collisions uint32
324 Ibytes uint32
325 Obytes uint32
326 Imcasts uint32
327 Omcasts uint32
328 Iqdrops uint32
329 Noproto uint32
330 Recvtiming uint32
331 Xmittiming uint32
332 Lastchange Timeval
333 Unused2 uint32
334 Hwassist uint32
335 Reserved1 uint32
336 Reserved2 uint32
337}
338
339type IfaMsghdr struct {
340 Msglen uint16
341 Version uint8
342 Type uint8
343 Addrs int32
344 Flags int32
345 Index uint16
346 Pad_cgo_0 [2]byte
347 Metric int32
348}
349
350type IfmaMsghdr struct {
351 Msglen uint16
352 Version uint8
353 Type uint8
354 Addrs int32
355 Flags int32
356 Index uint16
357 Pad_cgo_0 [2]byte
358}
359
360type IfmaMsghdr2 struct {
361 Msglen uint16
362 Version uint8
363 Type uint8
364 Addrs int32
365 Flags int32
366 Index uint16
367 Pad_cgo_0 [2]byte
368 Refcount int32
369}
370
371type RtMsghdr struct {
372 Msglen uint16
373 Version uint8
374 Type uint8
375 Index uint16
376 Pad_cgo_0 [2]byte
377 Flags int32
378 Addrs int32
379 Pid int32
380 Seq int32
381 Errno int32
382 Use int32
383 Inits uint32
384 Rmx RtMetrics
385}
386
387type RtMetrics struct {
388 Locks uint32
389 Mtu uint32
390 Hopcount uint32
391 Expire int32
392 Recvpipe uint32
393 Sendpipe uint32
394 Ssthresh uint32
395 Rtt uint32
396 Rttvar uint32
397 Pksent uint32
398 Filler [4]uint32
399}
400
401const (
402 SizeofBpfVersion = 0x4
403 SizeofBpfStat = 0x8
404 SizeofBpfProgram = 0x8
405 SizeofBpfInsn = 0x8
406 SizeofBpfHdr = 0x14
407)
408
409type BpfVersion struct {
410 Major uint16
411 Minor uint16
412}
413
414type BpfStat struct {
415 Recv uint32
416 Drop uint32
417}
418
419type BpfProgram struct {
420 Len uint32
421 Insns *BpfInsn
422}
423
424type BpfInsn struct {
425 Code uint16
426 Jt uint8
427 Jf uint8
428 K uint32
429}
430
431type BpfHdr struct {
432 Tstamp Timeval
433 Caplen uint32
434 Datalen uint32
435 Hdrlen uint16
436 Pad_cgo_0 [2]byte
437}
438
439type Termios struct {
440 Iflag uint32
441 Oflag uint32
442 Cflag uint32
443 Lflag uint32
444 Cc [20]uint8
445 Ispeed uint32
446 Ospeed uint32
447}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_amd64.go
deleted file mode 100644
index 0446578..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_amd64.go
+++ /dev/null
@@ -1,462 +0,0 @@
1// +build amd64,darwin
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_darwin.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13)
14
15type (
16 _C_short int16
17 _C_int int32
18 _C_long int64
19 _C_long_long int64
20)
21
22type Timespec struct {
23 Sec int64
24 Nsec int64
25}
26
27type Timeval struct {
28 Sec int64
29 Usec int32
30 Pad_cgo_0 [4]byte
31}
32
33type Timeval32 struct {
34 Sec int32
35 Usec int32
36}
37
38type Rusage struct {
39 Utime Timeval
40 Stime Timeval
41 Maxrss int64
42 Ixrss int64
43 Idrss int64
44 Isrss int64
45 Minflt int64
46 Majflt int64
47 Nswap int64
48 Inblock int64
49 Oublock int64
50 Msgsnd int64
51 Msgrcv int64
52 Nsignals int64
53 Nvcsw int64
54 Nivcsw int64
55}
56
57type Rlimit struct {
58 Cur uint64
59 Max uint64
60}
61
62type _Gid_t uint32
63
64type Stat_t struct {
65 Dev int32
66 Mode uint16
67 Nlink uint16
68 Ino uint64
69 Uid uint32
70 Gid uint32
71 Rdev int32
72 Pad_cgo_0 [4]byte
73 Atimespec Timespec
74 Mtimespec Timespec
75 Ctimespec Timespec
76 Birthtimespec Timespec
77 Size int64
78 Blocks int64
79 Blksize int32
80 Flags uint32
81 Gen uint32
82 Lspare int32
83 Qspare [2]int64
84}
85
86type Statfs_t struct {
87 Bsize uint32
88 Iosize int32
89 Blocks uint64
90 Bfree uint64
91 Bavail uint64
92 Files uint64
93 Ffree uint64
94 Fsid Fsid
95 Owner uint32
96 Type uint32
97 Flags uint32
98 Fssubtype uint32
99 Fstypename [16]int8
100 Mntonname [1024]int8
101 Mntfromname [1024]int8
102 Reserved [8]uint32
103}
104
105type Flock_t struct {
106 Start int64
107 Len int64
108 Pid int32
109 Type int16
110 Whence int16
111}
112
113type Fstore_t struct {
114 Flags uint32
115 Posmode int32
116 Offset int64
117 Length int64
118 Bytesalloc int64
119}
120
121type Radvisory_t struct {
122 Offset int64
123 Count int32
124 Pad_cgo_0 [4]byte
125}
126
127type Fbootstraptransfer_t struct {
128 Offset int64
129 Length uint64
130 Buffer *byte
131}
132
133type Log2phys_t struct {
134 Flags uint32
135 Pad_cgo_0 [8]byte
136 Pad_cgo_1 [8]byte
137}
138
139type Fsid struct {
140 Val [2]int32
141}
142
143type Dirent struct {
144 Ino uint64
145 Seekoff uint64
146 Reclen uint16
147 Namlen uint16
148 Type uint8
149 Name [1024]int8
150 Pad_cgo_0 [3]byte
151}
152
153type RawSockaddrInet4 struct {
154 Len uint8
155 Family uint8
156 Port uint16
157 Addr [4]byte /* in_addr */
158 Zero [8]int8
159}
160
161type RawSockaddrInet6 struct {
162 Len uint8
163 Family uint8
164 Port uint16
165 Flowinfo uint32
166 Addr [16]byte /* in6_addr */
167 Scope_id uint32
168}
169
170type RawSockaddrUnix struct {
171 Len uint8
172 Family uint8
173 Path [104]int8
174}
175
176type RawSockaddrDatalink struct {
177 Len uint8
178 Family uint8
179 Index uint16
180 Type uint8
181 Nlen uint8
182 Alen uint8
183 Slen uint8
184 Data [12]int8
185}
186
187type RawSockaddr struct {
188 Len uint8
189 Family uint8
190 Data [14]int8
191}
192
193type RawSockaddrAny struct {
194 Addr RawSockaddr
195 Pad [92]int8
196}
197
198type _Socklen uint32
199
200type Linger struct {
201 Onoff int32
202 Linger int32
203}
204
205type Iovec struct {
206 Base *byte
207 Len uint64
208}
209
210type IPMreq struct {
211 Multiaddr [4]byte /* in_addr */
212 Interface [4]byte /* in_addr */
213}
214
215type IPv6Mreq struct {
216 Multiaddr [16]byte /* in6_addr */
217 Interface uint32
218}
219
220type Msghdr struct {
221 Name *byte
222 Namelen uint32
223 Pad_cgo_0 [4]byte
224 Iov *Iovec
225 Iovlen int32
226 Pad_cgo_1 [4]byte
227 Control *byte
228 Controllen uint32
229 Flags int32
230}
231
232type Cmsghdr struct {
233 Len uint32
234 Level int32
235 Type int32
236}
237
238type Inet4Pktinfo struct {
239 Ifindex uint32
240 Spec_dst [4]byte /* in_addr */
241 Addr [4]byte /* in_addr */
242}
243
244type Inet6Pktinfo struct {
245 Addr [16]byte /* in6_addr */
246 Ifindex uint32
247}
248
249type IPv6MTUInfo struct {
250 Addr RawSockaddrInet6
251 Mtu uint32
252}
253
254type ICMPv6Filter struct {
255 Filt [8]uint32
256}
257
258const (
259 SizeofSockaddrInet4 = 0x10
260 SizeofSockaddrInet6 = 0x1c
261 SizeofSockaddrAny = 0x6c
262 SizeofSockaddrUnix = 0x6a
263 SizeofSockaddrDatalink = 0x14
264 SizeofLinger = 0x8
265 SizeofIPMreq = 0x8
266 SizeofIPv6Mreq = 0x14
267 SizeofMsghdr = 0x30
268 SizeofCmsghdr = 0xc
269 SizeofInet4Pktinfo = 0xc
270 SizeofInet6Pktinfo = 0x14
271 SizeofIPv6MTUInfo = 0x20
272 SizeofICMPv6Filter = 0x20
273)
274
275const (
276 PTRACE_TRACEME = 0x0
277 PTRACE_CONT = 0x7
278 PTRACE_KILL = 0x8
279)
280
281type Kevent_t struct {
282 Ident uint64
283 Filter int16
284 Flags uint16
285 Fflags uint32
286 Data int64
287 Udata *byte
288}
289
290type FdSet struct {
291 Bits [32]int32
292}
293
294const (
295 SizeofIfMsghdr = 0x70
296 SizeofIfData = 0x60
297 SizeofIfaMsghdr = 0x14
298 SizeofIfmaMsghdr = 0x10
299 SizeofIfmaMsghdr2 = 0x14
300 SizeofRtMsghdr = 0x5c
301 SizeofRtMetrics = 0x38
302)
303
304type IfMsghdr struct {
305 Msglen uint16
306 Version uint8
307 Type uint8
308 Addrs int32
309 Flags int32
310 Index uint16
311 Pad_cgo_0 [2]byte
312 Data IfData
313}
314
315type IfData struct {
316 Type uint8
317 Typelen uint8
318 Physical uint8
319 Addrlen uint8
320 Hdrlen uint8
321 Recvquota uint8
322 Xmitquota uint8
323 Unused1 uint8
324 Mtu uint32
325 Metric uint32
326 Baudrate uint32
327 Ipackets uint32
328 Ierrors uint32
329 Opackets uint32
330 Oerrors uint32
331 Collisions uint32
332 Ibytes uint32
333 Obytes uint32
334 Imcasts uint32
335 Omcasts uint32
336 Iqdrops uint32
337 Noproto uint32
338 Recvtiming uint32
339 Xmittiming uint32
340 Lastchange Timeval32
341 Unused2 uint32
342 Hwassist uint32
343 Reserved1 uint32
344 Reserved2 uint32
345}
346
347type IfaMsghdr struct {
348 Msglen uint16
349 Version uint8
350 Type uint8
351 Addrs int32
352 Flags int32
353 Index uint16
354 Pad_cgo_0 [2]byte
355 Metric int32
356}
357
358type IfmaMsghdr struct {
359 Msglen uint16
360 Version uint8
361 Type uint8
362 Addrs int32
363 Flags int32
364 Index uint16
365 Pad_cgo_0 [2]byte
366}
367
368type IfmaMsghdr2 struct {
369 Msglen uint16
370 Version uint8
371 Type uint8
372 Addrs int32
373 Flags int32
374 Index uint16
375 Pad_cgo_0 [2]byte
376 Refcount int32
377}
378
379type RtMsghdr struct {
380 Msglen uint16
381 Version uint8
382 Type uint8
383 Index uint16
384 Pad_cgo_0 [2]byte
385 Flags int32
386 Addrs int32
387 Pid int32
388 Seq int32
389 Errno int32
390 Use int32
391 Inits uint32
392 Rmx RtMetrics
393}
394
395type RtMetrics struct {
396 Locks uint32
397 Mtu uint32
398 Hopcount uint32
399 Expire int32
400 Recvpipe uint32
401 Sendpipe uint32
402 Ssthresh uint32
403 Rtt uint32
404 Rttvar uint32
405 Pksent uint32
406 Filler [4]uint32
407}
408
409const (
410 SizeofBpfVersion = 0x4
411 SizeofBpfStat = 0x8
412 SizeofBpfProgram = 0x10
413 SizeofBpfInsn = 0x8
414 SizeofBpfHdr = 0x14
415)
416
417type BpfVersion struct {
418 Major uint16
419 Minor uint16
420}
421
422type BpfStat struct {
423 Recv uint32
424 Drop uint32
425}
426
427type BpfProgram struct {
428 Len uint32
429 Pad_cgo_0 [4]byte
430 Insns *BpfInsn
431}
432
433type BpfInsn struct {
434 Code uint16
435 Jt uint8
436 Jf uint8
437 K uint32
438}
439
440type BpfHdr struct {
441 Tstamp Timeval32
442 Caplen uint32
443 Datalen uint32
444 Hdrlen uint16
445 Pad_cgo_0 [2]byte
446}
447
448type Termios struct {
449 Iflag uint64
450 Oflag uint64
451 Cflag uint64
452 Lflag uint64
453 Cc [20]uint8
454 Pad_cgo_0 [4]byte
455 Ispeed uint64
456 Ospeed uint64
457}
458
459const (
460 AT_FDCWD = -0x2
461 AT_SYMLINK_NOFOLLOW = 0x20
462)
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm.go
deleted file mode 100644
index 66df363..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm.go
+++ /dev/null
@@ -1,449 +0,0 @@
1// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_darwin.go
4
5// +build arm,darwin
6
7package unix
8
9const (
10 sizeofPtr = 0x4
11 sizeofShort = 0x2
12 sizeofInt = 0x4
13 sizeofLong = 0x4
14 sizeofLongLong = 0x8
15)
16
17type (
18 _C_short int16
19 _C_int int32
20 _C_long int32
21 _C_long_long int64
22)
23
24type Timespec struct {
25 Sec int32
26 Nsec int32
27}
28
29type Timeval struct {
30 Sec int32
31 Usec int32
32}
33
34type Timeval32 [0]byte
35
36type Rusage struct {
37 Utime Timeval
38 Stime Timeval
39 Maxrss int32
40 Ixrss int32
41 Idrss int32
42 Isrss int32
43 Minflt int32
44 Majflt int32
45 Nswap int32
46 Inblock int32
47 Oublock int32
48 Msgsnd int32
49 Msgrcv int32
50 Nsignals int32
51 Nvcsw int32
52 Nivcsw int32
53}
54
55type Rlimit struct {
56 Cur uint64
57 Max uint64
58}
59
60type _Gid_t uint32
61
62type Stat_t struct {
63 Dev int32
64 Mode uint16
65 Nlink uint16
66 Ino uint64
67 Uid uint32
68 Gid uint32
69 Rdev int32
70 Atimespec Timespec
71 Mtimespec Timespec
72 Ctimespec Timespec
73 Birthtimespec Timespec
74 Size int64
75 Blocks int64
76 Blksize int32
77 Flags uint32
78 Gen uint32
79 Lspare int32
80 Qspare [2]int64
81}
82
83type Statfs_t struct {
84 Bsize uint32
85 Iosize int32
86 Blocks uint64
87 Bfree uint64
88 Bavail uint64
89 Files uint64
90 Ffree uint64
91 Fsid Fsid
92 Owner uint32
93 Type uint32
94 Flags uint32
95 Fssubtype uint32
96 Fstypename [16]int8
97 Mntonname [1024]int8
98 Mntfromname [1024]int8
99 Reserved [8]uint32
100}
101
102type Flock_t struct {
103 Start int64
104 Len int64
105 Pid int32
106 Type int16
107 Whence int16
108}
109
110type Fstore_t struct {
111 Flags uint32
112 Posmode int32
113 Offset int64
114 Length int64
115 Bytesalloc int64
116}
117
118type Radvisory_t struct {
119 Offset int64
120 Count int32
121}
122
123type Fbootstraptransfer_t struct {
124 Offset int64
125 Length uint32
126 Buffer *byte
127}
128
129type Log2phys_t struct {
130 Flags uint32
131 Contigbytes int64
132 Devoffset int64
133}
134
135type Fsid struct {
136 Val [2]int32
137}
138
139type Dirent struct {
140 Ino uint64
141 Seekoff uint64
142 Reclen uint16
143 Namlen uint16
144 Type uint8
145 Name [1024]int8
146 Pad_cgo_0 [3]byte
147}
148
149type RawSockaddrInet4 struct {
150 Len uint8
151 Family uint8
152 Port uint16
153 Addr [4]byte /* in_addr */
154 Zero [8]int8
155}
156
157type RawSockaddrInet6 struct {
158 Len uint8
159 Family uint8
160 Port uint16
161 Flowinfo uint32
162 Addr [16]byte /* in6_addr */
163 Scope_id uint32
164}
165
166type RawSockaddrUnix struct {
167 Len uint8
168 Family uint8
169 Path [104]int8
170}
171
172type RawSockaddrDatalink struct {
173 Len uint8
174 Family uint8
175 Index uint16
176 Type uint8
177 Nlen uint8
178 Alen uint8
179 Slen uint8
180 Data [12]int8
181}
182
183type RawSockaddr struct {
184 Len uint8
185 Family uint8
186 Data [14]int8
187}
188
189type RawSockaddrAny struct {
190 Addr RawSockaddr
191 Pad [92]int8
192}
193
194type _Socklen uint32
195
196type Linger struct {
197 Onoff int32
198 Linger int32
199}
200
201type Iovec struct {
202 Base *byte
203 Len uint32
204}
205
206type IPMreq struct {
207 Multiaddr [4]byte /* in_addr */
208 Interface [4]byte /* in_addr */
209}
210
211type IPv6Mreq struct {
212 Multiaddr [16]byte /* in6_addr */
213 Interface uint32
214}
215
216type Msghdr struct {
217 Name *byte
218 Namelen uint32
219 Iov *Iovec
220 Iovlen int32
221 Control *byte
222 Controllen uint32
223 Flags int32
224}
225
226type Cmsghdr struct {
227 Len uint32
228 Level int32
229 Type int32
230}
231
232type Inet4Pktinfo struct {
233 Ifindex uint32
234 Spec_dst [4]byte /* in_addr */
235 Addr [4]byte /* in_addr */
236}
237
238type Inet6Pktinfo struct {
239 Addr [16]byte /* in6_addr */
240 Ifindex uint32
241}
242
243type IPv6MTUInfo struct {
244 Addr RawSockaddrInet6
245 Mtu uint32
246}
247
248type ICMPv6Filter struct {
249 Filt [8]uint32
250}
251
252const (
253 SizeofSockaddrInet4 = 0x10
254 SizeofSockaddrInet6 = 0x1c
255 SizeofSockaddrAny = 0x6c
256 SizeofSockaddrUnix = 0x6a
257 SizeofSockaddrDatalink = 0x14
258 SizeofLinger = 0x8
259 SizeofIPMreq = 0x8
260 SizeofIPv6Mreq = 0x14
261 SizeofMsghdr = 0x1c
262 SizeofCmsghdr = 0xc
263 SizeofInet4Pktinfo = 0xc
264 SizeofInet6Pktinfo = 0x14
265 SizeofIPv6MTUInfo = 0x20
266 SizeofICMPv6Filter = 0x20
267)
268
269const (
270 PTRACE_TRACEME = 0x0
271 PTRACE_CONT = 0x7
272 PTRACE_KILL = 0x8
273)
274
275type Kevent_t struct {
276 Ident uint32
277 Filter int16
278 Flags uint16
279 Fflags uint32
280 Data int32
281 Udata *byte
282}
283
284type FdSet struct {
285 Bits [32]int32
286}
287
288const (
289 SizeofIfMsghdr = 0x70
290 SizeofIfData = 0x60
291 SizeofIfaMsghdr = 0x14
292 SizeofIfmaMsghdr = 0x10
293 SizeofIfmaMsghdr2 = 0x14
294 SizeofRtMsghdr = 0x5c
295 SizeofRtMetrics = 0x38
296)
297
298type IfMsghdr struct {
299 Msglen uint16
300 Version uint8
301 Type uint8
302 Addrs int32
303 Flags int32
304 Index uint16
305 Pad_cgo_0 [2]byte
306 Data IfData
307}
308
309type IfData struct {
310 Type uint8
311 Typelen uint8
312 Physical uint8
313 Addrlen uint8
314 Hdrlen uint8
315 Recvquota uint8
316 Xmitquota uint8
317 Unused1 uint8
318 Mtu uint32
319 Metric uint32
320 Baudrate uint32
321 Ipackets uint32
322 Ierrors uint32
323 Opackets uint32
324 Oerrors uint32
325 Collisions uint32
326 Ibytes uint32
327 Obytes uint32
328 Imcasts uint32
329 Omcasts uint32
330 Iqdrops uint32
331 Noproto uint32
332 Recvtiming uint32
333 Xmittiming uint32
334 Lastchange Timeval
335 Unused2 uint32
336 Hwassist uint32
337 Reserved1 uint32
338 Reserved2 uint32
339}
340
341type IfaMsghdr struct {
342 Msglen uint16
343 Version uint8
344 Type uint8
345 Addrs int32
346 Flags int32
347 Index uint16
348 Pad_cgo_0 [2]byte
349 Metric int32
350}
351
352type IfmaMsghdr struct {
353 Msglen uint16
354 Version uint8
355 Type uint8
356 Addrs int32
357 Flags int32
358 Index uint16
359 Pad_cgo_0 [2]byte
360}
361
362type IfmaMsghdr2 struct {
363 Msglen uint16
364 Version uint8
365 Type uint8
366 Addrs int32
367 Flags int32
368 Index uint16
369 Pad_cgo_0 [2]byte
370 Refcount int32
371}
372
373type RtMsghdr struct {
374 Msglen uint16
375 Version uint8
376 Type uint8
377 Index uint16
378 Pad_cgo_0 [2]byte
379 Flags int32
380 Addrs int32
381 Pid int32
382 Seq int32
383 Errno int32
384 Use int32
385 Inits uint32
386 Rmx RtMetrics
387}
388
389type RtMetrics struct {
390 Locks uint32
391 Mtu uint32
392 Hopcount uint32
393 Expire int32
394 Recvpipe uint32
395 Sendpipe uint32
396 Ssthresh uint32
397 Rtt uint32
398 Rttvar uint32
399 Pksent uint32
400 Filler [4]uint32
401}
402
403const (
404 SizeofBpfVersion = 0x4
405 SizeofBpfStat = 0x8
406 SizeofBpfProgram = 0x8
407 SizeofBpfInsn = 0x8
408 SizeofBpfHdr = 0x14
409)
410
411type BpfVersion struct {
412 Major uint16
413 Minor uint16
414}
415
416type BpfStat struct {
417 Recv uint32
418 Drop uint32
419}
420
421type BpfProgram struct {
422 Len uint32
423 Insns *BpfInsn
424}
425
426type BpfInsn struct {
427 Code uint16
428 Jt uint8
429 Jf uint8
430 K uint32
431}
432
433type BpfHdr struct {
434 Tstamp Timeval
435 Caplen uint32
436 Datalen uint32
437 Hdrlen uint16
438 Pad_cgo_0 [2]byte
439}
440
441type Termios struct {
442 Iflag uint32
443 Oflag uint32
444 Cflag uint32
445 Lflag uint32
446 Cc [20]uint8
447 Ispeed uint32
448 Ospeed uint32
449}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm64.go
deleted file mode 100644
index 85d56ea..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_arm64.go
+++ /dev/null
@@ -1,457 +0,0 @@
1// +build arm64,darwin
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_darwin.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13)
14
15type (
16 _C_short int16
17 _C_int int32
18 _C_long int64
19 _C_long_long int64
20)
21
22type Timespec struct {
23 Sec int64
24 Nsec int64
25}
26
27type Timeval struct {
28 Sec int64
29 Usec int32
30 Pad_cgo_0 [4]byte
31}
32
33type Timeval32 struct {
34 Sec int32
35 Usec int32
36}
37
38type Rusage struct {
39 Utime Timeval
40 Stime Timeval
41 Maxrss int64
42 Ixrss int64
43 Idrss int64
44 Isrss int64
45 Minflt int64
46 Majflt int64
47 Nswap int64
48 Inblock int64
49 Oublock int64
50 Msgsnd int64
51 Msgrcv int64
52 Nsignals int64
53 Nvcsw int64
54 Nivcsw int64
55}
56
57type Rlimit struct {
58 Cur uint64
59 Max uint64
60}
61
62type _Gid_t uint32
63
64type Stat_t struct {
65 Dev int32
66 Mode uint16
67 Nlink uint16
68 Ino uint64
69 Uid uint32
70 Gid uint32
71 Rdev int32
72 Pad_cgo_0 [4]byte
73 Atimespec Timespec
74 Mtimespec Timespec
75 Ctimespec Timespec
76 Birthtimespec Timespec
77 Size int64
78 Blocks int64
79 Blksize int32
80 Flags uint32
81 Gen uint32
82 Lspare int32
83 Qspare [2]int64
84}
85
86type Statfs_t struct {
87 Bsize uint32
88 Iosize int32
89 Blocks uint64
90 Bfree uint64
91 Bavail uint64
92 Files uint64
93 Ffree uint64
94 Fsid Fsid
95 Owner uint32
96 Type uint32
97 Flags uint32
98 Fssubtype uint32
99 Fstypename [16]int8
100 Mntonname [1024]int8
101 Mntfromname [1024]int8
102 Reserved [8]uint32
103}
104
105type Flock_t struct {
106 Start int64
107 Len int64
108 Pid int32
109 Type int16
110 Whence int16
111}
112
113type Fstore_t struct {
114 Flags uint32
115 Posmode int32
116 Offset int64
117 Length int64
118 Bytesalloc int64
119}
120
121type Radvisory_t struct {
122 Offset int64
123 Count int32
124 Pad_cgo_0 [4]byte
125}
126
127type Fbootstraptransfer_t struct {
128 Offset int64
129 Length uint64
130 Buffer *byte
131}
132
133type Log2phys_t struct {
134 Flags uint32
135 Pad_cgo_0 [8]byte
136 Pad_cgo_1 [8]byte
137}
138
139type Fsid struct {
140 Val [2]int32
141}
142
143type Dirent struct {
144 Ino uint64
145 Seekoff uint64
146 Reclen uint16
147 Namlen uint16
148 Type uint8
149 Name [1024]int8
150 Pad_cgo_0 [3]byte
151}
152
153type RawSockaddrInet4 struct {
154 Len uint8
155 Family uint8
156 Port uint16
157 Addr [4]byte /* in_addr */
158 Zero [8]int8
159}
160
161type RawSockaddrInet6 struct {
162 Len uint8
163 Family uint8
164 Port uint16
165 Flowinfo uint32
166 Addr [16]byte /* in6_addr */
167 Scope_id uint32
168}
169
170type RawSockaddrUnix struct {
171 Len uint8
172 Family uint8
173 Path [104]int8
174}
175
176type RawSockaddrDatalink struct {
177 Len uint8
178 Family uint8
179 Index uint16
180 Type uint8
181 Nlen uint8
182 Alen uint8
183 Slen uint8
184 Data [12]int8
185}
186
187type RawSockaddr struct {
188 Len uint8
189 Family uint8
190 Data [14]int8
191}
192
193type RawSockaddrAny struct {
194 Addr RawSockaddr
195 Pad [92]int8
196}
197
198type _Socklen uint32
199
200type Linger struct {
201 Onoff int32
202 Linger int32
203}
204
205type Iovec struct {
206 Base *byte
207 Len uint64
208}
209
210type IPMreq struct {
211 Multiaddr [4]byte /* in_addr */
212 Interface [4]byte /* in_addr */
213}
214
215type IPv6Mreq struct {
216 Multiaddr [16]byte /* in6_addr */
217 Interface uint32
218}
219
220type Msghdr struct {
221 Name *byte
222 Namelen uint32
223 Pad_cgo_0 [4]byte
224 Iov *Iovec
225 Iovlen int32
226 Pad_cgo_1 [4]byte
227 Control *byte
228 Controllen uint32
229 Flags int32
230}
231
232type Cmsghdr struct {
233 Len uint32
234 Level int32
235 Type int32
236}
237
238type Inet4Pktinfo struct {
239 Ifindex uint32
240 Spec_dst [4]byte /* in_addr */
241 Addr [4]byte /* in_addr */
242}
243
244type Inet6Pktinfo struct {
245 Addr [16]byte /* in6_addr */
246 Ifindex uint32
247}
248
249type IPv6MTUInfo struct {
250 Addr RawSockaddrInet6
251 Mtu uint32
252}
253
254type ICMPv6Filter struct {
255 Filt [8]uint32
256}
257
258const (
259 SizeofSockaddrInet4 = 0x10
260 SizeofSockaddrInet6 = 0x1c
261 SizeofSockaddrAny = 0x6c
262 SizeofSockaddrUnix = 0x6a
263 SizeofSockaddrDatalink = 0x14
264 SizeofLinger = 0x8
265 SizeofIPMreq = 0x8
266 SizeofIPv6Mreq = 0x14
267 SizeofMsghdr = 0x30
268 SizeofCmsghdr = 0xc
269 SizeofInet4Pktinfo = 0xc
270 SizeofInet6Pktinfo = 0x14
271 SizeofIPv6MTUInfo = 0x20
272 SizeofICMPv6Filter = 0x20
273)
274
275const (
276 PTRACE_TRACEME = 0x0
277 PTRACE_CONT = 0x7
278 PTRACE_KILL = 0x8
279)
280
281type Kevent_t struct {
282 Ident uint64
283 Filter int16
284 Flags uint16
285 Fflags uint32
286 Data int64
287 Udata *byte
288}
289
290type FdSet struct {
291 Bits [32]int32
292}
293
294const (
295 SizeofIfMsghdr = 0x70
296 SizeofIfData = 0x60
297 SizeofIfaMsghdr = 0x14
298 SizeofIfmaMsghdr = 0x10
299 SizeofIfmaMsghdr2 = 0x14
300 SizeofRtMsghdr = 0x5c
301 SizeofRtMetrics = 0x38
302)
303
304type IfMsghdr struct {
305 Msglen uint16
306 Version uint8
307 Type uint8
308 Addrs int32
309 Flags int32
310 Index uint16
311 Pad_cgo_0 [2]byte
312 Data IfData
313}
314
315type IfData struct {
316 Type uint8
317 Typelen uint8
318 Physical uint8
319 Addrlen uint8
320 Hdrlen uint8
321 Recvquota uint8
322 Xmitquota uint8
323 Unused1 uint8
324 Mtu uint32
325 Metric uint32
326 Baudrate uint32
327 Ipackets uint32
328 Ierrors uint32
329 Opackets uint32
330 Oerrors uint32
331 Collisions uint32
332 Ibytes uint32
333 Obytes uint32
334 Imcasts uint32
335 Omcasts uint32
336 Iqdrops uint32
337 Noproto uint32
338 Recvtiming uint32
339 Xmittiming uint32
340 Lastchange Timeval32
341 Unused2 uint32
342 Hwassist uint32
343 Reserved1 uint32
344 Reserved2 uint32
345}
346
347type IfaMsghdr struct {
348 Msglen uint16
349 Version uint8
350 Type uint8
351 Addrs int32
352 Flags int32
353 Index uint16
354 Pad_cgo_0 [2]byte
355 Metric int32
356}
357
358type IfmaMsghdr struct {
359 Msglen uint16
360 Version uint8
361 Type uint8
362 Addrs int32
363 Flags int32
364 Index uint16
365 Pad_cgo_0 [2]byte
366}
367
368type IfmaMsghdr2 struct {
369 Msglen uint16
370 Version uint8
371 Type uint8
372 Addrs int32
373 Flags int32
374 Index uint16
375 Pad_cgo_0 [2]byte
376 Refcount int32
377}
378
379type RtMsghdr struct {
380 Msglen uint16
381 Version uint8
382 Type uint8
383 Index uint16
384 Pad_cgo_0 [2]byte
385 Flags int32
386 Addrs int32
387 Pid int32
388 Seq int32
389 Errno int32
390 Use int32
391 Inits uint32
392 Rmx RtMetrics
393}
394
395type RtMetrics struct {
396 Locks uint32
397 Mtu uint32
398 Hopcount uint32
399 Expire int32
400 Recvpipe uint32
401 Sendpipe uint32
402 Ssthresh uint32
403 Rtt uint32
404 Rttvar uint32
405 Pksent uint32
406 Filler [4]uint32
407}
408
409const (
410 SizeofBpfVersion = 0x4
411 SizeofBpfStat = 0x8
412 SizeofBpfProgram = 0x10
413 SizeofBpfInsn = 0x8
414 SizeofBpfHdr = 0x14
415)
416
417type BpfVersion struct {
418 Major uint16
419 Minor uint16
420}
421
422type BpfStat struct {
423 Recv uint32
424 Drop uint32
425}
426
427type BpfProgram struct {
428 Len uint32
429 Pad_cgo_0 [4]byte
430 Insns *BpfInsn
431}
432
433type BpfInsn struct {
434 Code uint16
435 Jt uint8
436 Jf uint8
437 K uint32
438}
439
440type BpfHdr struct {
441 Tstamp Timeval32
442 Caplen uint32
443 Datalen uint32
444 Hdrlen uint16
445 Pad_cgo_0 [2]byte
446}
447
448type Termios struct {
449 Iflag uint64
450 Oflag uint64
451 Cflag uint64
452 Lflag uint64
453 Cc [20]uint8
454 Pad_cgo_0 [4]byte
455 Ispeed uint64
456 Ospeed uint64
457}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_386.go
deleted file mode 100644
index b7e7ff0..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_386.go
+++ /dev/null
@@ -1,437 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_dragonfly.go
3
4// +build 386,dragonfly
5
6package unix
7
8const (
9 sizeofPtr = 0x4
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x4
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int32
25 Nsec int32
26}
27
28type Timeval struct {
29 Sec int32
30 Usec int32
31}
32
33type Rusage struct {
34 Utime Timeval
35 Stime Timeval
36 Maxrss int32
37 Ixrss int32
38 Idrss int32
39 Isrss int32
40 Minflt int32
41 Majflt int32
42 Nswap int32
43 Inblock int32
44 Oublock int32
45 Msgsnd int32
46 Msgrcv int32
47 Nsignals int32
48 Nvcsw int32
49 Nivcsw int32
50}
51
52type Rlimit struct {
53 Cur int64
54 Max int64
55}
56
57type _Gid_t uint32
58
59const (
60 S_IFMT = 0xf000
61 S_IFIFO = 0x1000
62 S_IFCHR = 0x2000
63 S_IFDIR = 0x4000
64 S_IFBLK = 0x6000
65 S_IFREG = 0x8000
66 S_IFLNK = 0xa000
67 S_IFSOCK = 0xc000
68 S_ISUID = 0x800
69 S_ISGID = 0x400
70 S_ISVTX = 0x200
71 S_IRUSR = 0x100
72 S_IWUSR = 0x80
73 S_IXUSR = 0x40
74)
75
76type Stat_t struct {
77 Ino uint64
78 Nlink uint32
79 Dev uint32
80 Mode uint16
81 Padding1 uint16
82 Uid uint32
83 Gid uint32
84 Rdev uint32
85 Atim Timespec
86 Mtim Timespec
87 Ctim Timespec
88 Size int64
89 Blocks int64
90 Blksize uint32
91 Flags uint32
92 Gen uint32
93 Lspare int32
94 Qspare1 int64
95 Qspare2 int64
96}
97
98type Statfs_t struct {
99 Spare2 int32
100 Bsize int32
101 Iosize int32
102 Blocks int32
103 Bfree int32
104 Bavail int32
105 Files int32
106 Ffree int32
107 Fsid Fsid
108 Owner uint32
109 Type int32
110 Flags int32
111 Syncwrites int32
112 Asyncwrites int32
113 Fstypename [16]int8
114 Mntonname [80]int8
115 Syncreads int32
116 Asyncreads int32
117 Spares1 int16
118 Mntfromname [80]int8
119 Spares2 int16
120 Spare [2]int32
121}
122
123type Flock_t struct {
124 Start int64
125 Len int64
126 Pid int32
127 Type int16
128 Whence int16
129}
130
131type Dirent struct {
132 Fileno uint64
133 Namlen uint16
134 Type uint8
135 Unused1 uint8
136 Unused2 uint32
137 Name [256]int8
138}
139
140type Fsid struct {
141 Val [2]int32
142}
143
144type RawSockaddrInet4 struct {
145 Len uint8
146 Family uint8
147 Port uint16
148 Addr [4]byte /* in_addr */
149 Zero [8]int8
150}
151
152type RawSockaddrInet6 struct {
153 Len uint8
154 Family uint8
155 Port uint16
156 Flowinfo uint32
157 Addr [16]byte /* in6_addr */
158 Scope_id uint32
159}
160
161type RawSockaddrUnix struct {
162 Len uint8
163 Family uint8
164 Path [104]int8
165}
166
167type RawSockaddrDatalink struct {
168 Len uint8
169 Family uint8
170 Index uint16
171 Type uint8
172 Nlen uint8
173 Alen uint8
174 Slen uint8
175 Data [12]int8
176 Rcf uint16
177 Route [16]uint16
178}
179
180type RawSockaddr struct {
181 Len uint8
182 Family uint8
183 Data [14]int8
184}
185
186type RawSockaddrAny struct {
187 Addr RawSockaddr
188 Pad [92]int8
189}
190
191type _Socklen uint32
192
193type Linger struct {
194 Onoff int32
195 Linger int32
196}
197
198type Iovec struct {
199 Base *byte
200 Len uint32
201}
202
203type IPMreq struct {
204 Multiaddr [4]byte /* in_addr */
205 Interface [4]byte /* in_addr */
206}
207
208type IPv6Mreq struct {
209 Multiaddr [16]byte /* in6_addr */
210 Interface uint32
211}
212
213type Msghdr struct {
214 Name *byte
215 Namelen uint32
216 Iov *Iovec
217 Iovlen int32
218 Control *byte
219 Controllen uint32
220 Flags int32
221}
222
223type Cmsghdr struct {
224 Len uint32
225 Level int32
226 Type int32
227}
228
229type Inet6Pktinfo struct {
230 Addr [16]byte /* in6_addr */
231 Ifindex uint32
232}
233
234type IPv6MTUInfo struct {
235 Addr RawSockaddrInet6
236 Mtu uint32
237}
238
239type ICMPv6Filter struct {
240 Filt [8]uint32
241}
242
243const (
244 SizeofSockaddrInet4 = 0x10
245 SizeofSockaddrInet6 = 0x1c
246 SizeofSockaddrAny = 0x6c
247 SizeofSockaddrUnix = 0x6a
248 SizeofSockaddrDatalink = 0x36
249 SizeofLinger = 0x8
250 SizeofIPMreq = 0x8
251 SizeofIPv6Mreq = 0x14
252 SizeofMsghdr = 0x1c
253 SizeofCmsghdr = 0xc
254 SizeofInet6Pktinfo = 0x14
255 SizeofIPv6MTUInfo = 0x20
256 SizeofICMPv6Filter = 0x20
257)
258
259const (
260 PTRACE_TRACEME = 0x0
261 PTRACE_CONT = 0x7
262 PTRACE_KILL = 0x8
263)
264
265type Kevent_t struct {
266 Ident uint32
267 Filter int16
268 Flags uint16
269 Fflags uint32
270 Data int32
271 Udata *byte
272}
273
274type FdSet struct {
275 Bits [32]uint32
276}
277
278const (
279 SizeofIfMsghdr = 0x68
280 SizeofIfData = 0x58
281 SizeofIfaMsghdr = 0x14
282 SizeofIfmaMsghdr = 0x10
283 SizeofIfAnnounceMsghdr = 0x18
284 SizeofRtMsghdr = 0x5c
285 SizeofRtMetrics = 0x38
286)
287
288type IfMsghdr struct {
289 Msglen uint16
290 Version uint8
291 Type uint8
292 Addrs int32
293 Flags int32
294 Index uint16
295 Pad_cgo_0 [2]byte
296 Data IfData
297}
298
299type IfData struct {
300 Type uint8
301 Physical uint8
302 Addrlen uint8
303 Hdrlen uint8
304 Recvquota uint8
305 Xmitquota uint8
306 Pad_cgo_0 [2]byte
307 Mtu uint32
308 Metric uint32
309 Link_state uint32
310 Baudrate uint64
311 Ipackets uint32
312 Ierrors uint32
313 Opackets uint32
314 Oerrors uint32
315 Collisions uint32
316 Ibytes uint32
317 Obytes uint32
318 Imcasts uint32
319 Omcasts uint32
320 Iqdrops uint32
321 Noproto uint32
322 Hwassist uint32
323 Unused uint32
324 Lastchange Timeval
325}
326
327type IfaMsghdr struct {
328 Msglen uint16
329 Version uint8
330 Type uint8
331 Addrs int32
332 Flags int32
333 Index uint16
334 Pad_cgo_0 [2]byte
335 Metric int32
336}
337
338type IfmaMsghdr struct {
339 Msglen uint16
340 Version uint8
341 Type uint8
342 Addrs int32
343 Flags int32
344 Index uint16
345 Pad_cgo_0 [2]byte
346}
347
348type IfAnnounceMsghdr struct {
349 Msglen uint16
350 Version uint8
351 Type uint8
352 Index uint16
353 Name [16]int8
354 What uint16
355}
356
357type RtMsghdr struct {
358 Msglen uint16
359 Version uint8
360 Type uint8
361 Index uint16
362 Pad_cgo_0 [2]byte
363 Flags int32
364 Addrs int32
365 Pid int32
366 Seq int32
367 Errno int32
368 Use int32
369 Inits uint32
370 Rmx RtMetrics
371}
372
373type RtMetrics struct {
374 Locks uint32
375 Mtu uint32
376 Pksent uint32
377 Expire uint32
378 Sendpipe uint32
379 Ssthresh uint32
380 Rtt uint32
381 Rttvar uint32
382 Recvpipe uint32
383 Hopcount uint32
384 Mssopt uint16
385 Pad uint16
386 Msl uint32
387 Iwmaxsegs uint32
388 Iwcapsegs uint32
389}
390
391const (
392 SizeofBpfVersion = 0x4
393 SizeofBpfStat = 0x8
394 SizeofBpfProgram = 0x8
395 SizeofBpfInsn = 0x8
396 SizeofBpfHdr = 0x14
397)
398
399type BpfVersion struct {
400 Major uint16
401 Minor uint16
402}
403
404type BpfStat struct {
405 Recv uint32
406 Drop uint32
407}
408
409type BpfProgram struct {
410 Len uint32
411 Insns *BpfInsn
412}
413
414type BpfInsn struct {
415 Code uint16
416 Jt uint8
417 Jf uint8
418 K uint32
419}
420
421type BpfHdr struct {
422 Tstamp Timeval
423 Caplen uint32
424 Datalen uint32
425 Hdrlen uint16
426 Pad_cgo_0 [2]byte
427}
428
429type Termios struct {
430 Iflag uint32
431 Oflag uint32
432 Cflag uint32
433 Lflag uint32
434 Cc [20]uint8
435 Ispeed uint32
436 Ospeed uint32
437}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
deleted file mode 100644
index 8a6f4e1..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
+++ /dev/null
@@ -1,443 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_dragonfly.go
3
4// +build amd64,dragonfly
5
6package unix
7
8const (
9 sizeofPtr = 0x8
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x8
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Rusage struct {
34 Utime Timeval
35 Stime Timeval
36 Maxrss int64
37 Ixrss int64
38 Idrss int64
39 Isrss int64
40 Minflt int64
41 Majflt int64
42 Nswap int64
43 Inblock int64
44 Oublock int64
45 Msgsnd int64
46 Msgrcv int64
47 Nsignals int64
48 Nvcsw int64
49 Nivcsw int64
50}
51
52type Rlimit struct {
53 Cur int64
54 Max int64
55}
56
57type _Gid_t uint32
58
59const (
60 S_IFMT = 0xf000
61 S_IFIFO = 0x1000
62 S_IFCHR = 0x2000
63 S_IFDIR = 0x4000
64 S_IFBLK = 0x6000
65 S_IFREG = 0x8000
66 S_IFLNK = 0xa000
67 S_IFSOCK = 0xc000
68 S_ISUID = 0x800
69 S_ISGID = 0x400
70 S_ISVTX = 0x200
71 S_IRUSR = 0x100
72 S_IWUSR = 0x80
73 S_IXUSR = 0x40
74)
75
76type Stat_t struct {
77 Ino uint64
78 Nlink uint32
79 Dev uint32
80 Mode uint16
81 Padding1 uint16
82 Uid uint32
83 Gid uint32
84 Rdev uint32
85 Atim Timespec
86 Mtim Timespec
87 Ctim Timespec
88 Size int64
89 Blocks int64
90 Blksize uint32
91 Flags uint32
92 Gen uint32
93 Lspare int32
94 Qspare1 int64
95 Qspare2 int64
96}
97
98type Statfs_t struct {
99 Spare2 int64
100 Bsize int64
101 Iosize int64
102 Blocks int64
103 Bfree int64
104 Bavail int64
105 Files int64
106 Ffree int64
107 Fsid Fsid
108 Owner uint32
109 Type int32
110 Flags int32
111 Pad_cgo_0 [4]byte
112 Syncwrites int64
113 Asyncwrites int64
114 Fstypename [16]int8
115 Mntonname [80]int8
116 Syncreads int64
117 Asyncreads int64
118 Spares1 int16
119 Mntfromname [80]int8
120 Spares2 int16
121 Pad_cgo_1 [4]byte
122 Spare [2]int64
123}
124
125type Flock_t struct {
126 Start int64
127 Len int64
128 Pid int32
129 Type int16
130 Whence int16
131}
132
133type Dirent struct {
134 Fileno uint64
135 Namlen uint16
136 Type uint8
137 Unused1 uint8
138 Unused2 uint32
139 Name [256]int8
140}
141
142type Fsid struct {
143 Val [2]int32
144}
145
146type RawSockaddrInet4 struct {
147 Len uint8
148 Family uint8
149 Port uint16
150 Addr [4]byte /* in_addr */
151 Zero [8]int8
152}
153
154type RawSockaddrInet6 struct {
155 Len uint8
156 Family uint8
157 Port uint16
158 Flowinfo uint32
159 Addr [16]byte /* in6_addr */
160 Scope_id uint32
161}
162
163type RawSockaddrUnix struct {
164 Len uint8
165 Family uint8
166 Path [104]int8
167}
168
169type RawSockaddrDatalink struct {
170 Len uint8
171 Family uint8
172 Index uint16
173 Type uint8
174 Nlen uint8
175 Alen uint8
176 Slen uint8
177 Data [12]int8
178 Rcf uint16
179 Route [16]uint16
180}
181
182type RawSockaddr struct {
183 Len uint8
184 Family uint8
185 Data [14]int8
186}
187
188type RawSockaddrAny struct {
189 Addr RawSockaddr
190 Pad [92]int8
191}
192
193type _Socklen uint32
194
195type Linger struct {
196 Onoff int32
197 Linger int32
198}
199
200type Iovec struct {
201 Base *byte
202 Len uint64
203}
204
205type IPMreq struct {
206 Multiaddr [4]byte /* in_addr */
207 Interface [4]byte /* in_addr */
208}
209
210type IPv6Mreq struct {
211 Multiaddr [16]byte /* in6_addr */
212 Interface uint32
213}
214
215type Msghdr struct {
216 Name *byte
217 Namelen uint32
218 Pad_cgo_0 [4]byte
219 Iov *Iovec
220 Iovlen int32
221 Pad_cgo_1 [4]byte
222 Control *byte
223 Controllen uint32
224 Flags int32
225}
226
227type Cmsghdr struct {
228 Len uint32
229 Level int32
230 Type int32
231}
232
233type Inet6Pktinfo struct {
234 Addr [16]byte /* in6_addr */
235 Ifindex uint32
236}
237
238type IPv6MTUInfo struct {
239 Addr RawSockaddrInet6
240 Mtu uint32
241}
242
243type ICMPv6Filter struct {
244 Filt [8]uint32
245}
246
247const (
248 SizeofSockaddrInet4 = 0x10
249 SizeofSockaddrInet6 = 0x1c
250 SizeofSockaddrAny = 0x6c
251 SizeofSockaddrUnix = 0x6a
252 SizeofSockaddrDatalink = 0x36
253 SizeofLinger = 0x8
254 SizeofIPMreq = 0x8
255 SizeofIPv6Mreq = 0x14
256 SizeofMsghdr = 0x30
257 SizeofCmsghdr = 0xc
258 SizeofInet6Pktinfo = 0x14
259 SizeofIPv6MTUInfo = 0x20
260 SizeofICMPv6Filter = 0x20
261)
262
263const (
264 PTRACE_TRACEME = 0x0
265 PTRACE_CONT = 0x7
266 PTRACE_KILL = 0x8
267)
268
269type Kevent_t struct {
270 Ident uint64
271 Filter int16
272 Flags uint16
273 Fflags uint32
274 Data int64
275 Udata *byte
276}
277
278type FdSet struct {
279 Bits [16]uint64
280}
281
282const (
283 SizeofIfMsghdr = 0xb0
284 SizeofIfData = 0xa0
285 SizeofIfaMsghdr = 0x14
286 SizeofIfmaMsghdr = 0x10
287 SizeofIfAnnounceMsghdr = 0x18
288 SizeofRtMsghdr = 0x98
289 SizeofRtMetrics = 0x70
290)
291
292type IfMsghdr struct {
293 Msglen uint16
294 Version uint8
295 Type uint8
296 Addrs int32
297 Flags int32
298 Index uint16
299 Pad_cgo_0 [2]byte
300 Data IfData
301}
302
303type IfData struct {
304 Type uint8
305 Physical uint8
306 Addrlen uint8
307 Hdrlen uint8
308 Recvquota uint8
309 Xmitquota uint8
310 Pad_cgo_0 [2]byte
311 Mtu uint64
312 Metric uint64
313 Link_state uint64
314 Baudrate uint64
315 Ipackets uint64
316 Ierrors uint64
317 Opackets uint64
318 Oerrors uint64
319 Collisions uint64
320 Ibytes uint64
321 Obytes uint64
322 Imcasts uint64
323 Omcasts uint64
324 Iqdrops uint64
325 Noproto uint64
326 Hwassist uint64
327 Unused uint64
328 Lastchange Timeval
329}
330
331type IfaMsghdr struct {
332 Msglen uint16
333 Version uint8
334 Type uint8
335 Addrs int32
336 Flags int32
337 Index uint16
338 Pad_cgo_0 [2]byte
339 Metric int32
340}
341
342type IfmaMsghdr struct {
343 Msglen uint16
344 Version uint8
345 Type uint8
346 Addrs int32
347 Flags int32
348 Index uint16
349 Pad_cgo_0 [2]byte
350}
351
352type IfAnnounceMsghdr struct {
353 Msglen uint16
354 Version uint8
355 Type uint8
356 Index uint16
357 Name [16]int8
358 What uint16
359}
360
361type RtMsghdr struct {
362 Msglen uint16
363 Version uint8
364 Type uint8
365 Index uint16
366 Pad_cgo_0 [2]byte
367 Flags int32
368 Addrs int32
369 Pid int32
370 Seq int32
371 Errno int32
372 Use int32
373 Inits uint64
374 Rmx RtMetrics
375}
376
377type RtMetrics struct {
378 Locks uint64
379 Mtu uint64
380 Pksent uint64
381 Expire uint64
382 Sendpipe uint64
383 Ssthresh uint64
384 Rtt uint64
385 Rttvar uint64
386 Recvpipe uint64
387 Hopcount uint64
388 Mssopt uint16
389 Pad uint16
390 Pad_cgo_0 [4]byte
391 Msl uint64
392 Iwmaxsegs uint64
393 Iwcapsegs uint64
394}
395
396const (
397 SizeofBpfVersion = 0x4
398 SizeofBpfStat = 0x8
399 SizeofBpfProgram = 0x10
400 SizeofBpfInsn = 0x8
401 SizeofBpfHdr = 0x20
402)
403
404type BpfVersion struct {
405 Major uint16
406 Minor uint16
407}
408
409type BpfStat struct {
410 Recv uint32
411 Drop uint32
412}
413
414type BpfProgram struct {
415 Len uint32
416 Pad_cgo_0 [4]byte
417 Insns *BpfInsn
418}
419
420type BpfInsn struct {
421 Code uint16
422 Jt uint8
423 Jf uint8
424 K uint32
425}
426
427type BpfHdr struct {
428 Tstamp Timeval
429 Caplen uint32
430 Datalen uint32
431 Hdrlen uint16
432 Pad_cgo_0 [6]byte
433}
434
435type Termios struct {
436 Iflag uint32
437 Oflag uint32
438 Cflag uint32
439 Lflag uint32
440 Cc [20]uint8
441 Ispeed uint32
442 Ospeed uint32
443}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_386.go
deleted file mode 100644
index 8cf3094..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_386.go
+++ /dev/null
@@ -1,502 +0,0 @@
1// +build 386,freebsd
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_freebsd.go
4
5package unix
6
7const (
8 sizeofPtr = 0x4
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x4
12 sizeofLongLong = 0x8
13)
14
15type (
16 _C_short int16
17 _C_int int32
18 _C_long int32
19 _C_long_long int64
20)
21
22type Timespec struct {
23 Sec int32
24 Nsec int32
25}
26
27type Timeval struct {
28 Sec int32
29 Usec int32
30}
31
32type Rusage struct {
33 Utime Timeval
34 Stime Timeval
35 Maxrss int32
36 Ixrss int32
37 Idrss int32
38 Isrss int32
39 Minflt int32
40 Majflt int32
41 Nswap int32
42 Inblock int32
43 Oublock int32
44 Msgsnd int32
45 Msgrcv int32
46 Nsignals int32
47 Nvcsw int32
48 Nivcsw int32
49}
50
51type Rlimit struct {
52 Cur int64
53 Max int64
54}
55
56type _Gid_t uint32
57
58const (
59 S_IFMT = 0xf000
60 S_IFIFO = 0x1000
61 S_IFCHR = 0x2000
62 S_IFDIR = 0x4000
63 S_IFBLK = 0x6000
64 S_IFREG = 0x8000
65 S_IFLNK = 0xa000
66 S_IFSOCK = 0xc000
67 S_ISUID = 0x800
68 S_ISGID = 0x400
69 S_ISVTX = 0x200
70 S_IRUSR = 0x100
71 S_IWUSR = 0x80
72 S_IXUSR = 0x40
73)
74
75type Stat_t struct {
76 Dev uint32
77 Ino uint32
78 Mode uint16
79 Nlink uint16
80 Uid uint32
81 Gid uint32
82 Rdev uint32
83 Atimespec Timespec
84 Mtimespec Timespec
85 Ctimespec Timespec
86 Size int64
87 Blocks int64
88 Blksize uint32
89 Flags uint32
90 Gen uint32
91 Lspare int32
92 Birthtimespec Timespec
93 Pad_cgo_0 [8]byte
94}
95
96type Statfs_t struct {
97 Version uint32
98 Type uint32
99 Flags uint64
100 Bsize uint64
101 Iosize uint64
102 Blocks uint64
103 Bfree uint64
104 Bavail int64
105 Files uint64
106 Ffree int64
107 Syncwrites uint64
108 Asyncwrites uint64
109 Syncreads uint64
110 Asyncreads uint64
111 Spare [10]uint64
112 Namemax uint32
113 Owner uint32
114 Fsid Fsid
115 Charspare [80]int8
116 Fstypename [16]int8
117 Mntfromname [88]int8
118 Mntonname [88]int8
119}
120
121type Flock_t struct {
122 Start int64
123 Len int64
124 Pid int32
125 Type int16
126 Whence int16
127 Sysid int32
128}
129
130type Dirent struct {
131 Fileno uint32
132 Reclen uint16
133 Type uint8
134 Namlen uint8
135 Name [256]int8
136}
137
138type Fsid struct {
139 Val [2]int32
140}
141
142const (
143 FADV_NORMAL = 0x0
144 FADV_RANDOM = 0x1
145 FADV_SEQUENTIAL = 0x2
146 FADV_WILLNEED = 0x3
147 FADV_DONTNEED = 0x4
148 FADV_NOREUSE = 0x5
149)
150
151type RawSockaddrInet4 struct {
152 Len uint8
153 Family uint8
154 Port uint16
155 Addr [4]byte /* in_addr */
156 Zero [8]int8
157}
158
159type RawSockaddrInet6 struct {
160 Len uint8
161 Family uint8
162 Port uint16
163 Flowinfo uint32
164 Addr [16]byte /* in6_addr */
165 Scope_id uint32
166}
167
168type RawSockaddrUnix struct {
169 Len uint8
170 Family uint8
171 Path [104]int8
172}
173
174type RawSockaddrDatalink struct {
175 Len uint8
176 Family uint8
177 Index uint16
178 Type uint8
179 Nlen uint8
180 Alen uint8
181 Slen uint8
182 Data [46]int8
183}
184
185type RawSockaddr struct {
186 Len uint8
187 Family uint8
188 Data [14]int8
189}
190
191type RawSockaddrAny struct {
192 Addr RawSockaddr
193 Pad [92]int8
194}
195
196type _Socklen uint32
197
198type Linger struct {
199 Onoff int32
200 Linger int32
201}
202
203type Iovec struct {
204 Base *byte
205 Len uint32
206}
207
208type IPMreq struct {
209 Multiaddr [4]byte /* in_addr */
210 Interface [4]byte /* in_addr */
211}
212
213type IPMreqn struct {
214 Multiaddr [4]byte /* in_addr */
215 Address [4]byte /* in_addr */
216 Ifindex int32
217}
218
219type IPv6Mreq struct {
220 Multiaddr [16]byte /* in6_addr */
221 Interface uint32
222}
223
224type Msghdr struct {
225 Name *byte
226 Namelen uint32
227 Iov *Iovec
228 Iovlen int32
229 Control *byte
230 Controllen uint32
231 Flags int32
232}
233
234type Cmsghdr struct {
235 Len uint32
236 Level int32
237 Type int32
238}
239
240type Inet6Pktinfo struct {
241 Addr [16]byte /* in6_addr */
242 Ifindex uint32
243}
244
245type IPv6MTUInfo struct {
246 Addr RawSockaddrInet6
247 Mtu uint32
248}
249
250type ICMPv6Filter struct {
251 Filt [8]uint32
252}
253
254const (
255 SizeofSockaddrInet4 = 0x10
256 SizeofSockaddrInet6 = 0x1c
257 SizeofSockaddrAny = 0x6c
258 SizeofSockaddrUnix = 0x6a
259 SizeofSockaddrDatalink = 0x36
260 SizeofLinger = 0x8
261 SizeofIPMreq = 0x8
262 SizeofIPMreqn = 0xc
263 SizeofIPv6Mreq = 0x14
264 SizeofMsghdr = 0x1c
265 SizeofCmsghdr = 0xc
266 SizeofInet6Pktinfo = 0x14
267 SizeofIPv6MTUInfo = 0x20
268 SizeofICMPv6Filter = 0x20
269)
270
271const (
272 PTRACE_TRACEME = 0x0
273 PTRACE_CONT = 0x7
274 PTRACE_KILL = 0x8
275)
276
277type Kevent_t struct {
278 Ident uint32
279 Filter int16
280 Flags uint16
281 Fflags uint32
282 Data int32
283 Udata *byte
284}
285
286type FdSet struct {
287 X__fds_bits [32]uint32
288}
289
290const (
291 sizeofIfMsghdr = 0x64
292 SizeofIfMsghdr = 0x60
293 sizeofIfData = 0x54
294 SizeofIfData = 0x50
295 SizeofIfaMsghdr = 0x14
296 SizeofIfmaMsghdr = 0x10
297 SizeofIfAnnounceMsghdr = 0x18
298 SizeofRtMsghdr = 0x5c
299 SizeofRtMetrics = 0x38
300)
301
302type ifMsghdr struct {
303 Msglen uint16
304 Version uint8
305 Type uint8
306 Addrs int32
307 Flags int32
308 Index uint16
309 Pad_cgo_0 [2]byte
310 Data ifData
311}
312
313type IfMsghdr struct {
314 Msglen uint16
315 Version uint8
316 Type uint8
317 Addrs int32
318 Flags int32
319 Index uint16
320 Pad_cgo_0 [2]byte
321 Data IfData
322}
323
324type ifData struct {
325 Type uint8
326 Physical uint8
327 Addrlen uint8
328 Hdrlen uint8
329 Link_state uint8
330 Vhid uint8
331 Baudrate_pf uint8
332 Datalen uint8
333 Mtu uint32
334 Metric uint32
335 Baudrate uint32
336 Ipackets uint32
337 Ierrors uint32
338 Opackets uint32
339 Oerrors uint32
340 Collisions uint32
341 Ibytes uint32
342 Obytes uint32
343 Imcasts uint32
344 Omcasts uint32
345 Iqdrops uint32
346 Noproto uint32
347 Hwassist uint64
348 Epoch int32
349 Lastchange Timeval
350}
351
352type IfData struct {
353 Type uint8
354 Physical uint8
355 Addrlen uint8
356 Hdrlen uint8
357 Link_state uint8
358 Spare_char1 uint8
359 Spare_char2 uint8
360 Datalen uint8
361 Mtu uint32
362 Metric uint32
363 Baudrate uint32
364 Ipackets uint32
365 Ierrors uint32
366 Opackets uint32
367 Oerrors uint32
368 Collisions uint32
369 Ibytes uint32
370 Obytes uint32
371 Imcasts uint32
372 Omcasts uint32
373 Iqdrops uint32
374 Noproto uint32
375 Hwassist uint32
376 Epoch int32
377 Lastchange Timeval
378}
379
380type IfaMsghdr struct {
381 Msglen uint16
382 Version uint8
383 Type uint8
384 Addrs int32
385 Flags int32
386 Index uint16
387 Pad_cgo_0 [2]byte
388 Metric int32
389}
390
391type IfmaMsghdr struct {
392 Msglen uint16
393 Version uint8
394 Type uint8
395 Addrs int32
396 Flags int32
397 Index uint16
398 Pad_cgo_0 [2]byte
399}
400
401type IfAnnounceMsghdr struct {
402 Msglen uint16
403 Version uint8
404 Type uint8
405 Index uint16
406 Name [16]int8
407 What uint16
408}
409
410type RtMsghdr struct {
411 Msglen uint16
412 Version uint8
413 Type uint8
414 Index uint16
415 Pad_cgo_0 [2]byte
416 Flags int32
417 Addrs int32
418 Pid int32
419 Seq int32
420 Errno int32
421 Fmask int32
422 Inits uint32
423 Rmx RtMetrics
424}
425
426type RtMetrics struct {
427 Locks uint32
428 Mtu uint32
429 Hopcount uint32
430 Expire uint32
431 Recvpipe uint32
432 Sendpipe uint32
433 Ssthresh uint32
434 Rtt uint32
435 Rttvar uint32
436 Pksent uint32
437 Weight uint32
438 Filler [3]uint32
439}
440
441const (
442 SizeofBpfVersion = 0x4
443 SizeofBpfStat = 0x8
444 SizeofBpfZbuf = 0xc
445 SizeofBpfProgram = 0x8
446 SizeofBpfInsn = 0x8
447 SizeofBpfHdr = 0x14
448 SizeofBpfZbufHeader = 0x20
449)
450
451type BpfVersion struct {
452 Major uint16
453 Minor uint16
454}
455
456type BpfStat struct {
457 Recv uint32
458 Drop uint32
459}
460
461type BpfZbuf struct {
462 Bufa *byte
463 Bufb *byte
464 Buflen uint32
465}
466
467type BpfProgram struct {
468 Len uint32
469 Insns *BpfInsn
470}
471
472type BpfInsn struct {
473 Code uint16
474 Jt uint8
475 Jf uint8
476 K uint32
477}
478
479type BpfHdr struct {
480 Tstamp Timeval
481 Caplen uint32
482 Datalen uint32
483 Hdrlen uint16
484 Pad_cgo_0 [2]byte
485}
486
487type BpfZbufHeader struct {
488 Kernel_gen uint32
489 Kernel_len uint32
490 User_gen uint32
491 X_bzh_pad [5]uint32
492}
493
494type Termios struct {
495 Iflag uint32
496 Oflag uint32
497 Cflag uint32
498 Lflag uint32
499 Cc [20]uint8
500 Ispeed uint32
501 Ospeed uint32
502}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
deleted file mode 100644
index e5feb20..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
+++ /dev/null
@@ -1,505 +0,0 @@
1// +build amd64,freebsd
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_freebsd.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13)
14
15type (
16 _C_short int16
17 _C_int int32
18 _C_long int64
19 _C_long_long int64
20)
21
22type Timespec struct {
23 Sec int64
24 Nsec int64
25}
26
27type Timeval struct {
28 Sec int64
29 Usec int64
30}
31
32type Rusage struct {
33 Utime Timeval
34 Stime Timeval
35 Maxrss int64
36 Ixrss int64
37 Idrss int64
38 Isrss int64
39 Minflt int64
40 Majflt int64
41 Nswap int64
42 Inblock int64
43 Oublock int64
44 Msgsnd int64
45 Msgrcv int64
46 Nsignals int64
47 Nvcsw int64
48 Nivcsw int64
49}
50
51type Rlimit struct {
52 Cur int64
53 Max int64
54}
55
56type _Gid_t uint32
57
58const (
59 S_IFMT = 0xf000
60 S_IFIFO = 0x1000
61 S_IFCHR = 0x2000
62 S_IFDIR = 0x4000
63 S_IFBLK = 0x6000
64 S_IFREG = 0x8000
65 S_IFLNK = 0xa000
66 S_IFSOCK = 0xc000
67 S_ISUID = 0x800
68 S_ISGID = 0x400
69 S_ISVTX = 0x200
70 S_IRUSR = 0x100
71 S_IWUSR = 0x80
72 S_IXUSR = 0x40
73)
74
75type Stat_t struct {
76 Dev uint32
77 Ino uint32
78 Mode uint16
79 Nlink uint16
80 Uid uint32
81 Gid uint32
82 Rdev uint32
83 Atimespec Timespec
84 Mtimespec Timespec
85 Ctimespec Timespec
86 Size int64
87 Blocks int64
88 Blksize uint32
89 Flags uint32
90 Gen uint32
91 Lspare int32
92 Birthtimespec Timespec
93}
94
95type Statfs_t struct {
96 Version uint32
97 Type uint32
98 Flags uint64
99 Bsize uint64
100 Iosize uint64
101 Blocks uint64
102 Bfree uint64
103 Bavail int64
104 Files uint64
105 Ffree int64
106 Syncwrites uint64
107 Asyncwrites uint64
108 Syncreads uint64
109 Asyncreads uint64
110 Spare [10]uint64
111 Namemax uint32
112 Owner uint32
113 Fsid Fsid
114 Charspare [80]int8
115 Fstypename [16]int8
116 Mntfromname [88]int8
117 Mntonname [88]int8
118}
119
120type Flock_t struct {
121 Start int64
122 Len int64
123 Pid int32
124 Type int16
125 Whence int16
126 Sysid int32
127 Pad_cgo_0 [4]byte
128}
129
130type Dirent struct {
131 Fileno uint32
132 Reclen uint16
133 Type uint8
134 Namlen uint8
135 Name [256]int8
136}
137
138type Fsid struct {
139 Val [2]int32
140}
141
142const (
143 FADV_NORMAL = 0x0
144 FADV_RANDOM = 0x1
145 FADV_SEQUENTIAL = 0x2
146 FADV_WILLNEED = 0x3
147 FADV_DONTNEED = 0x4
148 FADV_NOREUSE = 0x5
149)
150
151type RawSockaddrInet4 struct {
152 Len uint8
153 Family uint8
154 Port uint16
155 Addr [4]byte /* in_addr */
156 Zero [8]int8
157}
158
159type RawSockaddrInet6 struct {
160 Len uint8
161 Family uint8
162 Port uint16
163 Flowinfo uint32
164 Addr [16]byte /* in6_addr */
165 Scope_id uint32
166}
167
168type RawSockaddrUnix struct {
169 Len uint8
170 Family uint8
171 Path [104]int8
172}
173
174type RawSockaddrDatalink struct {
175 Len uint8
176 Family uint8
177 Index uint16
178 Type uint8
179 Nlen uint8
180 Alen uint8
181 Slen uint8
182 Data [46]int8
183}
184
185type RawSockaddr struct {
186 Len uint8
187 Family uint8
188 Data [14]int8
189}
190
191type RawSockaddrAny struct {
192 Addr RawSockaddr
193 Pad [92]int8
194}
195
196type _Socklen uint32
197
198type Linger struct {
199 Onoff int32
200 Linger int32
201}
202
203type Iovec struct {
204 Base *byte
205 Len uint64
206}
207
208type IPMreq struct {
209 Multiaddr [4]byte /* in_addr */
210 Interface [4]byte /* in_addr */
211}
212
213type IPMreqn struct {
214 Multiaddr [4]byte /* in_addr */
215 Address [4]byte /* in_addr */
216 Ifindex int32
217}
218
219type IPv6Mreq struct {
220 Multiaddr [16]byte /* in6_addr */
221 Interface uint32
222}
223
224type Msghdr struct {
225 Name *byte
226 Namelen uint32
227 Pad_cgo_0 [4]byte
228 Iov *Iovec
229 Iovlen int32
230 Pad_cgo_1 [4]byte
231 Control *byte
232 Controllen uint32
233 Flags int32
234}
235
236type Cmsghdr struct {
237 Len uint32
238 Level int32
239 Type int32
240}
241
242type Inet6Pktinfo struct {
243 Addr [16]byte /* in6_addr */
244 Ifindex uint32
245}
246
247type IPv6MTUInfo struct {
248 Addr RawSockaddrInet6
249 Mtu uint32
250}
251
252type ICMPv6Filter struct {
253 Filt [8]uint32
254}
255
256const (
257 SizeofSockaddrInet4 = 0x10
258 SizeofSockaddrInet6 = 0x1c
259 SizeofSockaddrAny = 0x6c
260 SizeofSockaddrUnix = 0x6a
261 SizeofSockaddrDatalink = 0x36
262 SizeofLinger = 0x8
263 SizeofIPMreq = 0x8
264 SizeofIPMreqn = 0xc
265 SizeofIPv6Mreq = 0x14
266 SizeofMsghdr = 0x30
267 SizeofCmsghdr = 0xc
268 SizeofInet6Pktinfo = 0x14
269 SizeofIPv6MTUInfo = 0x20
270 SizeofICMPv6Filter = 0x20
271)
272
273const (
274 PTRACE_TRACEME = 0x0
275 PTRACE_CONT = 0x7
276 PTRACE_KILL = 0x8
277)
278
279type Kevent_t struct {
280 Ident uint64
281 Filter int16
282 Flags uint16
283 Fflags uint32
284 Data int64
285 Udata *byte
286}
287
288type FdSet struct {
289 X__fds_bits [16]uint64
290}
291
292const (
293 sizeofIfMsghdr = 0xa8
294 SizeofIfMsghdr = 0xa8
295 sizeofIfData = 0x98
296 SizeofIfData = 0x98
297 SizeofIfaMsghdr = 0x14
298 SizeofIfmaMsghdr = 0x10
299 SizeofIfAnnounceMsghdr = 0x18
300 SizeofRtMsghdr = 0x98
301 SizeofRtMetrics = 0x70
302)
303
304type ifMsghdr struct {
305 Msglen uint16
306 Version uint8
307 Type uint8
308 Addrs int32
309 Flags int32
310 Index uint16
311 Pad_cgo_0 [2]byte
312 Data ifData
313}
314
315type IfMsghdr struct {
316 Msglen uint16
317 Version uint8
318 Type uint8
319 Addrs int32
320 Flags int32
321 Index uint16
322 Pad_cgo_0 [2]byte
323 Data IfData
324}
325
326type ifData struct {
327 Type uint8
328 Physical uint8
329 Addrlen uint8
330 Hdrlen uint8
331 Link_state uint8
332 Vhid uint8
333 Baudrate_pf uint8
334 Datalen uint8
335 Mtu uint64
336 Metric uint64
337 Baudrate uint64
338 Ipackets uint64
339 Ierrors uint64
340 Opackets uint64
341 Oerrors uint64
342 Collisions uint64
343 Ibytes uint64
344 Obytes uint64
345 Imcasts uint64
346 Omcasts uint64
347 Iqdrops uint64
348 Noproto uint64
349 Hwassist uint64
350 Epoch int64
351 Lastchange Timeval
352}
353
354type IfData struct {
355 Type uint8
356 Physical uint8
357 Addrlen uint8
358 Hdrlen uint8
359 Link_state uint8
360 Spare_char1 uint8
361 Spare_char2 uint8
362 Datalen uint8
363 Mtu uint64
364 Metric uint64
365 Baudrate uint64
366 Ipackets uint64
367 Ierrors uint64
368 Opackets uint64
369 Oerrors uint64
370 Collisions uint64
371 Ibytes uint64
372 Obytes uint64
373 Imcasts uint64
374 Omcasts uint64
375 Iqdrops uint64
376 Noproto uint64
377 Hwassist uint64
378 Epoch int64
379 Lastchange Timeval
380}
381
382type IfaMsghdr struct {
383 Msglen uint16
384 Version uint8
385 Type uint8
386 Addrs int32
387 Flags int32
388 Index uint16
389 Pad_cgo_0 [2]byte
390 Metric int32
391}
392
393type IfmaMsghdr struct {
394 Msglen uint16
395 Version uint8
396 Type uint8
397 Addrs int32
398 Flags int32
399 Index uint16
400 Pad_cgo_0 [2]byte
401}
402
403type IfAnnounceMsghdr struct {
404 Msglen uint16
405 Version uint8
406 Type uint8
407 Index uint16
408 Name [16]int8
409 What uint16
410}
411
412type RtMsghdr struct {
413 Msglen uint16
414 Version uint8
415 Type uint8
416 Index uint16
417 Pad_cgo_0 [2]byte
418 Flags int32
419 Addrs int32
420 Pid int32
421 Seq int32
422 Errno int32
423 Fmask int32
424 Inits uint64
425 Rmx RtMetrics
426}
427
428type RtMetrics struct {
429 Locks uint64
430 Mtu uint64
431 Hopcount uint64
432 Expire uint64
433 Recvpipe uint64
434 Sendpipe uint64
435 Ssthresh uint64
436 Rtt uint64
437 Rttvar uint64
438 Pksent uint64
439 Weight uint64
440 Filler [3]uint64
441}
442
443const (
444 SizeofBpfVersion = 0x4
445 SizeofBpfStat = 0x8
446 SizeofBpfZbuf = 0x18
447 SizeofBpfProgram = 0x10
448 SizeofBpfInsn = 0x8
449 SizeofBpfHdr = 0x20
450 SizeofBpfZbufHeader = 0x20
451)
452
453type BpfVersion struct {
454 Major uint16
455 Minor uint16
456}
457
458type BpfStat struct {
459 Recv uint32
460 Drop uint32
461}
462
463type BpfZbuf struct {
464 Bufa *byte
465 Bufb *byte
466 Buflen uint64
467}
468
469type BpfProgram struct {
470 Len uint32
471 Pad_cgo_0 [4]byte
472 Insns *BpfInsn
473}
474
475type BpfInsn struct {
476 Code uint16
477 Jt uint8
478 Jf uint8
479 K uint32
480}
481
482type BpfHdr struct {
483 Tstamp Timeval
484 Caplen uint32
485 Datalen uint32
486 Hdrlen uint16
487 Pad_cgo_0 [6]byte
488}
489
490type BpfZbufHeader struct {
491 Kernel_gen uint32
492 Kernel_len uint32
493 User_gen uint32
494 X_bzh_pad [5]uint32
495}
496
497type Termios struct {
498 Iflag uint32
499 Oflag uint32
500 Cflag uint32
501 Lflag uint32
502 Cc [20]uint8
503 Ispeed uint32
504 Ospeed uint32
505}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_arm.go
deleted file mode 100644
index 5472b54..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_freebsd_arm.go
+++ /dev/null
@@ -1,497 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs -- -fsigned-char types_freebsd.go
3
4// +build arm,freebsd
5
6package unix
7
8const (
9 sizeofPtr = 0x4
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x4
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int32
26 Pad_cgo_0 [4]byte
27}
28
29type Timeval struct {
30 Sec int64
31 Usec int32
32 Pad_cgo_0 [4]byte
33}
34
35type Rusage struct {
36 Utime Timeval
37 Stime Timeval
38 Maxrss int32
39 Ixrss int32
40 Idrss int32
41 Isrss int32
42 Minflt int32
43 Majflt int32
44 Nswap int32
45 Inblock int32
46 Oublock int32
47 Msgsnd int32
48 Msgrcv int32
49 Nsignals int32
50 Nvcsw int32
51 Nivcsw int32
52}
53
54type Rlimit struct {
55 Cur int64
56 Max int64
57}
58
59type _Gid_t uint32
60
61const (
62 S_IFMT = 0xf000
63 S_IFIFO = 0x1000
64 S_IFCHR = 0x2000
65 S_IFDIR = 0x4000
66 S_IFBLK = 0x6000
67 S_IFREG = 0x8000
68 S_IFLNK = 0xa000
69 S_IFSOCK = 0xc000
70 S_ISUID = 0x800
71 S_ISGID = 0x400
72 S_ISVTX = 0x200
73 S_IRUSR = 0x100
74 S_IWUSR = 0x80
75 S_IXUSR = 0x40
76)
77
78type Stat_t struct {
79 Dev uint32
80 Ino uint32
81 Mode uint16
82 Nlink uint16
83 Uid uint32
84 Gid uint32
85 Rdev uint32
86 Atimespec Timespec
87 Mtimespec Timespec
88 Ctimespec Timespec
89 Size int64
90 Blocks int64
91 Blksize uint32
92 Flags uint32
93 Gen uint32
94 Lspare int32
95 Birthtimespec Timespec
96}
97
98type Statfs_t struct {
99 Version uint32
100 Type uint32
101 Flags uint64
102 Bsize uint64
103 Iosize uint64
104 Blocks uint64
105 Bfree uint64
106 Bavail int64
107 Files uint64
108 Ffree int64
109 Syncwrites uint64
110 Asyncwrites uint64
111 Syncreads uint64
112 Asyncreads uint64
113 Spare [10]uint64
114 Namemax uint32
115 Owner uint32
116 Fsid Fsid
117 Charspare [80]int8
118 Fstypename [16]int8
119 Mntfromname [88]int8
120 Mntonname [88]int8
121}
122
123type Flock_t struct {
124 Start int64
125 Len int64
126 Pid int32
127 Type int16
128 Whence int16
129 Sysid int32
130 Pad_cgo_0 [4]byte
131}
132
133type Dirent struct {
134 Fileno uint32
135 Reclen uint16
136 Type uint8
137 Namlen uint8
138 Name [256]int8
139}
140
141type Fsid struct {
142 Val [2]int32
143}
144
145type RawSockaddrInet4 struct {
146 Len uint8
147 Family uint8
148 Port uint16
149 Addr [4]byte /* in_addr */
150 Zero [8]int8
151}
152
153type RawSockaddrInet6 struct {
154 Len uint8
155 Family uint8
156 Port uint16
157 Flowinfo uint32
158 Addr [16]byte /* in6_addr */
159 Scope_id uint32
160}
161
162type RawSockaddrUnix struct {
163 Len uint8
164 Family uint8
165 Path [104]int8
166}
167
168type RawSockaddrDatalink struct {
169 Len uint8
170 Family uint8
171 Index uint16
172 Type uint8
173 Nlen uint8
174 Alen uint8
175 Slen uint8
176 Data [46]int8
177}
178
179type RawSockaddr struct {
180 Len uint8
181 Family uint8
182 Data [14]int8
183}
184
185type RawSockaddrAny struct {
186 Addr RawSockaddr
187 Pad [92]int8
188}
189
190type _Socklen uint32
191
192type Linger struct {
193 Onoff int32
194 Linger int32
195}
196
197type Iovec struct {
198 Base *byte
199 Len uint32
200}
201
202type IPMreq struct {
203 Multiaddr [4]byte /* in_addr */
204 Interface [4]byte /* in_addr */
205}
206
207type IPMreqn struct {
208 Multiaddr [4]byte /* in_addr */
209 Address [4]byte /* in_addr */
210 Ifindex int32
211}
212
213type IPv6Mreq struct {
214 Multiaddr [16]byte /* in6_addr */
215 Interface uint32
216}
217
218type Msghdr struct {
219 Name *byte
220 Namelen uint32
221 Iov *Iovec
222 Iovlen int32
223 Control *byte
224 Controllen uint32
225 Flags int32
226}
227
228type Cmsghdr struct {
229 Len uint32
230 Level int32
231 Type int32
232}
233
234type Inet6Pktinfo struct {
235 Addr [16]byte /* in6_addr */
236 Ifindex uint32
237}
238
239type IPv6MTUInfo struct {
240 Addr RawSockaddrInet6
241 Mtu uint32
242}
243
244type ICMPv6Filter struct {
245 Filt [8]uint32
246}
247
248const (
249 SizeofSockaddrInet4 = 0x10
250 SizeofSockaddrInet6 = 0x1c
251 SizeofSockaddrAny = 0x6c
252 SizeofSockaddrUnix = 0x6a
253 SizeofSockaddrDatalink = 0x36
254 SizeofLinger = 0x8
255 SizeofIPMreq = 0x8
256 SizeofIPMreqn = 0xc
257 SizeofIPv6Mreq = 0x14
258 SizeofMsghdr = 0x1c
259 SizeofCmsghdr = 0xc
260 SizeofInet6Pktinfo = 0x14
261 SizeofIPv6MTUInfo = 0x20
262 SizeofICMPv6Filter = 0x20
263)
264
265const (
266 PTRACE_TRACEME = 0x0
267 PTRACE_CONT = 0x7
268 PTRACE_KILL = 0x8
269)
270
271type Kevent_t struct {
272 Ident uint32
273 Filter int16
274 Flags uint16
275 Fflags uint32
276 Data int32
277 Udata *byte
278}
279
280type FdSet struct {
281 X__fds_bits [32]uint32
282}
283
284const (
285 sizeofIfMsghdr = 0x70
286 SizeofIfMsghdr = 0x70
287 sizeofIfData = 0x60
288 SizeofIfData = 0x60
289 SizeofIfaMsghdr = 0x14
290 SizeofIfmaMsghdr = 0x10
291 SizeofIfAnnounceMsghdr = 0x18
292 SizeofRtMsghdr = 0x5c
293 SizeofRtMetrics = 0x38
294)
295
296type ifMsghdr struct {
297 Msglen uint16
298 Version uint8
299 Type uint8
300 Addrs int32
301 Flags int32
302 Index uint16
303 Pad_cgo_0 [2]byte
304 Data ifData
305}
306
307type IfMsghdr struct {
308 Msglen uint16
309 Version uint8
310 Type uint8
311 Addrs int32
312 Flags int32
313 Index uint16
314 Pad_cgo_0 [2]byte
315 Data IfData
316}
317
318type ifData struct {
319 Type uint8
320 Physical uint8
321 Addrlen uint8
322 Hdrlen uint8
323 Link_state uint8
324 Vhid uint8
325 Baudrate_pf uint8
326 Datalen uint8
327 Mtu uint32
328 Metric uint32
329 Baudrate uint32
330 Ipackets uint32
331 Ierrors uint32
332 Opackets uint32
333 Oerrors uint32
334 Collisions uint32
335 Ibytes uint32
336 Obytes uint32
337 Imcasts uint32
338 Omcasts uint32
339 Iqdrops uint32
340 Noproto uint32
341 Hwassist uint64
342 Epoch int64
343 Lastchange Timeval
344}
345
346type IfData struct {
347 Type uint8
348 Physical uint8
349 Addrlen uint8
350 Hdrlen uint8
351 Link_state uint8
352 Spare_char1 uint8
353 Spare_char2 uint8
354 Datalen uint8
355 Mtu uint32
356 Metric uint32
357 Baudrate uint32
358 Ipackets uint32
359 Ierrors uint32
360 Opackets uint32
361 Oerrors uint32
362 Collisions uint32
363 Ibytes uint32
364 Obytes uint32
365 Imcasts uint32
366 Omcasts uint32
367 Iqdrops uint32
368 Noproto uint32
369 Hwassist uint32
370 Pad_cgo_0 [4]byte
371 Epoch int64
372 Lastchange Timeval
373}
374
375type IfaMsghdr struct {
376 Msglen uint16
377 Version uint8
378 Type uint8
379 Addrs int32
380 Flags int32
381 Index uint16
382 Pad_cgo_0 [2]byte
383 Metric int32
384}
385
386type IfmaMsghdr struct {
387 Msglen uint16
388 Version uint8
389 Type uint8
390 Addrs int32
391 Flags int32
392 Index uint16
393 Pad_cgo_0 [2]byte
394}
395
396type IfAnnounceMsghdr struct {
397 Msglen uint16
398 Version uint8
399 Type uint8
400 Index uint16
401 Name [16]int8
402 What uint16
403}
404
405type RtMsghdr struct {
406 Msglen uint16
407 Version uint8
408 Type uint8
409 Index uint16
410 Pad_cgo_0 [2]byte
411 Flags int32
412 Addrs int32
413 Pid int32
414 Seq int32
415 Errno int32
416 Fmask int32
417 Inits uint32
418 Rmx RtMetrics
419}
420
421type RtMetrics struct {
422 Locks uint32
423 Mtu uint32
424 Hopcount uint32
425 Expire uint32
426 Recvpipe uint32
427 Sendpipe uint32
428 Ssthresh uint32
429 Rtt uint32
430 Rttvar uint32
431 Pksent uint32
432 Weight uint32
433 Filler [3]uint32
434}
435
436const (
437 SizeofBpfVersion = 0x4
438 SizeofBpfStat = 0x8
439 SizeofBpfZbuf = 0xc
440 SizeofBpfProgram = 0x8
441 SizeofBpfInsn = 0x8
442 SizeofBpfHdr = 0x20
443 SizeofBpfZbufHeader = 0x20
444)
445
446type BpfVersion struct {
447 Major uint16
448 Minor uint16
449}
450
451type BpfStat struct {
452 Recv uint32
453 Drop uint32
454}
455
456type BpfZbuf struct {
457 Bufa *byte
458 Bufb *byte
459 Buflen uint32
460}
461
462type BpfProgram struct {
463 Len uint32
464 Insns *BpfInsn
465}
466
467type BpfInsn struct {
468 Code uint16
469 Jt uint8
470 Jf uint8
471 K uint32
472}
473
474type BpfHdr struct {
475 Tstamp Timeval
476 Caplen uint32
477 Datalen uint32
478 Hdrlen uint16
479 Pad_cgo_0 [6]byte
480}
481
482type BpfZbufHeader struct {
483 Kernel_gen uint32
484 Kernel_len uint32
485 User_gen uint32
486 X_bzh_pad [5]uint32
487}
488
489type Termios struct {
490 Iflag uint32
491 Oflag uint32
492 Cflag uint32
493 Lflag uint32
494 Cc [20]uint8
495 Ispeed uint32
496 Ospeed uint32
497}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_386.go
deleted file mode 100644
index cf5db0e..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_386.go
+++ /dev/null
@@ -1,590 +0,0 @@
1// +build 386,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x4
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x4
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int32
25 Nsec int32
26}
27
28type Timeval struct {
29 Sec int32
30 Usec int32
31}
32
33type Timex struct {
34 Modes uint32
35 Offset int32
36 Freq int32
37 Maxerror int32
38 Esterror int32
39 Status int32
40 Constant int32
41 Precision int32
42 Tolerance int32
43 Time Timeval
44 Tick int32
45 Ppsfreq int32
46 Jitter int32
47 Shift int32
48 Stabil int32
49 Jitcnt int32
50 Calcnt int32
51 Errcnt int32
52 Stbcnt int32
53 Tai int32
54 Pad_cgo_0 [44]byte
55}
56
57type Time_t int32
58
59type Tms struct {
60 Utime int32
61 Stime int32
62 Cutime int32
63 Cstime int32
64}
65
66type Utimbuf struct {
67 Actime int32
68 Modtime int32
69}
70
71type Rusage struct {
72 Utime Timeval
73 Stime Timeval
74 Maxrss int32
75 Ixrss int32
76 Idrss int32
77 Isrss int32
78 Minflt int32
79 Majflt int32
80 Nswap int32
81 Inblock int32
82 Oublock int32
83 Msgsnd int32
84 Msgrcv int32
85 Nsignals int32
86 Nvcsw int32
87 Nivcsw int32
88}
89
90type Rlimit struct {
91 Cur uint64
92 Max uint64
93}
94
95type _Gid_t uint32
96
97type Stat_t struct {
98 Dev uint64
99 X__pad1 uint16
100 Pad_cgo_0 [2]byte
101 X__st_ino uint32
102 Mode uint32
103 Nlink uint32
104 Uid uint32
105 Gid uint32
106 Rdev uint64
107 X__pad2 uint16
108 Pad_cgo_1 [2]byte
109 Size int64
110 Blksize int32
111 Blocks int64
112 Atim Timespec
113 Mtim Timespec
114 Ctim Timespec
115 Ino uint64
116}
117
118type Statfs_t struct {
119 Type int32
120 Bsize int32
121 Blocks uint64
122 Bfree uint64
123 Bavail uint64
124 Files uint64
125 Ffree uint64
126 Fsid Fsid
127 Namelen int32
128 Frsize int32
129 Flags int32
130 Spare [4]int32
131}
132
133type Dirent struct {
134 Ino uint64
135 Off int64
136 Reclen uint16
137 Type uint8
138 Name [256]int8
139 Pad_cgo_0 [1]byte
140}
141
142type Fsid struct {
143 X__val [2]int32
144}
145
146type Flock_t struct {
147 Type int16
148 Whence int16
149 Start int64
150 Len int64
151 Pid int32
152}
153
154type RawSockaddrInet4 struct {
155 Family uint16
156 Port uint16
157 Addr [4]byte /* in_addr */
158 Zero [8]uint8
159}
160
161type RawSockaddrInet6 struct {
162 Family uint16
163 Port uint16
164 Flowinfo uint32
165 Addr [16]byte /* in6_addr */
166 Scope_id uint32
167}
168
169type RawSockaddrUnix struct {
170 Family uint16
171 Path [108]int8
172}
173
174type RawSockaddrLinklayer struct {
175 Family uint16
176 Protocol uint16
177 Ifindex int32
178 Hatype uint16
179 Pkttype uint8
180 Halen uint8
181 Addr [8]uint8
182}
183
184type RawSockaddrNetlink struct {
185 Family uint16
186 Pad uint16
187 Pid uint32
188 Groups uint32
189}
190
191type RawSockaddr struct {
192 Family uint16
193 Data [14]int8
194}
195
196type RawSockaddrAny struct {
197 Addr RawSockaddr
198 Pad [96]int8
199}
200
201type _Socklen uint32
202
203type Linger struct {
204 Onoff int32
205 Linger int32
206}
207
208type Iovec struct {
209 Base *byte
210 Len uint32
211}
212
213type IPMreq struct {
214 Multiaddr [4]byte /* in_addr */
215 Interface [4]byte /* in_addr */
216}
217
218type IPMreqn struct {
219 Multiaddr [4]byte /* in_addr */
220 Address [4]byte /* in_addr */
221 Ifindex int32
222}
223
224type IPv6Mreq struct {
225 Multiaddr [16]byte /* in6_addr */
226 Interface uint32
227}
228
229type Msghdr struct {
230 Name *byte
231 Namelen uint32
232 Iov *Iovec
233 Iovlen uint32
234 Control *byte
235 Controllen uint32
236 Flags int32
237}
238
239type Cmsghdr struct {
240 Len uint32
241 Level int32
242 Type int32
243 X__cmsg_data [0]uint8
244}
245
246type Inet4Pktinfo struct {
247 Ifindex int32
248 Spec_dst [4]byte /* in_addr */
249 Addr [4]byte /* in_addr */
250}
251
252type Inet6Pktinfo struct {
253 Addr [16]byte /* in6_addr */
254 Ifindex uint32
255}
256
257type IPv6MTUInfo struct {
258 Addr RawSockaddrInet6
259 Mtu uint32
260}
261
262type ICMPv6Filter struct {
263 Data [8]uint32
264}
265
266type Ucred struct {
267 Pid int32
268 Uid uint32
269 Gid uint32
270}
271
272type TCPInfo struct {
273 State uint8
274 Ca_state uint8
275 Retransmits uint8
276 Probes uint8
277 Backoff uint8
278 Options uint8
279 Pad_cgo_0 [2]byte
280 Rto uint32
281 Ato uint32
282 Snd_mss uint32
283 Rcv_mss uint32
284 Unacked uint32
285 Sacked uint32
286 Lost uint32
287 Retrans uint32
288 Fackets uint32
289 Last_data_sent uint32
290 Last_ack_sent uint32
291 Last_data_recv uint32
292 Last_ack_recv uint32
293 Pmtu uint32
294 Rcv_ssthresh uint32
295 Rtt uint32
296 Rttvar uint32
297 Snd_ssthresh uint32
298 Snd_cwnd uint32
299 Advmss uint32
300 Reordering uint32
301 Rcv_rtt uint32
302 Rcv_space uint32
303 Total_retrans uint32
304}
305
306const (
307 SizeofSockaddrInet4 = 0x10
308 SizeofSockaddrInet6 = 0x1c
309 SizeofSockaddrAny = 0x70
310 SizeofSockaddrUnix = 0x6e
311 SizeofSockaddrLinklayer = 0x14
312 SizeofSockaddrNetlink = 0xc
313 SizeofLinger = 0x8
314 SizeofIPMreq = 0x8
315 SizeofIPMreqn = 0xc
316 SizeofIPv6Mreq = 0x14
317 SizeofMsghdr = 0x1c
318 SizeofCmsghdr = 0xc
319 SizeofInet4Pktinfo = 0xc
320 SizeofInet6Pktinfo = 0x14
321 SizeofIPv6MTUInfo = 0x20
322 SizeofICMPv6Filter = 0x20
323 SizeofUcred = 0xc
324 SizeofTCPInfo = 0x68
325)
326
327const (
328 IFA_UNSPEC = 0x0
329 IFA_ADDRESS = 0x1
330 IFA_LOCAL = 0x2
331 IFA_LABEL = 0x3
332 IFA_BROADCAST = 0x4
333 IFA_ANYCAST = 0x5
334 IFA_CACHEINFO = 0x6
335 IFA_MULTICAST = 0x7
336 IFLA_UNSPEC = 0x0
337 IFLA_ADDRESS = 0x1
338 IFLA_BROADCAST = 0x2
339 IFLA_IFNAME = 0x3
340 IFLA_MTU = 0x4
341 IFLA_LINK = 0x5
342 IFLA_QDISC = 0x6
343 IFLA_STATS = 0x7
344 IFLA_COST = 0x8
345 IFLA_PRIORITY = 0x9
346 IFLA_MASTER = 0xa
347 IFLA_WIRELESS = 0xb
348 IFLA_PROTINFO = 0xc
349 IFLA_TXQLEN = 0xd
350 IFLA_MAP = 0xe
351 IFLA_WEIGHT = 0xf
352 IFLA_OPERSTATE = 0x10
353 IFLA_LINKMODE = 0x11
354 IFLA_LINKINFO = 0x12
355 IFLA_NET_NS_PID = 0x13
356 IFLA_IFALIAS = 0x14
357 IFLA_MAX = 0x1d
358 RT_SCOPE_UNIVERSE = 0x0
359 RT_SCOPE_SITE = 0xc8
360 RT_SCOPE_LINK = 0xfd
361 RT_SCOPE_HOST = 0xfe
362 RT_SCOPE_NOWHERE = 0xff
363 RT_TABLE_UNSPEC = 0x0
364 RT_TABLE_COMPAT = 0xfc
365 RT_TABLE_DEFAULT = 0xfd
366 RT_TABLE_MAIN = 0xfe
367 RT_TABLE_LOCAL = 0xff
368 RT_TABLE_MAX = 0xffffffff
369 RTA_UNSPEC = 0x0
370 RTA_DST = 0x1
371 RTA_SRC = 0x2
372 RTA_IIF = 0x3
373 RTA_OIF = 0x4
374 RTA_GATEWAY = 0x5
375 RTA_PRIORITY = 0x6
376 RTA_PREFSRC = 0x7
377 RTA_METRICS = 0x8
378 RTA_MULTIPATH = 0x9
379 RTA_FLOW = 0xb
380 RTA_CACHEINFO = 0xc
381 RTA_TABLE = 0xf
382 RTN_UNSPEC = 0x0
383 RTN_UNICAST = 0x1
384 RTN_LOCAL = 0x2
385 RTN_BROADCAST = 0x3
386 RTN_ANYCAST = 0x4
387 RTN_MULTICAST = 0x5
388 RTN_BLACKHOLE = 0x6
389 RTN_UNREACHABLE = 0x7
390 RTN_PROHIBIT = 0x8
391 RTN_THROW = 0x9
392 RTN_NAT = 0xa
393 RTN_XRESOLVE = 0xb
394 RTNLGRP_NONE = 0x0
395 RTNLGRP_LINK = 0x1
396 RTNLGRP_NOTIFY = 0x2
397 RTNLGRP_NEIGH = 0x3
398 RTNLGRP_TC = 0x4
399 RTNLGRP_IPV4_IFADDR = 0x5
400 RTNLGRP_IPV4_MROUTE = 0x6
401 RTNLGRP_IPV4_ROUTE = 0x7
402 RTNLGRP_IPV4_RULE = 0x8
403 RTNLGRP_IPV6_IFADDR = 0x9
404 RTNLGRP_IPV6_MROUTE = 0xa
405 RTNLGRP_IPV6_ROUTE = 0xb
406 RTNLGRP_IPV6_IFINFO = 0xc
407 RTNLGRP_IPV6_PREFIX = 0x12
408 RTNLGRP_IPV6_RULE = 0x13
409 RTNLGRP_ND_USEROPT = 0x14
410 SizeofNlMsghdr = 0x10
411 SizeofNlMsgerr = 0x14
412 SizeofRtGenmsg = 0x1
413 SizeofNlAttr = 0x4
414 SizeofRtAttr = 0x4
415 SizeofIfInfomsg = 0x10
416 SizeofIfAddrmsg = 0x8
417 SizeofRtMsg = 0xc
418 SizeofRtNexthop = 0x8
419)
420
421type NlMsghdr struct {
422 Len uint32
423 Type uint16
424 Flags uint16
425 Seq uint32
426 Pid uint32
427}
428
429type NlMsgerr struct {
430 Error int32
431 Msg NlMsghdr
432}
433
434type RtGenmsg struct {
435 Family uint8
436}
437
438type NlAttr struct {
439 Len uint16
440 Type uint16
441}
442
443type RtAttr struct {
444 Len uint16
445 Type uint16
446}
447
448type IfInfomsg struct {
449 Family uint8
450 X__ifi_pad uint8
451 Type uint16
452 Index int32
453 Flags uint32
454 Change uint32
455}
456
457type IfAddrmsg struct {
458 Family uint8
459 Prefixlen uint8
460 Flags uint8
461 Scope uint8
462 Index uint32
463}
464
465type RtMsg struct {
466 Family uint8
467 Dst_len uint8
468 Src_len uint8
469 Tos uint8
470 Table uint8
471 Protocol uint8
472 Scope uint8
473 Type uint8
474 Flags uint32
475}
476
477type RtNexthop struct {
478 Len uint16
479 Flags uint8
480 Hops uint8
481 Ifindex int32
482}
483
484const (
485 SizeofSockFilter = 0x8
486 SizeofSockFprog = 0x8
487)
488
489type SockFilter struct {
490 Code uint16
491 Jt uint8
492 Jf uint8
493 K uint32
494}
495
496type SockFprog struct {
497 Len uint16
498 Pad_cgo_0 [2]byte
499 Filter *SockFilter
500}
501
502type InotifyEvent struct {
503 Wd int32
504 Mask uint32
505 Cookie uint32
506 Len uint32
507 Name [0]int8
508}
509
510const SizeofInotifyEvent = 0x10
511
512type PtraceRegs struct {
513 Ebx int32
514 Ecx int32
515 Edx int32
516 Esi int32
517 Edi int32
518 Ebp int32
519 Eax int32
520 Xds int32
521 Xes int32
522 Xfs int32
523 Xgs int32
524 Orig_eax int32
525 Eip int32
526 Xcs int32
527 Eflags int32
528 Esp int32
529 Xss int32
530}
531
532type FdSet struct {
533 Bits [32]int32
534}
535
536type Sysinfo_t struct {
537 Uptime int32
538 Loads [3]uint32
539 Totalram uint32
540 Freeram uint32
541 Sharedram uint32
542 Bufferram uint32
543 Totalswap uint32
544 Freeswap uint32
545 Procs uint16
546 Pad uint16
547 Totalhigh uint32
548 Freehigh uint32
549 Unit uint32
550 X_f [8]int8
551}
552
553type Utsname struct {
554 Sysname [65]int8
555 Nodename [65]int8
556 Release [65]int8
557 Version [65]int8
558 Machine [65]int8
559 Domainname [65]int8
560}
561
562type Ustat_t struct {
563 Tfree int32
564 Tinode uint32
565 Fname [6]int8
566 Fpack [6]int8
567}
568
569type EpollEvent struct {
570 Events uint32
571 Fd int32
572 Pad int32
573}
574
575const (
576 AT_FDCWD = -0x64
577 AT_SYMLINK_NOFOLLOW = 0x100
578 AT_REMOVEDIR = 0x200
579)
580
581type Termios struct {
582 Iflag uint32
583 Oflag uint32
584 Cflag uint32
585 Lflag uint32
586 Line uint8
587 Cc [19]uint8
588 Ispeed uint32
589 Ospeed uint32
590}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_amd64.go
deleted file mode 100644
index ac27784..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_amd64.go
+++ /dev/null
@@ -1,608 +0,0 @@
1// +build amd64,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Timex struct {
34 Modes uint32
35 Pad_cgo_0 [4]byte
36 Offset int64
37 Freq int64
38 Maxerror int64
39 Esterror int64
40 Status int32
41 Pad_cgo_1 [4]byte
42 Constant int64
43 Precision int64
44 Tolerance int64
45 Time Timeval
46 Tick int64
47 Ppsfreq int64
48 Jitter int64
49 Shift int32
50 Pad_cgo_2 [4]byte
51 Stabil int64
52 Jitcnt int64
53 Calcnt int64
54 Errcnt int64
55 Stbcnt int64
56 Tai int32
57 Pad_cgo_3 [44]byte
58}
59
60type Time_t int64
61
62type Tms struct {
63 Utime int64
64 Stime int64
65 Cutime int64
66 Cstime int64
67}
68
69type Utimbuf struct {
70 Actime int64
71 Modtime int64
72}
73
74type Rusage struct {
75 Utime Timeval
76 Stime Timeval
77 Maxrss int64
78 Ixrss int64
79 Idrss int64
80 Isrss int64
81 Minflt int64
82 Majflt int64
83 Nswap int64
84 Inblock int64
85 Oublock int64
86 Msgsnd int64
87 Msgrcv int64
88 Nsignals int64
89 Nvcsw int64
90 Nivcsw int64
91}
92
93type Rlimit struct {
94 Cur uint64
95 Max uint64
96}
97
98type _Gid_t uint32
99
100type Stat_t struct {
101 Dev uint64
102 Ino uint64
103 Nlink uint64
104 Mode uint32
105 Uid uint32
106 Gid uint32
107 X__pad0 int32
108 Rdev uint64
109 Size int64
110 Blksize int64
111 Blocks int64
112 Atim Timespec
113 Mtim Timespec
114 Ctim Timespec
115 X__unused [3]int64
116}
117
118type Statfs_t struct {
119 Type int64
120 Bsize int64
121 Blocks uint64
122 Bfree uint64
123 Bavail uint64
124 Files uint64
125 Ffree uint64
126 Fsid Fsid
127 Namelen int64
128 Frsize int64
129 Flags int64
130 Spare [4]int64
131}
132
133type Dirent struct {
134 Ino uint64
135 Off int64
136 Reclen uint16
137 Type uint8
138 Name [256]int8
139 Pad_cgo_0 [5]byte
140}
141
142type Fsid struct {
143 X__val [2]int32
144}
145
146type Flock_t struct {
147 Type int16
148 Whence int16
149 Pad_cgo_0 [4]byte
150 Start int64
151 Len int64
152 Pid int32
153 Pad_cgo_1 [4]byte
154}
155
156type RawSockaddrInet4 struct {
157 Family uint16
158 Port uint16
159 Addr [4]byte /* in_addr */
160 Zero [8]uint8
161}
162
163type RawSockaddrInet6 struct {
164 Family uint16
165 Port uint16
166 Flowinfo uint32
167 Addr [16]byte /* in6_addr */
168 Scope_id uint32
169}
170
171type RawSockaddrUnix struct {
172 Family uint16
173 Path [108]int8
174}
175
176type RawSockaddrLinklayer struct {
177 Family uint16
178 Protocol uint16
179 Ifindex int32
180 Hatype uint16
181 Pkttype uint8
182 Halen uint8
183 Addr [8]uint8
184}
185
186type RawSockaddrNetlink struct {
187 Family uint16
188 Pad uint16
189 Pid uint32
190 Groups uint32
191}
192
193type RawSockaddr struct {
194 Family uint16
195 Data [14]int8
196}
197
198type RawSockaddrAny struct {
199 Addr RawSockaddr
200 Pad [96]int8
201}
202
203type _Socklen uint32
204
205type Linger struct {
206 Onoff int32
207 Linger int32
208}
209
210type Iovec struct {
211 Base *byte
212 Len uint64
213}
214
215type IPMreq struct {
216 Multiaddr [4]byte /* in_addr */
217 Interface [4]byte /* in_addr */
218}
219
220type IPMreqn struct {
221 Multiaddr [4]byte /* in_addr */
222 Address [4]byte /* in_addr */
223 Ifindex int32
224}
225
226type IPv6Mreq struct {
227 Multiaddr [16]byte /* in6_addr */
228 Interface uint32
229}
230
231type Msghdr struct {
232 Name *byte
233 Namelen uint32
234 Pad_cgo_0 [4]byte
235 Iov *Iovec
236 Iovlen uint64
237 Control *byte
238 Controllen uint64
239 Flags int32
240 Pad_cgo_1 [4]byte
241}
242
243type Cmsghdr struct {
244 Len uint64
245 Level int32
246 Type int32
247 X__cmsg_data [0]uint8
248}
249
250type Inet4Pktinfo struct {
251 Ifindex int32
252 Spec_dst [4]byte /* in_addr */
253 Addr [4]byte /* in_addr */
254}
255
256type Inet6Pktinfo struct {
257 Addr [16]byte /* in6_addr */
258 Ifindex uint32
259}
260
261type IPv6MTUInfo struct {
262 Addr RawSockaddrInet6
263 Mtu uint32
264}
265
266type ICMPv6Filter struct {
267 Data [8]uint32
268}
269
270type Ucred struct {
271 Pid int32
272 Uid uint32
273 Gid uint32
274}
275
276type TCPInfo struct {
277 State uint8
278 Ca_state uint8
279 Retransmits uint8
280 Probes uint8
281 Backoff uint8
282 Options uint8
283 Pad_cgo_0 [2]byte
284 Rto uint32
285 Ato uint32
286 Snd_mss uint32
287 Rcv_mss uint32
288 Unacked uint32
289 Sacked uint32
290 Lost uint32
291 Retrans uint32
292 Fackets uint32
293 Last_data_sent uint32
294 Last_ack_sent uint32
295 Last_data_recv uint32
296 Last_ack_recv uint32
297 Pmtu uint32
298 Rcv_ssthresh uint32
299 Rtt uint32
300 Rttvar uint32
301 Snd_ssthresh uint32
302 Snd_cwnd uint32
303 Advmss uint32
304 Reordering uint32
305 Rcv_rtt uint32
306 Rcv_space uint32
307 Total_retrans uint32
308}
309
310const (
311 SizeofSockaddrInet4 = 0x10
312 SizeofSockaddrInet6 = 0x1c
313 SizeofSockaddrAny = 0x70
314 SizeofSockaddrUnix = 0x6e
315 SizeofSockaddrLinklayer = 0x14
316 SizeofSockaddrNetlink = 0xc
317 SizeofLinger = 0x8
318 SizeofIPMreq = 0x8
319 SizeofIPMreqn = 0xc
320 SizeofIPv6Mreq = 0x14
321 SizeofMsghdr = 0x38
322 SizeofCmsghdr = 0x10
323 SizeofInet4Pktinfo = 0xc
324 SizeofInet6Pktinfo = 0x14
325 SizeofIPv6MTUInfo = 0x20
326 SizeofICMPv6Filter = 0x20
327 SizeofUcred = 0xc
328 SizeofTCPInfo = 0x68
329)
330
331const (
332 IFA_UNSPEC = 0x0
333 IFA_ADDRESS = 0x1
334 IFA_LOCAL = 0x2
335 IFA_LABEL = 0x3
336 IFA_BROADCAST = 0x4
337 IFA_ANYCAST = 0x5
338 IFA_CACHEINFO = 0x6
339 IFA_MULTICAST = 0x7
340 IFLA_UNSPEC = 0x0
341 IFLA_ADDRESS = 0x1
342 IFLA_BROADCAST = 0x2
343 IFLA_IFNAME = 0x3
344 IFLA_MTU = 0x4
345 IFLA_LINK = 0x5
346 IFLA_QDISC = 0x6
347 IFLA_STATS = 0x7
348 IFLA_COST = 0x8
349 IFLA_PRIORITY = 0x9
350 IFLA_MASTER = 0xa
351 IFLA_WIRELESS = 0xb
352 IFLA_PROTINFO = 0xc
353 IFLA_TXQLEN = 0xd
354 IFLA_MAP = 0xe
355 IFLA_WEIGHT = 0xf
356 IFLA_OPERSTATE = 0x10
357 IFLA_LINKMODE = 0x11
358 IFLA_LINKINFO = 0x12
359 IFLA_NET_NS_PID = 0x13
360 IFLA_IFALIAS = 0x14
361 IFLA_MAX = 0x1d
362 RT_SCOPE_UNIVERSE = 0x0
363 RT_SCOPE_SITE = 0xc8
364 RT_SCOPE_LINK = 0xfd
365 RT_SCOPE_HOST = 0xfe
366 RT_SCOPE_NOWHERE = 0xff
367 RT_TABLE_UNSPEC = 0x0
368 RT_TABLE_COMPAT = 0xfc
369 RT_TABLE_DEFAULT = 0xfd
370 RT_TABLE_MAIN = 0xfe
371 RT_TABLE_LOCAL = 0xff
372 RT_TABLE_MAX = 0xffffffff
373 RTA_UNSPEC = 0x0
374 RTA_DST = 0x1
375 RTA_SRC = 0x2
376 RTA_IIF = 0x3
377 RTA_OIF = 0x4
378 RTA_GATEWAY = 0x5
379 RTA_PRIORITY = 0x6
380 RTA_PREFSRC = 0x7
381 RTA_METRICS = 0x8
382 RTA_MULTIPATH = 0x9
383 RTA_FLOW = 0xb
384 RTA_CACHEINFO = 0xc
385 RTA_TABLE = 0xf
386 RTN_UNSPEC = 0x0
387 RTN_UNICAST = 0x1
388 RTN_LOCAL = 0x2
389 RTN_BROADCAST = 0x3
390 RTN_ANYCAST = 0x4
391 RTN_MULTICAST = 0x5
392 RTN_BLACKHOLE = 0x6
393 RTN_UNREACHABLE = 0x7
394 RTN_PROHIBIT = 0x8
395 RTN_THROW = 0x9
396 RTN_NAT = 0xa
397 RTN_XRESOLVE = 0xb
398 RTNLGRP_NONE = 0x0
399 RTNLGRP_LINK = 0x1
400 RTNLGRP_NOTIFY = 0x2
401 RTNLGRP_NEIGH = 0x3
402 RTNLGRP_TC = 0x4
403 RTNLGRP_IPV4_IFADDR = 0x5
404 RTNLGRP_IPV4_MROUTE = 0x6
405 RTNLGRP_IPV4_ROUTE = 0x7
406 RTNLGRP_IPV4_RULE = 0x8
407 RTNLGRP_IPV6_IFADDR = 0x9
408 RTNLGRP_IPV6_MROUTE = 0xa
409 RTNLGRP_IPV6_ROUTE = 0xb
410 RTNLGRP_IPV6_IFINFO = 0xc
411 RTNLGRP_IPV6_PREFIX = 0x12
412 RTNLGRP_IPV6_RULE = 0x13
413 RTNLGRP_ND_USEROPT = 0x14
414 SizeofNlMsghdr = 0x10
415 SizeofNlMsgerr = 0x14
416 SizeofRtGenmsg = 0x1
417 SizeofNlAttr = 0x4
418 SizeofRtAttr = 0x4
419 SizeofIfInfomsg = 0x10
420 SizeofIfAddrmsg = 0x8
421 SizeofRtMsg = 0xc
422 SizeofRtNexthop = 0x8
423)
424
425type NlMsghdr struct {
426 Len uint32
427 Type uint16
428 Flags uint16
429 Seq uint32
430 Pid uint32
431}
432
433type NlMsgerr struct {
434 Error int32
435 Msg NlMsghdr
436}
437
438type RtGenmsg struct {
439 Family uint8
440}
441
442type NlAttr struct {
443 Len uint16
444 Type uint16
445}
446
447type RtAttr struct {
448 Len uint16
449 Type uint16
450}
451
452type IfInfomsg struct {
453 Family uint8
454 X__ifi_pad uint8
455 Type uint16
456 Index int32
457 Flags uint32
458 Change uint32
459}
460
461type IfAddrmsg struct {
462 Family uint8
463 Prefixlen uint8
464 Flags uint8
465 Scope uint8
466 Index uint32
467}
468
469type RtMsg struct {
470 Family uint8
471 Dst_len uint8
472 Src_len uint8
473 Tos uint8
474 Table uint8
475 Protocol uint8
476 Scope uint8
477 Type uint8
478 Flags uint32
479}
480
481type RtNexthop struct {
482 Len uint16
483 Flags uint8
484 Hops uint8
485 Ifindex int32
486}
487
488const (
489 SizeofSockFilter = 0x8
490 SizeofSockFprog = 0x10
491)
492
493type SockFilter struct {
494 Code uint16
495 Jt uint8
496 Jf uint8
497 K uint32
498}
499
500type SockFprog struct {
501 Len uint16
502 Pad_cgo_0 [6]byte
503 Filter *SockFilter
504}
505
506type InotifyEvent struct {
507 Wd int32
508 Mask uint32
509 Cookie uint32
510 Len uint32
511 Name [0]int8
512}
513
514const SizeofInotifyEvent = 0x10
515
516type PtraceRegs struct {
517 R15 uint64
518 R14 uint64
519 R13 uint64
520 R12 uint64
521 Rbp uint64
522 Rbx uint64
523 R11 uint64
524 R10 uint64
525 R9 uint64
526 R8 uint64
527 Rax uint64
528 Rcx uint64
529 Rdx uint64
530 Rsi uint64
531 Rdi uint64
532 Orig_rax uint64
533 Rip uint64
534 Cs uint64
535 Eflags uint64
536 Rsp uint64
537 Ss uint64
538 Fs_base uint64
539 Gs_base uint64
540 Ds uint64
541 Es uint64
542 Fs uint64
543 Gs uint64
544}
545
546type FdSet struct {
547 Bits [16]int64
548}
549
550type Sysinfo_t struct {
551 Uptime int64
552 Loads [3]uint64
553 Totalram uint64
554 Freeram uint64
555 Sharedram uint64
556 Bufferram uint64
557 Totalswap uint64
558 Freeswap uint64
559 Procs uint16
560 Pad uint16
561 Pad_cgo_0 [4]byte
562 Totalhigh uint64
563 Freehigh uint64
564 Unit uint32
565 X_f [0]int8
566 Pad_cgo_1 [4]byte
567}
568
569type Utsname struct {
570 Sysname [65]int8
571 Nodename [65]int8
572 Release [65]int8
573 Version [65]int8
574 Machine [65]int8
575 Domainname [65]int8
576}
577
578type Ustat_t struct {
579 Tfree int32
580 Pad_cgo_0 [4]byte
581 Tinode uint64
582 Fname [6]int8
583 Fpack [6]int8
584 Pad_cgo_1 [4]byte
585}
586
587type EpollEvent struct {
588 Events uint32
589 Fd int32
590 Pad int32
591}
592
593const (
594 AT_FDCWD = -0x64
595 AT_SYMLINK_NOFOLLOW = 0x100
596 AT_REMOVEDIR = 0x200
597)
598
599type Termios struct {
600 Iflag uint32
601 Oflag uint32
602 Cflag uint32
603 Lflag uint32
604 Line uint8
605 Cc [19]uint8
606 Ispeed uint32
607 Ospeed uint32
608}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm.go
deleted file mode 100644
index b318bb8..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm.go
+++ /dev/null
@@ -1,579 +0,0 @@
1// +build arm,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x4
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x4
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int32
25 Nsec int32
26}
27
28type Timeval struct {
29 Sec int32
30 Usec int32
31}
32
33type Timex struct {
34 Modes uint32
35 Offset int32
36 Freq int32
37 Maxerror int32
38 Esterror int32
39 Status int32
40 Constant int32
41 Precision int32
42 Tolerance int32
43 Time Timeval
44 Tick int32
45 Ppsfreq int32
46 Jitter int32
47 Shift int32
48 Stabil int32
49 Jitcnt int32
50 Calcnt int32
51 Errcnt int32
52 Stbcnt int32
53 Tai int32
54 Pad_cgo_0 [44]byte
55}
56
57type Time_t int32
58
59type Tms struct {
60 Utime int32
61 Stime int32
62 Cutime int32
63 Cstime int32
64}
65
66type Utimbuf struct {
67 Actime int32
68 Modtime int32
69}
70
71type Rusage struct {
72 Utime Timeval
73 Stime Timeval
74 Maxrss int32
75 Ixrss int32
76 Idrss int32
77 Isrss int32
78 Minflt int32
79 Majflt int32
80 Nswap int32
81 Inblock int32
82 Oublock int32
83 Msgsnd int32
84 Msgrcv int32
85 Nsignals int32
86 Nvcsw int32
87 Nivcsw int32
88}
89
90type Rlimit struct {
91 Cur uint64
92 Max uint64
93}
94
95type _Gid_t uint32
96
97type Stat_t struct {
98 Dev uint64
99 X__pad1 uint16
100 Pad_cgo_0 [2]byte
101 X__st_ino uint32
102 Mode uint32
103 Nlink uint32
104 Uid uint32
105 Gid uint32
106 Rdev uint64
107 X__pad2 uint16
108 Pad_cgo_1 [6]byte
109 Size int64
110 Blksize int32
111 Pad_cgo_2 [4]byte
112 Blocks int64
113 Atim Timespec
114 Mtim Timespec
115 Ctim Timespec
116 Ino uint64
117}
118
119type Statfs_t struct {
120 Type int32
121 Bsize int32
122 Blocks uint64
123 Bfree uint64
124 Bavail uint64
125 Files uint64
126 Ffree uint64
127 Fsid Fsid
128 Namelen int32
129 Frsize int32
130 Flags int32
131 Spare [4]int32
132 Pad_cgo_0 [4]byte
133}
134
135type Dirent struct {
136 Ino uint64
137 Off int64
138 Reclen uint16
139 Type uint8
140 Name [256]uint8
141 Pad_cgo_0 [5]byte
142}
143
144type Fsid struct {
145 X__val [2]int32
146}
147
148type Flock_t struct {
149 Type int16
150 Whence int16
151 Pad_cgo_0 [4]byte
152 Start int64
153 Len int64
154 Pid int32
155 Pad_cgo_1 [4]byte
156}
157
158type RawSockaddrInet4 struct {
159 Family uint16
160 Port uint16
161 Addr [4]byte /* in_addr */
162 Zero [8]uint8
163}
164
165type RawSockaddrInet6 struct {
166 Family uint16
167 Port uint16
168 Flowinfo uint32
169 Addr [16]byte /* in6_addr */
170 Scope_id uint32
171}
172
173type RawSockaddrUnix struct {
174 Family uint16
175 Path [108]int8
176}
177
178type RawSockaddrLinklayer struct {
179 Family uint16
180 Protocol uint16
181 Ifindex int32
182 Hatype uint16
183 Pkttype uint8
184 Halen uint8
185 Addr [8]uint8
186}
187
188type RawSockaddrNetlink struct {
189 Family uint16
190 Pad uint16
191 Pid uint32
192 Groups uint32
193}
194
195type RawSockaddr struct {
196 Family uint16
197 Data [14]uint8
198}
199
200type RawSockaddrAny struct {
201 Addr RawSockaddr
202 Pad [96]uint8
203}
204
205type _Socklen uint32
206
207type Linger struct {
208 Onoff int32
209 Linger int32
210}
211
212type Iovec struct {
213 Base *byte
214 Len uint32
215}
216
217type IPMreq struct {
218 Multiaddr [4]byte /* in_addr */
219 Interface [4]byte /* in_addr */
220}
221
222type IPMreqn struct {
223 Multiaddr [4]byte /* in_addr */
224 Address [4]byte /* in_addr */
225 Ifindex int32
226}
227
228type IPv6Mreq struct {
229 Multiaddr [16]byte /* in6_addr */
230 Interface uint32
231}
232
233type Msghdr struct {
234 Name *byte
235 Namelen uint32
236 Iov *Iovec
237 Iovlen uint32
238 Control *byte
239 Controllen uint32
240 Flags int32
241}
242
243type Cmsghdr struct {
244 Len uint32
245 Level int32
246 Type int32
247 X__cmsg_data [0]uint8
248}
249
250type Inet4Pktinfo struct {
251 Ifindex int32
252 Spec_dst [4]byte /* in_addr */
253 Addr [4]byte /* in_addr */
254}
255
256type Inet6Pktinfo struct {
257 Addr [16]byte /* in6_addr */
258 Ifindex uint32
259}
260
261type IPv6MTUInfo struct {
262 Addr RawSockaddrInet6
263 Mtu uint32
264}
265
266type ICMPv6Filter struct {
267 Data [8]uint32
268}
269
270type Ucred struct {
271 Pid int32
272 Uid uint32
273 Gid uint32
274}
275
276type TCPInfo struct {
277 State uint8
278 Ca_state uint8
279 Retransmits uint8
280 Probes uint8
281 Backoff uint8
282 Options uint8
283 Pad_cgo_0 [2]byte
284 Rto uint32
285 Ato uint32
286 Snd_mss uint32
287 Rcv_mss uint32
288 Unacked uint32
289 Sacked uint32
290 Lost uint32
291 Retrans uint32
292 Fackets uint32
293 Last_data_sent uint32
294 Last_ack_sent uint32
295 Last_data_recv uint32
296 Last_ack_recv uint32
297 Pmtu uint32
298 Rcv_ssthresh uint32
299 Rtt uint32
300 Rttvar uint32
301 Snd_ssthresh uint32
302 Snd_cwnd uint32
303 Advmss uint32
304 Reordering uint32
305 Rcv_rtt uint32
306 Rcv_space uint32
307 Total_retrans uint32
308}
309
310const (
311 SizeofSockaddrInet4 = 0x10
312 SizeofSockaddrInet6 = 0x1c
313 SizeofSockaddrAny = 0x70
314 SizeofSockaddrUnix = 0x6e
315 SizeofSockaddrLinklayer = 0x14
316 SizeofSockaddrNetlink = 0xc
317 SizeofLinger = 0x8
318 SizeofIPMreq = 0x8
319 SizeofIPMreqn = 0xc
320 SizeofIPv6Mreq = 0x14
321 SizeofMsghdr = 0x1c
322 SizeofCmsghdr = 0xc
323 SizeofInet4Pktinfo = 0xc
324 SizeofInet6Pktinfo = 0x14
325 SizeofIPv6MTUInfo = 0x20
326 SizeofICMPv6Filter = 0x20
327 SizeofUcred = 0xc
328 SizeofTCPInfo = 0x68
329)
330
331const (
332 IFA_UNSPEC = 0x0
333 IFA_ADDRESS = 0x1
334 IFA_LOCAL = 0x2
335 IFA_LABEL = 0x3
336 IFA_BROADCAST = 0x4
337 IFA_ANYCAST = 0x5
338 IFA_CACHEINFO = 0x6
339 IFA_MULTICAST = 0x7
340 IFLA_UNSPEC = 0x0
341 IFLA_ADDRESS = 0x1
342 IFLA_BROADCAST = 0x2
343 IFLA_IFNAME = 0x3
344 IFLA_MTU = 0x4
345 IFLA_LINK = 0x5
346 IFLA_QDISC = 0x6
347 IFLA_STATS = 0x7
348 IFLA_COST = 0x8
349 IFLA_PRIORITY = 0x9
350 IFLA_MASTER = 0xa
351 IFLA_WIRELESS = 0xb
352 IFLA_PROTINFO = 0xc
353 IFLA_TXQLEN = 0xd
354 IFLA_MAP = 0xe
355 IFLA_WEIGHT = 0xf
356 IFLA_OPERSTATE = 0x10
357 IFLA_LINKMODE = 0x11
358 IFLA_LINKINFO = 0x12
359 IFLA_NET_NS_PID = 0x13
360 IFLA_IFALIAS = 0x14
361 IFLA_MAX = 0x1d
362 RT_SCOPE_UNIVERSE = 0x0
363 RT_SCOPE_SITE = 0xc8
364 RT_SCOPE_LINK = 0xfd
365 RT_SCOPE_HOST = 0xfe
366 RT_SCOPE_NOWHERE = 0xff
367 RT_TABLE_UNSPEC = 0x0
368 RT_TABLE_COMPAT = 0xfc
369 RT_TABLE_DEFAULT = 0xfd
370 RT_TABLE_MAIN = 0xfe
371 RT_TABLE_LOCAL = 0xff
372 RT_TABLE_MAX = 0xffffffff
373 RTA_UNSPEC = 0x0
374 RTA_DST = 0x1
375 RTA_SRC = 0x2
376 RTA_IIF = 0x3
377 RTA_OIF = 0x4
378 RTA_GATEWAY = 0x5
379 RTA_PRIORITY = 0x6
380 RTA_PREFSRC = 0x7
381 RTA_METRICS = 0x8
382 RTA_MULTIPATH = 0x9
383 RTA_FLOW = 0xb
384 RTA_CACHEINFO = 0xc
385 RTA_TABLE = 0xf
386 RTN_UNSPEC = 0x0
387 RTN_UNICAST = 0x1
388 RTN_LOCAL = 0x2
389 RTN_BROADCAST = 0x3
390 RTN_ANYCAST = 0x4
391 RTN_MULTICAST = 0x5
392 RTN_BLACKHOLE = 0x6
393 RTN_UNREACHABLE = 0x7
394 RTN_PROHIBIT = 0x8
395 RTN_THROW = 0x9
396 RTN_NAT = 0xa
397 RTN_XRESOLVE = 0xb
398 RTNLGRP_NONE = 0x0
399 RTNLGRP_LINK = 0x1
400 RTNLGRP_NOTIFY = 0x2
401 RTNLGRP_NEIGH = 0x3
402 RTNLGRP_TC = 0x4
403 RTNLGRP_IPV4_IFADDR = 0x5
404 RTNLGRP_IPV4_MROUTE = 0x6
405 RTNLGRP_IPV4_ROUTE = 0x7
406 RTNLGRP_IPV4_RULE = 0x8
407 RTNLGRP_IPV6_IFADDR = 0x9
408 RTNLGRP_IPV6_MROUTE = 0xa
409 RTNLGRP_IPV6_ROUTE = 0xb
410 RTNLGRP_IPV6_IFINFO = 0xc
411 RTNLGRP_IPV6_PREFIX = 0x12
412 RTNLGRP_IPV6_RULE = 0x13
413 RTNLGRP_ND_USEROPT = 0x14
414 SizeofNlMsghdr = 0x10
415 SizeofNlMsgerr = 0x14
416 SizeofRtGenmsg = 0x1
417 SizeofNlAttr = 0x4
418 SizeofRtAttr = 0x4
419 SizeofIfInfomsg = 0x10
420 SizeofIfAddrmsg = 0x8
421 SizeofRtMsg = 0xc
422 SizeofRtNexthop = 0x8
423)
424
425type NlMsghdr struct {
426 Len uint32
427 Type uint16
428 Flags uint16
429 Seq uint32
430 Pid uint32
431}
432
433type NlMsgerr struct {
434 Error int32
435 Msg NlMsghdr
436}
437
438type RtGenmsg struct {
439 Family uint8
440}
441
442type NlAttr struct {
443 Len uint16
444 Type uint16
445}
446
447type RtAttr struct {
448 Len uint16
449 Type uint16
450}
451
452type IfInfomsg struct {
453 Family uint8
454 X__ifi_pad uint8
455 Type uint16
456 Index int32
457 Flags uint32
458 Change uint32
459}
460
461type IfAddrmsg struct {
462 Family uint8
463 Prefixlen uint8
464 Flags uint8
465 Scope uint8
466 Index uint32
467}
468
469type RtMsg struct {
470 Family uint8
471 Dst_len uint8
472 Src_len uint8
473 Tos uint8
474 Table uint8
475 Protocol uint8
476 Scope uint8
477 Type uint8
478 Flags uint32
479}
480
481type RtNexthop struct {
482 Len uint16
483 Flags uint8
484 Hops uint8
485 Ifindex int32
486}
487
488const (
489 SizeofSockFilter = 0x8
490 SizeofSockFprog = 0x8
491)
492
493type SockFilter struct {
494 Code uint16
495 Jt uint8
496 Jf uint8
497 K uint32
498}
499
500type SockFprog struct {
501 Len uint16
502 Pad_cgo_0 [2]byte
503 Filter *SockFilter
504}
505
506type InotifyEvent struct {
507 Wd int32
508 Mask uint32
509 Cookie uint32
510 Len uint32
511 Name [0]uint8
512}
513
514const SizeofInotifyEvent = 0x10
515
516type PtraceRegs struct {
517 Uregs [18]uint32
518}
519
520type FdSet struct {
521 Bits [32]int32
522}
523
524type Sysinfo_t struct {
525 Uptime int32
526 Loads [3]uint32
527 Totalram uint32
528 Freeram uint32
529 Sharedram uint32
530 Bufferram uint32
531 Totalswap uint32
532 Freeswap uint32
533 Procs uint16
534 Pad uint16
535 Totalhigh uint32
536 Freehigh uint32
537 Unit uint32
538 X_f [8]uint8
539}
540
541type Utsname struct {
542 Sysname [65]uint8
543 Nodename [65]uint8
544 Release [65]uint8
545 Version [65]uint8
546 Machine [65]uint8
547 Domainname [65]uint8
548}
549
550type Ustat_t struct {
551 Tfree int32
552 Tinode uint32
553 Fname [6]uint8
554 Fpack [6]uint8
555}
556
557type EpollEvent struct {
558 Events uint32
559 PadFd int32
560 Fd int32
561 Pad int32
562}
563
564const (
565 AT_FDCWD = -0x64
566 AT_SYMLINK_NOFOLLOW = 0x100
567 AT_REMOVEDIR = 0x200
568)
569
570type Termios struct {
571 Iflag uint32
572 Oflag uint32
573 Cflag uint32
574 Lflag uint32
575 Line uint8
576 Cc [19]uint8
577 Ispeed uint32
578 Ospeed uint32
579}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm64.go
deleted file mode 100644
index a159aad..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_arm64.go
+++ /dev/null
@@ -1,595 +0,0 @@
1// +build arm64,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs -- -fsigned-char types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Timex struct {
34 Modes uint32
35 Pad_cgo_0 [4]byte
36 Offset int64
37 Freq int64
38 Maxerror int64
39 Esterror int64
40 Status int32
41 Pad_cgo_1 [4]byte
42 Constant int64
43 Precision int64
44 Tolerance int64
45 Time Timeval
46 Tick int64
47 Ppsfreq int64
48 Jitter int64
49 Shift int32
50 Pad_cgo_2 [4]byte
51 Stabil int64
52 Jitcnt int64
53 Calcnt int64
54 Errcnt int64
55 Stbcnt int64
56 Tai int32
57 Pad_cgo_3 [44]byte
58}
59
60type Time_t int64
61
62type Tms struct {
63 Utime int64
64 Stime int64
65 Cutime int64
66 Cstime int64
67}
68
69type Utimbuf struct {
70 Actime int64
71 Modtime int64
72}
73
74type Rusage struct {
75 Utime Timeval
76 Stime Timeval
77 Maxrss int64
78 Ixrss int64
79 Idrss int64
80 Isrss int64
81 Minflt int64
82 Majflt int64
83 Nswap int64
84 Inblock int64
85 Oublock int64
86 Msgsnd int64
87 Msgrcv int64
88 Nsignals int64
89 Nvcsw int64
90 Nivcsw int64
91}
92
93type Rlimit struct {
94 Cur uint64
95 Max uint64
96}
97
98type _Gid_t uint32
99
100type Stat_t struct {
101 Dev uint64
102 Ino uint64
103 Mode uint32
104 Nlink uint32
105 Uid uint32
106 Gid uint32
107 Rdev uint64
108 X__pad1 uint64
109 Size int64
110 Blksize int32
111 X__pad2 int32
112 Blocks int64
113 Atim Timespec
114 Mtim Timespec
115 Ctim Timespec
116 X__glibc_reserved [2]int32
117}
118
119type Statfs_t struct {
120 Type int64
121 Bsize int64
122 Blocks uint64
123 Bfree uint64
124 Bavail uint64
125 Files uint64
126 Ffree uint64
127 Fsid Fsid
128 Namelen int64
129 Frsize int64
130 Flags int64
131 Spare [4]int64
132}
133
134type Dirent struct {
135 Ino uint64
136 Off int64
137 Reclen uint16
138 Type uint8
139 Name [256]int8
140 Pad_cgo_0 [5]byte
141}
142
143type Fsid struct {
144 X__val [2]int32
145}
146
147type Flock_t struct {
148 Type int16
149 Whence int16
150 Pad_cgo_0 [4]byte
151 Start int64
152 Len int64
153 Pid int32
154 Pad_cgo_1 [4]byte
155}
156
157const (
158 FADV_NORMAL = 0x0
159 FADV_RANDOM = 0x1
160 FADV_SEQUENTIAL = 0x2
161 FADV_WILLNEED = 0x3
162 FADV_DONTNEED = 0x4
163 FADV_NOREUSE = 0x5
164)
165
166type RawSockaddrInet4 struct {
167 Family uint16
168 Port uint16
169 Addr [4]byte /* in_addr */
170 Zero [8]uint8
171}
172
173type RawSockaddrInet6 struct {
174 Family uint16
175 Port uint16
176 Flowinfo uint32
177 Addr [16]byte /* in6_addr */
178 Scope_id uint32
179}
180
181type RawSockaddrUnix struct {
182 Family uint16
183 Path [108]int8
184}
185
186type RawSockaddrLinklayer struct {
187 Family uint16
188 Protocol uint16
189 Ifindex int32
190 Hatype uint16
191 Pkttype uint8
192 Halen uint8
193 Addr [8]uint8
194}
195
196type RawSockaddrNetlink struct {
197 Family uint16
198 Pad uint16
199 Pid uint32
200 Groups uint32
201}
202
203type RawSockaddr struct {
204 Family uint16
205 Data [14]int8
206}
207
208type RawSockaddrAny struct {
209 Addr RawSockaddr
210 Pad [96]int8
211}
212
213type _Socklen uint32
214
215type Linger struct {
216 Onoff int32
217 Linger int32
218}
219
220type Iovec struct {
221 Base *byte
222 Len uint64
223}
224
225type IPMreq struct {
226 Multiaddr [4]byte /* in_addr */
227 Interface [4]byte /* in_addr */
228}
229
230type IPMreqn struct {
231 Multiaddr [4]byte /* in_addr */
232 Address [4]byte /* in_addr */
233 Ifindex int32
234}
235
236type IPv6Mreq struct {
237 Multiaddr [16]byte /* in6_addr */
238 Interface uint32
239}
240
241type Msghdr struct {
242 Name *byte
243 Namelen uint32
244 Pad_cgo_0 [4]byte
245 Iov *Iovec
246 Iovlen uint64
247 Control *byte
248 Controllen uint64
249 Flags int32
250 Pad_cgo_1 [4]byte
251}
252
253type Cmsghdr struct {
254 Len uint64
255 Level int32
256 Type int32
257 X__cmsg_data [0]uint8
258}
259
260type Inet4Pktinfo struct {
261 Ifindex int32
262 Spec_dst [4]byte /* in_addr */
263 Addr [4]byte /* in_addr */
264}
265
266type Inet6Pktinfo struct {
267 Addr [16]byte /* in6_addr */
268 Ifindex uint32
269}
270
271type IPv6MTUInfo struct {
272 Addr RawSockaddrInet6
273 Mtu uint32
274}
275
276type ICMPv6Filter struct {
277 Data [8]uint32
278}
279
280type Ucred struct {
281 Pid int32
282 Uid uint32
283 Gid uint32
284}
285
286type TCPInfo struct {
287 State uint8
288 Ca_state uint8
289 Retransmits uint8
290 Probes uint8
291 Backoff uint8
292 Options uint8
293 Pad_cgo_0 [2]byte
294 Rto uint32
295 Ato uint32
296 Snd_mss uint32
297 Rcv_mss uint32
298 Unacked uint32
299 Sacked uint32
300 Lost uint32
301 Retrans uint32
302 Fackets uint32
303 Last_data_sent uint32
304 Last_ack_sent uint32
305 Last_data_recv uint32
306 Last_ack_recv uint32
307 Pmtu uint32
308 Rcv_ssthresh uint32
309 Rtt uint32
310 Rttvar uint32
311 Snd_ssthresh uint32
312 Snd_cwnd uint32
313 Advmss uint32
314 Reordering uint32
315 Rcv_rtt uint32
316 Rcv_space uint32
317 Total_retrans uint32
318}
319
320const (
321 SizeofSockaddrInet4 = 0x10
322 SizeofSockaddrInet6 = 0x1c
323 SizeofSockaddrAny = 0x70
324 SizeofSockaddrUnix = 0x6e
325 SizeofSockaddrLinklayer = 0x14
326 SizeofSockaddrNetlink = 0xc
327 SizeofLinger = 0x8
328 SizeofIPMreq = 0x8
329 SizeofIPMreqn = 0xc
330 SizeofIPv6Mreq = 0x14
331 SizeofMsghdr = 0x38
332 SizeofCmsghdr = 0x10
333 SizeofInet4Pktinfo = 0xc
334 SizeofInet6Pktinfo = 0x14
335 SizeofIPv6MTUInfo = 0x20
336 SizeofICMPv6Filter = 0x20
337 SizeofUcred = 0xc
338 SizeofTCPInfo = 0x68
339)
340
341const (
342 IFA_UNSPEC = 0x0
343 IFA_ADDRESS = 0x1
344 IFA_LOCAL = 0x2
345 IFA_LABEL = 0x3
346 IFA_BROADCAST = 0x4
347 IFA_ANYCAST = 0x5
348 IFA_CACHEINFO = 0x6
349 IFA_MULTICAST = 0x7
350 IFLA_UNSPEC = 0x0
351 IFLA_ADDRESS = 0x1
352 IFLA_BROADCAST = 0x2
353 IFLA_IFNAME = 0x3
354 IFLA_MTU = 0x4
355 IFLA_LINK = 0x5
356 IFLA_QDISC = 0x6
357 IFLA_STATS = 0x7
358 IFLA_COST = 0x8
359 IFLA_PRIORITY = 0x9
360 IFLA_MASTER = 0xa
361 IFLA_WIRELESS = 0xb
362 IFLA_PROTINFO = 0xc
363 IFLA_TXQLEN = 0xd
364 IFLA_MAP = 0xe
365 IFLA_WEIGHT = 0xf
366 IFLA_OPERSTATE = 0x10
367 IFLA_LINKMODE = 0x11
368 IFLA_LINKINFO = 0x12
369 IFLA_NET_NS_PID = 0x13
370 IFLA_IFALIAS = 0x14
371 IFLA_MAX = 0x22
372 RT_SCOPE_UNIVERSE = 0x0
373 RT_SCOPE_SITE = 0xc8
374 RT_SCOPE_LINK = 0xfd
375 RT_SCOPE_HOST = 0xfe
376 RT_SCOPE_NOWHERE = 0xff
377 RT_TABLE_UNSPEC = 0x0
378 RT_TABLE_COMPAT = 0xfc
379 RT_TABLE_DEFAULT = 0xfd
380 RT_TABLE_MAIN = 0xfe
381 RT_TABLE_LOCAL = 0xff
382 RT_TABLE_MAX = 0xffffffff
383 RTA_UNSPEC = 0x0
384 RTA_DST = 0x1
385 RTA_SRC = 0x2
386 RTA_IIF = 0x3
387 RTA_OIF = 0x4
388 RTA_GATEWAY = 0x5
389 RTA_PRIORITY = 0x6
390 RTA_PREFSRC = 0x7
391 RTA_METRICS = 0x8
392 RTA_MULTIPATH = 0x9
393 RTA_FLOW = 0xb
394 RTA_CACHEINFO = 0xc
395 RTA_TABLE = 0xf
396 RTN_UNSPEC = 0x0
397 RTN_UNICAST = 0x1
398 RTN_LOCAL = 0x2
399 RTN_BROADCAST = 0x3
400 RTN_ANYCAST = 0x4
401 RTN_MULTICAST = 0x5
402 RTN_BLACKHOLE = 0x6
403 RTN_UNREACHABLE = 0x7
404 RTN_PROHIBIT = 0x8
405 RTN_THROW = 0x9
406 RTN_NAT = 0xa
407 RTN_XRESOLVE = 0xb
408 RTNLGRP_NONE = 0x0
409 RTNLGRP_LINK = 0x1
410 RTNLGRP_NOTIFY = 0x2
411 RTNLGRP_NEIGH = 0x3
412 RTNLGRP_TC = 0x4
413 RTNLGRP_IPV4_IFADDR = 0x5
414 RTNLGRP_IPV4_MROUTE = 0x6
415 RTNLGRP_IPV4_ROUTE = 0x7
416 RTNLGRP_IPV4_RULE = 0x8
417 RTNLGRP_IPV6_IFADDR = 0x9
418 RTNLGRP_IPV6_MROUTE = 0xa
419 RTNLGRP_IPV6_ROUTE = 0xb
420 RTNLGRP_IPV6_IFINFO = 0xc
421 RTNLGRP_IPV6_PREFIX = 0x12
422 RTNLGRP_IPV6_RULE = 0x13
423 RTNLGRP_ND_USEROPT = 0x14
424 SizeofNlMsghdr = 0x10
425 SizeofNlMsgerr = 0x14
426 SizeofRtGenmsg = 0x1
427 SizeofNlAttr = 0x4
428 SizeofRtAttr = 0x4
429 SizeofIfInfomsg = 0x10
430 SizeofIfAddrmsg = 0x8
431 SizeofRtMsg = 0xc
432 SizeofRtNexthop = 0x8
433)
434
435type NlMsghdr struct {
436 Len uint32
437 Type uint16
438 Flags uint16
439 Seq uint32
440 Pid uint32
441}
442
443type NlMsgerr struct {
444 Error int32
445 Msg NlMsghdr
446}
447
448type RtGenmsg struct {
449 Family uint8
450}
451
452type NlAttr struct {
453 Len uint16
454 Type uint16
455}
456
457type RtAttr struct {
458 Len uint16
459 Type uint16
460}
461
462type IfInfomsg struct {
463 Family uint8
464 X__ifi_pad uint8
465 Type uint16
466 Index int32
467 Flags uint32
468 Change uint32
469}
470
471type IfAddrmsg struct {
472 Family uint8
473 Prefixlen uint8
474 Flags uint8
475 Scope uint8
476 Index uint32
477}
478
479type RtMsg struct {
480 Family uint8
481 Dst_len uint8
482 Src_len uint8
483 Tos uint8
484 Table uint8
485 Protocol uint8
486 Scope uint8
487 Type uint8
488 Flags uint32
489}
490
491type RtNexthop struct {
492 Len uint16
493 Flags uint8
494 Hops uint8
495 Ifindex int32
496}
497
498const (
499 SizeofSockFilter = 0x8
500 SizeofSockFprog = 0x10
501)
502
503type SockFilter struct {
504 Code uint16
505 Jt uint8
506 Jf uint8
507 K uint32
508}
509
510type SockFprog struct {
511 Len uint16
512 Pad_cgo_0 [6]byte
513 Filter *SockFilter
514}
515
516type InotifyEvent struct {
517 Wd int32
518 Mask uint32
519 Cookie uint32
520 Len uint32
521 Name [0]int8
522}
523
524const SizeofInotifyEvent = 0x10
525
526type PtraceRegs struct {
527 Regs [31]uint64
528 Sp uint64
529 Pc uint64
530 Pstate uint64
531}
532
533type FdSet struct {
534 Bits [16]int64
535}
536
537type Sysinfo_t struct {
538 Uptime int64
539 Loads [3]uint64
540 Totalram uint64
541 Freeram uint64
542 Sharedram uint64
543 Bufferram uint64
544 Totalswap uint64
545 Freeswap uint64
546 Procs uint16
547 Pad uint16
548 Pad_cgo_0 [4]byte
549 Totalhigh uint64
550 Freehigh uint64
551 Unit uint32
552 X_f [0]int8
553 Pad_cgo_1 [4]byte
554}
555
556type Utsname struct {
557 Sysname [65]int8
558 Nodename [65]int8
559 Release [65]int8
560 Version [65]int8
561 Machine [65]int8
562 Domainname [65]int8
563}
564
565type Ustat_t struct {
566 Tfree int32
567 Pad_cgo_0 [4]byte
568 Tinode uint64
569 Fname [6]int8
570 Fpack [6]int8
571 Pad_cgo_1 [4]byte
572}
573
574type EpollEvent struct {
575 Events uint32
576 Fd int32
577 Pad int32
578}
579
580const (
581 AT_FDCWD = -0x64
582 AT_REMOVEDIR = 0x200
583 AT_SYMLINK_NOFOLLOW = 0x100
584)
585
586type Termios struct {
587 Iflag uint32
588 Oflag uint32
589 Cflag uint32
590 Lflag uint32
591 Line uint8
592 Cc [19]uint8
593 Ispeed uint32
594 Ospeed uint32
595}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64.go
deleted file mode 100644
index b14cbfe..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64.go
+++ /dev/null
@@ -1,605 +0,0 @@
1// +build ppc64,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Timex struct {
34 Modes uint32
35 Pad_cgo_0 [4]byte
36 Offset int64
37 Freq int64
38 Maxerror int64
39 Esterror int64
40 Status int32
41 Pad_cgo_1 [4]byte
42 Constant int64
43 Precision int64
44 Tolerance int64
45 Time Timeval
46 Tick int64
47 Ppsfreq int64
48 Jitter int64
49 Shift int32
50 Pad_cgo_2 [4]byte
51 Stabil int64
52 Jitcnt int64
53 Calcnt int64
54 Errcnt int64
55 Stbcnt int64
56 Tai int32
57 Pad_cgo_3 [44]byte
58}
59
60type Time_t int64
61
62type Tms struct {
63 Utime int64
64 Stime int64
65 Cutime int64
66 Cstime int64
67}
68
69type Utimbuf struct {
70 Actime int64
71 Modtime int64
72}
73
74type Rusage struct {
75 Utime Timeval
76 Stime Timeval
77 Maxrss int64
78 Ixrss int64
79 Idrss int64
80 Isrss int64
81 Minflt int64
82 Majflt int64
83 Nswap int64
84 Inblock int64
85 Oublock int64
86 Msgsnd int64
87 Msgrcv int64
88 Nsignals int64
89 Nvcsw int64
90 Nivcsw int64
91}
92
93type Rlimit struct {
94 Cur uint64
95 Max uint64
96}
97
98type _Gid_t uint32
99
100type Stat_t struct {
101 Dev uint64
102 Ino uint64
103 Nlink uint64
104 Mode uint32
105 Uid uint32
106 Gid uint32
107 X__pad2 int32
108 Rdev uint64
109 Size int64
110 Blksize int64
111 Blocks int64
112 Atim Timespec
113 Mtim Timespec
114 Ctim Timespec
115 X__glibc_reserved4 uint64
116 X__glibc_reserved5 uint64
117 X__glibc_reserved6 uint64
118}
119
120type Statfs_t struct {
121 Type int64
122 Bsize int64
123 Blocks uint64
124 Bfree uint64
125 Bavail uint64
126 Files uint64
127 Ffree uint64
128 Fsid Fsid
129 Namelen int64
130 Frsize int64
131 Flags int64
132 Spare [4]int64
133}
134
135type Dirent struct {
136 Ino uint64
137 Off int64
138 Reclen uint16
139 Type uint8
140 Name [256]uint8
141 Pad_cgo_0 [5]byte
142}
143
144type Fsid struct {
145 X__val [2]int32
146}
147
148type Flock_t struct {
149 Type int16
150 Whence int16
151 Pad_cgo_0 [4]byte
152 Start int64
153 Len int64
154 Pid int32
155 Pad_cgo_1 [4]byte
156}
157
158const (
159 FADV_NORMAL = 0x0
160 FADV_RANDOM = 0x1
161 FADV_SEQUENTIAL = 0x2
162 FADV_WILLNEED = 0x3
163 FADV_DONTNEED = 0x4
164 FADV_NOREUSE = 0x5
165)
166
167type RawSockaddrInet4 struct {
168 Family uint16
169 Port uint16
170 Addr [4]byte /* in_addr */
171 Zero [8]uint8
172}
173
174type RawSockaddrInet6 struct {
175 Family uint16
176 Port uint16
177 Flowinfo uint32
178 Addr [16]byte /* in6_addr */
179 Scope_id uint32
180}
181
182type RawSockaddrUnix struct {
183 Family uint16
184 Path [108]int8
185}
186
187type RawSockaddrLinklayer struct {
188 Family uint16
189 Protocol uint16
190 Ifindex int32
191 Hatype uint16
192 Pkttype uint8
193 Halen uint8
194 Addr [8]uint8
195}
196
197type RawSockaddrNetlink struct {
198 Family uint16
199 Pad uint16
200 Pid uint32
201 Groups uint32
202}
203
204type RawSockaddr struct {
205 Family uint16
206 Data [14]uint8
207}
208
209type RawSockaddrAny struct {
210 Addr RawSockaddr
211 Pad [96]uint8
212}
213
214type _Socklen uint32
215
216type Linger struct {
217 Onoff int32
218 Linger int32
219}
220
221type Iovec struct {
222 Base *byte
223 Len uint64
224}
225
226type IPMreq struct {
227 Multiaddr [4]byte /* in_addr */
228 Interface [4]byte /* in_addr */
229}
230
231type IPMreqn struct {
232 Multiaddr [4]byte /* in_addr */
233 Address [4]byte /* in_addr */
234 Ifindex int32
235}
236
237type IPv6Mreq struct {
238 Multiaddr [16]byte /* in6_addr */
239 Interface uint32
240}
241
242type Msghdr struct {
243 Name *byte
244 Namelen uint32
245 Pad_cgo_0 [4]byte
246 Iov *Iovec
247 Iovlen uint64
248 Control *byte
249 Controllen uint64
250 Flags int32
251 Pad_cgo_1 [4]byte
252}
253
254type Cmsghdr struct {
255 Len uint64
256 Level int32
257 Type int32
258 X__cmsg_data [0]uint8
259}
260
261type Inet4Pktinfo struct {
262 Ifindex int32
263 Spec_dst [4]byte /* in_addr */
264 Addr [4]byte /* in_addr */
265}
266
267type Inet6Pktinfo struct {
268 Addr [16]byte /* in6_addr */
269 Ifindex uint32
270}
271
272type IPv6MTUInfo struct {
273 Addr RawSockaddrInet6
274 Mtu uint32
275}
276
277type ICMPv6Filter struct {
278 Data [8]uint32
279}
280
281type Ucred struct {
282 Pid int32
283 Uid uint32
284 Gid uint32
285}
286
287type TCPInfo struct {
288 State uint8
289 Ca_state uint8
290 Retransmits uint8
291 Probes uint8
292 Backoff uint8
293 Options uint8
294 Pad_cgo_0 [2]byte
295 Rto uint32
296 Ato uint32
297 Snd_mss uint32
298 Rcv_mss uint32
299 Unacked uint32
300 Sacked uint32
301 Lost uint32
302 Retrans uint32
303 Fackets uint32
304 Last_data_sent uint32
305 Last_ack_sent uint32
306 Last_data_recv uint32
307 Last_ack_recv uint32
308 Pmtu uint32
309 Rcv_ssthresh uint32
310 Rtt uint32
311 Rttvar uint32
312 Snd_ssthresh uint32
313 Snd_cwnd uint32
314 Advmss uint32
315 Reordering uint32
316 Rcv_rtt uint32
317 Rcv_space uint32
318 Total_retrans uint32
319}
320
321const (
322 SizeofSockaddrInet4 = 0x10
323 SizeofSockaddrInet6 = 0x1c
324 SizeofSockaddrAny = 0x70
325 SizeofSockaddrUnix = 0x6e
326 SizeofSockaddrLinklayer = 0x14
327 SizeofSockaddrNetlink = 0xc
328 SizeofLinger = 0x8
329 SizeofIPMreq = 0x8
330 SizeofIPMreqn = 0xc
331 SizeofIPv6Mreq = 0x14
332 SizeofMsghdr = 0x38
333 SizeofCmsghdr = 0x10
334 SizeofInet4Pktinfo = 0xc
335 SizeofInet6Pktinfo = 0x14
336 SizeofIPv6MTUInfo = 0x20
337 SizeofICMPv6Filter = 0x20
338 SizeofUcred = 0xc
339 SizeofTCPInfo = 0x68
340)
341
342const (
343 IFA_UNSPEC = 0x0
344 IFA_ADDRESS = 0x1
345 IFA_LOCAL = 0x2
346 IFA_LABEL = 0x3
347 IFA_BROADCAST = 0x4
348 IFA_ANYCAST = 0x5
349 IFA_CACHEINFO = 0x6
350 IFA_MULTICAST = 0x7
351 IFLA_UNSPEC = 0x0
352 IFLA_ADDRESS = 0x1
353 IFLA_BROADCAST = 0x2
354 IFLA_IFNAME = 0x3
355 IFLA_MTU = 0x4
356 IFLA_LINK = 0x5
357 IFLA_QDISC = 0x6
358 IFLA_STATS = 0x7
359 IFLA_COST = 0x8
360 IFLA_PRIORITY = 0x9
361 IFLA_MASTER = 0xa
362 IFLA_WIRELESS = 0xb
363 IFLA_PROTINFO = 0xc
364 IFLA_TXQLEN = 0xd
365 IFLA_MAP = 0xe
366 IFLA_WEIGHT = 0xf
367 IFLA_OPERSTATE = 0x10
368 IFLA_LINKMODE = 0x11
369 IFLA_LINKINFO = 0x12
370 IFLA_NET_NS_PID = 0x13
371 IFLA_IFALIAS = 0x14
372 IFLA_MAX = 0x23
373 RT_SCOPE_UNIVERSE = 0x0
374 RT_SCOPE_SITE = 0xc8
375 RT_SCOPE_LINK = 0xfd
376 RT_SCOPE_HOST = 0xfe
377 RT_SCOPE_NOWHERE = 0xff
378 RT_TABLE_UNSPEC = 0x0
379 RT_TABLE_COMPAT = 0xfc
380 RT_TABLE_DEFAULT = 0xfd
381 RT_TABLE_MAIN = 0xfe
382 RT_TABLE_LOCAL = 0xff
383 RT_TABLE_MAX = 0xffffffff
384 RTA_UNSPEC = 0x0
385 RTA_DST = 0x1
386 RTA_SRC = 0x2
387 RTA_IIF = 0x3
388 RTA_OIF = 0x4
389 RTA_GATEWAY = 0x5
390 RTA_PRIORITY = 0x6
391 RTA_PREFSRC = 0x7
392 RTA_METRICS = 0x8
393 RTA_MULTIPATH = 0x9
394 RTA_FLOW = 0xb
395 RTA_CACHEINFO = 0xc
396 RTA_TABLE = 0xf
397 RTN_UNSPEC = 0x0
398 RTN_UNICAST = 0x1
399 RTN_LOCAL = 0x2
400 RTN_BROADCAST = 0x3
401 RTN_ANYCAST = 0x4
402 RTN_MULTICAST = 0x5
403 RTN_BLACKHOLE = 0x6
404 RTN_UNREACHABLE = 0x7
405 RTN_PROHIBIT = 0x8
406 RTN_THROW = 0x9
407 RTN_NAT = 0xa
408 RTN_XRESOLVE = 0xb
409 RTNLGRP_NONE = 0x0
410 RTNLGRP_LINK = 0x1
411 RTNLGRP_NOTIFY = 0x2
412 RTNLGRP_NEIGH = 0x3
413 RTNLGRP_TC = 0x4
414 RTNLGRP_IPV4_IFADDR = 0x5
415 RTNLGRP_IPV4_MROUTE = 0x6
416 RTNLGRP_IPV4_ROUTE = 0x7
417 RTNLGRP_IPV4_RULE = 0x8
418 RTNLGRP_IPV6_IFADDR = 0x9
419 RTNLGRP_IPV6_MROUTE = 0xa
420 RTNLGRP_IPV6_ROUTE = 0xb
421 RTNLGRP_IPV6_IFINFO = 0xc
422 RTNLGRP_IPV6_PREFIX = 0x12
423 RTNLGRP_IPV6_RULE = 0x13
424 RTNLGRP_ND_USEROPT = 0x14
425 SizeofNlMsghdr = 0x10
426 SizeofNlMsgerr = 0x14
427 SizeofRtGenmsg = 0x1
428 SizeofNlAttr = 0x4
429 SizeofRtAttr = 0x4
430 SizeofIfInfomsg = 0x10
431 SizeofIfAddrmsg = 0x8
432 SizeofRtMsg = 0xc
433 SizeofRtNexthop = 0x8
434)
435
436type NlMsghdr struct {
437 Len uint32
438 Type uint16
439 Flags uint16
440 Seq uint32
441 Pid uint32
442}
443
444type NlMsgerr struct {
445 Error int32
446 Msg NlMsghdr
447}
448
449type RtGenmsg struct {
450 Family uint8
451}
452
453type NlAttr struct {
454 Len uint16
455 Type uint16
456}
457
458type RtAttr struct {
459 Len uint16
460 Type uint16
461}
462
463type IfInfomsg struct {
464 Family uint8
465 X__ifi_pad uint8
466 Type uint16
467 Index int32
468 Flags uint32
469 Change uint32
470}
471
472type IfAddrmsg struct {
473 Family uint8
474 Prefixlen uint8
475 Flags uint8
476 Scope uint8
477 Index uint32
478}
479
480type RtMsg struct {
481 Family uint8
482 Dst_len uint8
483 Src_len uint8
484 Tos uint8
485 Table uint8
486 Protocol uint8
487 Scope uint8
488 Type uint8
489 Flags uint32
490}
491
492type RtNexthop struct {
493 Len uint16
494 Flags uint8
495 Hops uint8
496 Ifindex int32
497}
498
499const (
500 SizeofSockFilter = 0x8
501 SizeofSockFprog = 0x10
502)
503
504type SockFilter struct {
505 Code uint16
506 Jt uint8
507 Jf uint8
508 K uint32
509}
510
511type SockFprog struct {
512 Len uint16
513 Pad_cgo_0 [6]byte
514 Filter *SockFilter
515}
516
517type InotifyEvent struct {
518 Wd int32
519 Mask uint32
520 Cookie uint32
521 Len uint32
522 Name [0]uint8
523}
524
525const SizeofInotifyEvent = 0x10
526
527type PtraceRegs struct {
528 Gpr [32]uint64
529 Nip uint64
530 Msr uint64
531 Orig_gpr3 uint64
532 Ctr uint64
533 Link uint64
534 Xer uint64
535 Ccr uint64
536 Softe uint64
537 Trap uint64
538 Dar uint64
539 Dsisr uint64
540 Result uint64
541}
542
543type FdSet struct {
544 Bits [16]int64
545}
546
547type Sysinfo_t struct {
548 Uptime int64
549 Loads [3]uint64
550 Totalram uint64
551 Freeram uint64
552 Sharedram uint64
553 Bufferram uint64
554 Totalswap uint64
555 Freeswap uint64
556 Procs uint16
557 Pad uint16
558 Pad_cgo_0 [4]byte
559 Totalhigh uint64
560 Freehigh uint64
561 Unit uint32
562 X_f [0]uint8
563 Pad_cgo_1 [4]byte
564}
565
566type Utsname struct {
567 Sysname [65]uint8
568 Nodename [65]uint8
569 Release [65]uint8
570 Version [65]uint8
571 Machine [65]uint8
572 Domainname [65]uint8
573}
574
575type Ustat_t struct {
576 Tfree int32
577 Pad_cgo_0 [4]byte
578 Tinode uint64
579 Fname [6]uint8
580 Fpack [6]uint8
581 Pad_cgo_1 [4]byte
582}
583
584type EpollEvent struct {
585 Events uint32
586 Fd int32
587 Pad int32
588}
589
590const (
591 AT_FDCWD = -0x64
592 AT_REMOVEDIR = 0x200
593 AT_SYMLINK_NOFOLLOW = 0x100
594)
595
596type Termios struct {
597 Iflag uint32
598 Oflag uint32
599 Cflag uint32
600 Lflag uint32
601 Cc [19]uint8
602 Line uint8
603 Ispeed uint32
604 Ospeed uint32
605}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
deleted file mode 100644
index 22c96a2..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
+++ /dev/null
@@ -1,605 +0,0 @@
1// +build ppc64le,linux
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_linux.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13 PathMax = 0x1000
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Timex struct {
34 Modes uint32
35 Pad_cgo_0 [4]byte
36 Offset int64
37 Freq int64
38 Maxerror int64
39 Esterror int64
40 Status int32
41 Pad_cgo_1 [4]byte
42 Constant int64
43 Precision int64
44 Tolerance int64
45 Time Timeval
46 Tick int64
47 Ppsfreq int64
48 Jitter int64
49 Shift int32
50 Pad_cgo_2 [4]byte
51 Stabil int64
52 Jitcnt int64
53 Calcnt int64
54 Errcnt int64
55 Stbcnt int64
56 Tai int32
57 Pad_cgo_3 [44]byte
58}
59
60type Time_t int64
61
62type Tms struct {
63 Utime int64
64 Stime int64
65 Cutime int64
66 Cstime int64
67}
68
69type Utimbuf struct {
70 Actime int64
71 Modtime int64
72}
73
74type Rusage struct {
75 Utime Timeval
76 Stime Timeval
77 Maxrss int64
78 Ixrss int64
79 Idrss int64
80 Isrss int64
81 Minflt int64
82 Majflt int64
83 Nswap int64
84 Inblock int64
85 Oublock int64
86 Msgsnd int64
87 Msgrcv int64
88 Nsignals int64
89 Nvcsw int64
90 Nivcsw int64
91}
92
93type Rlimit struct {
94 Cur uint64
95 Max uint64
96}
97
98type _Gid_t uint32
99
100type Stat_t struct {
101 Dev uint64
102 Ino uint64
103 Nlink uint64
104 Mode uint32
105 Uid uint32
106 Gid uint32
107 X__pad2 int32
108 Rdev uint64
109 Size int64
110 Blksize int64
111 Blocks int64
112 Atim Timespec
113 Mtim Timespec
114 Ctim Timespec
115 X__glibc_reserved4 uint64
116 X__glibc_reserved5 uint64
117 X__glibc_reserved6 uint64
118}
119
120type Statfs_t struct {
121 Type int64
122 Bsize int64
123 Blocks uint64
124 Bfree uint64
125 Bavail uint64
126 Files uint64
127 Ffree uint64
128 Fsid Fsid
129 Namelen int64
130 Frsize int64
131 Flags int64
132 Spare [4]int64
133}
134
135type Dirent struct {
136 Ino uint64
137 Off int64
138 Reclen uint16
139 Type uint8
140 Name [256]uint8
141 Pad_cgo_0 [5]byte
142}
143
144type Fsid struct {
145 X__val [2]int32
146}
147
148type Flock_t struct {
149 Type int16
150 Whence int16
151 Pad_cgo_0 [4]byte
152 Start int64
153 Len int64
154 Pid int32
155 Pad_cgo_1 [4]byte
156}
157
158const (
159 FADV_NORMAL = 0x0
160 FADV_RANDOM = 0x1
161 FADV_SEQUENTIAL = 0x2
162 FADV_WILLNEED = 0x3
163 FADV_DONTNEED = 0x4
164 FADV_NOREUSE = 0x5
165)
166
167type RawSockaddrInet4 struct {
168 Family uint16
169 Port uint16
170 Addr [4]byte /* in_addr */
171 Zero [8]uint8
172}
173
174type RawSockaddrInet6 struct {
175 Family uint16
176 Port uint16
177 Flowinfo uint32
178 Addr [16]byte /* in6_addr */
179 Scope_id uint32
180}
181
182type RawSockaddrUnix struct {
183 Family uint16
184 Path [108]int8
185}
186
187type RawSockaddrLinklayer struct {
188 Family uint16
189 Protocol uint16
190 Ifindex int32
191 Hatype uint16
192 Pkttype uint8
193 Halen uint8
194 Addr [8]uint8
195}
196
197type RawSockaddrNetlink struct {
198 Family uint16
199 Pad uint16
200 Pid uint32
201 Groups uint32
202}
203
204type RawSockaddr struct {
205 Family uint16
206 Data [14]uint8
207}
208
209type RawSockaddrAny struct {
210 Addr RawSockaddr
211 Pad [96]uint8
212}
213
214type _Socklen uint32
215
216type Linger struct {
217 Onoff int32
218 Linger int32
219}
220
221type Iovec struct {
222 Base *byte
223 Len uint64
224}
225
226type IPMreq struct {
227 Multiaddr [4]byte /* in_addr */
228 Interface [4]byte /* in_addr */
229}
230
231type IPMreqn struct {
232 Multiaddr [4]byte /* in_addr */
233 Address [4]byte /* in_addr */
234 Ifindex int32
235}
236
237type IPv6Mreq struct {
238 Multiaddr [16]byte /* in6_addr */
239 Interface uint32
240}
241
242type Msghdr struct {
243 Name *byte
244 Namelen uint32
245 Pad_cgo_0 [4]byte
246 Iov *Iovec
247 Iovlen uint64
248 Control *byte
249 Controllen uint64
250 Flags int32
251 Pad_cgo_1 [4]byte
252}
253
254type Cmsghdr struct {
255 Len uint64
256 Level int32
257 Type int32
258 X__cmsg_data [0]uint8
259}
260
261type Inet4Pktinfo struct {
262 Ifindex int32
263 Spec_dst [4]byte /* in_addr */
264 Addr [4]byte /* in_addr */
265}
266
267type Inet6Pktinfo struct {
268 Addr [16]byte /* in6_addr */
269 Ifindex uint32
270}
271
272type IPv6MTUInfo struct {
273 Addr RawSockaddrInet6
274 Mtu uint32
275}
276
277type ICMPv6Filter struct {
278 Data [8]uint32
279}
280
281type Ucred struct {
282 Pid int32
283 Uid uint32
284 Gid uint32
285}
286
287type TCPInfo struct {
288 State uint8
289 Ca_state uint8
290 Retransmits uint8
291 Probes uint8
292 Backoff uint8
293 Options uint8
294 Pad_cgo_0 [2]byte
295 Rto uint32
296 Ato uint32
297 Snd_mss uint32
298 Rcv_mss uint32
299 Unacked uint32
300 Sacked uint32
301 Lost uint32
302 Retrans uint32
303 Fackets uint32
304 Last_data_sent uint32
305 Last_ack_sent uint32
306 Last_data_recv uint32
307 Last_ack_recv uint32
308 Pmtu uint32
309 Rcv_ssthresh uint32
310 Rtt uint32
311 Rttvar uint32
312 Snd_ssthresh uint32
313 Snd_cwnd uint32
314 Advmss uint32
315 Reordering uint32
316 Rcv_rtt uint32
317 Rcv_space uint32
318 Total_retrans uint32
319}
320
321const (
322 SizeofSockaddrInet4 = 0x10
323 SizeofSockaddrInet6 = 0x1c
324 SizeofSockaddrAny = 0x70
325 SizeofSockaddrUnix = 0x6e
326 SizeofSockaddrLinklayer = 0x14
327 SizeofSockaddrNetlink = 0xc
328 SizeofLinger = 0x8
329 SizeofIPMreq = 0x8
330 SizeofIPMreqn = 0xc
331 SizeofIPv6Mreq = 0x14
332 SizeofMsghdr = 0x38
333 SizeofCmsghdr = 0x10
334 SizeofInet4Pktinfo = 0xc
335 SizeofInet6Pktinfo = 0x14
336 SizeofIPv6MTUInfo = 0x20
337 SizeofICMPv6Filter = 0x20
338 SizeofUcred = 0xc
339 SizeofTCPInfo = 0x68
340)
341
342const (
343 IFA_UNSPEC = 0x0
344 IFA_ADDRESS = 0x1
345 IFA_LOCAL = 0x2
346 IFA_LABEL = 0x3
347 IFA_BROADCAST = 0x4
348 IFA_ANYCAST = 0x5
349 IFA_CACHEINFO = 0x6
350 IFA_MULTICAST = 0x7
351 IFLA_UNSPEC = 0x0
352 IFLA_ADDRESS = 0x1
353 IFLA_BROADCAST = 0x2
354 IFLA_IFNAME = 0x3
355 IFLA_MTU = 0x4
356 IFLA_LINK = 0x5
357 IFLA_QDISC = 0x6
358 IFLA_STATS = 0x7
359 IFLA_COST = 0x8
360 IFLA_PRIORITY = 0x9
361 IFLA_MASTER = 0xa
362 IFLA_WIRELESS = 0xb
363 IFLA_PROTINFO = 0xc
364 IFLA_TXQLEN = 0xd
365 IFLA_MAP = 0xe
366 IFLA_WEIGHT = 0xf
367 IFLA_OPERSTATE = 0x10
368 IFLA_LINKMODE = 0x11
369 IFLA_LINKINFO = 0x12
370 IFLA_NET_NS_PID = 0x13
371 IFLA_IFALIAS = 0x14
372 IFLA_MAX = 0x22
373 RT_SCOPE_UNIVERSE = 0x0
374 RT_SCOPE_SITE = 0xc8
375 RT_SCOPE_LINK = 0xfd
376 RT_SCOPE_HOST = 0xfe
377 RT_SCOPE_NOWHERE = 0xff
378 RT_TABLE_UNSPEC = 0x0
379 RT_TABLE_COMPAT = 0xfc
380 RT_TABLE_DEFAULT = 0xfd
381 RT_TABLE_MAIN = 0xfe
382 RT_TABLE_LOCAL = 0xff
383 RT_TABLE_MAX = 0xffffffff
384 RTA_UNSPEC = 0x0
385 RTA_DST = 0x1
386 RTA_SRC = 0x2
387 RTA_IIF = 0x3
388 RTA_OIF = 0x4
389 RTA_GATEWAY = 0x5
390 RTA_PRIORITY = 0x6
391 RTA_PREFSRC = 0x7
392 RTA_METRICS = 0x8
393 RTA_MULTIPATH = 0x9
394 RTA_FLOW = 0xb
395 RTA_CACHEINFO = 0xc
396 RTA_TABLE = 0xf
397 RTN_UNSPEC = 0x0
398 RTN_UNICAST = 0x1
399 RTN_LOCAL = 0x2
400 RTN_BROADCAST = 0x3
401 RTN_ANYCAST = 0x4
402 RTN_MULTICAST = 0x5
403 RTN_BLACKHOLE = 0x6
404 RTN_UNREACHABLE = 0x7
405 RTN_PROHIBIT = 0x8
406 RTN_THROW = 0x9
407 RTN_NAT = 0xa
408 RTN_XRESOLVE = 0xb
409 RTNLGRP_NONE = 0x0
410 RTNLGRP_LINK = 0x1
411 RTNLGRP_NOTIFY = 0x2
412 RTNLGRP_NEIGH = 0x3
413 RTNLGRP_TC = 0x4
414 RTNLGRP_IPV4_IFADDR = 0x5
415 RTNLGRP_IPV4_MROUTE = 0x6
416 RTNLGRP_IPV4_ROUTE = 0x7
417 RTNLGRP_IPV4_RULE = 0x8
418 RTNLGRP_IPV6_IFADDR = 0x9
419 RTNLGRP_IPV6_MROUTE = 0xa
420 RTNLGRP_IPV6_ROUTE = 0xb
421 RTNLGRP_IPV6_IFINFO = 0xc
422 RTNLGRP_IPV6_PREFIX = 0x12
423 RTNLGRP_IPV6_RULE = 0x13
424 RTNLGRP_ND_USEROPT = 0x14
425 SizeofNlMsghdr = 0x10
426 SizeofNlMsgerr = 0x14
427 SizeofRtGenmsg = 0x1
428 SizeofNlAttr = 0x4
429 SizeofRtAttr = 0x4
430 SizeofIfInfomsg = 0x10
431 SizeofIfAddrmsg = 0x8
432 SizeofRtMsg = 0xc
433 SizeofRtNexthop = 0x8
434)
435
436type NlMsghdr struct {
437 Len uint32
438 Type uint16
439 Flags uint16
440 Seq uint32
441 Pid uint32
442}
443
444type NlMsgerr struct {
445 Error int32
446 Msg NlMsghdr
447}
448
449type RtGenmsg struct {
450 Family uint8
451}
452
453type NlAttr struct {
454 Len uint16
455 Type uint16
456}
457
458type RtAttr struct {
459 Len uint16
460 Type uint16
461}
462
463type IfInfomsg struct {
464 Family uint8
465 X__ifi_pad uint8
466 Type uint16
467 Index int32
468 Flags uint32
469 Change uint32
470}
471
472type IfAddrmsg struct {
473 Family uint8
474 Prefixlen uint8
475 Flags uint8
476 Scope uint8
477 Index uint32
478}
479
480type RtMsg struct {
481 Family uint8
482 Dst_len uint8
483 Src_len uint8
484 Tos uint8
485 Table uint8
486 Protocol uint8
487 Scope uint8
488 Type uint8
489 Flags uint32
490}
491
492type RtNexthop struct {
493 Len uint16
494 Flags uint8
495 Hops uint8
496 Ifindex int32
497}
498
499const (
500 SizeofSockFilter = 0x8
501 SizeofSockFprog = 0x10
502)
503
504type SockFilter struct {
505 Code uint16
506 Jt uint8
507 Jf uint8
508 K uint32
509}
510
511type SockFprog struct {
512 Len uint16
513 Pad_cgo_0 [6]byte
514 Filter *SockFilter
515}
516
517type InotifyEvent struct {
518 Wd int32
519 Mask uint32
520 Cookie uint32
521 Len uint32
522 Name [0]uint8
523}
524
525const SizeofInotifyEvent = 0x10
526
527type PtraceRegs struct {
528 Gpr [32]uint64
529 Nip uint64
530 Msr uint64
531 Orig_gpr3 uint64
532 Ctr uint64
533 Link uint64
534 Xer uint64
535 Ccr uint64
536 Softe uint64
537 Trap uint64
538 Dar uint64
539 Dsisr uint64
540 Result uint64
541}
542
543type FdSet struct {
544 Bits [16]int64
545}
546
547type Sysinfo_t struct {
548 Uptime int64
549 Loads [3]uint64
550 Totalram uint64
551 Freeram uint64
552 Sharedram uint64
553 Bufferram uint64
554 Totalswap uint64
555 Freeswap uint64
556 Procs uint16
557 Pad uint16
558 Pad_cgo_0 [4]byte
559 Totalhigh uint64
560 Freehigh uint64
561 Unit uint32
562 X_f [0]uint8
563 Pad_cgo_1 [4]byte
564}
565
566type Utsname struct {
567 Sysname [65]uint8
568 Nodename [65]uint8
569 Release [65]uint8
570 Version [65]uint8
571 Machine [65]uint8
572 Domainname [65]uint8
573}
574
575type Ustat_t struct {
576 Tfree int32
577 Pad_cgo_0 [4]byte
578 Tinode uint64
579 Fname [6]uint8
580 Fpack [6]uint8
581 Pad_cgo_1 [4]byte
582}
583
584type EpollEvent struct {
585 Events uint32
586 Fd int32
587 Pad int32
588}
589
590const (
591 AT_FDCWD = -0x64
592 AT_REMOVEDIR = 0x200
593 AT_SYMLINK_NOFOLLOW = 0x100
594)
595
596type Termios struct {
597 Iflag uint32
598 Oflag uint32
599 Cflag uint32
600 Lflag uint32
601 Cc [19]uint8
602 Line uint8
603 Ispeed uint32
604 Ospeed uint32
605}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_386.go
deleted file mode 100644
index caf755f..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_386.go
+++ /dev/null
@@ -1,396 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_netbsd.go
3
4// +build 386,netbsd
5
6package unix
7
8const (
9 sizeofPtr = 0x4
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x4
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int32
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int32
31}
32
33type Rusage struct {
34 Utime Timeval
35 Stime Timeval
36 Maxrss int32
37 Ixrss int32
38 Idrss int32
39 Isrss int32
40 Minflt int32
41 Majflt int32
42 Nswap int32
43 Inblock int32
44 Oublock int32
45 Msgsnd int32
46 Msgrcv int32
47 Nsignals int32
48 Nvcsw int32
49 Nivcsw int32
50}
51
52type Rlimit struct {
53 Cur uint64
54 Max uint64
55}
56
57type _Gid_t uint32
58
59type Stat_t struct {
60 Dev uint64
61 Mode uint32
62 Ino uint64
63 Nlink uint32
64 Uid uint32
65 Gid uint32
66 Rdev uint64
67 Atimespec Timespec
68 Mtimespec Timespec
69 Ctimespec Timespec
70 Birthtimespec Timespec
71 Size int64
72 Blocks int64
73 Blksize uint32
74 Flags uint32
75 Gen uint32
76 Spare [2]uint32
77}
78
79type Statfs_t [0]byte
80
81type Flock_t struct {
82 Start int64
83 Len int64
84 Pid int32
85 Type int16
86 Whence int16
87}
88
89type Dirent struct {
90 Fileno uint64
91 Reclen uint16
92 Namlen uint16
93 Type uint8
94 Name [512]int8
95 Pad_cgo_0 [3]byte
96}
97
98type Fsid struct {
99 X__fsid_val [2]int32
100}
101
102type RawSockaddrInet4 struct {
103 Len uint8
104 Family uint8
105 Port uint16
106 Addr [4]byte /* in_addr */
107 Zero [8]int8
108}
109
110type RawSockaddrInet6 struct {
111 Len uint8
112 Family uint8
113 Port uint16
114 Flowinfo uint32
115 Addr [16]byte /* in6_addr */
116 Scope_id uint32
117}
118
119type RawSockaddrUnix struct {
120 Len uint8
121 Family uint8
122 Path [104]int8
123}
124
125type RawSockaddrDatalink struct {
126 Len uint8
127 Family uint8
128 Index uint16
129 Type uint8
130 Nlen uint8
131 Alen uint8
132 Slen uint8
133 Data [12]int8
134}
135
136type RawSockaddr struct {
137 Len uint8
138 Family uint8
139 Data [14]int8
140}
141
142type RawSockaddrAny struct {
143 Addr RawSockaddr
144 Pad [92]int8
145}
146
147type _Socklen uint32
148
149type Linger struct {
150 Onoff int32
151 Linger int32
152}
153
154type Iovec struct {
155 Base *byte
156 Len uint32
157}
158
159type IPMreq struct {
160 Multiaddr [4]byte /* in_addr */
161 Interface [4]byte /* in_addr */
162}
163
164type IPv6Mreq struct {
165 Multiaddr [16]byte /* in6_addr */
166 Interface uint32
167}
168
169type Msghdr struct {
170 Name *byte
171 Namelen uint32
172 Iov *Iovec
173 Iovlen int32
174 Control *byte
175 Controllen uint32
176 Flags int32
177}
178
179type Cmsghdr struct {
180 Len uint32
181 Level int32
182 Type int32
183}
184
185type Inet6Pktinfo struct {
186 Addr [16]byte /* in6_addr */
187 Ifindex uint32
188}
189
190type IPv6MTUInfo struct {
191 Addr RawSockaddrInet6
192 Mtu uint32
193}
194
195type ICMPv6Filter struct {
196 Filt [8]uint32
197}
198
199const (
200 SizeofSockaddrInet4 = 0x10
201 SizeofSockaddrInet6 = 0x1c
202 SizeofSockaddrAny = 0x6c
203 SizeofSockaddrUnix = 0x6a
204 SizeofSockaddrDatalink = 0x14
205 SizeofLinger = 0x8
206 SizeofIPMreq = 0x8
207 SizeofIPv6Mreq = 0x14
208 SizeofMsghdr = 0x1c
209 SizeofCmsghdr = 0xc
210 SizeofInet6Pktinfo = 0x14
211 SizeofIPv6MTUInfo = 0x20
212 SizeofICMPv6Filter = 0x20
213)
214
215const (
216 PTRACE_TRACEME = 0x0
217 PTRACE_CONT = 0x7
218 PTRACE_KILL = 0x8
219)
220
221type Kevent_t struct {
222 Ident uint32
223 Filter uint32
224 Flags uint32
225 Fflags uint32
226 Data int64
227 Udata int32
228}
229
230type FdSet struct {
231 Bits [8]uint32
232}
233
234const (
235 SizeofIfMsghdr = 0x98
236 SizeofIfData = 0x84
237 SizeofIfaMsghdr = 0x18
238 SizeofIfAnnounceMsghdr = 0x18
239 SizeofRtMsghdr = 0x78
240 SizeofRtMetrics = 0x50
241)
242
243type IfMsghdr struct {
244 Msglen uint16
245 Version uint8
246 Type uint8
247 Addrs int32
248 Flags int32
249 Index uint16
250 Pad_cgo_0 [2]byte
251 Data IfData
252 Pad_cgo_1 [4]byte
253}
254
255type IfData struct {
256 Type uint8
257 Addrlen uint8
258 Hdrlen uint8
259 Pad_cgo_0 [1]byte
260 Link_state int32
261 Mtu uint64
262 Metric uint64
263 Baudrate uint64
264 Ipackets uint64
265 Ierrors uint64
266 Opackets uint64
267 Oerrors uint64
268 Collisions uint64
269 Ibytes uint64
270 Obytes uint64
271 Imcasts uint64
272 Omcasts uint64
273 Iqdrops uint64
274 Noproto uint64
275 Lastchange Timespec
276}
277
278type IfaMsghdr struct {
279 Msglen uint16
280 Version uint8
281 Type uint8
282 Addrs int32
283 Flags int32
284 Metric int32
285 Index uint16
286 Pad_cgo_0 [6]byte
287}
288
289type IfAnnounceMsghdr struct {
290 Msglen uint16
291 Version uint8
292 Type uint8
293 Index uint16
294 Name [16]int8
295 What uint16
296}
297
298type RtMsghdr struct {
299 Msglen uint16
300 Version uint8
301 Type uint8
302 Index uint16
303 Pad_cgo_0 [2]byte
304 Flags int32
305 Addrs int32
306 Pid int32
307 Seq int32
308 Errno int32
309 Use int32
310 Inits int32
311 Pad_cgo_1 [4]byte
312 Rmx RtMetrics
313}
314
315type RtMetrics struct {
316 Locks uint64
317 Mtu uint64
318 Hopcount uint64
319 Recvpipe uint64
320 Sendpipe uint64
321 Ssthresh uint64
322 Rtt uint64
323 Rttvar uint64
324 Expire int64
325 Pksent int64
326}
327
328type Mclpool [0]byte
329
330const (
331 SizeofBpfVersion = 0x4
332 SizeofBpfStat = 0x80
333 SizeofBpfProgram = 0x8
334 SizeofBpfInsn = 0x8
335 SizeofBpfHdr = 0x14
336)
337
338type BpfVersion struct {
339 Major uint16
340 Minor uint16
341}
342
343type BpfStat struct {
344 Recv uint64
345 Drop uint64
346 Capt uint64
347 Padding [13]uint64
348}
349
350type BpfProgram struct {
351 Len uint32
352 Insns *BpfInsn
353}
354
355type BpfInsn struct {
356 Code uint16
357 Jt uint8
358 Jf uint8
359 K uint32
360}
361
362type BpfHdr struct {
363 Tstamp BpfTimeval
364 Caplen uint32
365 Datalen uint32
366 Hdrlen uint16
367 Pad_cgo_0 [2]byte
368}
369
370type BpfTimeval struct {
371 Sec int32
372 Usec int32
373}
374
375type Termios struct {
376 Iflag uint32
377 Oflag uint32
378 Cflag uint32
379 Lflag uint32
380 Cc [20]uint8
381 Ispeed int32
382 Ospeed int32
383}
384
385type Sysctlnode struct {
386 Flags uint32
387 Num int32
388 Name [32]int8
389 Ver uint32
390 X__rsvd uint32
391 Un [16]byte
392 X_sysctl_size [8]byte
393 X_sysctl_func [8]byte
394 X_sysctl_parent [8]byte
395 X_sysctl_desc [8]byte
396}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
deleted file mode 100644
index 91b4a53..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
+++ /dev/null
@@ -1,403 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_netbsd.go
3
4// +build amd64,netbsd
5
6package unix
7
8const (
9 sizeofPtr = 0x8
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x8
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int32
31 Pad_cgo_0 [4]byte
32}
33
34type Rusage struct {
35 Utime Timeval
36 Stime Timeval
37 Maxrss int64
38 Ixrss int64
39 Idrss int64
40 Isrss int64
41 Minflt int64
42 Majflt int64
43 Nswap int64
44 Inblock int64
45 Oublock int64
46 Msgsnd int64
47 Msgrcv int64
48 Nsignals int64
49 Nvcsw int64
50 Nivcsw int64
51}
52
53type Rlimit struct {
54 Cur uint64
55 Max uint64
56}
57
58type _Gid_t uint32
59
60type Stat_t struct {
61 Dev uint64
62 Mode uint32
63 Pad_cgo_0 [4]byte
64 Ino uint64
65 Nlink uint32
66 Uid uint32
67 Gid uint32
68 Pad_cgo_1 [4]byte
69 Rdev uint64
70 Atimespec Timespec
71 Mtimespec Timespec
72 Ctimespec Timespec
73 Birthtimespec Timespec
74 Size int64
75 Blocks int64
76 Blksize uint32
77 Flags uint32
78 Gen uint32
79 Spare [2]uint32
80 Pad_cgo_2 [4]byte
81}
82
83type Statfs_t [0]byte
84
85type Flock_t struct {
86 Start int64
87 Len int64
88 Pid int32
89 Type int16
90 Whence int16
91}
92
93type Dirent struct {
94 Fileno uint64
95 Reclen uint16
96 Namlen uint16
97 Type uint8
98 Name [512]int8
99 Pad_cgo_0 [3]byte
100}
101
102type Fsid struct {
103 X__fsid_val [2]int32
104}
105
106type RawSockaddrInet4 struct {
107 Len uint8
108 Family uint8
109 Port uint16
110 Addr [4]byte /* in_addr */
111 Zero [8]int8
112}
113
114type RawSockaddrInet6 struct {
115 Len uint8
116 Family uint8
117 Port uint16
118 Flowinfo uint32
119 Addr [16]byte /* in6_addr */
120 Scope_id uint32
121}
122
123type RawSockaddrUnix struct {
124 Len uint8
125 Family uint8
126 Path [104]int8
127}
128
129type RawSockaddrDatalink struct {
130 Len uint8
131 Family uint8
132 Index uint16
133 Type uint8
134 Nlen uint8
135 Alen uint8
136 Slen uint8
137 Data [12]int8
138}
139
140type RawSockaddr struct {
141 Len uint8
142 Family uint8
143 Data [14]int8
144}
145
146type RawSockaddrAny struct {
147 Addr RawSockaddr
148 Pad [92]int8
149}
150
151type _Socklen uint32
152
153type Linger struct {
154 Onoff int32
155 Linger int32
156}
157
158type Iovec struct {
159 Base *byte
160 Len uint64
161}
162
163type IPMreq struct {
164 Multiaddr [4]byte /* in_addr */
165 Interface [4]byte /* in_addr */
166}
167
168type IPv6Mreq struct {
169 Multiaddr [16]byte /* in6_addr */
170 Interface uint32
171}
172
173type Msghdr struct {
174 Name *byte
175 Namelen uint32
176 Pad_cgo_0 [4]byte
177 Iov *Iovec
178 Iovlen int32
179 Pad_cgo_1 [4]byte
180 Control *byte
181 Controllen uint32
182 Flags int32
183}
184
185type Cmsghdr struct {
186 Len uint32
187 Level int32
188 Type int32
189}
190
191type Inet6Pktinfo struct {
192 Addr [16]byte /* in6_addr */
193 Ifindex uint32
194}
195
196type IPv6MTUInfo struct {
197 Addr RawSockaddrInet6
198 Mtu uint32
199}
200
201type ICMPv6Filter struct {
202 Filt [8]uint32
203}
204
205const (
206 SizeofSockaddrInet4 = 0x10
207 SizeofSockaddrInet6 = 0x1c
208 SizeofSockaddrAny = 0x6c
209 SizeofSockaddrUnix = 0x6a
210 SizeofSockaddrDatalink = 0x14
211 SizeofLinger = 0x8
212 SizeofIPMreq = 0x8
213 SizeofIPv6Mreq = 0x14
214 SizeofMsghdr = 0x30
215 SizeofCmsghdr = 0xc
216 SizeofInet6Pktinfo = 0x14
217 SizeofIPv6MTUInfo = 0x20
218 SizeofICMPv6Filter = 0x20
219)
220
221const (
222 PTRACE_TRACEME = 0x0
223 PTRACE_CONT = 0x7
224 PTRACE_KILL = 0x8
225)
226
227type Kevent_t struct {
228 Ident uint64
229 Filter uint32
230 Flags uint32
231 Fflags uint32
232 Pad_cgo_0 [4]byte
233 Data int64
234 Udata int64
235}
236
237type FdSet struct {
238 Bits [8]uint32
239}
240
241const (
242 SizeofIfMsghdr = 0x98
243 SizeofIfData = 0x88
244 SizeofIfaMsghdr = 0x18
245 SizeofIfAnnounceMsghdr = 0x18
246 SizeofRtMsghdr = 0x78
247 SizeofRtMetrics = 0x50
248)
249
250type IfMsghdr struct {
251 Msglen uint16
252 Version uint8
253 Type uint8
254 Addrs int32
255 Flags int32
256 Index uint16
257 Pad_cgo_0 [2]byte
258 Data IfData
259}
260
261type IfData struct {
262 Type uint8
263 Addrlen uint8
264 Hdrlen uint8
265 Pad_cgo_0 [1]byte
266 Link_state int32
267 Mtu uint64
268 Metric uint64
269 Baudrate uint64
270 Ipackets uint64
271 Ierrors uint64
272 Opackets uint64
273 Oerrors uint64
274 Collisions uint64
275 Ibytes uint64
276 Obytes uint64
277 Imcasts uint64
278 Omcasts uint64
279 Iqdrops uint64
280 Noproto uint64
281 Lastchange Timespec
282}
283
284type IfaMsghdr struct {
285 Msglen uint16
286 Version uint8
287 Type uint8
288 Addrs int32
289 Flags int32
290 Metric int32
291 Index uint16
292 Pad_cgo_0 [6]byte
293}
294
295type IfAnnounceMsghdr struct {
296 Msglen uint16
297 Version uint8
298 Type uint8
299 Index uint16
300 Name [16]int8
301 What uint16
302}
303
304type RtMsghdr struct {
305 Msglen uint16
306 Version uint8
307 Type uint8
308 Index uint16
309 Pad_cgo_0 [2]byte
310 Flags int32
311 Addrs int32
312 Pid int32
313 Seq int32
314 Errno int32
315 Use int32
316 Inits int32
317 Pad_cgo_1 [4]byte
318 Rmx RtMetrics
319}
320
321type RtMetrics struct {
322 Locks uint64
323 Mtu uint64
324 Hopcount uint64
325 Recvpipe uint64
326 Sendpipe uint64
327 Ssthresh uint64
328 Rtt uint64
329 Rttvar uint64
330 Expire int64
331 Pksent int64
332}
333
334type Mclpool [0]byte
335
336const (
337 SizeofBpfVersion = 0x4
338 SizeofBpfStat = 0x80
339 SizeofBpfProgram = 0x10
340 SizeofBpfInsn = 0x8
341 SizeofBpfHdr = 0x20
342)
343
344type BpfVersion struct {
345 Major uint16
346 Minor uint16
347}
348
349type BpfStat struct {
350 Recv uint64
351 Drop uint64
352 Capt uint64
353 Padding [13]uint64
354}
355
356type BpfProgram struct {
357 Len uint32
358 Pad_cgo_0 [4]byte
359 Insns *BpfInsn
360}
361
362type BpfInsn struct {
363 Code uint16
364 Jt uint8
365 Jf uint8
366 K uint32
367}
368
369type BpfHdr struct {
370 Tstamp BpfTimeval
371 Caplen uint32
372 Datalen uint32
373 Hdrlen uint16
374 Pad_cgo_0 [6]byte
375}
376
377type BpfTimeval struct {
378 Sec int64
379 Usec int64
380}
381
382type Termios struct {
383 Iflag uint32
384 Oflag uint32
385 Cflag uint32
386 Lflag uint32
387 Cc [20]uint8
388 Ispeed int32
389 Ospeed int32
390}
391
392type Sysctlnode struct {
393 Flags uint32
394 Num int32
395 Name [32]int8
396 Ver uint32
397 X__rsvd uint32
398 Un [16]byte
399 X_sysctl_size [8]byte
400 X_sysctl_func [8]byte
401 X_sysctl_parent [8]byte
402 X_sysctl_desc [8]byte
403}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_arm.go
deleted file mode 100644
index c0758f9..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_netbsd_arm.go
+++ /dev/null
@@ -1,401 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_netbsd.go
3
4// +build arm,netbsd
5
6package unix
7
8const (
9 sizeofPtr = 0x4
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x4
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int32
26 Pad_cgo_0 [4]byte
27}
28
29type Timeval struct {
30 Sec int64
31 Usec int32
32 Pad_cgo_0 [4]byte
33}
34
35type Rusage struct {
36 Utime Timeval
37 Stime Timeval
38 Maxrss int32
39 Ixrss int32
40 Idrss int32
41 Isrss int32
42 Minflt int32
43 Majflt int32
44 Nswap int32
45 Inblock int32
46 Oublock int32
47 Msgsnd int32
48 Msgrcv int32
49 Nsignals int32
50 Nvcsw int32
51 Nivcsw int32
52}
53
54type Rlimit struct {
55 Cur uint64
56 Max uint64
57}
58
59type _Gid_t uint32
60
61type Stat_t struct {
62 Dev uint64
63 Mode uint32
64 Pad_cgo_0 [4]byte
65 Ino uint64
66 Nlink uint32
67 Uid uint32
68 Gid uint32
69 Pad_cgo_1 [4]byte
70 Rdev uint64
71 Atimespec Timespec
72 Mtimespec Timespec
73 Ctimespec Timespec
74 Birthtimespec Timespec
75 Size int64
76 Blocks int64
77 Blksize uint32
78 Flags uint32
79 Gen uint32
80 Spare [2]uint32
81 Pad_cgo_2 [4]byte
82}
83
84type Statfs_t [0]byte
85
86type Flock_t struct {
87 Start int64
88 Len int64
89 Pid int32
90 Type int16
91 Whence int16
92}
93
94type Dirent struct {
95 Fileno uint64
96 Reclen uint16
97 Namlen uint16
98 Type uint8
99 Name [512]int8
100 Pad_cgo_0 [3]byte
101}
102
103type Fsid struct {
104 X__fsid_val [2]int32
105}
106
107type RawSockaddrInet4 struct {
108 Len uint8
109 Family uint8
110 Port uint16
111 Addr [4]byte /* in_addr */
112 Zero [8]int8
113}
114
115type RawSockaddrInet6 struct {
116 Len uint8
117 Family uint8
118 Port uint16
119 Flowinfo uint32
120 Addr [16]byte /* in6_addr */
121 Scope_id uint32
122}
123
124type RawSockaddrUnix struct {
125 Len uint8
126 Family uint8
127 Path [104]int8
128}
129
130type RawSockaddrDatalink struct {
131 Len uint8
132 Family uint8
133 Index uint16
134 Type uint8
135 Nlen uint8
136 Alen uint8
137 Slen uint8
138 Data [12]int8
139}
140
141type RawSockaddr struct {
142 Len uint8
143 Family uint8
144 Data [14]int8
145}
146
147type RawSockaddrAny struct {
148 Addr RawSockaddr
149 Pad [92]int8
150}
151
152type _Socklen uint32
153
154type Linger struct {
155 Onoff int32
156 Linger int32
157}
158
159type Iovec struct {
160 Base *byte
161 Len uint32
162}
163
164type IPMreq struct {
165 Multiaddr [4]byte /* in_addr */
166 Interface [4]byte /* in_addr */
167}
168
169type IPv6Mreq struct {
170 Multiaddr [16]byte /* in6_addr */
171 Interface uint32
172}
173
174type Msghdr struct {
175 Name *byte
176 Namelen uint32
177 Iov *Iovec
178 Iovlen int32
179 Control *byte
180 Controllen uint32
181 Flags int32
182}
183
184type Cmsghdr struct {
185 Len uint32
186 Level int32
187 Type int32
188}
189
190type Inet6Pktinfo struct {
191 Addr [16]byte /* in6_addr */
192 Ifindex uint32
193}
194
195type IPv6MTUInfo struct {
196 Addr RawSockaddrInet6
197 Mtu uint32
198}
199
200type ICMPv6Filter struct {
201 Filt [8]uint32
202}
203
204const (
205 SizeofSockaddrInet4 = 0x10
206 SizeofSockaddrInet6 = 0x1c
207 SizeofSockaddrAny = 0x6c
208 SizeofSockaddrUnix = 0x6a
209 SizeofSockaddrDatalink = 0x14
210 SizeofLinger = 0x8
211 SizeofIPMreq = 0x8
212 SizeofIPv6Mreq = 0x14
213 SizeofMsghdr = 0x1c
214 SizeofCmsghdr = 0xc
215 SizeofInet6Pktinfo = 0x14
216 SizeofIPv6MTUInfo = 0x20
217 SizeofICMPv6Filter = 0x20
218)
219
220const (
221 PTRACE_TRACEME = 0x0
222 PTRACE_CONT = 0x7
223 PTRACE_KILL = 0x8
224)
225
226type Kevent_t struct {
227 Ident uint32
228 Filter uint32
229 Flags uint32
230 Fflags uint32
231 Data int64
232 Udata int32
233 Pad_cgo_0 [4]byte
234}
235
236type FdSet struct {
237 Bits [8]uint32
238}
239
240const (
241 SizeofIfMsghdr = 0x98
242 SizeofIfData = 0x88
243 SizeofIfaMsghdr = 0x18
244 SizeofIfAnnounceMsghdr = 0x18
245 SizeofRtMsghdr = 0x78
246 SizeofRtMetrics = 0x50
247)
248
249type IfMsghdr struct {
250 Msglen uint16
251 Version uint8
252 Type uint8
253 Addrs int32
254 Flags int32
255 Index uint16
256 Pad_cgo_0 [2]byte
257 Data IfData
258}
259
260type IfData struct {
261 Type uint8
262 Addrlen uint8
263 Hdrlen uint8
264 Pad_cgo_0 [1]byte
265 Link_state int32
266 Mtu uint64
267 Metric uint64
268 Baudrate uint64
269 Ipackets uint64
270 Ierrors uint64
271 Opackets uint64
272 Oerrors uint64
273 Collisions uint64
274 Ibytes uint64
275 Obytes uint64
276 Imcasts uint64
277 Omcasts uint64
278 Iqdrops uint64
279 Noproto uint64
280 Lastchange Timespec
281}
282
283type IfaMsghdr struct {
284 Msglen uint16
285 Version uint8
286 Type uint8
287 Addrs int32
288 Flags int32
289 Metric int32
290 Index uint16
291 Pad_cgo_0 [6]byte
292}
293
294type IfAnnounceMsghdr struct {
295 Msglen uint16
296 Version uint8
297 Type uint8
298 Index uint16
299 Name [16]int8
300 What uint16
301}
302
303type RtMsghdr struct {
304 Msglen uint16
305 Version uint8
306 Type uint8
307 Index uint16
308 Pad_cgo_0 [2]byte
309 Flags int32
310 Addrs int32
311 Pid int32
312 Seq int32
313 Errno int32
314 Use int32
315 Inits int32
316 Pad_cgo_1 [4]byte
317 Rmx RtMetrics
318}
319
320type RtMetrics struct {
321 Locks uint64
322 Mtu uint64
323 Hopcount uint64
324 Recvpipe uint64
325 Sendpipe uint64
326 Ssthresh uint64
327 Rtt uint64
328 Rttvar uint64
329 Expire int64
330 Pksent int64
331}
332
333type Mclpool [0]byte
334
335const (
336 SizeofBpfVersion = 0x4
337 SizeofBpfStat = 0x80
338 SizeofBpfProgram = 0x8
339 SizeofBpfInsn = 0x8
340 SizeofBpfHdr = 0x14
341)
342
343type BpfVersion struct {
344 Major uint16
345 Minor uint16
346}
347
348type BpfStat struct {
349 Recv uint64
350 Drop uint64
351 Capt uint64
352 Padding [13]uint64
353}
354
355type BpfProgram struct {
356 Len uint32
357 Insns *BpfInsn
358}
359
360type BpfInsn struct {
361 Code uint16
362 Jt uint8
363 Jf uint8
364 K uint32
365}
366
367type BpfHdr struct {
368 Tstamp BpfTimeval
369 Caplen uint32
370 Datalen uint32
371 Hdrlen uint16
372 Pad_cgo_0 [2]byte
373}
374
375type BpfTimeval struct {
376 Sec int32
377 Usec int32
378}
379
380type Termios struct {
381 Iflag uint32
382 Oflag uint32
383 Cflag uint32
384 Lflag uint32
385 Cc [20]uint8
386 Ispeed int32
387 Ospeed int32
388}
389
390type Sysctlnode struct {
391 Flags uint32
392 Num int32
393 Name [32]int8
394 Ver uint32
395 X__rsvd uint32
396 Un [16]byte
397 X_sysctl_size [8]byte
398 X_sysctl_func [8]byte
399 X_sysctl_parent [8]byte
400 X_sysctl_desc [8]byte
401}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_386.go
deleted file mode 100644
index 860a469..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_386.go
+++ /dev/null
@@ -1,441 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_openbsd.go
3
4// +build 386,openbsd
5
6package unix
7
8const (
9 sizeofPtr = 0x4
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x4
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int32
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int32
31}
32
33type Rusage struct {
34 Utime Timeval
35 Stime Timeval
36 Maxrss int32
37 Ixrss int32
38 Idrss int32
39 Isrss int32
40 Minflt int32
41 Majflt int32
42 Nswap int32
43 Inblock int32
44 Oublock int32
45 Msgsnd int32
46 Msgrcv int32
47 Nsignals int32
48 Nvcsw int32
49 Nivcsw int32
50}
51
52type Rlimit struct {
53 Cur uint64
54 Max uint64
55}
56
57type _Gid_t uint32
58
59const (
60 S_IFMT = 0xf000
61 S_IFIFO = 0x1000
62 S_IFCHR = 0x2000
63 S_IFDIR = 0x4000
64 S_IFBLK = 0x6000
65 S_IFREG = 0x8000
66 S_IFLNK = 0xa000
67 S_IFSOCK = 0xc000
68 S_ISUID = 0x800
69 S_ISGID = 0x400
70 S_ISVTX = 0x200
71 S_IRUSR = 0x100
72 S_IWUSR = 0x80
73 S_IXUSR = 0x40
74)
75
76type Stat_t struct {
77 Mode uint32
78 Dev int32
79 Ino uint64
80 Nlink uint32
81 Uid uint32
82 Gid uint32
83 Rdev int32
84 Atim Timespec
85 Mtim Timespec
86 Ctim Timespec
87 Size int64
88 Blocks int64
89 Blksize uint32
90 Flags uint32
91 Gen uint32
92 X__st_birthtim Timespec
93}
94
95type Statfs_t struct {
96 F_flags uint32
97 F_bsize uint32
98 F_iosize uint32
99 F_blocks uint64
100 F_bfree uint64
101 F_bavail int64
102 F_files uint64
103 F_ffree uint64
104 F_favail int64
105 F_syncwrites uint64
106 F_syncreads uint64
107 F_asyncwrites uint64
108 F_asyncreads uint64
109 F_fsid Fsid
110 F_namemax uint32
111 F_owner uint32
112 F_ctime uint64
113 F_fstypename [16]int8
114 F_mntonname [90]int8
115 F_mntfromname [90]int8
116 F_mntfromspec [90]int8
117 Pad_cgo_0 [2]byte
118 Mount_info [160]byte
119}
120
121type Flock_t struct {
122 Start int64
123 Len int64
124 Pid int32
125 Type int16
126 Whence int16
127}
128
129type Dirent struct {
130 Fileno uint64
131 Off int64
132 Reclen uint16
133 Type uint8
134 Namlen uint8
135 X__d_padding [4]uint8
136 Name [256]int8
137}
138
139type Fsid struct {
140 Val [2]int32
141}
142
143type RawSockaddrInet4 struct {
144 Len uint8
145 Family uint8
146 Port uint16
147 Addr [4]byte /* in_addr */
148 Zero [8]int8
149}
150
151type RawSockaddrInet6 struct {
152 Len uint8
153 Family uint8
154 Port uint16
155 Flowinfo uint32
156 Addr [16]byte /* in6_addr */
157 Scope_id uint32
158}
159
160type RawSockaddrUnix struct {
161 Len uint8
162 Family uint8
163 Path [104]int8
164}
165
166type RawSockaddrDatalink struct {
167 Len uint8
168 Family uint8
169 Index uint16
170 Type uint8
171 Nlen uint8
172 Alen uint8
173 Slen uint8
174 Data [24]int8
175}
176
177type RawSockaddr struct {
178 Len uint8
179 Family uint8
180 Data [14]int8
181}
182
183type RawSockaddrAny struct {
184 Addr RawSockaddr
185 Pad [92]int8
186}
187
188type _Socklen uint32
189
190type Linger struct {
191 Onoff int32
192 Linger int32
193}
194
195type Iovec struct {
196 Base *byte
197 Len uint32
198}
199
200type IPMreq struct {
201 Multiaddr [4]byte /* in_addr */
202 Interface [4]byte /* in_addr */
203}
204
205type IPv6Mreq struct {
206 Multiaddr [16]byte /* in6_addr */
207 Interface uint32
208}
209
210type Msghdr struct {
211 Name *byte
212 Namelen uint32
213 Iov *Iovec
214 Iovlen uint32
215 Control *byte
216 Controllen uint32
217 Flags int32
218}
219
220type Cmsghdr struct {
221 Len uint32
222 Level int32
223 Type int32
224}
225
226type Inet6Pktinfo struct {
227 Addr [16]byte /* in6_addr */
228 Ifindex uint32
229}
230
231type IPv6MTUInfo struct {
232 Addr RawSockaddrInet6
233 Mtu uint32
234}
235
236type ICMPv6Filter struct {
237 Filt [8]uint32
238}
239
240const (
241 SizeofSockaddrInet4 = 0x10
242 SizeofSockaddrInet6 = 0x1c
243 SizeofSockaddrAny = 0x6c
244 SizeofSockaddrUnix = 0x6a
245 SizeofSockaddrDatalink = 0x20
246 SizeofLinger = 0x8
247 SizeofIPMreq = 0x8
248 SizeofIPv6Mreq = 0x14
249 SizeofMsghdr = 0x1c
250 SizeofCmsghdr = 0xc
251 SizeofInet6Pktinfo = 0x14
252 SizeofIPv6MTUInfo = 0x20
253 SizeofICMPv6Filter = 0x20
254)
255
256const (
257 PTRACE_TRACEME = 0x0
258 PTRACE_CONT = 0x7
259 PTRACE_KILL = 0x8
260)
261
262type Kevent_t struct {
263 Ident uint32
264 Filter int16
265 Flags uint16
266 Fflags uint32
267 Data int64
268 Udata *byte
269}
270
271type FdSet struct {
272 Bits [32]uint32
273}
274
275const (
276 SizeofIfMsghdr = 0xec
277 SizeofIfData = 0xd4
278 SizeofIfaMsghdr = 0x18
279 SizeofIfAnnounceMsghdr = 0x1a
280 SizeofRtMsghdr = 0x60
281 SizeofRtMetrics = 0x38
282)
283
284type IfMsghdr struct {
285 Msglen uint16
286 Version uint8
287 Type uint8
288 Hdrlen uint16
289 Index uint16
290 Tableid uint16
291 Pad1 uint8
292 Pad2 uint8
293 Addrs int32
294 Flags int32
295 Xflags int32
296 Data IfData
297}
298
299type IfData struct {
300 Type uint8
301 Addrlen uint8
302 Hdrlen uint8
303 Link_state uint8
304 Mtu uint32
305 Metric uint32
306 Pad uint32
307 Baudrate uint64
308 Ipackets uint64
309 Ierrors uint64
310 Opackets uint64
311 Oerrors uint64
312 Collisions uint64
313 Ibytes uint64
314 Obytes uint64
315 Imcasts uint64
316 Omcasts uint64
317 Iqdrops uint64
318 Noproto uint64
319 Capabilities uint32
320 Lastchange Timeval
321 Mclpool [7]Mclpool
322}
323
324type IfaMsghdr struct {
325 Msglen uint16
326 Version uint8
327 Type uint8
328 Hdrlen uint16
329 Index uint16
330 Tableid uint16
331 Pad1 uint8
332 Pad2 uint8
333 Addrs int32
334 Flags int32
335 Metric int32
336}
337
338type IfAnnounceMsghdr struct {
339 Msglen uint16
340 Version uint8
341 Type uint8
342 Hdrlen uint16
343 Index uint16
344 What uint16
345 Name [16]int8
346}
347
348type RtMsghdr struct {
349 Msglen uint16
350 Version uint8
351 Type uint8
352 Hdrlen uint16
353 Index uint16
354 Tableid uint16
355 Priority uint8
356 Mpls uint8
357 Addrs int32
358 Flags int32
359 Fmask int32
360 Pid int32
361 Seq int32
362 Errno int32
363 Inits uint32
364 Rmx RtMetrics
365}
366
367type RtMetrics struct {
368 Pksent uint64
369 Expire int64
370 Locks uint32
371 Mtu uint32
372 Refcnt uint32
373 Hopcount uint32
374 Recvpipe uint32
375 Sendpipe uint32
376 Ssthresh uint32
377 Rtt uint32
378 Rttvar uint32
379 Pad uint32
380}
381
382type Mclpool struct {
383 Grown int32
384 Alive uint16
385 Hwm uint16
386 Cwm uint16
387 Lwm uint16
388}
389
390const (
391 SizeofBpfVersion = 0x4
392 SizeofBpfStat = 0x8
393 SizeofBpfProgram = 0x8
394 SizeofBpfInsn = 0x8
395 SizeofBpfHdr = 0x14
396)
397
398type BpfVersion struct {
399 Major uint16
400 Minor uint16
401}
402
403type BpfStat struct {
404 Recv uint32
405 Drop uint32
406}
407
408type BpfProgram struct {
409 Len uint32
410 Insns *BpfInsn
411}
412
413type BpfInsn struct {
414 Code uint16
415 Jt uint8
416 Jf uint8
417 K uint32
418}
419
420type BpfHdr struct {
421 Tstamp BpfTimeval
422 Caplen uint32
423 Datalen uint32
424 Hdrlen uint16
425 Pad_cgo_0 [2]byte
426}
427
428type BpfTimeval struct {
429 Sec uint32
430 Usec uint32
431}
432
433type Termios struct {
434 Iflag uint32
435 Oflag uint32
436 Cflag uint32
437 Lflag uint32
438 Cc [20]uint8
439 Ispeed int32
440 Ospeed int32
441}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
deleted file mode 100644
index 23c5272..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
+++ /dev/null
@@ -1,448 +0,0 @@
1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_openbsd.go
3
4// +build amd64,openbsd
5
6package unix
7
8const (
9 sizeofPtr = 0x8
10 sizeofShort = 0x2
11 sizeofInt = 0x4
12 sizeofLong = 0x8
13 sizeofLongLong = 0x8
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Rusage struct {
34 Utime Timeval
35 Stime Timeval
36 Maxrss int64
37 Ixrss int64
38 Idrss int64
39 Isrss int64
40 Minflt int64
41 Majflt int64
42 Nswap int64
43 Inblock int64
44 Oublock int64
45 Msgsnd int64
46 Msgrcv int64
47 Nsignals int64
48 Nvcsw int64
49 Nivcsw int64
50}
51
52type Rlimit struct {
53 Cur uint64
54 Max uint64
55}
56
57type _Gid_t uint32
58
59const (
60 S_IFMT = 0xf000
61 S_IFIFO = 0x1000
62 S_IFCHR = 0x2000
63 S_IFDIR = 0x4000
64 S_IFBLK = 0x6000
65 S_IFREG = 0x8000
66 S_IFLNK = 0xa000
67 S_IFSOCK = 0xc000
68 S_ISUID = 0x800
69 S_ISGID = 0x400
70 S_ISVTX = 0x200
71 S_IRUSR = 0x100
72 S_IWUSR = 0x80
73 S_IXUSR = 0x40
74)
75
76type Stat_t struct {
77 Mode uint32
78 Dev int32
79 Ino uint64
80 Nlink uint32
81 Uid uint32
82 Gid uint32
83 Rdev int32
84 Atim Timespec
85 Mtim Timespec
86 Ctim Timespec
87 Size int64
88 Blocks int64
89 Blksize uint32
90 Flags uint32
91 Gen uint32
92 Pad_cgo_0 [4]byte
93 X__st_birthtim Timespec
94}
95
96type Statfs_t struct {
97 F_flags uint32
98 F_bsize uint32
99 F_iosize uint32
100 Pad_cgo_0 [4]byte
101 F_blocks uint64
102 F_bfree uint64
103 F_bavail int64
104 F_files uint64
105 F_ffree uint64
106 F_favail int64
107 F_syncwrites uint64
108 F_syncreads uint64
109 F_asyncwrites uint64
110 F_asyncreads uint64
111 F_fsid Fsid
112 F_namemax uint32
113 F_owner uint32
114 F_ctime uint64
115 F_fstypename [16]int8
116 F_mntonname [90]int8
117 F_mntfromname [90]int8
118 F_mntfromspec [90]int8
119 Pad_cgo_1 [2]byte
120 Mount_info [160]byte
121}
122
123type Flock_t struct {
124 Start int64
125 Len int64
126 Pid int32
127 Type int16
128 Whence int16
129}
130
131type Dirent struct {
132 Fileno uint64
133 Off int64
134 Reclen uint16
135 Type uint8
136 Namlen uint8
137 X__d_padding [4]uint8
138 Name [256]int8
139}
140
141type Fsid struct {
142 Val [2]int32
143}
144
145type RawSockaddrInet4 struct {
146 Len uint8
147 Family uint8
148 Port uint16
149 Addr [4]byte /* in_addr */
150 Zero [8]int8
151}
152
153type RawSockaddrInet6 struct {
154 Len uint8
155 Family uint8
156 Port uint16
157 Flowinfo uint32
158 Addr [16]byte /* in6_addr */
159 Scope_id uint32
160}
161
162type RawSockaddrUnix struct {
163 Len uint8
164 Family uint8
165 Path [104]int8
166}
167
168type RawSockaddrDatalink struct {
169 Len uint8
170 Family uint8
171 Index uint16
172 Type uint8
173 Nlen uint8
174 Alen uint8
175 Slen uint8
176 Data [24]int8
177}
178
179type RawSockaddr struct {
180 Len uint8
181 Family uint8
182 Data [14]int8
183}
184
185type RawSockaddrAny struct {
186 Addr RawSockaddr
187 Pad [92]int8
188}
189
190type _Socklen uint32
191
192type Linger struct {
193 Onoff int32
194 Linger int32
195}
196
197type Iovec struct {
198 Base *byte
199 Len uint64
200}
201
202type IPMreq struct {
203 Multiaddr [4]byte /* in_addr */
204 Interface [4]byte /* in_addr */
205}
206
207type IPv6Mreq struct {
208 Multiaddr [16]byte /* in6_addr */
209 Interface uint32
210}
211
212type Msghdr struct {
213 Name *byte
214 Namelen uint32
215 Pad_cgo_0 [4]byte
216 Iov *Iovec
217 Iovlen uint32
218 Pad_cgo_1 [4]byte
219 Control *byte
220 Controllen uint32
221 Flags int32
222}
223
224type Cmsghdr struct {
225 Len uint32
226 Level int32
227 Type int32
228}
229
230type Inet6Pktinfo struct {
231 Addr [16]byte /* in6_addr */
232 Ifindex uint32
233}
234
235type IPv6MTUInfo struct {
236 Addr RawSockaddrInet6
237 Mtu uint32
238}
239
240type ICMPv6Filter struct {
241 Filt [8]uint32
242}
243
244const (
245 SizeofSockaddrInet4 = 0x10
246 SizeofSockaddrInet6 = 0x1c
247 SizeofSockaddrAny = 0x6c
248 SizeofSockaddrUnix = 0x6a
249 SizeofSockaddrDatalink = 0x20
250 SizeofLinger = 0x8
251 SizeofIPMreq = 0x8
252 SizeofIPv6Mreq = 0x14
253 SizeofMsghdr = 0x30
254 SizeofCmsghdr = 0xc
255 SizeofInet6Pktinfo = 0x14
256 SizeofIPv6MTUInfo = 0x20
257 SizeofICMPv6Filter = 0x20
258)
259
260const (
261 PTRACE_TRACEME = 0x0
262 PTRACE_CONT = 0x7
263 PTRACE_KILL = 0x8
264)
265
266type Kevent_t struct {
267 Ident uint64
268 Filter int16
269 Flags uint16
270 Fflags uint32
271 Data int64
272 Udata *byte
273}
274
275type FdSet struct {
276 Bits [32]uint32
277}
278
279const (
280 SizeofIfMsghdr = 0xf8
281 SizeofIfData = 0xe0
282 SizeofIfaMsghdr = 0x18
283 SizeofIfAnnounceMsghdr = 0x1a
284 SizeofRtMsghdr = 0x60
285 SizeofRtMetrics = 0x38
286)
287
288type IfMsghdr struct {
289 Msglen uint16
290 Version uint8
291 Type uint8
292 Hdrlen uint16
293 Index uint16
294 Tableid uint16
295 Pad1 uint8
296 Pad2 uint8
297 Addrs int32
298 Flags int32
299 Xflags int32
300 Data IfData
301}
302
303type IfData struct {
304 Type uint8
305 Addrlen uint8
306 Hdrlen uint8
307 Link_state uint8
308 Mtu uint32
309 Metric uint32
310 Pad uint32
311 Baudrate uint64
312 Ipackets uint64
313 Ierrors uint64
314 Opackets uint64
315 Oerrors uint64
316 Collisions uint64
317 Ibytes uint64
318 Obytes uint64
319 Imcasts uint64
320 Omcasts uint64
321 Iqdrops uint64
322 Noproto uint64
323 Capabilities uint32
324 Pad_cgo_0 [4]byte
325 Lastchange Timeval
326 Mclpool [7]Mclpool
327 Pad_cgo_1 [4]byte
328}
329
330type IfaMsghdr struct {
331 Msglen uint16
332 Version uint8
333 Type uint8
334 Hdrlen uint16
335 Index uint16
336 Tableid uint16
337 Pad1 uint8
338 Pad2 uint8
339 Addrs int32
340 Flags int32
341 Metric int32
342}
343
344type IfAnnounceMsghdr struct {
345 Msglen uint16
346 Version uint8
347 Type uint8
348 Hdrlen uint16
349 Index uint16
350 What uint16
351 Name [16]int8
352}
353
354type RtMsghdr struct {
355 Msglen uint16
356 Version uint8
357 Type uint8
358 Hdrlen uint16
359 Index uint16
360 Tableid uint16
361 Priority uint8
362 Mpls uint8
363 Addrs int32
364 Flags int32
365 Fmask int32
366 Pid int32
367 Seq int32
368 Errno int32
369 Inits uint32
370 Rmx RtMetrics
371}
372
373type RtMetrics struct {
374 Pksent uint64
375 Expire int64
376 Locks uint32
377 Mtu uint32
378 Refcnt uint32
379 Hopcount uint32
380 Recvpipe uint32
381 Sendpipe uint32
382 Ssthresh uint32
383 Rtt uint32
384 Rttvar uint32
385 Pad uint32
386}
387
388type Mclpool struct {
389 Grown int32
390 Alive uint16
391 Hwm uint16
392 Cwm uint16
393 Lwm uint16
394}
395
396const (
397 SizeofBpfVersion = 0x4
398 SizeofBpfStat = 0x8
399 SizeofBpfProgram = 0x10
400 SizeofBpfInsn = 0x8
401 SizeofBpfHdr = 0x14
402)
403
404type BpfVersion struct {
405 Major uint16
406 Minor uint16
407}
408
409type BpfStat struct {
410 Recv uint32
411 Drop uint32
412}
413
414type BpfProgram struct {
415 Len uint32
416 Pad_cgo_0 [4]byte
417 Insns *BpfInsn
418}
419
420type BpfInsn struct {
421 Code uint16
422 Jt uint8
423 Jf uint8
424 K uint32
425}
426
427type BpfHdr struct {
428 Tstamp BpfTimeval
429 Caplen uint32
430 Datalen uint32
431 Hdrlen uint16
432 Pad_cgo_0 [2]byte
433}
434
435type BpfTimeval struct {
436 Sec uint32
437 Usec uint32
438}
439
440type Termios struct {
441 Iflag uint32
442 Oflag uint32
443 Cflag uint32
444 Lflag uint32
445 Cc [20]uint8
446 Ispeed int32
447 Ospeed int32
448}
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_solaris_amd64.go
deleted file mode 100644
index b3b928a..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_solaris_amd64.go
+++ /dev/null
@@ -1,422 +0,0 @@
1// +build amd64,solaris
2// Created by cgo -godefs - DO NOT EDIT
3// cgo -godefs types_solaris.go
4
5package unix
6
7const (
8 sizeofPtr = 0x8
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x8
12 sizeofLongLong = 0x8
13 PathMax = 0x400
14)
15
16type (
17 _C_short int16
18 _C_int int32
19 _C_long int64
20 _C_long_long int64
21)
22
23type Timespec struct {
24 Sec int64
25 Nsec int64
26}
27
28type Timeval struct {
29 Sec int64
30 Usec int64
31}
32
33type Timeval32 struct {
34 Sec int32
35 Usec int32
36}
37
38type Tms struct {
39 Utime int64
40 Stime int64
41 Cutime int64
42 Cstime int64
43}
44
45type Utimbuf struct {
46 Actime int64
47 Modtime int64
48}
49
50type Rusage struct {
51 Utime Timeval
52 Stime Timeval
53 Maxrss int64
54 Ixrss int64
55 Idrss int64
56 Isrss int64
57 Minflt int64
58 Majflt int64
59 Nswap int64
60 Inblock int64
61 Oublock int64
62 Msgsnd int64
63 Msgrcv int64
64 Nsignals int64
65 Nvcsw int64
66 Nivcsw int64
67}
68
69type Rlimit struct {
70 Cur uint64
71 Max uint64
72}
73
74type _Gid_t uint32
75
76const (
77 S_IFMT = 0xf000
78 S_IFIFO = 0x1000
79 S_IFCHR = 0x2000
80 S_IFDIR = 0x4000
81 S_IFBLK = 0x6000
82 S_IFREG = 0x8000
83 S_IFLNK = 0xa000
84 S_IFSOCK = 0xc000
85 S_ISUID = 0x800
86 S_ISGID = 0x400
87 S_ISVTX = 0x200
88 S_IRUSR = 0x100
89 S_IWUSR = 0x80
90 S_IXUSR = 0x40
91)
92
93type Stat_t struct {
94 Dev uint64
95 Ino uint64
96 Mode uint32
97 Nlink uint32
98 Uid uint32
99 Gid uint32
100 Rdev uint64
101 Size int64
102 Atim Timespec
103 Mtim Timespec
104 Ctim Timespec
105 Blksize int32
106 Pad_cgo_0 [4]byte
107 Blocks int64
108 Fstype [16]int8
109}
110
111type Flock_t struct {
112 Type int16
113 Whence int16
114 Pad_cgo_0 [4]byte
115 Start int64
116 Len int64
117 Sysid int32
118 Pid int32
119 Pad [4]int64
120}
121
122type Dirent struct {
123 Ino uint64
124 Off int64
125 Reclen uint16
126 Name [1]int8
127 Pad_cgo_0 [5]byte
128}
129
130type RawSockaddrInet4 struct {
131 Family uint16
132 Port uint16
133 Addr [4]byte /* in_addr */
134 Zero [8]int8
135}
136
137type RawSockaddrInet6 struct {
138 Family uint16
139 Port uint16
140 Flowinfo uint32
141 Addr [16]byte /* in6_addr */
142 Scope_id uint32
143 X__sin6_src_id uint32
144}
145
146type RawSockaddrUnix struct {
147 Family uint16
148 Path [108]int8
149}
150
151type RawSockaddrDatalink struct {
152 Family uint16
153 Index uint16
154 Type uint8
155 Nlen uint8
156 Alen uint8
157 Slen uint8
158 Data [244]int8
159}
160
161type RawSockaddr struct {
162 Family uint16
163 Data [14]int8
164}
165
166type RawSockaddrAny struct {
167 Addr RawSockaddr
168 Pad [236]int8
169}
170
171type _Socklen uint32
172
173type Linger struct {
174 Onoff int32
175 Linger int32
176}
177
178type Iovec struct {
179 Base *int8
180 Len uint64
181}
182
183type IPMreq struct {
184 Multiaddr [4]byte /* in_addr */
185 Interface [4]byte /* in_addr */
186}
187
188type IPv6Mreq struct {
189 Multiaddr [16]byte /* in6_addr */
190 Interface uint32
191}
192
193type Msghdr struct {
194 Name *byte
195 Namelen uint32
196 Pad_cgo_0 [4]byte
197 Iov *Iovec
198 Iovlen int32
199 Pad_cgo_1 [4]byte
200 Accrights *int8
201 Accrightslen int32
202 Pad_cgo_2 [4]byte
203}
204
205type Cmsghdr struct {
206 Len uint32
207 Level int32
208 Type int32
209}
210
211type Inet6Pktinfo struct {
212 Addr [16]byte /* in6_addr */
213 Ifindex uint32
214}
215
216type IPv6MTUInfo struct {
217 Addr RawSockaddrInet6
218 Mtu uint32
219}
220
221type ICMPv6Filter struct {
222 X__icmp6_filt [8]uint32
223}
224
225const (
226 SizeofSockaddrInet4 = 0x10
227 SizeofSockaddrInet6 = 0x20
228 SizeofSockaddrAny = 0xfc
229 SizeofSockaddrUnix = 0x6e
230 SizeofSockaddrDatalink = 0xfc
231 SizeofLinger = 0x8
232 SizeofIPMreq = 0x8
233 SizeofIPv6Mreq = 0x14
234 SizeofMsghdr = 0x30
235 SizeofCmsghdr = 0xc
236 SizeofInet6Pktinfo = 0x14
237 SizeofIPv6MTUInfo = 0x24
238 SizeofICMPv6Filter = 0x20
239)
240
241type FdSet struct {
242 Bits [1024]int64
243}
244
245type Utsname struct {
246 Sysname [257]int8
247 Nodename [257]int8
248 Release [257]int8
249 Version [257]int8
250 Machine [257]int8
251}
252
253type Ustat_t struct {
254 Tfree int64
255 Tinode uint64
256 Fname [6]int8
257 Fpack [6]int8
258 Pad_cgo_0 [4]byte
259}
260
261const (
262 AT_FDCWD = 0xffd19553
263 AT_SYMLINK_NOFOLLOW = 0x1000
264 AT_SYMLINK_FOLLOW = 0x2000
265 AT_REMOVEDIR = 0x1
266 AT_EACCESS = 0x4
267)
268
269const (
270 SizeofIfMsghdr = 0x54
271 SizeofIfData = 0x44
272 SizeofIfaMsghdr = 0x14
273 SizeofRtMsghdr = 0x4c
274 SizeofRtMetrics = 0x28
275)
276
277type IfMsghdr struct {
278 Msglen uint16
279 Version uint8
280 Type uint8
281 Addrs int32
282 Flags int32
283 Index uint16
284 Pad_cgo_0 [2]byte
285 Data IfData
286}
287
288type IfData struct {
289 Type uint8
290 Addrlen uint8
291 Hdrlen uint8
292 Pad_cgo_0 [1]byte
293 Mtu uint32
294 Metric uint32
295 Baudrate uint32
296 Ipackets uint32
297 Ierrors uint32
298 Opackets uint32
299 Oerrors uint32
300 Collisions uint32
301 Ibytes uint32
302 Obytes uint32
303 Imcasts uint32
304 Omcasts uint32
305 Iqdrops uint32
306 Noproto uint32
307 Lastchange Timeval32
308}
309
310type IfaMsghdr struct {
311 Msglen uint16
312 Version uint8
313 Type uint8
314 Addrs int32
315 Flags int32
316 Index uint16
317 Pad_cgo_0 [2]byte
318 Metric int32
319}
320
321type RtMsghdr struct {
322 Msglen uint16
323 Version uint8
324 Type uint8
325 Index uint16
326 Pad_cgo_0 [2]byte
327 Flags int32
328 Addrs int32
329 Pid int32
330 Seq int32
331 Errno int32
332 Use int32
333 Inits uint32
334 Rmx RtMetrics
335}
336
337type RtMetrics struct {
338 Locks uint32
339 Mtu uint32
340 Hopcount uint32
341 Expire uint32
342 Recvpipe uint32
343 Sendpipe uint32
344 Ssthresh uint32
345 Rtt uint32
346 Rttvar uint32
347 Pksent uint32
348}
349
350const (
351 SizeofBpfVersion = 0x4
352 SizeofBpfStat = 0x80
353 SizeofBpfProgram = 0x10
354 SizeofBpfInsn = 0x8
355 SizeofBpfHdr = 0x14
356)
357
358type BpfVersion struct {
359 Major uint16
360 Minor uint16
361}
362
363type BpfStat struct {
364 Recv uint64
365 Drop uint64
366 Capt uint64
367 Padding [13]uint64
368}
369
370type BpfProgram struct {
371 Len uint32
372 Pad_cgo_0 [4]byte
373 Insns *BpfInsn
374}
375
376type BpfInsn struct {
377 Code uint16
378 Jt uint8
379 Jf uint8
380 K uint32
381}
382
383type BpfTimeval struct {
384 Sec int32
385 Usec int32
386}
387
388type BpfHdr struct {
389 Tstamp BpfTimeval
390 Caplen uint32
391 Datalen uint32
392 Hdrlen uint16
393 Pad_cgo_0 [2]byte
394}
395
396const _SC_PAGESIZE = 0xb
397
398type Termios struct {
399 Iflag uint32
400 Oflag uint32
401 Cflag uint32
402 Lflag uint32
403 Cc [19]uint8
404 Pad_cgo_0 [1]byte
405}
406
407type Termio struct {
408 Iflag uint16
409 Oflag uint16
410 Cflag uint16
411 Lflag uint16
412 Line int8
413 Cc [8]uint8
414 Pad_cgo_0 [1]byte
415}
416
417type Winsize struct {
418 Row uint16
419 Col uint16
420 Xpixel uint16
421 Ypixel uint16
422}