4284 lines
195 KiB
Plaintext
4284 lines
195 KiB
Plaintext
From https://github.com/golang/sys/pull/129
|
|
|
|
From 028157e4a580ebfc9e9a39cb1d043845c3c549d2 Mon Sep 17 00:00:00 2001
|
|
From: Lucas Raab <dotpyfe@gmail.com>
|
|
Date: Thu, 28 Jul 2022 23:44:24 +0000
|
|
Subject: [PATCH] unix: update openbsd/{386,amd64,arm,arm64,mips64} to OpenBSD 7.1
|
|
|
|
Index: vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
|
|
--- vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
|
|
@@ -46,6 +46,7 @@ const (
|
|
AF_SNA = 0xb
|
|
AF_UNIX = 0x1
|
|
AF_UNSPEC = 0x0
|
|
+ ALTWERASE = 0x200
|
|
ARPHRD_ETHER = 0x1
|
|
ARPHRD_FRELAY = 0xf
|
|
ARPHRD_IEEE1394 = 0x18
|
|
@@ -108,6 +109,15 @@ const (
|
|
BPF_DIRECTION_IN = 0x1
|
|
BPF_DIRECTION_OUT = 0x2
|
|
BPF_DIV = 0x30
|
|
+ BPF_FILDROP_CAPTURE = 0x1
|
|
+ BPF_FILDROP_DROP = 0x2
|
|
+ BPF_FILDROP_PASS = 0x0
|
|
+ BPF_F_DIR_IN = 0x10
|
|
+ BPF_F_DIR_MASK = 0x30
|
|
+ BPF_F_DIR_OUT = 0x20
|
|
+ BPF_F_DIR_SHIFT = 0x4
|
|
+ BPF_F_FLOWID = 0x8
|
|
+ BPF_F_PRI_MASK = 0x7
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -136,6 +146,7 @@ const (
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
+ BPF_RND = 0xc0
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
@@ -147,6 +158,12 @@ const (
|
|
BRKINT = 0x2
|
|
CFLUSH = 0xf
|
|
CLOCAL = 0x8000
|
|
+ CLOCK_BOOTTIME = 0x6
|
|
+ CLOCK_MONOTONIC = 0x3
|
|
+ CLOCK_PROCESS_CPUTIME_ID = 0x2
|
|
+ CLOCK_REALTIME = 0x0
|
|
+ CLOCK_THREAD_CPUTIME_ID = 0x4
|
|
+ CLOCK_UPTIME = 0x5
|
|
CPUSTATES = 0x6
|
|
CP_IDLE = 0x5
|
|
CP_INTR = 0x4
|
|
@@ -170,7 +187,65 @@ const (
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0xc
|
|
CTL_NET = 0x4
|
|
+ DIOCADDQUEUE = 0xc100445d
|
|
+ DIOCADDRULE = 0xccc84404
|
|
+ DIOCADDSTATE = 0xc1084425
|
|
+ DIOCCHANGERULE = 0xccc8441a
|
|
+ DIOCCLRIFFLAG = 0xc024445a
|
|
+ DIOCCLRSRCNODES = 0x20004455
|
|
+ DIOCCLRSTATES = 0xc0d04412
|
|
+ DIOCCLRSTATUS = 0xc0244416
|
|
+ DIOCGETLIMIT = 0xc0084427
|
|
+ DIOCGETQSTATS = 0xc1084460
|
|
+ DIOCGETQUEUE = 0xc100445f
|
|
+ DIOCGETQUEUES = 0xc100445e
|
|
+ DIOCGETRULE = 0xccc84407
|
|
+ DIOCGETRULES = 0xccc84406
|
|
+ DIOCGETRULESET = 0xc444443b
|
|
+ DIOCGETRULESETS = 0xc444443a
|
|
+ DIOCGETSRCNODES = 0xc0084454
|
|
+ DIOCGETSTATE = 0xc1084413
|
|
+ DIOCGETSTATES = 0xc0084419
|
|
+ DIOCGETSTATUS = 0xc1e84415
|
|
+ DIOCGETSYNFLWATS = 0xc0084463
|
|
+ DIOCGETTIMEOUT = 0xc008441e
|
|
+ DIOCIGETIFACES = 0xc0244457
|
|
+ DIOCKILLSRCNODES = 0xc068445b
|
|
+ DIOCKILLSTATES = 0xc0d04429
|
|
+ DIOCNATLOOK = 0xc0504417
|
|
+ DIOCOSFPADD = 0xc084444f
|
|
DIOCOSFPFLUSH = 0x2000444e
|
|
+ DIOCOSFPGET = 0xc0844450
|
|
+ DIOCRADDADDRS = 0xc44c4443
|
|
+ DIOCRADDTABLES = 0xc44c443d
|
|
+ DIOCRCLRADDRS = 0xc44c4442
|
|
+ DIOCRCLRASTATS = 0xc44c4448
|
|
+ DIOCRCLRTABLES = 0xc44c443c
|
|
+ DIOCRCLRTSTATS = 0xc44c4441
|
|
+ DIOCRDELADDRS = 0xc44c4444
|
|
+ DIOCRDELTABLES = 0xc44c443e
|
|
+ DIOCRGETADDRS = 0xc44c4446
|
|
+ DIOCRGETASTATS = 0xc44c4447
|
|
+ DIOCRGETTABLES = 0xc44c443f
|
|
+ DIOCRGETTSTATS = 0xc44c4440
|
|
+ DIOCRINADEFINE = 0xc44c444d
|
|
+ DIOCRSETADDRS = 0xc44c4445
|
|
+ DIOCRSETTFLAGS = 0xc44c444a
|
|
+ DIOCRTSTADDRS = 0xc44c4449
|
|
+ DIOCSETDEBUG = 0xc0044418
|
|
+ DIOCSETHOSTID = 0xc0044456
|
|
+ DIOCSETIFFLAG = 0xc0244459
|
|
+ DIOCSETLIMIT = 0xc0084428
|
|
+ DIOCSETREASS = 0xc004445c
|
|
+ DIOCSETSTATUSIF = 0xc0244414
|
|
+ DIOCSETSYNCOOKIES = 0xc0014462
|
|
+ DIOCSETSYNFLWATS = 0xc0084461
|
|
+ DIOCSETTIMEOUT = 0xc008441d
|
|
+ DIOCSTART = 0x20004401
|
|
+ DIOCSTOP = 0x20004402
|
|
+ DIOCXBEGIN = 0xc00c4451
|
|
+ DIOCXCOMMIT = 0xc00c4452
|
|
+ DIOCXROLLBACK = 0xc00c4453
|
|
DLT_ARCNET = 0x7
|
|
DLT_ATM_RFC1483 = 0xb
|
|
DLT_AX25 = 0x3
|
|
@@ -186,6 +261,7 @@ const (
|
|
DLT_LOOP = 0xc
|
|
DLT_MPLS = 0xdb
|
|
DLT_NULL = 0x0
|
|
+ DLT_OPENFLOW = 0x10b
|
|
DLT_PFLOG = 0x75
|
|
DLT_PFSYNC = 0x12
|
|
DLT_PPP = 0x9
|
|
@@ -196,6 +272,23 @@ const (
|
|
DLT_RAW = 0xe
|
|
DLT_SLIP = 0x8
|
|
DLT_SLIP_BSDOS = 0xf
|
|
+ DLT_USBPCAP = 0xf9
|
|
+ DLT_USER0 = 0x93
|
|
+ DLT_USER1 = 0x94
|
|
+ DLT_USER10 = 0x9d
|
|
+ DLT_USER11 = 0x9e
|
|
+ DLT_USER12 = 0x9f
|
|
+ DLT_USER13 = 0xa0
|
|
+ DLT_USER14 = 0xa1
|
|
+ DLT_USER15 = 0xa2
|
|
+ DLT_USER2 = 0x95
|
|
+ DLT_USER3 = 0x96
|
|
+ DLT_USER4 = 0x97
|
|
+ DLT_USER5 = 0x98
|
|
+ DLT_USER6 = 0x99
|
|
+ DLT_USER7 = 0x9a
|
|
+ DLT_USER8 = 0x9b
|
|
+ DLT_USER9 = 0x9c
|
|
DT_BLK = 0x6
|
|
DT_CHR = 0x2
|
|
DT_DIR = 0x4
|
|
@@ -215,6 +308,8 @@ const (
|
|
EMUL_ENABLED = 0x1
|
|
EMUL_NATIVE = 0x2
|
|
ENDRUNDISC = 0x9
|
|
+ ETH64_8021_RSVD_MASK = 0xfffffffffff0
|
|
+ ETH64_8021_RSVD_PREFIX = 0x180c2000000
|
|
ETHERMIN = 0x2e
|
|
ETHERMTU = 0x5dc
|
|
ETHERTYPE_8023 = 0x4
|
|
@@ -267,6 +362,7 @@ const (
|
|
ETHERTYPE_DN = 0x6003
|
|
ETHERTYPE_DOGFIGHT = 0x1989
|
|
ETHERTYPE_DSMD = 0x8039
|
|
+ ETHERTYPE_EAPOL = 0x888e
|
|
ETHERTYPE_ECMA = 0x803
|
|
ETHERTYPE_ENCRYPT = 0x803d
|
|
ETHERTYPE_ES = 0x805d
|
|
@@ -298,6 +394,7 @@ const (
|
|
ETHERTYPE_LLDP = 0x88cc
|
|
ETHERTYPE_LOGICRAFT = 0x8148
|
|
ETHERTYPE_LOOPBACK = 0x9000
|
|
+ ETHERTYPE_MACSEC = 0x88e5
|
|
ETHERTYPE_MATRA = 0x807a
|
|
ETHERTYPE_MAX = 0xffff
|
|
ETHERTYPE_MERIT = 0x807c
|
|
@@ -326,15 +423,17 @@ const (
|
|
ETHERTYPE_NCD = 0x8149
|
|
ETHERTYPE_NESTAR = 0x8006
|
|
ETHERTYPE_NETBEUI = 0x8191
|
|
+ ETHERTYPE_NHRP = 0x2001
|
|
ETHERTYPE_NOVELL = 0x8138
|
|
ETHERTYPE_NS = 0x600
|
|
ETHERTYPE_NSAT = 0x601
|
|
ETHERTYPE_NSCOMPAT = 0x807
|
|
+ ETHERTYPE_NSH = 0x984f
|
|
ETHERTYPE_NTRAILER = 0x10
|
|
ETHERTYPE_OS9 = 0x7007
|
|
ETHERTYPE_OS9NET = 0x7009
|
|
ETHERTYPE_PACER = 0x80c6
|
|
- ETHERTYPE_PAE = 0x888e
|
|
+ ETHERTYPE_PBB = 0x88e7
|
|
ETHERTYPE_PCS = 0x4242
|
|
ETHERTYPE_PLANNING = 0x8044
|
|
ETHERTYPE_PPP = 0x880b
|
|
@@ -409,28 +508,40 @@ const (
|
|
ETHER_CRC_POLY_LE = 0xedb88320
|
|
ETHER_HDR_LEN = 0xe
|
|
ETHER_MAX_DIX_LEN = 0x600
|
|
+ ETHER_MAX_HARDMTU_LEN = 0xff9b
|
|
ETHER_MAX_LEN = 0x5ee
|
|
ETHER_MIN_LEN = 0x40
|
|
ETHER_TYPE_LEN = 0x2
|
|
ETHER_VLAN_ENCAP_LEN = 0x4
|
|
EVFILT_AIO = -0x3
|
|
+ EVFILT_DEVICE = -0x8
|
|
+ EVFILT_EXCEPT = -0x9
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0x7
|
|
+ EVFILT_SYSCOUNT = 0x9
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
+ EVL_ENCAPLEN = 0x4
|
|
+ EVL_PRIO_BITS = 0xd
|
|
+ EVL_PRIO_MAX = 0x7
|
|
+ EVL_VLID_MASK = 0xfff
|
|
+ EVL_VLID_MAX = 0xffe
|
|
+ EVL_VLID_MIN = 0x1
|
|
+ EVL_VLID_NULL = 0x0
|
|
EV_ADD = 0x1
|
|
EV_CLEAR = 0x20
|
|
EV_DELETE = 0x2
|
|
EV_DISABLE = 0x8
|
|
+ EV_DISPATCH = 0x80
|
|
EV_ENABLE = 0x4
|
|
EV_EOF = 0x8000
|
|
EV_ERROR = 0x4000
|
|
EV_FLAG1 = 0x2000
|
|
EV_ONESHOT = 0x10
|
|
- EV_SYSFLAGS = 0xf000
|
|
+ EV_RECEIPT = 0x40
|
|
+ EV_SYSFLAGS = 0xf800
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTPROC = 0x800
|
|
@@ -443,6 +554,7 @@ const (
|
|
F_GETFL = 0x3
|
|
F_GETLK = 0x7
|
|
F_GETOWN = 0x5
|
|
+ F_ISATTY = 0xb
|
|
F_OK = 0x0
|
|
F_RDLCK = 0x1
|
|
F_SETFD = 0x2
|
|
@@ -460,7 +572,6 @@ const (
|
|
IEXTEN = 0x400
|
|
IFAN_ARRIVAL = 0x0
|
|
IFAN_DEPARTURE = 0x1
|
|
- IFA_ROUTE = 0x1
|
|
IFF_ALLMULTI = 0x200
|
|
IFF_BROADCAST = 0x2
|
|
IFF_CANTCHANGE = 0x8e52
|
|
@@ -471,12 +582,12 @@ const (
|
|
IFF_LOOPBACK = 0x8
|
|
IFF_MULTICAST = 0x8000
|
|
IFF_NOARP = 0x80
|
|
- IFF_NOTRAILERS = 0x20
|
|
IFF_OACTIVE = 0x400
|
|
IFF_POINTOPOINT = 0x10
|
|
IFF_PROMISC = 0x100
|
|
IFF_RUNNING = 0x40
|
|
IFF_SIMPLEX = 0x800
|
|
+ IFF_STATICARP = 0x20
|
|
IFF_UP = 0x1
|
|
IFNAMSIZ = 0x10
|
|
IFT_1822 = 0x2
|
|
@@ -605,6 +716,7 @@ const (
|
|
IFT_LINEGROUP = 0xd2
|
|
IFT_LOCALTALK = 0x2a
|
|
IFT_LOOP = 0x18
|
|
+ IFT_MBIM = 0xfa
|
|
IFT_MEDIAMAILOVERIP = 0x8b
|
|
IFT_MFSIGLINK = 0xa7
|
|
IFT_MIOX25 = 0x26
|
|
@@ -695,6 +807,7 @@ const (
|
|
IFT_VOICEOVERCABLE = 0xc6
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
+ IFT_WIREGUARD = 0xfb
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
@@ -729,8 +842,6 @@ const (
|
|
IPPROTO_AH = 0x33
|
|
IPPROTO_CARP = 0x70
|
|
IPPROTO_DIVERT = 0x102
|
|
- IPPROTO_DIVERT_INIT = 0x2
|
|
- IPPROTO_DIVERT_RESP = 0x1
|
|
IPPROTO_DONE = 0x101
|
|
IPPROTO_DSTOPTS = 0x3c
|
|
IPPROTO_EGP = 0x8
|
|
@@ -762,9 +873,11 @@ const (
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_SCTP = 0x84
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_UDP = 0x11
|
|
+ IPPROTO_UDPLITE = 0x88
|
|
IPV6_AUTH_LEVEL = 0x35
|
|
IPV6_AUTOFLOWLABEL = 0x3b
|
|
IPV6_CHECKSUM = 0x1a
|
|
@@ -787,6 +900,7 @@ const (
|
|
IPV6_LEAVE_GROUP = 0xd
|
|
IPV6_MAXHLIM = 0xff
|
|
IPV6_MAXPACKET = 0xffff
|
|
+ IPV6_MINHOPCOUNT = 0x41
|
|
IPV6_MMTU = 0x500
|
|
IPV6_MULTICAST_HOPS = 0xa
|
|
IPV6_MULTICAST_IF = 0x9
|
|
@@ -826,12 +940,12 @@ const (
|
|
IP_DEFAULT_MULTICAST_LOOP = 0x1
|
|
IP_DEFAULT_MULTICAST_TTL = 0x1
|
|
IP_DF = 0x4000
|
|
- IP_DIVERTFL = 0x1022
|
|
IP_DROP_MEMBERSHIP = 0xd
|
|
IP_ESP_NETWORK_LEVEL = 0x16
|
|
IP_ESP_TRANS_LEVEL = 0x15
|
|
IP_HDRINCL = 0x2
|
|
IP_IPCOMP_LEVEL = 0x1d
|
|
+ IP_IPDEFTTL = 0x25
|
|
IP_IPSECFLOWINFO = 0x24
|
|
IP_IPSEC_LOCAL_AUTH = 0x1b
|
|
IP_IPSEC_LOCAL_CRED = 0x19
|
|
@@ -865,10 +979,15 @@ const (
|
|
IP_RETOPTS = 0x8
|
|
IP_RF = 0x8000
|
|
IP_RTABLE = 0x1021
|
|
+ IP_SENDSRCADDR = 0x7
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
+ IUCLC = 0x1000
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -900,10 +1019,11 @@ const (
|
|
MAP_INHERIT_COPY = 0x1
|
|
MAP_INHERIT_NONE = 0x2
|
|
MAP_INHERIT_SHARE = 0x0
|
|
- MAP_NOEXTEND = 0x100
|
|
- MAP_NORESERVE = 0x40
|
|
+ MAP_INHERIT_ZERO = 0x3
|
|
+ MAP_NOEXTEND = 0x0
|
|
+ MAP_NORESERVE = 0x0
|
|
MAP_PRIVATE = 0x2
|
|
- MAP_RENAME = 0x20
|
|
+ MAP_RENAME = 0x0
|
|
MAP_SHARED = 0x1
|
|
MAP_STACK = 0x4000
|
|
MAP_TRYFIXED = 0x0
|
|
@@ -922,6 +1042,7 @@ const (
|
|
MNT_NOATIME = 0x8000
|
|
MNT_NODEV = 0x10
|
|
MNT_NOEXEC = 0x4
|
|
+ MNT_NOPERM = 0x20
|
|
MNT_NOSUID = 0x8
|
|
MNT_NOWAIT = 0x2
|
|
MNT_QUOTA = 0x2000
|
|
@@ -929,13 +1050,29 @@ const (
|
|
MNT_RELOAD = 0x40000
|
|
MNT_ROOTFS = 0x4000
|
|
MNT_SOFTDEP = 0x4000000
|
|
+ MNT_STALLED = 0x100000
|
|
+ MNT_SWAPPABLE = 0x200000
|
|
MNT_SYNCHRONOUS = 0x2
|
|
MNT_UPDATE = 0x10000
|
|
MNT_VISFLAGMASK = 0x400ffff
|
|
MNT_WAIT = 0x1
|
|
MNT_WANTRDWR = 0x2000000
|
|
MNT_WXALLOWED = 0x800
|
|
+ MOUNT_AFS = "afs"
|
|
+ MOUNT_CD9660 = "cd9660"
|
|
+ MOUNT_EXT2FS = "ext2fs"
|
|
+ MOUNT_FFS = "ffs"
|
|
+ MOUNT_FUSEFS = "fuse"
|
|
+ MOUNT_MFS = "mfs"
|
|
+ MOUNT_MSDOS = "msdos"
|
|
+ MOUNT_NCPFS = "ncpfs"
|
|
+ MOUNT_NFS = "nfs"
|
|
+ MOUNT_NTFS = "ntfs"
|
|
+ MOUNT_TMPFS = "tmpfs"
|
|
+ MOUNT_UDF = "udf"
|
|
+ MOUNT_UFS = "ffs"
|
|
MSG_BCAST = 0x100
|
|
+ MSG_CMSG_CLOEXEC = 0x800
|
|
MSG_CTRUNC = 0x20
|
|
MSG_DONTROUTE = 0x4
|
|
MSG_DONTWAIT = 0x80
|
|
@@ -953,12 +1090,16 @@ const (
|
|
NET_RT_DUMP = 0x1
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
- NET_RT_MAXID = 0x6
|
|
+ NET_RT_IFNAMES = 0x6
|
|
+ NET_RT_MAXID = 0x8
|
|
+ NET_RT_SOURCE = 0x7
|
|
NET_RT_STATS = 0x4
|
|
NET_RT_TABLE = 0x5
|
|
NFDBITS = 0x20
|
|
NOFLSH = 0x80000000
|
|
+ NOKERNINFO = 0x2000000
|
|
NOTE_ATTRIB = 0x8
|
|
+ NOTE_CHANGE = 0x1
|
|
NOTE_CHILD = 0x4
|
|
NOTE_DELETE = 0x1
|
|
NOTE_EOF = 0x2
|
|
@@ -968,6 +1109,7 @@ const (
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
+ NOTE_OOB = 0x4
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
@@ -977,11 +1119,13 @@ const (
|
|
NOTE_TRUNCATE = 0x80
|
|
NOTE_WRITE = 0x2
|
|
OCRNL = 0x10
|
|
+ OLCUC = 0x20
|
|
ONLCR = 0x2
|
|
ONLRET = 0x80
|
|
ONOCR = 0x40
|
|
ONOEOT = 0x8
|
|
OPOST = 0x1
|
|
+ OXTABS = 0x4
|
|
O_ACCMODE = 0x3
|
|
O_APPEND = 0x8
|
|
O_ASYNC = 0x40
|
|
@@ -1015,7 +1159,6 @@ const (
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
- PT_MASK = 0x3ff000
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
RLIMIT_DATA = 0x2
|
|
@@ -1027,19 +1170,25 @@ const (
|
|
RLIMIT_STACK = 0x3
|
|
RLIM_INFINITY = 0x7fffffffffffffff
|
|
RTAX_AUTHOR = 0x6
|
|
+ RTAX_BFD = 0xb
|
|
RTAX_BRD = 0x7
|
|
+ RTAX_DNS = 0xc
|
|
RTAX_DST = 0x0
|
|
RTAX_GATEWAY = 0x1
|
|
RTAX_GENMASK = 0x3
|
|
RTAX_IFA = 0x5
|
|
RTAX_IFP = 0x4
|
|
RTAX_LABEL = 0xa
|
|
- RTAX_MAX = 0xb
|
|
+ RTAX_MAX = 0xf
|
|
RTAX_NETMASK = 0x2
|
|
+ RTAX_SEARCH = 0xe
|
|
RTAX_SRC = 0x8
|
|
RTAX_SRCMASK = 0x9
|
|
+ RTAX_STATIC = 0xd
|
|
RTA_AUTHOR = 0x40
|
|
+ RTA_BFD = 0x800
|
|
RTA_BRD = 0x80
|
|
+ RTA_DNS = 0x1000
|
|
RTA_DST = 0x1
|
|
RTA_GATEWAY = 0x2
|
|
RTA_GENMASK = 0x8
|
|
@@ -1047,49 +1196,57 @@ const (
|
|
RTA_IFP = 0x10
|
|
RTA_LABEL = 0x400
|
|
RTA_NETMASK = 0x4
|
|
+ RTA_SEARCH = 0x4000
|
|
RTA_SRC = 0x100
|
|
RTA_SRCMASK = 0x200
|
|
+ RTA_STATIC = 0x2000
|
|
RTF_ANNOUNCE = 0x4000
|
|
+ RTF_BFD = 0x1000000
|
|
RTF_BLACKHOLE = 0x1000
|
|
+ RTF_BROADCAST = 0x400000
|
|
+ RTF_CACHED = 0x20000
|
|
RTF_CLONED = 0x10000
|
|
RTF_CLONING = 0x100
|
|
+ RTF_CONNECTED = 0x800000
|
|
RTF_DONE = 0x40
|
|
RTF_DYNAMIC = 0x10
|
|
- RTF_FMASK = 0x10f808
|
|
+ RTF_FMASK = 0x110fc08
|
|
RTF_GATEWAY = 0x2
|
|
RTF_HOST = 0x4
|
|
RTF_LLINFO = 0x400
|
|
- RTF_MASK = 0x80
|
|
+ RTF_LOCAL = 0x200000
|
|
RTF_MODIFIED = 0x20
|
|
RTF_MPATH = 0x40000
|
|
RTF_MPLS = 0x100000
|
|
+ RTF_MULTICAST = 0x200
|
|
RTF_PERMANENT_ARP = 0x2000
|
|
RTF_PROTO1 = 0x8000
|
|
RTF_PROTO2 = 0x4000
|
|
RTF_PROTO3 = 0x2000
|
|
RTF_REJECT = 0x8
|
|
- RTF_SOURCE = 0x20000
|
|
RTF_STATIC = 0x800
|
|
- RTF_TUNNEL = 0x100000
|
|
RTF_UP = 0x1
|
|
RTF_USETRAILERS = 0x8000
|
|
- RTF_XRESOLVE = 0x200
|
|
+ RTM_80211INFO = 0x15
|
|
RTM_ADD = 0x1
|
|
+ RTM_BFD = 0x12
|
|
RTM_CHANGE = 0x3
|
|
+ RTM_CHGADDRATTR = 0x14
|
|
RTM_DELADDR = 0xd
|
|
RTM_DELETE = 0x2
|
|
RTM_DESYNC = 0x10
|
|
RTM_GET = 0x4
|
|
RTM_IFANNOUNCE = 0xf
|
|
RTM_IFINFO = 0xe
|
|
- RTM_LOCK = 0x8
|
|
+ RTM_INVALIDATE = 0x11
|
|
RTM_LOSING = 0x5
|
|
RTM_MAXSIZE = 0x800
|
|
RTM_MISS = 0x7
|
|
RTM_NEWADDR = 0xc
|
|
+ RTM_PROPOSAL = 0x13
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
- RTM_RTTUNIT = 0xf4240
|
|
+ RTM_SOURCE = 0x16
|
|
RTM_VERSION = 0x5
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
@@ -1099,67 +1256,74 @@ const (
|
|
RTV_RTTVAR = 0x80
|
|
RTV_SPIPE = 0x10
|
|
RTV_SSTHRESH = 0x20
|
|
+ RT_TABLEID_BITS = 0x8
|
|
+ RT_TABLEID_MASK = 0xff
|
|
RT_TABLEID_MAX = 0xff
|
|
RUSAGE_CHILDREN = -0x1
|
|
RUSAGE_SELF = 0x0
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x4
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_SET = 0x0
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
SIOCADDMULTI = 0x80206931
|
|
SIOCAIFADDR = 0x8040691a
|
|
SIOCAIFGROUP = 0x80246987
|
|
- SIOCALIFADDR = 0x8218691c
|
|
SIOCATMARK = 0x40047307
|
|
- SIOCBRDGADD = 0x8054693c
|
|
- SIOCBRDGADDS = 0x80546941
|
|
- SIOCBRDGARL = 0x806e694d
|
|
+ SIOCBRDGADD = 0x805c693c
|
|
+ SIOCBRDGADDL = 0x805c6949
|
|
+ SIOCBRDGADDS = 0x805c6941
|
|
+ SIOCBRDGARL = 0x808c694d
|
|
SIOCBRDGDADDR = 0x81286947
|
|
- SIOCBRDGDEL = 0x8054693d
|
|
- SIOCBRDGDELS = 0x80546942
|
|
- SIOCBRDGFLUSH = 0x80546948
|
|
- SIOCBRDGFRL = 0x806e694e
|
|
+ SIOCBRDGDEL = 0x805c693d
|
|
+ SIOCBRDGDELS = 0x805c6942
|
|
+ SIOCBRDGFLUSH = 0x805c6948
|
|
+ SIOCBRDGFRL = 0x808c694e
|
|
SIOCBRDGGCACHE = 0xc0146941
|
|
SIOCBRDGGFD = 0xc0146952
|
|
SIOCBRDGGHT = 0xc0146951
|
|
- SIOCBRDGGIFFLGS = 0xc054693e
|
|
+ SIOCBRDGGIFFLGS = 0xc05c693e
|
|
SIOCBRDGGMA = 0xc0146953
|
|
SIOCBRDGGPARAM = 0xc03c6958
|
|
SIOCBRDGGPRI = 0xc0146950
|
|
SIOCBRDGGRL = 0xc028694f
|
|
- SIOCBRDGGSIFS = 0xc054693c
|
|
SIOCBRDGGTO = 0xc0146946
|
|
- SIOCBRDGIFS = 0xc0546942
|
|
+ SIOCBRDGIFS = 0xc05c6942
|
|
SIOCBRDGRTS = 0xc0186943
|
|
SIOCBRDGSADDR = 0xc1286944
|
|
SIOCBRDGSCACHE = 0x80146940
|
|
SIOCBRDGSFD = 0x80146952
|
|
SIOCBRDGSHT = 0x80146951
|
|
- SIOCBRDGSIFCOST = 0x80546955
|
|
- SIOCBRDGSIFFLGS = 0x8054693f
|
|
- SIOCBRDGSIFPRIO = 0x80546954
|
|
+ SIOCBRDGSIFCOST = 0x805c6955
|
|
+ SIOCBRDGSIFFLGS = 0x805c693f
|
|
+ SIOCBRDGSIFPRIO = 0x805c6954
|
|
+ SIOCBRDGSIFPROT = 0x805c694a
|
|
SIOCBRDGSMA = 0x80146953
|
|
SIOCBRDGSPRI = 0x80146950
|
|
SIOCBRDGSPROTO = 0x8014695a
|
|
SIOCBRDGSTO = 0x80146945
|
|
SIOCBRDGSTXHC = 0x80146959
|
|
+ SIOCDELLABEL = 0x80206997
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDIFADDR = 0x80206919
|
|
SIOCDIFGROUP = 0x80246989
|
|
+ SIOCDIFPARENT = 0x802069b4
|
|
SIOCDIFPHYADDR = 0x80206949
|
|
- SIOCDLIFADDR = 0x8218691e
|
|
+ SIOCDPWE3NEIGHBOR = 0x802069de
|
|
+ SIOCDVNETID = 0x802069af
|
|
SIOCGETKALIVE = 0xc01869a4
|
|
SIOCGETLABEL = 0x8020699a
|
|
+ SIOCGETMPWCFG = 0xc02069ae
|
|
SIOCGETPFLOW = 0xc02069fe
|
|
SIOCGETPFSYNC = 0xc02069f8
|
|
SIOCGETSGCNT = 0xc0147534
|
|
SIOCGETVIFCNT = 0xc0147533
|
|
SIOCGETVLAN = 0xc0206990
|
|
- SIOCGHIWAT = 0x40047301
|
|
SIOCGIFADDR = 0xc0206921
|
|
- SIOCGIFASYNCMAP = 0xc020697c
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCONF = 0xc0086924
|
|
SIOCGIFDATA = 0xc020691b
|
|
@@ -1168,40 +1332,53 @@ const (
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
SIOCGIFGATTR = 0xc024698b
|
|
SIOCGIFGENERIC = 0xc020693a
|
|
+ SIOCGIFGLIST = 0xc024698d
|
|
SIOCGIFGMEMB = 0xc024698a
|
|
SIOCGIFGROUP = 0xc0246988
|
|
SIOCGIFHARDMTU = 0xc02069a5
|
|
- SIOCGIFMEDIA = 0xc0286936
|
|
+ SIOCGIFLLPRIO = 0xc02069b6
|
|
+ SIOCGIFMEDIA = 0xc0386938
|
|
SIOCGIFMETRIC = 0xc0206917
|
|
SIOCGIFMTU = 0xc020697e
|
|
SIOCGIFNETMASK = 0xc0206925
|
|
- SIOCGIFPDSTADDR = 0xc0206948
|
|
+ SIOCGIFPAIR = 0xc02069b1
|
|
+ SIOCGIFPARENT = 0xc02069b3
|
|
SIOCGIFPRIORITY = 0xc020699c
|
|
- SIOCGIFPSRCADDR = 0xc0206947
|
|
SIOCGIFRDOMAIN = 0xc02069a0
|
|
SIOCGIFRTLABEL = 0xc0206983
|
|
- SIOCGIFTIMESLOT = 0xc0206986
|
|
+ SIOCGIFRXR = 0x802069aa
|
|
+ SIOCGIFSFFPAGE = 0xc1126939
|
|
SIOCGIFXFLAGS = 0xc020699e
|
|
- SIOCGLIFADDR = 0xc218691d
|
|
SIOCGLIFPHYADDR = 0xc218694b
|
|
+ SIOCGLIFPHYDF = 0xc02069c2
|
|
+ SIOCGLIFPHYECN = 0xc02069c8
|
|
SIOCGLIFPHYRTABLE = 0xc02069a2
|
|
SIOCGLIFPHYTTL = 0xc02069a9
|
|
- SIOCGLOWAT = 0x40047303
|
|
SIOCGPGRP = 0x40047309
|
|
+ SIOCGPWE3 = 0xc0206998
|
|
+ SIOCGPWE3CTRLWORD = 0xc02069dc
|
|
+ SIOCGPWE3FAT = 0xc02069dd
|
|
+ SIOCGPWE3NEIGHBOR = 0xc21869de
|
|
+ SIOCGRXHPRIO = 0xc02069db
|
|
SIOCGSPPPPARAMS = 0xc0206994
|
|
+ SIOCGTXHPRIO = 0xc02069c6
|
|
+ SIOCGUMBINFO = 0xc02069be
|
|
+ SIOCGUMBPARAM = 0xc02069c0
|
|
SIOCGVH = 0xc02069f6
|
|
+ SIOCGVNETFLOWID = 0xc02069c4
|
|
SIOCGVNETID = 0xc02069a7
|
|
+ SIOCIFAFATTACH = 0x801169ab
|
|
+ SIOCIFAFDETACH = 0x801169ac
|
|
SIOCIFCREATE = 0x8020697a
|
|
SIOCIFDESTROY = 0x80206979
|
|
SIOCIFGCLONERS = 0xc00c6978
|
|
SIOCSETKALIVE = 0x801869a3
|
|
SIOCSETLABEL = 0x80206999
|
|
+ SIOCSETMPWCFG = 0x802069ad
|
|
SIOCSETPFLOW = 0x802069fd
|
|
SIOCSETPFSYNC = 0x802069f7
|
|
SIOCSETVLAN = 0x8020698f
|
|
- SIOCSHIWAT = 0x80047300
|
|
SIOCSIFADDR = 0x8020690c
|
|
- SIOCSIFASYNCMAP = 0x8020697d
|
|
SIOCSIFBRDADDR = 0x80206913
|
|
SIOCSIFDESCR = 0x80206980
|
|
SIOCSIFDSTADDR = 0x8020690e
|
|
@@ -1209,25 +1386,37 @@ const (
|
|
SIOCSIFGATTR = 0x8024698c
|
|
SIOCSIFGENERIC = 0x80206939
|
|
SIOCSIFLLADDR = 0x8020691f
|
|
- SIOCSIFMEDIA = 0xc0206935
|
|
+ SIOCSIFLLPRIO = 0x802069b5
|
|
+ SIOCSIFMEDIA = 0xc0206937
|
|
SIOCSIFMETRIC = 0x80206918
|
|
SIOCSIFMTU = 0x8020697f
|
|
SIOCSIFNETMASK = 0x80206916
|
|
- SIOCSIFPHYADDR = 0x80406946
|
|
+ SIOCSIFPAIR = 0x802069b0
|
|
+ SIOCSIFPARENT = 0x802069b2
|
|
SIOCSIFPRIORITY = 0x8020699b
|
|
SIOCSIFRDOMAIN = 0x8020699f
|
|
SIOCSIFRTLABEL = 0x80206982
|
|
- SIOCSIFTIMESLOT = 0x80206985
|
|
SIOCSIFXFLAGS = 0x8020699d
|
|
SIOCSLIFPHYADDR = 0x8218694a
|
|
+ SIOCSLIFPHYDF = 0x802069c1
|
|
+ SIOCSLIFPHYECN = 0x802069c7
|
|
SIOCSLIFPHYRTABLE = 0x802069a1
|
|
SIOCSLIFPHYTTL = 0x802069a8
|
|
- SIOCSLOWAT = 0x80047302
|
|
SIOCSPGRP = 0x80047308
|
|
+ SIOCSPWE3CTRLWORD = 0x802069dc
|
|
+ SIOCSPWE3FAT = 0x802069dd
|
|
+ SIOCSPWE3NEIGHBOR = 0x821869de
|
|
+ SIOCSRXHPRIO = 0x802069db
|
|
SIOCSSPPPPARAMS = 0x80206993
|
|
+ SIOCSTXHPRIO = 0x802069c5
|
|
+ SIOCSUMBPARAM = 0x802069bf
|
|
SIOCSVH = 0xc02069f5
|
|
+ SIOCSVNETFLOWID = 0x802069c3
|
|
SIOCSVNETID = 0x802069a6
|
|
+ SOCK_CLOEXEC = 0x8000
|
|
SOCK_DGRAM = 0x2
|
|
+ SOCK_DNS = 0x1000
|
|
+ SOCK_NONBLOCK = 0x4000
|
|
SOCK_RAW = 0x3
|
|
SOCK_RDM = 0x4
|
|
SOCK_SEQPACKET = 0x5
|
|
@@ -1238,6 +1427,7 @@ const (
|
|
SO_BINDANY = 0x1000
|
|
SO_BROADCAST = 0x20
|
|
SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1024
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
@@ -1245,6 +1435,7 @@ const (
|
|
SO_NETPROC = 0x1020
|
|
SO_OOBINLINE = 0x100
|
|
SO_PEERCRED = 0x1022
|
|
+ SO_PROTOCOL = 0x1025
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
@@ -1258,6 +1449,7 @@ const (
|
|
SO_TIMESTAMP = 0x800
|
|
SO_TYPE = 0x1008
|
|
SO_USELOOPBACK = 0x40
|
|
+ SO_ZEROIZE = 0x2000
|
|
S_BLKSIZE = 0x200
|
|
S_IEXEC = 0x40
|
|
S_IFBLK = 0x6000
|
|
@@ -1287,9 +1479,23 @@ const (
|
|
S_IXOTH = 0x1
|
|
S_IXUSR = 0x40
|
|
TCIFLUSH = 0x1
|
|
+ TCIOFF = 0x3
|
|
TCIOFLUSH = 0x3
|
|
+ TCION = 0x4
|
|
TCOFLUSH = 0x2
|
|
- TCP_MAXBURST = 0x4
|
|
+ TCOOFF = 0x1
|
|
+ TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_HDR = 0x1010500
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SACK_PERMIT_HDR = 0x1010402
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_TSTAMP_HDR = 0x101080a
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_SACK = 0x3
|
|
@@ -1298,11 +1504,15 @@ const (
|
|
TCP_MSS = 0x200
|
|
TCP_NODELAY = 0x1
|
|
TCP_NOPUSH = 0x10
|
|
- TCP_NSTATES = 0xb
|
|
+ TCP_SACKHOLE_LIMIT = 0x80
|
|
TCP_SACK_ENABLE = 0x8
|
|
TCSAFLUSH = 0x2
|
|
+ TIMER_ABSTIME = 0x1
|
|
+ TIMER_RELTIME = 0x0
|
|
TIOCCBRK = 0x2000747a
|
|
TIOCCDTR = 0x20007478
|
|
+ TIOCCHKVERAUTH = 0x2000741e
|
|
+ TIOCCLRVERAUTH = 0x2000741d
|
|
TIOCCONS = 0x80047462
|
|
TIOCDRAIN = 0x2000745e
|
|
TIOCEXCL = 0x2000740d
|
|
@@ -1357,17 +1567,21 @@ const (
|
|
TIOCSETAF = 0x802c7416
|
|
TIOCSETAW = 0x802c7415
|
|
TIOCSETD = 0x8004741b
|
|
+ TIOCSETVERAUTH = 0x8004741c
|
|
TIOCSFLAGS = 0x8004745c
|
|
TIOCSIG = 0x8004745f
|
|
TIOCSPGRP = 0x80047476
|
|
TIOCSTART = 0x2000746e
|
|
- TIOCSTAT = 0x80047465
|
|
- TIOCSTI = 0x80017472
|
|
+ TIOCSTAT = 0x20007465
|
|
TIOCSTOP = 0x2000746f
|
|
TIOCSTSTAMP = 0x8008745a
|
|
TIOCSWINSZ = 0x80087467
|
|
TIOCUCNTL = 0x80047466
|
|
+ TIOCUCNTL_CBRK = 0x7a
|
|
+ TIOCUCNTL_SBRK = 0x7b
|
|
TOSTOP = 0x400000
|
|
+ UTIME_NOW = -0x2
|
|
+ UTIME_OMIT = -0x1
|
|
VDISCARD = 0xf
|
|
VDSUSP = 0xb
|
|
VEOF = 0x0
|
|
@@ -1378,6 +1592,19 @@ const (
|
|
VKILL = 0x5
|
|
VLNEXT = 0xe
|
|
VMIN = 0x10
|
|
+ VM_ANONMIN = 0x7
|
|
+ VM_LOADAVG = 0x2
|
|
+ VM_MALLOC_CONF = 0xc
|
|
+ VM_MAXID = 0xd
|
|
+ VM_MAXSLP = 0xa
|
|
+ VM_METER = 0x1
|
|
+ VM_NKMEMPAGES = 0x6
|
|
+ VM_PSSTRINGS = 0x3
|
|
+ VM_SWAPENCRYPT = 0x5
|
|
+ VM_USPACE = 0xb
|
|
+ VM_UVMEXP = 0x4
|
|
+ VM_VNODEMIN = 0x9
|
|
+ VM_VTEXTMIN = 0x8
|
|
VQUIT = 0x9
|
|
VREPRINT = 0x6
|
|
VSTART = 0xc
|
|
@@ -1390,8 +1617,8 @@ const (
|
|
WCONTINUED = 0x8
|
|
WCOREFLAG = 0x80
|
|
WNOHANG = 0x1
|
|
- WSTOPPED = 0x7f
|
|
WUNTRACED = 0x2
|
|
+ XCASE = 0x1000000
|
|
)
|
|
|
|
// Errors
|
|
@@ -1405,6 +1632,7 @@ const (
|
|
EALREADY = syscall.Errno(0x25)
|
|
EAUTH = syscall.Errno(0x50)
|
|
EBADF = syscall.Errno(0x9)
|
|
+ EBADMSG = syscall.Errno(0x5c)
|
|
EBADRPC = syscall.Errno(0x48)
|
|
EBUSY = syscall.Errno(0x10)
|
|
ECANCELED = syscall.Errno(0x58)
|
|
@@ -1431,7 +1659,7 @@ const (
|
|
EIPSEC = syscall.Errno(0x52)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x5b)
|
|
+ ELAST = syscall.Errno(0x5f)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMEDIUMTYPE = syscall.Errno(0x56)
|
|
EMFILE = syscall.Errno(0x18)
|
|
@@ -1459,12 +1687,14 @@ const (
|
|
ENOTCONN = syscall.Errno(0x39)
|
|
ENOTDIR = syscall.Errno(0x14)
|
|
ENOTEMPTY = syscall.Errno(0x42)
|
|
+ ENOTRECOVERABLE = syscall.Errno(0x5d)
|
|
ENOTSOCK = syscall.Errno(0x26)
|
|
ENOTSUP = syscall.Errno(0x5b)
|
|
ENOTTY = syscall.Errno(0x19)
|
|
ENXIO = syscall.Errno(0x6)
|
|
EOPNOTSUPP = syscall.Errno(0x2d)
|
|
EOVERFLOW = syscall.Errno(0x57)
|
|
+ EOWNERDEAD = syscall.Errno(0x5e)
|
|
EPERM = syscall.Errno(0x1)
|
|
EPFNOSUPPORT = syscall.Errno(0x2e)
|
|
EPIPE = syscall.Errno(0x20)
|
|
@@ -1472,6 +1702,7 @@ const (
|
|
EPROCUNAVAIL = syscall.Errno(0x4c)
|
|
EPROGMISMATCH = syscall.Errno(0x4b)
|
|
EPROGUNAVAIL = syscall.Errno(0x4a)
|
|
+ EPROTO = syscall.Errno(0x5f)
|
|
EPROTONOSUPPORT = syscall.Errno(0x2b)
|
|
EPROTOTYPE = syscall.Errno(0x29)
|
|
ERANGE = syscall.Errno(0x22)
|
|
@@ -1568,7 +1799,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
+ {35, "EAGAIN", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1624,7 +1855,11 @@ var errorList = [...]struct {
|
|
{88, "ECANCELED", "operation canceled"},
|
|
{89, "EIDRM", "identifier removed"},
|
|
{90, "ENOMSG", "no message of desired type"},
|
|
- {91, "ELAST", "not supported"},
|
|
+ {91, "ENOTSUP", "not supported"},
|
|
+ {92, "EBADMSG", "bad message"},
|
|
+ {93, "ENOTRECOVERABLE", "state not recoverable"},
|
|
+ {94, "EOWNERDEAD", "previous owner died"},
|
|
+ {95, "ELAST", "protocol error"},
|
|
}
|
|
|
|
// Signal table
|
|
Index: vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
|
|
--- vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
|
|
@@ -109,6 +109,15 @@ const (
|
|
BPF_DIRECTION_IN = 0x1
|
|
BPF_DIRECTION_OUT = 0x2
|
|
BPF_DIV = 0x30
|
|
+ BPF_FILDROP_CAPTURE = 0x1
|
|
+ BPF_FILDROP_DROP = 0x2
|
|
+ BPF_FILDROP_PASS = 0x0
|
|
+ BPF_F_DIR_IN = 0x10
|
|
+ BPF_F_DIR_MASK = 0x30
|
|
+ BPF_F_DIR_OUT = 0x20
|
|
+ BPF_F_DIR_SHIFT = 0x4
|
|
+ BPF_F_FLOWID = 0x8
|
|
+ BPF_F_PRI_MASK = 0x7
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -137,6 +146,7 @@ const (
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
+ BPF_RND = 0xc0
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
@@ -177,7 +187,65 @@ const (
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0xc
|
|
CTL_NET = 0x4
|
|
+ DIOCADDQUEUE = 0xc110445d
|
|
+ DIOCADDRULE = 0xcd604404
|
|
+ DIOCADDSTATE = 0xc1084425
|
|
+ DIOCCHANGERULE = 0xcd60441a
|
|
+ DIOCCLRIFFLAG = 0xc028445a
|
|
+ DIOCCLRSRCNODES = 0x20004455
|
|
+ DIOCCLRSTATES = 0xc0e04412
|
|
+ DIOCCLRSTATUS = 0xc0284416
|
|
+ DIOCGETLIMIT = 0xc0084427
|
|
+ DIOCGETQSTATS = 0xc1204460
|
|
+ DIOCGETQUEUE = 0xc110445f
|
|
+ DIOCGETQUEUES = 0xc110445e
|
|
+ DIOCGETRULE = 0xcd604407
|
|
+ DIOCGETRULES = 0xcd604406
|
|
+ DIOCGETRULESET = 0xc444443b
|
|
+ DIOCGETRULESETS = 0xc444443a
|
|
+ DIOCGETSRCNODES = 0xc0104454
|
|
+ DIOCGETSTATE = 0xc1084413
|
|
+ DIOCGETSTATES = 0xc0104419
|
|
+ DIOCGETSTATUS = 0xc1e84415
|
|
+ DIOCGETSYNFLWATS = 0xc0084463
|
|
+ DIOCGETTIMEOUT = 0xc008441e
|
|
+ DIOCIGETIFACES = 0xc0284457
|
|
+ DIOCKILLSRCNODES = 0xc080445b
|
|
+ DIOCKILLSTATES = 0xc0e04429
|
|
+ DIOCNATLOOK = 0xc0504417
|
|
+ DIOCOSFPADD = 0xc088444f
|
|
DIOCOSFPFLUSH = 0x2000444e
|
|
+ DIOCOSFPGET = 0xc0884450
|
|
+ DIOCRADDADDRS = 0xc4504443
|
|
+ DIOCRADDTABLES = 0xc450443d
|
|
+ DIOCRCLRADDRS = 0xc4504442
|
|
+ DIOCRCLRASTATS = 0xc4504448
|
|
+ DIOCRCLRTABLES = 0xc450443c
|
|
+ DIOCRCLRTSTATS = 0xc4504441
|
|
+ DIOCRDELADDRS = 0xc4504444
|
|
+ DIOCRDELTABLES = 0xc450443e
|
|
+ DIOCRGETADDRS = 0xc4504446
|
|
+ DIOCRGETASTATS = 0xc4504447
|
|
+ DIOCRGETTABLES = 0xc450443f
|
|
+ DIOCRGETTSTATS = 0xc4504440
|
|
+ DIOCRINADEFINE = 0xc450444d
|
|
+ DIOCRSETADDRS = 0xc4504445
|
|
+ DIOCRSETTFLAGS = 0xc450444a
|
|
+ DIOCRTSTADDRS = 0xc4504449
|
|
+ DIOCSETDEBUG = 0xc0044418
|
|
+ DIOCSETHOSTID = 0xc0044456
|
|
+ DIOCSETIFFLAG = 0xc0284459
|
|
+ DIOCSETLIMIT = 0xc0084428
|
|
+ DIOCSETREASS = 0xc004445c
|
|
+ DIOCSETSTATUSIF = 0xc0284414
|
|
+ DIOCSETSYNCOOKIES = 0xc0014462
|
|
+ DIOCSETSYNFLWATS = 0xc0084461
|
|
+ DIOCSETTIMEOUT = 0xc008441d
|
|
+ DIOCSTART = 0x20004401
|
|
+ DIOCSTOP = 0x20004402
|
|
+ DIOCXBEGIN = 0xc0104451
|
|
+ DIOCXCOMMIT = 0xc0104452
|
|
+ DIOCXROLLBACK = 0xc0104453
|
|
DLT_ARCNET = 0x7
|
|
DLT_ATM_RFC1483 = 0xb
|
|
DLT_AX25 = 0x3
|
|
@@ -240,6 +308,8 @@ const (
|
|
EMUL_ENABLED = 0x1
|
|
EMUL_NATIVE = 0x2
|
|
ENDRUNDISC = 0x9
|
|
+ ETH64_8021_RSVD_MASK = 0xfffffffffff0
|
|
+ ETH64_8021_RSVD_PREFIX = 0x180c2000000
|
|
ETHERMIN = 0x2e
|
|
ETHERMTU = 0x5dc
|
|
ETHERTYPE_8023 = 0x4
|
|
@@ -292,6 +362,7 @@ const (
|
|
ETHERTYPE_DN = 0x6003
|
|
ETHERTYPE_DOGFIGHT = 0x1989
|
|
ETHERTYPE_DSMD = 0x8039
|
|
+ ETHERTYPE_EAPOL = 0x888e
|
|
ETHERTYPE_ECMA = 0x803
|
|
ETHERTYPE_ENCRYPT = 0x803d
|
|
ETHERTYPE_ES = 0x805d
|
|
@@ -323,6 +394,7 @@ const (
|
|
ETHERTYPE_LLDP = 0x88cc
|
|
ETHERTYPE_LOGICRAFT = 0x8148
|
|
ETHERTYPE_LOOPBACK = 0x9000
|
|
+ ETHERTYPE_MACSEC = 0x88e5
|
|
ETHERTYPE_MATRA = 0x807a
|
|
ETHERTYPE_MAX = 0xffff
|
|
ETHERTYPE_MERIT = 0x807c
|
|
@@ -351,15 +423,17 @@ const (
|
|
ETHERTYPE_NCD = 0x8149
|
|
ETHERTYPE_NESTAR = 0x8006
|
|
ETHERTYPE_NETBEUI = 0x8191
|
|
+ ETHERTYPE_NHRP = 0x2001
|
|
ETHERTYPE_NOVELL = 0x8138
|
|
ETHERTYPE_NS = 0x600
|
|
ETHERTYPE_NSAT = 0x601
|
|
ETHERTYPE_NSCOMPAT = 0x807
|
|
+ ETHERTYPE_NSH = 0x984f
|
|
ETHERTYPE_NTRAILER = 0x10
|
|
ETHERTYPE_OS9 = 0x7007
|
|
ETHERTYPE_OS9NET = 0x7009
|
|
ETHERTYPE_PACER = 0x80c6
|
|
- ETHERTYPE_PAE = 0x888e
|
|
+ ETHERTYPE_PBB = 0x88e7
|
|
ETHERTYPE_PCS = 0x4242
|
|
ETHERTYPE_PLANNING = 0x8044
|
|
ETHERTYPE_PPP = 0x880b
|
|
@@ -441,10 +515,11 @@ const (
|
|
ETHER_VLAN_ENCAP_LEN = 0x4
|
|
EVFILT_AIO = -0x3
|
|
EVFILT_DEVICE = -0x8
|
|
+ EVFILT_EXCEPT = -0x9
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0x8
|
|
+ EVFILT_SYSCOUNT = 0x9
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
@@ -466,7 +541,7 @@ const (
|
|
EV_FLAG1 = 0x2000
|
|
EV_ONESHOT = 0x10
|
|
EV_RECEIPT = 0x40
|
|
- EV_SYSFLAGS = 0xf000
|
|
+ EV_SYSFLAGS = 0xf800
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTPROC = 0x800
|
|
@@ -732,6 +807,7 @@ const (
|
|
IFT_VOICEOVERCABLE = 0xc6
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
+ IFT_WIREGUARD = 0xfb
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
@@ -797,9 +873,11 @@ const (
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_SCTP = 0x84
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_UDP = 0x11
|
|
+ IPPROTO_UDPLITE = 0x88
|
|
IPV6_AUTH_LEVEL = 0x35
|
|
IPV6_AUTOFLOWLABEL = 0x3b
|
|
IPV6_CHECKSUM = 0x1a
|
|
@@ -906,6 +984,9 @@ const (
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IUCLC = 0x1000
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
@@ -970,12 +1051,26 @@ const (
|
|
MNT_ROOTFS = 0x4000
|
|
MNT_SOFTDEP = 0x4000000
|
|
MNT_STALLED = 0x100000
|
|
+ MNT_SWAPPABLE = 0x200000
|
|
MNT_SYNCHRONOUS = 0x2
|
|
MNT_UPDATE = 0x10000
|
|
MNT_VISFLAGMASK = 0x400ffff
|
|
MNT_WAIT = 0x1
|
|
MNT_WANTRDWR = 0x2000000
|
|
MNT_WXALLOWED = 0x800
|
|
+ MOUNT_AFS = "afs"
|
|
+ MOUNT_CD9660 = "cd9660"
|
|
+ MOUNT_EXT2FS = "ext2fs"
|
|
+ MOUNT_FFS = "ffs"
|
|
+ MOUNT_FUSEFS = "fuse"
|
|
+ MOUNT_MFS = "mfs"
|
|
+ MOUNT_MSDOS = "msdos"
|
|
+ MOUNT_NCPFS = "ncpfs"
|
|
+ MOUNT_NFS = "nfs"
|
|
+ MOUNT_NTFS = "ntfs"
|
|
+ MOUNT_TMPFS = "tmpfs"
|
|
+ MOUNT_UDF = "udf"
|
|
+ MOUNT_UFS = "ffs"
|
|
MSG_BCAST = 0x100
|
|
MSG_CMSG_CLOEXEC = 0x800
|
|
MSG_CTRUNC = 0x20
|
|
@@ -996,7 +1091,8 @@ const (
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
NET_RT_IFNAMES = 0x6
|
|
- NET_RT_MAXID = 0x7
|
|
+ NET_RT_MAXID = 0x8
|
|
+ NET_RT_SOURCE = 0x7
|
|
NET_RT_STATS = 0x4
|
|
NET_RT_TABLE = 0x5
|
|
NFDBITS = 0x20
|
|
@@ -1013,6 +1109,7 @@ const (
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
+ NOTE_OOB = 0x4
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
@@ -1130,9 +1227,11 @@ const (
|
|
RTF_STATIC = 0x800
|
|
RTF_UP = 0x1
|
|
RTF_USETRAILERS = 0x8000
|
|
+ RTM_80211INFO = 0x15
|
|
RTM_ADD = 0x1
|
|
RTM_BFD = 0x12
|
|
RTM_CHANGE = 0x3
|
|
+ RTM_CHGADDRATTR = 0x14
|
|
RTM_DELADDR = 0xd
|
|
RTM_DELETE = 0x2
|
|
RTM_DESYNC = 0x10
|
|
@@ -1140,7 +1239,6 @@ const (
|
|
RTM_IFANNOUNCE = 0xf
|
|
RTM_IFINFO = 0xe
|
|
RTM_INVALIDATE = 0x11
|
|
- RTM_LOCK = 0x8
|
|
RTM_LOSING = 0x5
|
|
RTM_MAXSIZE = 0x800
|
|
RTM_MISS = 0x7
|
|
@@ -1148,7 +1246,7 @@ const (
|
|
RTM_PROPOSAL = 0x13
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
- RTM_RTTUNIT = 0xf4240
|
|
+ RTM_SOURCE = 0x16
|
|
RTM_VERSION = 0x5
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
@@ -1166,6 +1264,9 @@ const (
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x4
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_SET = 0x0
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
@@ -1182,35 +1283,37 @@ const (
|
|
SIOCBRDGDELS = 0x80606942
|
|
SIOCBRDGFLUSH = 0x80606948
|
|
SIOCBRDGFRL = 0x808c694e
|
|
- SIOCBRDGGCACHE = 0xc0186941
|
|
- SIOCBRDGGFD = 0xc0186952
|
|
- SIOCBRDGGHT = 0xc0186951
|
|
+ SIOCBRDGGCACHE = 0xc0146941
|
|
+ SIOCBRDGGFD = 0xc0146952
|
|
+ SIOCBRDGGHT = 0xc0146951
|
|
SIOCBRDGGIFFLGS = 0xc060693e
|
|
- SIOCBRDGGMA = 0xc0186953
|
|
+ SIOCBRDGGMA = 0xc0146953
|
|
SIOCBRDGGPARAM = 0xc0406958
|
|
- SIOCBRDGGPRI = 0xc0186950
|
|
+ SIOCBRDGGPRI = 0xc0146950
|
|
SIOCBRDGGRL = 0xc030694f
|
|
- SIOCBRDGGTO = 0xc0186946
|
|
+ SIOCBRDGGTO = 0xc0146946
|
|
SIOCBRDGIFS = 0xc0606942
|
|
SIOCBRDGRTS = 0xc0206943
|
|
SIOCBRDGSADDR = 0xc1286944
|
|
- SIOCBRDGSCACHE = 0x80186940
|
|
- SIOCBRDGSFD = 0x80186952
|
|
- SIOCBRDGSHT = 0x80186951
|
|
+ SIOCBRDGSCACHE = 0x80146940
|
|
+ SIOCBRDGSFD = 0x80146952
|
|
+ SIOCBRDGSHT = 0x80146951
|
|
SIOCBRDGSIFCOST = 0x80606955
|
|
SIOCBRDGSIFFLGS = 0x8060693f
|
|
SIOCBRDGSIFPRIO = 0x80606954
|
|
SIOCBRDGSIFPROT = 0x8060694a
|
|
- SIOCBRDGSMA = 0x80186953
|
|
- SIOCBRDGSPRI = 0x80186950
|
|
- SIOCBRDGSPROTO = 0x8018695a
|
|
- SIOCBRDGSTO = 0x80186945
|
|
- SIOCBRDGSTXHC = 0x80186959
|
|
+ SIOCBRDGSMA = 0x80146953
|
|
+ SIOCBRDGSPRI = 0x80146950
|
|
+ SIOCBRDGSPROTO = 0x8014695a
|
|
+ SIOCBRDGSTO = 0x80146945
|
|
+ SIOCBRDGSTXHC = 0x80146959
|
|
+ SIOCDELLABEL = 0x80206997
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDIFADDR = 0x80206919
|
|
SIOCDIFGROUP = 0x80286989
|
|
SIOCDIFPARENT = 0x802069b4
|
|
SIOCDIFPHYADDR = 0x80206949
|
|
+ SIOCDPWE3NEIGHBOR = 0x802069de
|
|
SIOCDVNETID = 0x802069af
|
|
SIOCGETKALIVE = 0xc01869a4
|
|
SIOCGETLABEL = 0x8020699a
|
|
@@ -1229,6 +1332,7 @@ const (
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
SIOCGIFGATTR = 0xc028698b
|
|
SIOCGIFGENERIC = 0xc020693a
|
|
+ SIOCGIFGLIST = 0xc028698d
|
|
SIOCGIFGMEMB = 0xc028698a
|
|
SIOCGIFGROUP = 0xc0286988
|
|
SIOCGIFHARDMTU = 0xc02069a5
|
|
@@ -1243,13 +1347,21 @@ const (
|
|
SIOCGIFRDOMAIN = 0xc02069a0
|
|
SIOCGIFRTLABEL = 0xc0206983
|
|
SIOCGIFRXR = 0x802069aa
|
|
+ SIOCGIFSFFPAGE = 0xc1126939
|
|
SIOCGIFXFLAGS = 0xc020699e
|
|
SIOCGLIFPHYADDR = 0xc218694b
|
|
SIOCGLIFPHYDF = 0xc02069c2
|
|
+ SIOCGLIFPHYECN = 0xc02069c8
|
|
SIOCGLIFPHYRTABLE = 0xc02069a2
|
|
SIOCGLIFPHYTTL = 0xc02069a9
|
|
SIOCGPGRP = 0x40047309
|
|
+ SIOCGPWE3 = 0xc0206998
|
|
+ SIOCGPWE3CTRLWORD = 0xc02069dc
|
|
+ SIOCGPWE3FAT = 0xc02069dd
|
|
+ SIOCGPWE3NEIGHBOR = 0xc21869de
|
|
+ SIOCGRXHPRIO = 0xc02069db
|
|
SIOCGSPPPPARAMS = 0xc0206994
|
|
+ SIOCGTXHPRIO = 0xc02069c6
|
|
SIOCGUMBINFO = 0xc02069be
|
|
SIOCGUMBPARAM = 0xc02069c0
|
|
SIOCGVH = 0xc02069f6
|
|
@@ -1287,19 +1399,20 @@ const (
|
|
SIOCSIFXFLAGS = 0x8020699d
|
|
SIOCSLIFPHYADDR = 0x8218694a
|
|
SIOCSLIFPHYDF = 0x802069c1
|
|
+ SIOCSLIFPHYECN = 0x802069c7
|
|
SIOCSLIFPHYRTABLE = 0x802069a1
|
|
SIOCSLIFPHYTTL = 0x802069a8
|
|
SIOCSPGRP = 0x80047308
|
|
+ SIOCSPWE3CTRLWORD = 0x802069dc
|
|
+ SIOCSPWE3FAT = 0x802069dd
|
|
+ SIOCSPWE3NEIGHBOR = 0x821869de
|
|
+ SIOCSRXHPRIO = 0x802069db
|
|
SIOCSSPPPPARAMS = 0x80206993
|
|
+ SIOCSTXHPRIO = 0x802069c5
|
|
SIOCSUMBPARAM = 0x802069bf
|
|
SIOCSVH = 0xc02069f5
|
|
SIOCSVNETFLOWID = 0x802069c3
|
|
SIOCSVNETID = 0x802069a6
|
|
- SIOCSWGDPID = 0xc018695b
|
|
- SIOCSWGMAXFLOW = 0xc0186960
|
|
- SIOCSWGMAXGROUP = 0xc018695d
|
|
- SIOCSWSDPID = 0x8018695c
|
|
- SIOCSWSPORTNO = 0xc060695f
|
|
SOCK_CLOEXEC = 0x8000
|
|
SOCK_DGRAM = 0x2
|
|
SOCK_DNS = 0x1000
|
|
@@ -1314,6 +1427,7 @@ const (
|
|
SO_BINDANY = 0x1000
|
|
SO_BROADCAST = 0x20
|
|
SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1024
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
@@ -1321,6 +1435,7 @@ const (
|
|
SO_NETPROC = 0x1020
|
|
SO_OOBINLINE = 0x100
|
|
SO_PEERCRED = 0x1022
|
|
+ SO_PROTOCOL = 0x1025
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
@@ -1370,7 +1485,17 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
- TCP_MAXBURST = 0x4
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_HDR = 0x1010500
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SACK_PERMIT_HDR = 0x1010402
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_TSTAMP_HDR = 0x101080a
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_SACK = 0x3
|
|
@@ -1379,8 +1504,11 @@ const (
|
|
TCP_MSS = 0x200
|
|
TCP_NODELAY = 0x1
|
|
TCP_NOPUSH = 0x10
|
|
+ TCP_SACKHOLE_LIMIT = 0x80
|
|
TCP_SACK_ENABLE = 0x8
|
|
TCSAFLUSH = 0x2
|
|
+ TIMER_ABSTIME = 0x1
|
|
+ TIMER_RELTIME = 0x0
|
|
TIOCCBRK = 0x2000747a
|
|
TIOCCDTR = 0x20007478
|
|
TIOCCHKVERAUTH = 0x2000741e
|
|
@@ -1445,7 +1573,6 @@ const (
|
|
TIOCSPGRP = 0x80047476
|
|
TIOCSTART = 0x2000746e
|
|
TIOCSTAT = 0x20007465
|
|
- TIOCSTI = 0x80017472
|
|
TIOCSTOP = 0x2000746f
|
|
TIOCSTSTAMP = 0x8008745a
|
|
TIOCSWINSZ = 0x80087467
|
|
@@ -1467,7 +1594,8 @@ const (
|
|
VMIN = 0x10
|
|
VM_ANONMIN = 0x7
|
|
VM_LOADAVG = 0x2
|
|
- VM_MAXID = 0xc
|
|
+ VM_MALLOC_CONF = 0xc
|
|
+ VM_MAXID = 0xd
|
|
VM_MAXSLP = 0xa
|
|
VM_METER = 0x1
|
|
VM_NKMEMPAGES = 0x6
|
|
Index: vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
|
|
--- vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
|
|
@@ -112,6 +112,12 @@ const (
|
|
BPF_FILDROP_CAPTURE = 0x1
|
|
BPF_FILDROP_DROP = 0x2
|
|
BPF_FILDROP_PASS = 0x0
|
|
+ BPF_F_DIR_IN = 0x10
|
|
+ BPF_F_DIR_MASK = 0x30
|
|
+ BPF_F_DIR_OUT = 0x20
|
|
+ BPF_F_DIR_SHIFT = 0x4
|
|
+ BPF_F_FLOWID = 0x8
|
|
+ BPF_F_PRI_MASK = 0x7
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -140,6 +146,7 @@ const (
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
+ BPF_RND = 0xc0
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
@@ -180,7 +187,65 @@ const (
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0xc
|
|
CTL_NET = 0x4
|
|
+ DIOCADDQUEUE = 0xc110445d
|
|
+ DIOCADDRULE = 0xcd604404
|
|
+ DIOCADDSTATE = 0xc1084425
|
|
+ DIOCCHANGERULE = 0xcd60441a
|
|
+ DIOCCLRIFFLAG = 0xc028445a
|
|
+ DIOCCLRSRCNODES = 0x20004455
|
|
+ DIOCCLRSTATES = 0xc0e04412
|
|
+ DIOCCLRSTATUS = 0xc0284416
|
|
+ DIOCGETLIMIT = 0xc0084427
|
|
+ DIOCGETQSTATS = 0xc1204460
|
|
+ DIOCGETQUEUE = 0xc110445f
|
|
+ DIOCGETQUEUES = 0xc110445e
|
|
+ DIOCGETRULE = 0xcd604407
|
|
+ DIOCGETRULES = 0xcd604406
|
|
+ DIOCGETRULESET = 0xc444443b
|
|
+ DIOCGETRULESETS = 0xc444443a
|
|
+ DIOCGETSRCNODES = 0xc0104454
|
|
+ DIOCGETSTATE = 0xc1084413
|
|
+ DIOCGETSTATES = 0xc0104419
|
|
+ DIOCGETSTATUS = 0xc1e84415
|
|
+ DIOCGETSYNFLWATS = 0xc0084463
|
|
+ DIOCGETTIMEOUT = 0xc008441e
|
|
+ DIOCIGETIFACES = 0xc0284457
|
|
+ DIOCKILLSRCNODES = 0xc080445b
|
|
+ DIOCKILLSTATES = 0xc0e04429
|
|
+ DIOCNATLOOK = 0xc0504417
|
|
+ DIOCOSFPADD = 0xc088444f
|
|
DIOCOSFPFLUSH = 0x2000444e
|
|
+ DIOCOSFPGET = 0xc0884450
|
|
+ DIOCRADDADDRS = 0xc4504443
|
|
+ DIOCRADDTABLES = 0xc450443d
|
|
+ DIOCRCLRADDRS = 0xc4504442
|
|
+ DIOCRCLRASTATS = 0xc4504448
|
|
+ DIOCRCLRTABLES = 0xc450443c
|
|
+ DIOCRCLRTSTATS = 0xc4504441
|
|
+ DIOCRDELADDRS = 0xc4504444
|
|
+ DIOCRDELTABLES = 0xc450443e
|
|
+ DIOCRGETADDRS = 0xc4504446
|
|
+ DIOCRGETASTATS = 0xc4504447
|
|
+ DIOCRGETTABLES = 0xc450443f
|
|
+ DIOCRGETTSTATS = 0xc4504440
|
|
+ DIOCRINADEFINE = 0xc450444d
|
|
+ DIOCRSETADDRS = 0xc4504445
|
|
+ DIOCRSETTFLAGS = 0xc450444a
|
|
+ DIOCRTSTADDRS = 0xc4504449
|
|
+ DIOCSETDEBUG = 0xc0044418
|
|
+ DIOCSETHOSTID = 0xc0044456
|
|
+ DIOCSETIFFLAG = 0xc0284459
|
|
+ DIOCSETLIMIT = 0xc0084428
|
|
+ DIOCSETREASS = 0xc004445c
|
|
+ DIOCSETSTATUSIF = 0xc0284414
|
|
+ DIOCSETSYNCOOKIES = 0xc0014462
|
|
+ DIOCSETSYNFLWATS = 0xc0084461
|
|
+ DIOCSETTIMEOUT = 0xc008441d
|
|
+ DIOCSTART = 0x20004401
|
|
+ DIOCSTOP = 0x20004402
|
|
+ DIOCXBEGIN = 0xc0104451
|
|
+ DIOCXCOMMIT = 0xc0104452
|
|
+ DIOCXROLLBACK = 0xc0104453
|
|
DLT_ARCNET = 0x7
|
|
DLT_ATM_RFC1483 = 0xb
|
|
DLT_AX25 = 0x3
|
|
@@ -243,6 +308,8 @@ const (
|
|
EMUL_ENABLED = 0x1
|
|
EMUL_NATIVE = 0x2
|
|
ENDRUNDISC = 0x9
|
|
+ ETH64_8021_RSVD_MASK = 0xfffffffffff0
|
|
+ ETH64_8021_RSVD_PREFIX = 0x180c2000000
|
|
ETHERMIN = 0x2e
|
|
ETHERMTU = 0x5dc
|
|
ETHERTYPE_8023 = 0x4
|
|
@@ -295,6 +362,7 @@ const (
|
|
ETHERTYPE_DN = 0x6003
|
|
ETHERTYPE_DOGFIGHT = 0x1989
|
|
ETHERTYPE_DSMD = 0x8039
|
|
+ ETHERTYPE_EAPOL = 0x888e
|
|
ETHERTYPE_ECMA = 0x803
|
|
ETHERTYPE_ENCRYPT = 0x803d
|
|
ETHERTYPE_ES = 0x805d
|
|
@@ -326,6 +394,7 @@ const (
|
|
ETHERTYPE_LLDP = 0x88cc
|
|
ETHERTYPE_LOGICRAFT = 0x8148
|
|
ETHERTYPE_LOOPBACK = 0x9000
|
|
+ ETHERTYPE_MACSEC = 0x88e5
|
|
ETHERTYPE_MATRA = 0x807a
|
|
ETHERTYPE_MAX = 0xffff
|
|
ETHERTYPE_MERIT = 0x807c
|
|
@@ -354,15 +423,16 @@ const (
|
|
ETHERTYPE_NCD = 0x8149
|
|
ETHERTYPE_NESTAR = 0x8006
|
|
ETHERTYPE_NETBEUI = 0x8191
|
|
+ ETHERTYPE_NHRP = 0x2001
|
|
ETHERTYPE_NOVELL = 0x8138
|
|
ETHERTYPE_NS = 0x600
|
|
ETHERTYPE_NSAT = 0x601
|
|
ETHERTYPE_NSCOMPAT = 0x807
|
|
+ ETHERTYPE_NSH = 0x984f
|
|
ETHERTYPE_NTRAILER = 0x10
|
|
ETHERTYPE_OS9 = 0x7007
|
|
ETHERTYPE_OS9NET = 0x7009
|
|
ETHERTYPE_PACER = 0x80c6
|
|
- ETHERTYPE_PAE = 0x888e
|
|
ETHERTYPE_PBB = 0x88e7
|
|
ETHERTYPE_PCS = 0x4242
|
|
ETHERTYPE_PLANNING = 0x8044
|
|
@@ -445,10 +515,11 @@ const (
|
|
ETHER_VLAN_ENCAP_LEN = 0x4
|
|
EVFILT_AIO = -0x3
|
|
EVFILT_DEVICE = -0x8
|
|
+ EVFILT_EXCEPT = -0x9
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0x8
|
|
+ EVFILT_SYSCOUNT = 0x9
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
@@ -470,7 +541,7 @@ const (
|
|
EV_FLAG1 = 0x2000
|
|
EV_ONESHOT = 0x10
|
|
EV_RECEIPT = 0x40
|
|
- EV_SYSFLAGS = 0xf000
|
|
+ EV_SYSFLAGS = 0xf800
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTPROC = 0x800
|
|
@@ -736,6 +807,7 @@ const (
|
|
IFT_VOICEOVERCABLE = 0xc6
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
+ IFT_WIREGUARD = 0xfb
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
@@ -801,9 +873,11 @@ const (
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_SCTP = 0x84
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_UDP = 0x11
|
|
+ IPPROTO_UDPLITE = 0x88
|
|
IPV6_AUTH_LEVEL = 0x35
|
|
IPV6_AUTOFLOWLABEL = 0x3b
|
|
IPV6_CHECKSUM = 0x1a
|
|
@@ -910,6 +984,9 @@ const (
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IUCLC = 0x1000
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
@@ -981,6 +1058,19 @@ const (
|
|
MNT_WAIT = 0x1
|
|
MNT_WANTRDWR = 0x2000000
|
|
MNT_WXALLOWED = 0x800
|
|
+ MOUNT_AFS = "afs"
|
|
+ MOUNT_CD9660 = "cd9660"
|
|
+ MOUNT_EXT2FS = "ext2fs"
|
|
+ MOUNT_FFS = "ffs"
|
|
+ MOUNT_FUSEFS = "fuse"
|
|
+ MOUNT_MFS = "mfs"
|
|
+ MOUNT_MSDOS = "msdos"
|
|
+ MOUNT_NCPFS = "ncpfs"
|
|
+ MOUNT_NFS = "nfs"
|
|
+ MOUNT_NTFS = "ntfs"
|
|
+ MOUNT_TMPFS = "tmpfs"
|
|
+ MOUNT_UDF = "udf"
|
|
+ MOUNT_UFS = "ffs"
|
|
MSG_BCAST = 0x100
|
|
MSG_CMSG_CLOEXEC = 0x800
|
|
MSG_CTRUNC = 0x20
|
|
@@ -1001,7 +1091,8 @@ const (
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
NET_RT_IFNAMES = 0x6
|
|
- NET_RT_MAXID = 0x7
|
|
+ NET_RT_MAXID = 0x8
|
|
+ NET_RT_SOURCE = 0x7
|
|
NET_RT_STATS = 0x4
|
|
NET_RT_TABLE = 0x5
|
|
NFDBITS = 0x20
|
|
@@ -1018,6 +1109,7 @@ const (
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
+ NOTE_OOB = 0x4
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
@@ -1154,7 +1246,7 @@ const (
|
|
RTM_PROPOSAL = 0x13
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
- RTM_RTTUNIT = 0xf4240
|
|
+ RTM_SOURCE = 0x16
|
|
RTM_VERSION = 0x5
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
@@ -1172,6 +1264,9 @@ const (
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x4
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_SET = 0x0
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
@@ -1188,30 +1283,30 @@ const (
|
|
SIOCBRDGDELS = 0x80606942
|
|
SIOCBRDGFLUSH = 0x80606948
|
|
SIOCBRDGFRL = 0x808c694e
|
|
- SIOCBRDGGCACHE = 0xc0186941
|
|
- SIOCBRDGGFD = 0xc0186952
|
|
- SIOCBRDGGHT = 0xc0186951
|
|
+ SIOCBRDGGCACHE = 0xc0146941
|
|
+ SIOCBRDGGFD = 0xc0146952
|
|
+ SIOCBRDGGHT = 0xc0146951
|
|
SIOCBRDGGIFFLGS = 0xc060693e
|
|
- SIOCBRDGGMA = 0xc0186953
|
|
+ SIOCBRDGGMA = 0xc0146953
|
|
SIOCBRDGGPARAM = 0xc0406958
|
|
- SIOCBRDGGPRI = 0xc0186950
|
|
+ SIOCBRDGGPRI = 0xc0146950
|
|
SIOCBRDGGRL = 0xc030694f
|
|
- SIOCBRDGGTO = 0xc0186946
|
|
+ SIOCBRDGGTO = 0xc0146946
|
|
SIOCBRDGIFS = 0xc0606942
|
|
SIOCBRDGRTS = 0xc0206943
|
|
SIOCBRDGSADDR = 0xc1286944
|
|
- SIOCBRDGSCACHE = 0x80186940
|
|
- SIOCBRDGSFD = 0x80186952
|
|
- SIOCBRDGSHT = 0x80186951
|
|
+ SIOCBRDGSCACHE = 0x80146940
|
|
+ SIOCBRDGSFD = 0x80146952
|
|
+ SIOCBRDGSHT = 0x80146951
|
|
SIOCBRDGSIFCOST = 0x80606955
|
|
SIOCBRDGSIFFLGS = 0x8060693f
|
|
SIOCBRDGSIFPRIO = 0x80606954
|
|
SIOCBRDGSIFPROT = 0x8060694a
|
|
- SIOCBRDGSMA = 0x80186953
|
|
- SIOCBRDGSPRI = 0x80186950
|
|
- SIOCBRDGSPROTO = 0x8018695a
|
|
- SIOCBRDGSTO = 0x80186945
|
|
- SIOCBRDGSTXHC = 0x80186959
|
|
+ SIOCBRDGSMA = 0x80146953
|
|
+ SIOCBRDGSPRI = 0x80146950
|
|
+ SIOCBRDGSPROTO = 0x8014695a
|
|
+ SIOCBRDGSTO = 0x80146945
|
|
+ SIOCBRDGSTXHC = 0x80146959
|
|
SIOCDELLABEL = 0x80206997
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDIFADDR = 0x80206919
|
|
@@ -1264,6 +1359,7 @@ const (
|
|
SIOCGPWE3CTRLWORD = 0xc02069dc
|
|
SIOCGPWE3FAT = 0xc02069dd
|
|
SIOCGPWE3NEIGHBOR = 0xc21869de
|
|
+ SIOCGRXHPRIO = 0xc02069db
|
|
SIOCGSPPPPARAMS = 0xc0206994
|
|
SIOCGTXHPRIO = 0xc02069c6
|
|
SIOCGUMBINFO = 0xc02069be
|
|
@@ -1310,17 +1406,13 @@ const (
|
|
SIOCSPWE3CTRLWORD = 0x802069dc
|
|
SIOCSPWE3FAT = 0x802069dd
|
|
SIOCSPWE3NEIGHBOR = 0x821869de
|
|
+ SIOCSRXHPRIO = 0x802069db
|
|
SIOCSSPPPPARAMS = 0x80206993
|
|
SIOCSTXHPRIO = 0x802069c5
|
|
SIOCSUMBPARAM = 0x802069bf
|
|
SIOCSVH = 0xc02069f5
|
|
SIOCSVNETFLOWID = 0x802069c3
|
|
SIOCSVNETID = 0x802069a6
|
|
- SIOCSWGDPID = 0xc018695b
|
|
- SIOCSWGMAXFLOW = 0xc0186960
|
|
- SIOCSWGMAXGROUP = 0xc018695d
|
|
- SIOCSWSDPID = 0x8018695c
|
|
- SIOCSWSPORTNO = 0xc060695f
|
|
SOCK_CLOEXEC = 0x8000
|
|
SOCK_DGRAM = 0x2
|
|
SOCK_DNS = 0x1000
|
|
@@ -1335,6 +1427,7 @@ const (
|
|
SO_BINDANY = 0x1000
|
|
SO_BROADCAST = 0x20
|
|
SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1024
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
@@ -1342,6 +1435,7 @@ const (
|
|
SO_NETPROC = 0x1020
|
|
SO_OOBINLINE = 0x100
|
|
SO_PEERCRED = 0x1022
|
|
+ SO_PROTOCOL = 0x1025
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
@@ -1391,7 +1485,17 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
- TCP_MAXBURST = 0x4
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_HDR = 0x1010500
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SACK_PERMIT_HDR = 0x1010402
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_TSTAMP_HDR = 0x101080a
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_SACK = 0x3
|
|
@@ -1400,6 +1504,7 @@ const (
|
|
TCP_MSS = 0x200
|
|
TCP_NODELAY = 0x1
|
|
TCP_NOPUSH = 0x10
|
|
+ TCP_SACKHOLE_LIMIT = 0x80
|
|
TCP_SACK_ENABLE = 0x8
|
|
TCSAFLUSH = 0x2
|
|
TIMER_ABSTIME = 0x1
|
|
Index: vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
|
|
--- vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
|
|
@@ -46,6 +46,7 @@ const (
|
|
AF_SNA = 0xb
|
|
AF_UNIX = 0x1
|
|
AF_UNSPEC = 0x0
|
|
+ ALTWERASE = 0x200
|
|
ARPHRD_ETHER = 0x1
|
|
ARPHRD_FRELAY = 0xf
|
|
ARPHRD_IEEE1394 = 0x18
|
|
@@ -82,7 +83,7 @@ const (
|
|
BIOCGFILDROP = 0x40044278
|
|
BIOCGHDRCMPLT = 0x40044274
|
|
BIOCGRSIG = 0x40044273
|
|
- BIOCGRTIMEOUT = 0x400c426e
|
|
+ BIOCGRTIMEOUT = 0x4010426e
|
|
BIOCGSTATS = 0x4008426f
|
|
BIOCIMMEDIATE = 0x80044270
|
|
BIOCLOCK = 0x20004276
|
|
@@ -96,7 +97,7 @@ const (
|
|
BIOCSFILDROP = 0x80044279
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
BIOCSRSIG = 0x80044272
|
|
- BIOCSRTIMEOUT = 0x800c426d
|
|
+ BIOCSRTIMEOUT = 0x8010426d
|
|
BIOCVERSION = 0x40044271
|
|
BPF_A = 0x10
|
|
BPF_ABS = 0x20
|
|
@@ -108,6 +109,15 @@ const (
|
|
BPF_DIRECTION_IN = 0x1
|
|
BPF_DIRECTION_OUT = 0x2
|
|
BPF_DIV = 0x30
|
|
+ BPF_FILDROP_CAPTURE = 0x1
|
|
+ BPF_FILDROP_DROP = 0x2
|
|
+ BPF_FILDROP_PASS = 0x0
|
|
+ BPF_F_DIR_IN = 0x10
|
|
+ BPF_F_DIR_MASK = 0x30
|
|
+ BPF_F_DIR_OUT = 0x20
|
|
+ BPF_F_DIR_SHIFT = 0x4
|
|
+ BPF_F_FLOWID = 0x8
|
|
+ BPF_F_PRI_MASK = 0x7
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -136,6 +146,7 @@ const (
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
+ BPF_RND = 0xc0
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
@@ -147,6 +158,12 @@ const (
|
|
BRKINT = 0x2
|
|
CFLUSH = 0xf
|
|
CLOCAL = 0x8000
|
|
+ CLOCK_BOOTTIME = 0x6
|
|
+ CLOCK_MONOTONIC = 0x3
|
|
+ CLOCK_PROCESS_CPUTIME_ID = 0x2
|
|
+ CLOCK_REALTIME = 0x0
|
|
+ CLOCK_THREAD_CPUTIME_ID = 0x4
|
|
+ CLOCK_UPTIME = 0x5
|
|
CPUSTATES = 0x6
|
|
CP_IDLE = 0x5
|
|
CP_INTR = 0x4
|
|
@@ -170,7 +187,65 @@ const (
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0xc
|
|
CTL_NET = 0x4
|
|
+ DIOCADDQUEUE = 0xc100445d
|
|
+ DIOCADDRULE = 0xcce04404
|
|
+ DIOCADDSTATE = 0xc1084425
|
|
+ DIOCCHANGERULE = 0xcce0441a
|
|
+ DIOCCLRIFFLAG = 0xc024445a
|
|
+ DIOCCLRSRCNODES = 0x20004455
|
|
+ DIOCCLRSTATES = 0xc0d04412
|
|
+ DIOCCLRSTATUS = 0xc0244416
|
|
+ DIOCGETLIMIT = 0xc0084427
|
|
+ DIOCGETQSTATS = 0xc1084460
|
|
+ DIOCGETQUEUE = 0xc100445f
|
|
+ DIOCGETQUEUES = 0xc100445e
|
|
+ DIOCGETRULE = 0xcce04407
|
|
+ DIOCGETRULES = 0xcce04406
|
|
+ DIOCGETRULESET = 0xc444443b
|
|
+ DIOCGETRULESETS = 0xc444443a
|
|
+ DIOCGETSRCNODES = 0xc0084454
|
|
+ DIOCGETSTATE = 0xc1084413
|
|
+ DIOCGETSTATES = 0xc0084419
|
|
+ DIOCGETSTATUS = 0xc1e84415
|
|
+ DIOCGETSYNFLWATS = 0xc0084463
|
|
+ DIOCGETTIMEOUT = 0xc008441e
|
|
+ DIOCIGETIFACES = 0xc0244457
|
|
+ DIOCKILLSRCNODES = 0xc068445b
|
|
+ DIOCKILLSTATES = 0xc0d04429
|
|
+ DIOCNATLOOK = 0xc0504417
|
|
+ DIOCOSFPADD = 0xc088444f
|
|
DIOCOSFPFLUSH = 0x2000444e
|
|
+ DIOCOSFPGET = 0xc0884450
|
|
+ DIOCRADDADDRS = 0xc44c4443
|
|
+ DIOCRADDTABLES = 0xc44c443d
|
|
+ DIOCRCLRADDRS = 0xc44c4442
|
|
+ DIOCRCLRASTATS = 0xc44c4448
|
|
+ DIOCRCLRTABLES = 0xc44c443c
|
|
+ DIOCRCLRTSTATS = 0xc44c4441
|
|
+ DIOCRDELADDRS = 0xc44c4444
|
|
+ DIOCRDELTABLES = 0xc44c443e
|
|
+ DIOCRGETADDRS = 0xc44c4446
|
|
+ DIOCRGETASTATS = 0xc44c4447
|
|
+ DIOCRGETTABLES = 0xc44c443f
|
|
+ DIOCRGETTSTATS = 0xc44c4440
|
|
+ DIOCRINADEFINE = 0xc44c444d
|
|
+ DIOCRSETADDRS = 0xc44c4445
|
|
+ DIOCRSETTFLAGS = 0xc44c444a
|
|
+ DIOCRTSTADDRS = 0xc44c4449
|
|
+ DIOCSETDEBUG = 0xc0044418
|
|
+ DIOCSETHOSTID = 0xc0044456
|
|
+ DIOCSETIFFLAG = 0xc0244459
|
|
+ DIOCSETLIMIT = 0xc0084428
|
|
+ DIOCSETREASS = 0xc004445c
|
|
+ DIOCSETSTATUSIF = 0xc0244414
|
|
+ DIOCSETSYNCOOKIES = 0xc0014462
|
|
+ DIOCSETSYNFLWATS = 0xc0084461
|
|
+ DIOCSETTIMEOUT = 0xc008441d
|
|
+ DIOCSTART = 0x20004401
|
|
+ DIOCSTOP = 0x20004402
|
|
+ DIOCXBEGIN = 0xc00c4451
|
|
+ DIOCXCOMMIT = 0xc00c4452
|
|
+ DIOCXROLLBACK = 0xc00c4453
|
|
DLT_ARCNET = 0x7
|
|
DLT_ATM_RFC1483 = 0xb
|
|
DLT_AX25 = 0x3
|
|
@@ -186,6 +261,7 @@ const (
|
|
DLT_LOOP = 0xc
|
|
DLT_MPLS = 0xdb
|
|
DLT_NULL = 0x0
|
|
+ DLT_OPENFLOW = 0x10b
|
|
DLT_PFLOG = 0x75
|
|
DLT_PFSYNC = 0x12
|
|
DLT_PPP = 0x9
|
|
@@ -196,6 +272,23 @@ const (
|
|
DLT_RAW = 0xe
|
|
DLT_SLIP = 0x8
|
|
DLT_SLIP_BSDOS = 0xf
|
|
+ DLT_USBPCAP = 0xf9
|
|
+ DLT_USER0 = 0x93
|
|
+ DLT_USER1 = 0x94
|
|
+ DLT_USER10 = 0x9d
|
|
+ DLT_USER11 = 0x9e
|
|
+ DLT_USER12 = 0x9f
|
|
+ DLT_USER13 = 0xa0
|
|
+ DLT_USER14 = 0xa1
|
|
+ DLT_USER15 = 0xa2
|
|
+ DLT_USER2 = 0x95
|
|
+ DLT_USER3 = 0x96
|
|
+ DLT_USER4 = 0x97
|
|
+ DLT_USER5 = 0x98
|
|
+ DLT_USER6 = 0x99
|
|
+ DLT_USER7 = 0x9a
|
|
+ DLT_USER8 = 0x9b
|
|
+ DLT_USER9 = 0x9c
|
|
DT_BLK = 0x6
|
|
DT_CHR = 0x2
|
|
DT_DIR = 0x4
|
|
@@ -215,6 +308,8 @@ const (
|
|
EMUL_ENABLED = 0x1
|
|
EMUL_NATIVE = 0x2
|
|
ENDRUNDISC = 0x9
|
|
+ ETH64_8021_RSVD_MASK = 0xfffffffffff0
|
|
+ ETH64_8021_RSVD_PREFIX = 0x180c2000000
|
|
ETHERMIN = 0x2e
|
|
ETHERMTU = 0x5dc
|
|
ETHERTYPE_8023 = 0x4
|
|
@@ -267,6 +362,7 @@ const (
|
|
ETHERTYPE_DN = 0x6003
|
|
ETHERTYPE_DOGFIGHT = 0x1989
|
|
ETHERTYPE_DSMD = 0x8039
|
|
+ ETHERTYPE_EAPOL = 0x888e
|
|
ETHERTYPE_ECMA = 0x803
|
|
ETHERTYPE_ENCRYPT = 0x803d
|
|
ETHERTYPE_ES = 0x805d
|
|
@@ -298,6 +394,7 @@ const (
|
|
ETHERTYPE_LLDP = 0x88cc
|
|
ETHERTYPE_LOGICRAFT = 0x8148
|
|
ETHERTYPE_LOOPBACK = 0x9000
|
|
+ ETHERTYPE_MACSEC = 0x88e5
|
|
ETHERTYPE_MATRA = 0x807a
|
|
ETHERTYPE_MAX = 0xffff
|
|
ETHERTYPE_MERIT = 0x807c
|
|
@@ -326,15 +423,17 @@ const (
|
|
ETHERTYPE_NCD = 0x8149
|
|
ETHERTYPE_NESTAR = 0x8006
|
|
ETHERTYPE_NETBEUI = 0x8191
|
|
+ ETHERTYPE_NHRP = 0x2001
|
|
ETHERTYPE_NOVELL = 0x8138
|
|
ETHERTYPE_NS = 0x600
|
|
ETHERTYPE_NSAT = 0x601
|
|
ETHERTYPE_NSCOMPAT = 0x807
|
|
+ ETHERTYPE_NSH = 0x984f
|
|
ETHERTYPE_NTRAILER = 0x10
|
|
ETHERTYPE_OS9 = 0x7007
|
|
ETHERTYPE_OS9NET = 0x7009
|
|
ETHERTYPE_PACER = 0x80c6
|
|
- ETHERTYPE_PAE = 0x888e
|
|
+ ETHERTYPE_PBB = 0x88e7
|
|
ETHERTYPE_PCS = 0x4242
|
|
ETHERTYPE_PLANNING = 0x8044
|
|
ETHERTYPE_PPP = 0x880b
|
|
@@ -409,28 +508,40 @@ const (
|
|
ETHER_CRC_POLY_LE = 0xedb88320
|
|
ETHER_HDR_LEN = 0xe
|
|
ETHER_MAX_DIX_LEN = 0x600
|
|
+ ETHER_MAX_HARDMTU_LEN = 0xff9b
|
|
ETHER_MAX_LEN = 0x5ee
|
|
ETHER_MIN_LEN = 0x40
|
|
ETHER_TYPE_LEN = 0x2
|
|
ETHER_VLAN_ENCAP_LEN = 0x4
|
|
EVFILT_AIO = -0x3
|
|
+ EVFILT_DEVICE = -0x8
|
|
+ EVFILT_EXCEPT = -0x9
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0x7
|
|
+ EVFILT_SYSCOUNT = 0x9
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
+ EVL_ENCAPLEN = 0x4
|
|
+ EVL_PRIO_BITS = 0xd
|
|
+ EVL_PRIO_MAX = 0x7
|
|
+ EVL_VLID_MASK = 0xfff
|
|
+ EVL_VLID_MAX = 0xffe
|
|
+ EVL_VLID_MIN = 0x1
|
|
+ EVL_VLID_NULL = 0x0
|
|
EV_ADD = 0x1
|
|
EV_CLEAR = 0x20
|
|
EV_DELETE = 0x2
|
|
EV_DISABLE = 0x8
|
|
+ EV_DISPATCH = 0x80
|
|
EV_ENABLE = 0x4
|
|
EV_EOF = 0x8000
|
|
EV_ERROR = 0x4000
|
|
EV_FLAG1 = 0x2000
|
|
EV_ONESHOT = 0x10
|
|
- EV_SYSFLAGS = 0xf000
|
|
+ EV_RECEIPT = 0x40
|
|
+ EV_SYSFLAGS = 0xf800
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTPROC = 0x800
|
|
@@ -443,6 +554,8 @@ const (
|
|
F_GETFL = 0x3
|
|
F_GETLK = 0x7
|
|
F_GETOWN = 0x5
|
|
+ F_ISATTY = 0xb
|
|
+ F_OK = 0x0
|
|
F_RDLCK = 0x1
|
|
F_SETFD = 0x2
|
|
F_SETFL = 0x4
|
|
@@ -459,7 +572,6 @@ const (
|
|
IEXTEN = 0x400
|
|
IFAN_ARRIVAL = 0x0
|
|
IFAN_DEPARTURE = 0x1
|
|
- IFA_ROUTE = 0x1
|
|
IFF_ALLMULTI = 0x200
|
|
IFF_BROADCAST = 0x2
|
|
IFF_CANTCHANGE = 0x8e52
|
|
@@ -470,12 +582,12 @@ const (
|
|
IFF_LOOPBACK = 0x8
|
|
IFF_MULTICAST = 0x8000
|
|
IFF_NOARP = 0x80
|
|
- IFF_NOTRAILERS = 0x20
|
|
IFF_OACTIVE = 0x400
|
|
IFF_POINTOPOINT = 0x10
|
|
IFF_PROMISC = 0x100
|
|
IFF_RUNNING = 0x40
|
|
IFF_SIMPLEX = 0x800
|
|
+ IFF_STATICARP = 0x20
|
|
IFF_UP = 0x1
|
|
IFNAMSIZ = 0x10
|
|
IFT_1822 = 0x2
|
|
@@ -604,6 +716,7 @@ const (
|
|
IFT_LINEGROUP = 0xd2
|
|
IFT_LOCALTALK = 0x2a
|
|
IFT_LOOP = 0x18
|
|
+ IFT_MBIM = 0xfa
|
|
IFT_MEDIAMAILOVERIP = 0x8b
|
|
IFT_MFSIGLINK = 0xa7
|
|
IFT_MIOX25 = 0x26
|
|
@@ -694,6 +807,7 @@ const (
|
|
IFT_VOICEOVERCABLE = 0xc6
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
+ IFT_WIREGUARD = 0xfb
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
@@ -728,8 +842,6 @@ const (
|
|
IPPROTO_AH = 0x33
|
|
IPPROTO_CARP = 0x70
|
|
IPPROTO_DIVERT = 0x102
|
|
- IPPROTO_DIVERT_INIT = 0x2
|
|
- IPPROTO_DIVERT_RESP = 0x1
|
|
IPPROTO_DONE = 0x101
|
|
IPPROTO_DSTOPTS = 0x3c
|
|
IPPROTO_EGP = 0x8
|
|
@@ -761,9 +873,11 @@ const (
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_SCTP = 0x84
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_UDP = 0x11
|
|
+ IPPROTO_UDPLITE = 0x88
|
|
IPV6_AUTH_LEVEL = 0x35
|
|
IPV6_AUTOFLOWLABEL = 0x3b
|
|
IPV6_CHECKSUM = 0x1a
|
|
@@ -786,6 +900,7 @@ const (
|
|
IPV6_LEAVE_GROUP = 0xd
|
|
IPV6_MAXHLIM = 0xff
|
|
IPV6_MAXPACKET = 0xffff
|
|
+ IPV6_MINHOPCOUNT = 0x41
|
|
IPV6_MMTU = 0x500
|
|
IPV6_MULTICAST_HOPS = 0xa
|
|
IPV6_MULTICAST_IF = 0x9
|
|
@@ -825,12 +940,12 @@ const (
|
|
IP_DEFAULT_MULTICAST_LOOP = 0x1
|
|
IP_DEFAULT_MULTICAST_TTL = 0x1
|
|
IP_DF = 0x4000
|
|
- IP_DIVERTFL = 0x1022
|
|
IP_DROP_MEMBERSHIP = 0xd
|
|
IP_ESP_NETWORK_LEVEL = 0x16
|
|
IP_ESP_TRANS_LEVEL = 0x15
|
|
IP_HDRINCL = 0x2
|
|
IP_IPCOMP_LEVEL = 0x1d
|
|
+ IP_IPDEFTTL = 0x25
|
|
IP_IPSECFLOWINFO = 0x24
|
|
IP_IPSEC_LOCAL_AUTH = 0x1b
|
|
IP_IPSEC_LOCAL_CRED = 0x19
|
|
@@ -864,10 +979,15 @@ const (
|
|
IP_RETOPTS = 0x8
|
|
IP_RF = 0x8000
|
|
IP_RTABLE = 0x1021
|
|
+ IP_SENDSRCADDR = 0x7
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
+ IUCLC = 0x1000
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -922,6 +1042,7 @@ const (
|
|
MNT_NOATIME = 0x8000
|
|
MNT_NODEV = 0x10
|
|
MNT_NOEXEC = 0x4
|
|
+ MNT_NOPERM = 0x20
|
|
MNT_NOSUID = 0x8
|
|
MNT_NOWAIT = 0x2
|
|
MNT_QUOTA = 0x2000
|
|
@@ -929,12 +1050,27 @@ const (
|
|
MNT_RELOAD = 0x40000
|
|
MNT_ROOTFS = 0x4000
|
|
MNT_SOFTDEP = 0x4000000
|
|
+ MNT_STALLED = 0x100000
|
|
+ MNT_SWAPPABLE = 0x200000
|
|
MNT_SYNCHRONOUS = 0x2
|
|
MNT_UPDATE = 0x10000
|
|
MNT_VISFLAGMASK = 0x400ffff
|
|
MNT_WAIT = 0x1
|
|
MNT_WANTRDWR = 0x2000000
|
|
MNT_WXALLOWED = 0x800
|
|
+ MOUNT_AFS = "afs"
|
|
+ MOUNT_CD9660 = "cd9660"
|
|
+ MOUNT_EXT2FS = "ext2fs"
|
|
+ MOUNT_FFS = "ffs"
|
|
+ MOUNT_FUSEFS = "fuse"
|
|
+ MOUNT_MFS = "mfs"
|
|
+ MOUNT_MSDOS = "msdos"
|
|
+ MOUNT_NCPFS = "ncpfs"
|
|
+ MOUNT_NFS = "nfs"
|
|
+ MOUNT_NTFS = "ntfs"
|
|
+ MOUNT_TMPFS = "tmpfs"
|
|
+ MOUNT_UDF = "udf"
|
|
+ MOUNT_UFS = "ffs"
|
|
MSG_BCAST = 0x100
|
|
MSG_CMSG_CLOEXEC = 0x800
|
|
MSG_CTRUNC = 0x20
|
|
@@ -954,12 +1090,16 @@ const (
|
|
NET_RT_DUMP = 0x1
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
- NET_RT_MAXID = 0x6
|
|
+ NET_RT_IFNAMES = 0x6
|
|
+ NET_RT_MAXID = 0x8
|
|
+ NET_RT_SOURCE = 0x7
|
|
NET_RT_STATS = 0x4
|
|
NET_RT_TABLE = 0x5
|
|
NFDBITS = 0x20
|
|
NOFLSH = 0x80000000
|
|
+ NOKERNINFO = 0x2000000
|
|
NOTE_ATTRIB = 0x8
|
|
+ NOTE_CHANGE = 0x1
|
|
NOTE_CHILD = 0x4
|
|
NOTE_DELETE = 0x1
|
|
NOTE_EOF = 0x2
|
|
@@ -969,6 +1109,7 @@ const (
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
+ NOTE_OOB = 0x4
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
@@ -978,11 +1119,13 @@ const (
|
|
NOTE_TRUNCATE = 0x80
|
|
NOTE_WRITE = 0x2
|
|
OCRNL = 0x10
|
|
+ OLCUC = 0x20
|
|
ONLCR = 0x2
|
|
ONLRET = 0x80
|
|
ONOCR = 0x40
|
|
ONOEOT = 0x8
|
|
OPOST = 0x1
|
|
+ OXTABS = 0x4
|
|
O_ACCMODE = 0x3
|
|
O_APPEND = 0x8
|
|
O_ASYNC = 0x40
|
|
@@ -1027,19 +1170,25 @@ const (
|
|
RLIMIT_STACK = 0x3
|
|
RLIM_INFINITY = 0x7fffffffffffffff
|
|
RTAX_AUTHOR = 0x6
|
|
+ RTAX_BFD = 0xb
|
|
RTAX_BRD = 0x7
|
|
+ RTAX_DNS = 0xc
|
|
RTAX_DST = 0x0
|
|
RTAX_GATEWAY = 0x1
|
|
RTAX_GENMASK = 0x3
|
|
RTAX_IFA = 0x5
|
|
RTAX_IFP = 0x4
|
|
RTAX_LABEL = 0xa
|
|
- RTAX_MAX = 0xb
|
|
+ RTAX_MAX = 0xf
|
|
RTAX_NETMASK = 0x2
|
|
+ RTAX_SEARCH = 0xe
|
|
RTAX_SRC = 0x8
|
|
RTAX_SRCMASK = 0x9
|
|
+ RTAX_STATIC = 0xd
|
|
RTA_AUTHOR = 0x40
|
|
+ RTA_BFD = 0x800
|
|
RTA_BRD = 0x80
|
|
+ RTA_DNS = 0x1000
|
|
RTA_DST = 0x1
|
|
RTA_GATEWAY = 0x2
|
|
RTA_GENMASK = 0x8
|
|
@@ -1047,24 +1196,29 @@ const (
|
|
RTA_IFP = 0x10
|
|
RTA_LABEL = 0x400
|
|
RTA_NETMASK = 0x4
|
|
+ RTA_SEARCH = 0x4000
|
|
RTA_SRC = 0x100
|
|
RTA_SRCMASK = 0x200
|
|
+ RTA_STATIC = 0x2000
|
|
RTF_ANNOUNCE = 0x4000
|
|
+ RTF_BFD = 0x1000000
|
|
RTF_BLACKHOLE = 0x1000
|
|
RTF_BROADCAST = 0x400000
|
|
+ RTF_CACHED = 0x20000
|
|
RTF_CLONED = 0x10000
|
|
RTF_CLONING = 0x100
|
|
+ RTF_CONNECTED = 0x800000
|
|
RTF_DONE = 0x40
|
|
RTF_DYNAMIC = 0x10
|
|
- RTF_FMASK = 0x70f808
|
|
+ RTF_FMASK = 0x110fc08
|
|
RTF_GATEWAY = 0x2
|
|
RTF_HOST = 0x4
|
|
RTF_LLINFO = 0x400
|
|
RTF_LOCAL = 0x200000
|
|
- RTF_MASK = 0x80
|
|
RTF_MODIFIED = 0x20
|
|
RTF_MPATH = 0x40000
|
|
RTF_MPLS = 0x100000
|
|
+ RTF_MULTICAST = 0x200
|
|
RTF_PERMANENT_ARP = 0x2000
|
|
RTF_PROTO1 = 0x8000
|
|
RTF_PROTO2 = 0x4000
|
|
@@ -1073,23 +1227,26 @@ const (
|
|
RTF_STATIC = 0x800
|
|
RTF_UP = 0x1
|
|
RTF_USETRAILERS = 0x8000
|
|
- RTF_XRESOLVE = 0x200
|
|
+ RTM_80211INFO = 0x15
|
|
RTM_ADD = 0x1
|
|
+ RTM_BFD = 0x12
|
|
RTM_CHANGE = 0x3
|
|
+ RTM_CHGADDRATTR = 0x14
|
|
RTM_DELADDR = 0xd
|
|
RTM_DELETE = 0x2
|
|
RTM_DESYNC = 0x10
|
|
RTM_GET = 0x4
|
|
RTM_IFANNOUNCE = 0xf
|
|
RTM_IFINFO = 0xe
|
|
- RTM_LOCK = 0x8
|
|
+ RTM_INVALIDATE = 0x11
|
|
RTM_LOSING = 0x5
|
|
RTM_MAXSIZE = 0x800
|
|
RTM_MISS = 0x7
|
|
RTM_NEWADDR = 0xc
|
|
+ RTM_PROPOSAL = 0x13
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
- RTM_RTTUNIT = 0xf4240
|
|
+ RTM_SOURCE = 0x16
|
|
RTM_VERSION = 0x5
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
@@ -1099,67 +1256,74 @@ const (
|
|
RTV_RTTVAR = 0x80
|
|
RTV_SPIPE = 0x10
|
|
RTV_SSTHRESH = 0x20
|
|
+ RT_TABLEID_BITS = 0x8
|
|
+ RT_TABLEID_MASK = 0xff
|
|
RT_TABLEID_MAX = 0xff
|
|
RUSAGE_CHILDREN = -0x1
|
|
RUSAGE_SELF = 0x0
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x4
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_SET = 0x0
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
SIOCADDMULTI = 0x80206931
|
|
SIOCAIFADDR = 0x8040691a
|
|
SIOCAIFGROUP = 0x80246987
|
|
- SIOCALIFADDR = 0x8218691c
|
|
SIOCATMARK = 0x40047307
|
|
- SIOCBRDGADD = 0x8054693c
|
|
- SIOCBRDGADDS = 0x80546941
|
|
- SIOCBRDGARL = 0x806e694d
|
|
+ SIOCBRDGADD = 0x8060693c
|
|
+ SIOCBRDGADDL = 0x80606949
|
|
+ SIOCBRDGADDS = 0x80606941
|
|
+ SIOCBRDGARL = 0x808c694d
|
|
SIOCBRDGDADDR = 0x81286947
|
|
- SIOCBRDGDEL = 0x8054693d
|
|
- SIOCBRDGDELS = 0x80546942
|
|
- SIOCBRDGFLUSH = 0x80546948
|
|
- SIOCBRDGFRL = 0x806e694e
|
|
+ SIOCBRDGDEL = 0x8060693d
|
|
+ SIOCBRDGDELS = 0x80606942
|
|
+ SIOCBRDGFLUSH = 0x80606948
|
|
+ SIOCBRDGFRL = 0x808c694e
|
|
SIOCBRDGGCACHE = 0xc0146941
|
|
SIOCBRDGGFD = 0xc0146952
|
|
SIOCBRDGGHT = 0xc0146951
|
|
- SIOCBRDGGIFFLGS = 0xc054693e
|
|
+ SIOCBRDGGIFFLGS = 0xc060693e
|
|
SIOCBRDGGMA = 0xc0146953
|
|
- SIOCBRDGGPARAM = 0xc03c6958
|
|
+ SIOCBRDGGPARAM = 0xc0406958
|
|
SIOCBRDGGPRI = 0xc0146950
|
|
SIOCBRDGGRL = 0xc028694f
|
|
- SIOCBRDGGSIFS = 0xc054693c
|
|
SIOCBRDGGTO = 0xc0146946
|
|
- SIOCBRDGIFS = 0xc0546942
|
|
+ SIOCBRDGIFS = 0xc0606942
|
|
SIOCBRDGRTS = 0xc0186943
|
|
SIOCBRDGSADDR = 0xc1286944
|
|
SIOCBRDGSCACHE = 0x80146940
|
|
SIOCBRDGSFD = 0x80146952
|
|
SIOCBRDGSHT = 0x80146951
|
|
- SIOCBRDGSIFCOST = 0x80546955
|
|
- SIOCBRDGSIFFLGS = 0x8054693f
|
|
- SIOCBRDGSIFPRIO = 0x80546954
|
|
+ SIOCBRDGSIFCOST = 0x80606955
|
|
+ SIOCBRDGSIFFLGS = 0x8060693f
|
|
+ SIOCBRDGSIFPRIO = 0x80606954
|
|
+ SIOCBRDGSIFPROT = 0x8060694a
|
|
SIOCBRDGSMA = 0x80146953
|
|
SIOCBRDGSPRI = 0x80146950
|
|
SIOCBRDGSPROTO = 0x8014695a
|
|
SIOCBRDGSTO = 0x80146945
|
|
SIOCBRDGSTXHC = 0x80146959
|
|
+ SIOCDELLABEL = 0x80206997
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDIFADDR = 0x80206919
|
|
SIOCDIFGROUP = 0x80246989
|
|
+ SIOCDIFPARENT = 0x802069b4
|
|
SIOCDIFPHYADDR = 0x80206949
|
|
- SIOCDLIFADDR = 0x8218691e
|
|
+ SIOCDPWE3NEIGHBOR = 0x802069de
|
|
+ SIOCDVNETID = 0x802069af
|
|
SIOCGETKALIVE = 0xc01869a4
|
|
SIOCGETLABEL = 0x8020699a
|
|
+ SIOCGETMPWCFG = 0xc02069ae
|
|
SIOCGETPFLOW = 0xc02069fe
|
|
SIOCGETPFSYNC = 0xc02069f8
|
|
SIOCGETSGCNT = 0xc0147534
|
|
SIOCGETVIFCNT = 0xc0147533
|
|
SIOCGETVLAN = 0xc0206990
|
|
- SIOCGHIWAT = 0x40047301
|
|
SIOCGIFADDR = 0xc0206921
|
|
- SIOCGIFASYNCMAP = 0xc020697c
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCONF = 0xc0086924
|
|
SIOCGIFDATA = 0xc020691b
|
|
@@ -1168,41 +1332,53 @@ const (
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
SIOCGIFGATTR = 0xc024698b
|
|
SIOCGIFGENERIC = 0xc020693a
|
|
+ SIOCGIFGLIST = 0xc024698d
|
|
SIOCGIFGMEMB = 0xc024698a
|
|
SIOCGIFGROUP = 0xc0246988
|
|
SIOCGIFHARDMTU = 0xc02069a5
|
|
- SIOCGIFMEDIA = 0xc0286936
|
|
+ SIOCGIFLLPRIO = 0xc02069b6
|
|
+ SIOCGIFMEDIA = 0xc0386938
|
|
SIOCGIFMETRIC = 0xc0206917
|
|
SIOCGIFMTU = 0xc020697e
|
|
SIOCGIFNETMASK = 0xc0206925
|
|
- SIOCGIFPDSTADDR = 0xc0206948
|
|
+ SIOCGIFPAIR = 0xc02069b1
|
|
+ SIOCGIFPARENT = 0xc02069b3
|
|
SIOCGIFPRIORITY = 0xc020699c
|
|
- SIOCGIFPSRCADDR = 0xc0206947
|
|
SIOCGIFRDOMAIN = 0xc02069a0
|
|
SIOCGIFRTLABEL = 0xc0206983
|
|
SIOCGIFRXR = 0x802069aa
|
|
- SIOCGIFTIMESLOT = 0xc0206986
|
|
+ SIOCGIFSFFPAGE = 0xc1126939
|
|
SIOCGIFXFLAGS = 0xc020699e
|
|
- SIOCGLIFADDR = 0xc218691d
|
|
SIOCGLIFPHYADDR = 0xc218694b
|
|
+ SIOCGLIFPHYDF = 0xc02069c2
|
|
+ SIOCGLIFPHYECN = 0xc02069c8
|
|
SIOCGLIFPHYRTABLE = 0xc02069a2
|
|
SIOCGLIFPHYTTL = 0xc02069a9
|
|
- SIOCGLOWAT = 0x40047303
|
|
SIOCGPGRP = 0x40047309
|
|
+ SIOCGPWE3 = 0xc0206998
|
|
+ SIOCGPWE3CTRLWORD = 0xc02069dc
|
|
+ SIOCGPWE3FAT = 0xc02069dd
|
|
+ SIOCGPWE3NEIGHBOR = 0xc21869de
|
|
+ SIOCGRXHPRIO = 0xc02069db
|
|
SIOCGSPPPPARAMS = 0xc0206994
|
|
+ SIOCGTXHPRIO = 0xc02069c6
|
|
+ SIOCGUMBINFO = 0xc02069be
|
|
+ SIOCGUMBPARAM = 0xc02069c0
|
|
SIOCGVH = 0xc02069f6
|
|
+ SIOCGVNETFLOWID = 0xc02069c4
|
|
SIOCGVNETID = 0xc02069a7
|
|
+ SIOCIFAFATTACH = 0x801169ab
|
|
+ SIOCIFAFDETACH = 0x801169ac
|
|
SIOCIFCREATE = 0x8020697a
|
|
SIOCIFDESTROY = 0x80206979
|
|
SIOCIFGCLONERS = 0xc00c6978
|
|
SIOCSETKALIVE = 0x801869a3
|
|
SIOCSETLABEL = 0x80206999
|
|
+ SIOCSETMPWCFG = 0x802069ad
|
|
SIOCSETPFLOW = 0x802069fd
|
|
SIOCSETPFSYNC = 0x802069f7
|
|
SIOCSETVLAN = 0x8020698f
|
|
- SIOCSHIWAT = 0x80047300
|
|
SIOCSIFADDR = 0x8020690c
|
|
- SIOCSIFASYNCMAP = 0x8020697d
|
|
SIOCSIFBRDADDR = 0x80206913
|
|
SIOCSIFDESCR = 0x80206980
|
|
SIOCSIFDSTADDR = 0x8020690e
|
|
@@ -1210,26 +1386,36 @@ const (
|
|
SIOCSIFGATTR = 0x8024698c
|
|
SIOCSIFGENERIC = 0x80206939
|
|
SIOCSIFLLADDR = 0x8020691f
|
|
- SIOCSIFMEDIA = 0xc0206935
|
|
+ SIOCSIFLLPRIO = 0x802069b5
|
|
+ SIOCSIFMEDIA = 0xc0206937
|
|
SIOCSIFMETRIC = 0x80206918
|
|
SIOCSIFMTU = 0x8020697f
|
|
SIOCSIFNETMASK = 0x80206916
|
|
- SIOCSIFPHYADDR = 0x80406946
|
|
+ SIOCSIFPAIR = 0x802069b0
|
|
+ SIOCSIFPARENT = 0x802069b2
|
|
SIOCSIFPRIORITY = 0x8020699b
|
|
SIOCSIFRDOMAIN = 0x8020699f
|
|
SIOCSIFRTLABEL = 0x80206982
|
|
- SIOCSIFTIMESLOT = 0x80206985
|
|
SIOCSIFXFLAGS = 0x8020699d
|
|
SIOCSLIFPHYADDR = 0x8218694a
|
|
+ SIOCSLIFPHYDF = 0x802069c1
|
|
+ SIOCSLIFPHYECN = 0x802069c7
|
|
SIOCSLIFPHYRTABLE = 0x802069a1
|
|
SIOCSLIFPHYTTL = 0x802069a8
|
|
- SIOCSLOWAT = 0x80047302
|
|
SIOCSPGRP = 0x80047308
|
|
+ SIOCSPWE3CTRLWORD = 0x802069dc
|
|
+ SIOCSPWE3FAT = 0x802069dd
|
|
+ SIOCSPWE3NEIGHBOR = 0x821869de
|
|
+ SIOCSRXHPRIO = 0x802069db
|
|
SIOCSSPPPPARAMS = 0x80206993
|
|
+ SIOCSTXHPRIO = 0x802069c5
|
|
+ SIOCSUMBPARAM = 0x802069bf
|
|
SIOCSVH = 0xc02069f5
|
|
+ SIOCSVNETFLOWID = 0x802069c3
|
|
SIOCSVNETID = 0x802069a6
|
|
SOCK_CLOEXEC = 0x8000
|
|
SOCK_DGRAM = 0x2
|
|
+ SOCK_DNS = 0x1000
|
|
SOCK_NONBLOCK = 0x4000
|
|
SOCK_RAW = 0x3
|
|
SOCK_RDM = 0x4
|
|
@@ -1241,6 +1427,7 @@ const (
|
|
SO_BINDANY = 0x1000
|
|
SO_BROADCAST = 0x20
|
|
SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1024
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
@@ -1248,6 +1435,7 @@ const (
|
|
SO_NETPROC = 0x1020
|
|
SO_OOBINLINE = 0x100
|
|
SO_PEERCRED = 0x1022
|
|
+ SO_PROTOCOL = 0x1025
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
@@ -1261,6 +1449,7 @@ const (
|
|
SO_TIMESTAMP = 0x800
|
|
SO_TYPE = 0x1008
|
|
SO_USELOOPBACK = 0x40
|
|
+ SO_ZEROIZE = 0x2000
|
|
S_BLKSIZE = 0x200
|
|
S_IEXEC = 0x40
|
|
S_IFBLK = 0x6000
|
|
@@ -1290,9 +1479,23 @@ const (
|
|
S_IXOTH = 0x1
|
|
S_IXUSR = 0x40
|
|
TCIFLUSH = 0x1
|
|
+ TCIOFF = 0x3
|
|
TCIOFLUSH = 0x3
|
|
+ TCION = 0x4
|
|
TCOFLUSH = 0x2
|
|
- TCP_MAXBURST = 0x4
|
|
+ TCOOFF = 0x1
|
|
+ TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_HDR = 0x1010500
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SACK_PERMIT_HDR = 0x1010402
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_TSTAMP_HDR = 0x101080a
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_SACK = 0x3
|
|
@@ -1301,11 +1504,15 @@ const (
|
|
TCP_MSS = 0x200
|
|
TCP_NODELAY = 0x1
|
|
TCP_NOPUSH = 0x10
|
|
- TCP_NSTATES = 0xb
|
|
+ TCP_SACKHOLE_LIMIT = 0x80
|
|
TCP_SACK_ENABLE = 0x8
|
|
TCSAFLUSH = 0x2
|
|
+ TIMER_ABSTIME = 0x1
|
|
+ TIMER_RELTIME = 0x0
|
|
TIOCCBRK = 0x2000747a
|
|
TIOCCDTR = 0x20007478
|
|
+ TIOCCHKVERAUTH = 0x2000741e
|
|
+ TIOCCLRVERAUTH = 0x2000741d
|
|
TIOCCONS = 0x80047462
|
|
TIOCDRAIN = 0x2000745e
|
|
TIOCEXCL = 0x2000740d
|
|
@@ -1321,7 +1528,7 @@ const (
|
|
TIOCGFLAGS = 0x4004745d
|
|
TIOCGPGRP = 0x40047477
|
|
TIOCGSID = 0x40047463
|
|
- TIOCGTSTAMP = 0x400c745b
|
|
+ TIOCGTSTAMP = 0x4010745b
|
|
TIOCGWINSZ = 0x40087468
|
|
TIOCMBIC = 0x8004746b
|
|
TIOCMBIS = 0x8004746c
|
|
@@ -1360,17 +1567,21 @@ const (
|
|
TIOCSETAF = 0x802c7416
|
|
TIOCSETAW = 0x802c7415
|
|
TIOCSETD = 0x8004741b
|
|
+ TIOCSETVERAUTH = 0x8004741c
|
|
TIOCSFLAGS = 0x8004745c
|
|
TIOCSIG = 0x8004745f
|
|
TIOCSPGRP = 0x80047476
|
|
TIOCSTART = 0x2000746e
|
|
- TIOCSTAT = 0x80047465
|
|
- TIOCSTI = 0x80017472
|
|
+ TIOCSTAT = 0x20007465
|
|
TIOCSTOP = 0x2000746f
|
|
TIOCSTSTAMP = 0x8008745a
|
|
TIOCSWINSZ = 0x80087467
|
|
TIOCUCNTL = 0x80047466
|
|
+ TIOCUCNTL_CBRK = 0x7a
|
|
+ TIOCUCNTL_SBRK = 0x7b
|
|
TOSTOP = 0x400000
|
|
+ UTIME_NOW = -0x2
|
|
+ UTIME_OMIT = -0x1
|
|
VDISCARD = 0xf
|
|
VDSUSP = 0xb
|
|
VEOF = 0x0
|
|
@@ -1381,6 +1592,19 @@ const (
|
|
VKILL = 0x5
|
|
VLNEXT = 0xe
|
|
VMIN = 0x10
|
|
+ VM_ANONMIN = 0x7
|
|
+ VM_LOADAVG = 0x2
|
|
+ VM_MALLOC_CONF = 0xc
|
|
+ VM_MAXID = 0xd
|
|
+ VM_MAXSLP = 0xa
|
|
+ VM_METER = 0x1
|
|
+ VM_NKMEMPAGES = 0x6
|
|
+ VM_PSSTRINGS = 0x3
|
|
+ VM_SWAPENCRYPT = 0x5
|
|
+ VM_USPACE = 0xb
|
|
+ VM_UVMEXP = 0x4
|
|
+ VM_VNODEMIN = 0x9
|
|
+ VM_VTEXTMIN = 0x8
|
|
VQUIT = 0x9
|
|
VREPRINT = 0x6
|
|
VSTART = 0xc
|
|
@@ -1394,6 +1618,7 @@ const (
|
|
WCOREFLAG = 0x80
|
|
WNOHANG = 0x1
|
|
WUNTRACED = 0x2
|
|
+ XCASE = 0x1000000
|
|
)
|
|
|
|
// Errors
|
|
@@ -1407,6 +1632,7 @@ const (
|
|
EALREADY = syscall.Errno(0x25)
|
|
EAUTH = syscall.Errno(0x50)
|
|
EBADF = syscall.Errno(0x9)
|
|
+ EBADMSG = syscall.Errno(0x5c)
|
|
EBADRPC = syscall.Errno(0x48)
|
|
EBUSY = syscall.Errno(0x10)
|
|
ECANCELED = syscall.Errno(0x58)
|
|
@@ -1433,7 +1659,7 @@ const (
|
|
EIPSEC = syscall.Errno(0x52)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x5b)
|
|
+ ELAST = syscall.Errno(0x5f)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMEDIUMTYPE = syscall.Errno(0x56)
|
|
EMFILE = syscall.Errno(0x18)
|
|
@@ -1461,12 +1687,14 @@ const (
|
|
ENOTCONN = syscall.Errno(0x39)
|
|
ENOTDIR = syscall.Errno(0x14)
|
|
ENOTEMPTY = syscall.Errno(0x42)
|
|
+ ENOTRECOVERABLE = syscall.Errno(0x5d)
|
|
ENOTSOCK = syscall.Errno(0x26)
|
|
ENOTSUP = syscall.Errno(0x5b)
|
|
ENOTTY = syscall.Errno(0x19)
|
|
ENXIO = syscall.Errno(0x6)
|
|
EOPNOTSUPP = syscall.Errno(0x2d)
|
|
EOVERFLOW = syscall.Errno(0x57)
|
|
+ EOWNERDEAD = syscall.Errno(0x5e)
|
|
EPERM = syscall.Errno(0x1)
|
|
EPFNOSUPPORT = syscall.Errno(0x2e)
|
|
EPIPE = syscall.Errno(0x20)
|
|
@@ -1474,6 +1702,7 @@ const (
|
|
EPROCUNAVAIL = syscall.Errno(0x4c)
|
|
EPROGMISMATCH = syscall.Errno(0x4b)
|
|
EPROGUNAVAIL = syscall.Errno(0x4a)
|
|
+ EPROTO = syscall.Errno(0x5f)
|
|
EPROTONOSUPPORT = syscall.Errno(0x2b)
|
|
EPROTOTYPE = syscall.Errno(0x29)
|
|
ERANGE = syscall.Errno(0x22)
|
|
@@ -1570,7 +1799,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
+ {35, "EAGAIN", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1626,7 +1855,11 @@ var errorList = [...]struct {
|
|
{88, "ECANCELED", "operation canceled"},
|
|
{89, "EIDRM", "identifier removed"},
|
|
{90, "ENOMSG", "no message of desired type"},
|
|
- {91, "ELAST", "not supported"},
|
|
+ {91, "ENOTSUP", "not supported"},
|
|
+ {92, "EBADMSG", "bad message"},
|
|
+ {93, "ENOTRECOVERABLE", "state not recoverable"},
|
|
+ {94, "EOWNERDEAD", "previous owner died"},
|
|
+ {95, "ELAST", "protocol error"},
|
|
}
|
|
|
|
// Signal table
|
|
Index: vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go
|
|
--- vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go
|
|
@@ -112,6 +112,12 @@ const (
|
|
BPF_FILDROP_CAPTURE = 0x1
|
|
BPF_FILDROP_DROP = 0x2
|
|
BPF_FILDROP_PASS = 0x0
|
|
+ BPF_F_DIR_IN = 0x10
|
|
+ BPF_F_DIR_MASK = 0x30
|
|
+ BPF_F_DIR_OUT = 0x20
|
|
+ BPF_F_DIR_SHIFT = 0x4
|
|
+ BPF_F_FLOWID = 0x8
|
|
+ BPF_F_PRI_MASK = 0x7
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -140,6 +146,7 @@ const (
|
|
BPF_OR = 0x40
|
|
BPF_RELEASE = 0x30bb6
|
|
BPF_RET = 0x6
|
|
+ BPF_RND = 0xc0
|
|
BPF_RSH = 0x70
|
|
BPF_ST = 0x2
|
|
BPF_STX = 0x3
|
|
@@ -301,6 +308,8 @@ const (
|
|
EMUL_ENABLED = 0x1
|
|
EMUL_NATIVE = 0x2
|
|
ENDRUNDISC = 0x9
|
|
+ ETH64_8021_RSVD_MASK = 0xfffffffffff0
|
|
+ ETH64_8021_RSVD_PREFIX = 0x180c2000000
|
|
ETHERMIN = 0x2e
|
|
ETHERMTU = 0x5dc
|
|
ETHERTYPE_8023 = 0x4
|
|
@@ -353,6 +362,7 @@ const (
|
|
ETHERTYPE_DN = 0x6003
|
|
ETHERTYPE_DOGFIGHT = 0x1989
|
|
ETHERTYPE_DSMD = 0x8039
|
|
+ ETHERTYPE_EAPOL = 0x888e
|
|
ETHERTYPE_ECMA = 0x803
|
|
ETHERTYPE_ENCRYPT = 0x803d
|
|
ETHERTYPE_ES = 0x805d
|
|
@@ -413,15 +423,16 @@ const (
|
|
ETHERTYPE_NCD = 0x8149
|
|
ETHERTYPE_NESTAR = 0x8006
|
|
ETHERTYPE_NETBEUI = 0x8191
|
|
+ ETHERTYPE_NHRP = 0x2001
|
|
ETHERTYPE_NOVELL = 0x8138
|
|
ETHERTYPE_NS = 0x600
|
|
ETHERTYPE_NSAT = 0x601
|
|
ETHERTYPE_NSCOMPAT = 0x807
|
|
+ ETHERTYPE_NSH = 0x984f
|
|
ETHERTYPE_NTRAILER = 0x10
|
|
ETHERTYPE_OS9 = 0x7007
|
|
ETHERTYPE_OS9NET = 0x7009
|
|
ETHERTYPE_PACER = 0x80c6
|
|
- ETHERTYPE_PAE = 0x888e
|
|
ETHERTYPE_PBB = 0x88e7
|
|
ETHERTYPE_PCS = 0x4242
|
|
ETHERTYPE_PLANNING = 0x8044
|
|
@@ -504,10 +515,11 @@ const (
|
|
ETHER_VLAN_ENCAP_LEN = 0x4
|
|
EVFILT_AIO = -0x3
|
|
EVFILT_DEVICE = -0x8
|
|
+ EVFILT_EXCEPT = -0x9
|
|
EVFILT_PROC = -0x5
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0x8
|
|
+ EVFILT_SYSCOUNT = 0x9
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
@@ -529,7 +541,7 @@ const (
|
|
EV_FLAG1 = 0x2000
|
|
EV_ONESHOT = 0x10
|
|
EV_RECEIPT = 0x40
|
|
- EV_SYSFLAGS = 0xf000
|
|
+ EV_SYSFLAGS = 0xf800
|
|
EXTA = 0x4b00
|
|
EXTB = 0x9600
|
|
EXTPROC = 0x800
|
|
@@ -795,6 +807,7 @@ const (
|
|
IFT_VOICEOVERCABLE = 0xc6
|
|
IFT_VOICEOVERFRAMERELAY = 0x99
|
|
IFT_VOICEOVERIP = 0x68
|
|
+ IFT_WIREGUARD = 0xfb
|
|
IFT_X213 = 0x5d
|
|
IFT_X25 = 0x5
|
|
IFT_X25DDN = 0x4
|
|
@@ -860,6 +873,7 @@ const (
|
|
IPPROTO_RAW = 0xff
|
|
IPPROTO_ROUTING = 0x2b
|
|
IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_SCTP = 0x84
|
|
IPPROTO_TCP = 0x6
|
|
IPPROTO_TP = 0x1d
|
|
IPPROTO_UDP = 0x11
|
|
@@ -970,6 +984,9 @@ const (
|
|
IP_TTL = 0x4
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IUCLC = 0x1000
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
@@ -1041,6 +1058,19 @@ const (
|
|
MNT_WAIT = 0x1
|
|
MNT_WANTRDWR = 0x2000000
|
|
MNT_WXALLOWED = 0x800
|
|
+ MOUNT_AFS = "afs"
|
|
+ MOUNT_CD9660 = "cd9660"
|
|
+ MOUNT_EXT2FS = "ext2fs"
|
|
+ MOUNT_FFS = "ffs"
|
|
+ MOUNT_FUSEFS = "fuse"
|
|
+ MOUNT_MFS = "mfs"
|
|
+ MOUNT_MSDOS = "msdos"
|
|
+ MOUNT_NCPFS = "ncpfs"
|
|
+ MOUNT_NFS = "nfs"
|
|
+ MOUNT_NTFS = "ntfs"
|
|
+ MOUNT_TMPFS = "tmpfs"
|
|
+ MOUNT_UDF = "udf"
|
|
+ MOUNT_UFS = "ffs"
|
|
MSG_BCAST = 0x100
|
|
MSG_CMSG_CLOEXEC = 0x800
|
|
MSG_CTRUNC = 0x20
|
|
@@ -1061,7 +1091,8 @@ const (
|
|
NET_RT_FLAGS = 0x2
|
|
NET_RT_IFLIST = 0x3
|
|
NET_RT_IFNAMES = 0x6
|
|
- NET_RT_MAXID = 0x7
|
|
+ NET_RT_MAXID = 0x8
|
|
+ NET_RT_SOURCE = 0x7
|
|
NET_RT_STATS = 0x4
|
|
NET_RT_TABLE = 0x5
|
|
NFDBITS = 0x20
|
|
@@ -1078,6 +1109,7 @@ const (
|
|
NOTE_FORK = 0x40000000
|
|
NOTE_LINK = 0x10
|
|
NOTE_LOWAT = 0x1
|
|
+ NOTE_OOB = 0x4
|
|
NOTE_PCTRLMASK = 0xf0000000
|
|
NOTE_PDATAMASK = 0xfffff
|
|
NOTE_RENAME = 0x20
|
|
@@ -1214,7 +1246,7 @@ const (
|
|
RTM_PROPOSAL = 0x13
|
|
RTM_REDIRECT = 0x6
|
|
RTM_RESOLVE = 0xb
|
|
- RTM_RTTUNIT = 0xf4240
|
|
+ RTM_SOURCE = 0x16
|
|
RTM_VERSION = 0x5
|
|
RTV_EXPIRE = 0x4
|
|
RTV_HOPCOUNT = 0x2
|
|
@@ -1232,6 +1264,9 @@ const (
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x4
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_SET = 0x0
|
|
SHUT_RD = 0x0
|
|
SHUT_RDWR = 0x2
|
|
SHUT_WR = 0x1
|
|
@@ -1248,30 +1283,30 @@ const (
|
|
SIOCBRDGDELS = 0x80606942
|
|
SIOCBRDGFLUSH = 0x80606948
|
|
SIOCBRDGFRL = 0x808c694e
|
|
- SIOCBRDGGCACHE = 0xc0186941
|
|
- SIOCBRDGGFD = 0xc0186952
|
|
- SIOCBRDGGHT = 0xc0186951
|
|
+ SIOCBRDGGCACHE = 0xc0146941
|
|
+ SIOCBRDGGFD = 0xc0146952
|
|
+ SIOCBRDGGHT = 0xc0146951
|
|
SIOCBRDGGIFFLGS = 0xc060693e
|
|
- SIOCBRDGGMA = 0xc0186953
|
|
+ SIOCBRDGGMA = 0xc0146953
|
|
SIOCBRDGGPARAM = 0xc0406958
|
|
- SIOCBRDGGPRI = 0xc0186950
|
|
+ SIOCBRDGGPRI = 0xc0146950
|
|
SIOCBRDGGRL = 0xc030694f
|
|
- SIOCBRDGGTO = 0xc0186946
|
|
+ SIOCBRDGGTO = 0xc0146946
|
|
SIOCBRDGIFS = 0xc0606942
|
|
SIOCBRDGRTS = 0xc0206943
|
|
SIOCBRDGSADDR = 0xc1286944
|
|
- SIOCBRDGSCACHE = 0x80186940
|
|
- SIOCBRDGSFD = 0x80186952
|
|
- SIOCBRDGSHT = 0x80186951
|
|
+ SIOCBRDGSCACHE = 0x80146940
|
|
+ SIOCBRDGSFD = 0x80146952
|
|
+ SIOCBRDGSHT = 0x80146951
|
|
SIOCBRDGSIFCOST = 0x80606955
|
|
SIOCBRDGSIFFLGS = 0x8060693f
|
|
SIOCBRDGSIFPRIO = 0x80606954
|
|
SIOCBRDGSIFPROT = 0x8060694a
|
|
- SIOCBRDGSMA = 0x80186953
|
|
- SIOCBRDGSPRI = 0x80186950
|
|
- SIOCBRDGSPROTO = 0x8018695a
|
|
- SIOCBRDGSTO = 0x80186945
|
|
- SIOCBRDGSTXHC = 0x80186959
|
|
+ SIOCBRDGSMA = 0x80146953
|
|
+ SIOCBRDGSPRI = 0x80146950
|
|
+ SIOCBRDGSPROTO = 0x8014695a
|
|
+ SIOCBRDGSTO = 0x80146945
|
|
+ SIOCBRDGSTXHC = 0x80146959
|
|
SIOCDELLABEL = 0x80206997
|
|
SIOCDELMULTI = 0x80206932
|
|
SIOCDIFADDR = 0x80206919
|
|
@@ -1378,11 +1413,6 @@ const (
|
|
SIOCSVH = 0xc02069f5
|
|
SIOCSVNETFLOWID = 0x802069c3
|
|
SIOCSVNETID = 0x802069a6
|
|
- SIOCSWGDPID = 0xc018695b
|
|
- SIOCSWGMAXFLOW = 0xc0186960
|
|
- SIOCSWGMAXGROUP = 0xc018695d
|
|
- SIOCSWSDPID = 0x8018695c
|
|
- SIOCSWSPORTNO = 0xc060695f
|
|
SOCK_CLOEXEC = 0x8000
|
|
SOCK_DGRAM = 0x2
|
|
SOCK_DNS = 0x1000
|
|
@@ -1455,7 +1485,17 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
- TCP_MAXBURST = 0x4
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_HDR = 0x1010500
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SACK_PERMIT_HDR = 0x1010402
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_TSTAMP_HDR = 0x101080a
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_MAXSEG = 0x2
|
|
TCP_MAXWIN = 0xffff
|
|
TCP_MAX_SACK = 0x3
|
|
Index: vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
|
|
--- vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
|
|
@@ -17,6 +17,7 @@ var sysctlMib = []mibentry{
|
|
{"ddb.max_line", []_C_int{9, 3}},
|
|
{"ddb.max_width", []_C_int{9, 2}},
|
|
{"ddb.panic", []_C_int{9, 5}},
|
|
+ {"ddb.profile", []_C_int{9, 9}},
|
|
{"ddb.radix", []_C_int{9, 1}},
|
|
{"ddb.tab_stop_width", []_C_int{9, 4}},
|
|
{"ddb.trigger", []_C_int{9, 8}},
|
|
@@ -33,29 +34,37 @@ var sysctlMib = []mibentry{
|
|
{"hw.ncpufound", []_C_int{6, 21}},
|
|
{"hw.ncpuonline", []_C_int{6, 25}},
|
|
{"hw.pagesize", []_C_int{6, 7}},
|
|
+ {"hw.perfpolicy", []_C_int{6, 23}},
|
|
{"hw.physmem", []_C_int{6, 19}},
|
|
+ {"hw.power", []_C_int{6, 26}},
|
|
{"hw.product", []_C_int{6, 15}},
|
|
{"hw.serialno", []_C_int{6, 17}},
|
|
{"hw.setperf", []_C_int{6, 13}},
|
|
+ {"hw.smt", []_C_int{6, 24}},
|
|
{"hw.usermem", []_C_int{6, 20}},
|
|
{"hw.uuid", []_C_int{6, 18}},
|
|
{"hw.vendor", []_C_int{6, 14}},
|
|
{"hw.version", []_C_int{6, 16}},
|
|
- {"kern.arandom", []_C_int{1, 37}},
|
|
+ {"kern.allowdt", []_C_int{1, 65}},
|
|
+ {"kern.allowkmem", []_C_int{1, 52}},
|
|
{"kern.argmax", []_C_int{1, 8}},
|
|
+ {"kern.audio", []_C_int{1, 84}},
|
|
{"kern.boottime", []_C_int{1, 21}},
|
|
{"kern.bufcachepercent", []_C_int{1, 72}},
|
|
{"kern.ccpu", []_C_int{1, 45}},
|
|
{"kern.clockrate", []_C_int{1, 12}},
|
|
+ {"kern.consbuf", []_C_int{1, 83}},
|
|
+ {"kern.consbufsize", []_C_int{1, 82}},
|
|
{"kern.consdev", []_C_int{1, 75}},
|
|
{"kern.cp_time", []_C_int{1, 40}},
|
|
{"kern.cp_time2", []_C_int{1, 71}},
|
|
- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
|
|
+ {"kern.cpustats", []_C_int{1, 85}},
|
|
{"kern.domainname", []_C_int{1, 22}},
|
|
{"kern.file", []_C_int{1, 73}},
|
|
{"kern.forkstat", []_C_int{1, 42}},
|
|
{"kern.fscale", []_C_int{1, 46}},
|
|
{"kern.fsync", []_C_int{1, 33}},
|
|
+ {"kern.global_ptrace", []_C_int{1, 81}},
|
|
{"kern.hostid", []_C_int{1, 11}},
|
|
{"kern.hostname", []_C_int{1, 10}},
|
|
{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
|
|
@@ -85,10 +94,10 @@ var sysctlMib = []mibentry{
|
|
{"kern.osrevision", []_C_int{1, 3}},
|
|
{"kern.ostype", []_C_int{1, 1}},
|
|
{"kern.osversion", []_C_int{1, 27}},
|
|
+ {"kern.pfstatus", []_C_int{1, 86}},
|
|
{"kern.pool_debug", []_C_int{1, 77}},
|
|
{"kern.posix1version", []_C_int{1, 17}},
|
|
{"kern.proc", []_C_int{1, 66}},
|
|
- {"kern.random", []_C_int{1, 31}},
|
|
{"kern.rawpartition", []_C_int{1, 24}},
|
|
{"kern.saved_ids", []_C_int{1, 20}},
|
|
{"kern.securelevel", []_C_int{1, 9}},
|
|
@@ -106,21 +115,20 @@ var sysctlMib = []mibentry{
|
|
{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
|
|
{"kern.timecounter.tick", []_C_int{1, 69, 1}},
|
|
{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
|
|
- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
|
|
- {"kern.tty.nptys", []_C_int{1, 44, 7}},
|
|
+ {"kern.timeout_stats", []_C_int{1, 87}},
|
|
{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
|
|
{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
|
|
{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
|
|
{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
|
|
{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
|
|
{"kern.ttycount", []_C_int{1, 57}},
|
|
- {"kern.userasymcrypto", []_C_int{1, 60}},
|
|
- {"kern.usercrypto", []_C_int{1, 52}},
|
|
- {"kern.usermount", []_C_int{1, 30}},
|
|
+ {"kern.utc_offset", []_C_int{1, 88}},
|
|
{"kern.version", []_C_int{1, 4}},
|
|
- {"kern.vnode", []_C_int{1, 13}},
|
|
+ {"kern.video", []_C_int{1, 89}},
|
|
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
|
|
{"kern.watchdog.period", []_C_int{1, 64, 1}},
|
|
+ {"kern.witnesswatch", []_C_int{1, 53}},
|
|
+ {"kern.wxabort", []_C_int{1, 74}},
|
|
{"net.bpf.bufsize", []_C_int{4, 31, 1}},
|
|
{"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
|
|
{"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
|
|
@@ -148,7 +156,9 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
|
|
{"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
|
|
{"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
|
|
+ {"net.inet.ip.arpdown", []_C_int{4, 2, 0, 40}},
|
|
{"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
|
|
+ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}},
|
|
{"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
|
|
{"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
|
|
{"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
|
|
@@ -157,8 +167,10 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
|
|
{"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
|
|
{"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
|
|
+ {"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
|
|
{"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
|
|
{"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
|
|
+ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}},
|
|
{"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
|
|
{"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
|
|
{"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
|
|
@@ -175,9 +187,7 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
|
|
{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
|
|
{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
|
|
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
|
|
{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
|
|
- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
|
|
{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
|
|
{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
|
|
{"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
|
|
@@ -191,6 +201,7 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
|
|
{"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
|
|
{"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
|
|
+ {"net.inet.tcp.rootonly", []_C_int{4, 2, 6, 24}},
|
|
{"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
|
|
{"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
|
|
{"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
|
|
@@ -198,9 +209,12 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
|
|
{"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
|
|
{"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
|
|
+ {"net.inet.tcp.synhashsize", []_C_int{4, 2, 6, 25}},
|
|
+ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}},
|
|
{"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
|
|
{"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
|
|
{"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
|
|
+ {"net.inet.udp.rootonly", []_C_int{4, 2, 17, 6}},
|
|
{"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
|
|
{"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
|
|
{"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
|
|
@@ -213,13 +227,8 @@ var sysctlMib = []mibentry{
|
|
{"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
|
|
{"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
|
|
{"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
|
|
- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
|
|
{"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
|
|
- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
|
|
- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
|
|
- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
|
|
{"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
|
|
- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
|
|
{"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
|
|
{"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
|
|
{"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
|
|
@@ -232,20 +241,19 @@ var sysctlMib = []mibentry{
|
|
{"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
|
|
{"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
|
|
{"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
|
|
- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
|
|
- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
|
|
{"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
|
|
+ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}},
|
|
+ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}},
|
|
{"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
|
|
{"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
|
|
{"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
|
|
{"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
|
|
{"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
|
|
{"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
|
|
- {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
|
|
+ {"net.inet6.ip6.soiikey", []_C_int{4, 24, 17, 54}},
|
|
{"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
|
|
{"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
|
|
{"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
|
|
- {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
|
|
{"net.key.sadb_dump", []_C_int{4, 30, 1}},
|
|
{"net.key.spd_dump", []_C_int{4, 30, 2}},
|
|
{"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
|
|
@@ -254,12 +262,12 @@ var sysctlMib = []mibentry{
|
|
{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
|
|
{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
|
|
{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
|
|
- {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
|
|
{"net.mpls.ttl", []_C_int{4, 33, 2}},
|
|
{"net.pflow.stats", []_C_int{4, 34, 1}},
|
|
{"net.pipex.enable", []_C_int{4, 35, 1}},
|
|
{"vm.anonmin", []_C_int{2, 7}},
|
|
{"vm.loadavg", []_C_int{2, 2}},
|
|
+ {"vm.malloc_conf", []_C_int{2, 12}},
|
|
{"vm.maxslp", []_C_int{2, 10}},
|
|
{"vm.nkmempages", []_C_int{2, 6}},
|
|
{"vm.psstrings", []_C_int{2, 3}},
|
|
Index: vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
|
|
@@ -36,23 +36,29 @@ var sysctlMib = []mibentry{
|
|
{"hw.pagesize", []_C_int{6, 7}},
|
|
{"hw.perfpolicy", []_C_int{6, 23}},
|
|
{"hw.physmem", []_C_int{6, 19}},
|
|
+ {"hw.power", []_C_int{6, 26}},
|
|
{"hw.product", []_C_int{6, 15}},
|
|
{"hw.serialno", []_C_int{6, 17}},
|
|
{"hw.setperf", []_C_int{6, 13}},
|
|
+ {"hw.smt", []_C_int{6, 24}},
|
|
{"hw.usermem", []_C_int{6, 20}},
|
|
{"hw.uuid", []_C_int{6, 18}},
|
|
{"hw.vendor", []_C_int{6, 14}},
|
|
{"hw.version", []_C_int{6, 16}},
|
|
+ {"kern.allowdt", []_C_int{1, 65}},
|
|
{"kern.allowkmem", []_C_int{1, 52}},
|
|
{"kern.argmax", []_C_int{1, 8}},
|
|
+ {"kern.audio", []_C_int{1, 84}},
|
|
{"kern.boottime", []_C_int{1, 21}},
|
|
{"kern.bufcachepercent", []_C_int{1, 72}},
|
|
{"kern.ccpu", []_C_int{1, 45}},
|
|
{"kern.clockrate", []_C_int{1, 12}},
|
|
+ {"kern.consbuf", []_C_int{1, 83}},
|
|
+ {"kern.consbufsize", []_C_int{1, 82}},
|
|
{"kern.consdev", []_C_int{1, 75}},
|
|
{"kern.cp_time", []_C_int{1, 40}},
|
|
{"kern.cp_time2", []_C_int{1, 71}},
|
|
- {"kern.dnsjackport", []_C_int{1, 13}},
|
|
+ {"kern.cpustats", []_C_int{1, 85}},
|
|
{"kern.domainname", []_C_int{1, 22}},
|
|
{"kern.file", []_C_int{1, 73}},
|
|
{"kern.forkstat", []_C_int{1, 42}},
|
|
@@ -88,6 +94,7 @@ var sysctlMib = []mibentry{
|
|
{"kern.osrevision", []_C_int{1, 3}},
|
|
{"kern.ostype", []_C_int{1, 1}},
|
|
{"kern.osversion", []_C_int{1, 27}},
|
|
+ {"kern.pfstatus", []_C_int{1, 86}},
|
|
{"kern.pool_debug", []_C_int{1, 77}},
|
|
{"kern.posix1version", []_C_int{1, 17}},
|
|
{"kern.proc", []_C_int{1, 66}},
|
|
@@ -108,15 +115,19 @@ var sysctlMib = []mibentry{
|
|
{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
|
|
{"kern.timecounter.tick", []_C_int{1, 69, 1}},
|
|
{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
|
|
+ {"kern.timeout_stats", []_C_int{1, 87}},
|
|
{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
|
|
{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
|
|
{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
|
|
{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
|
|
{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
|
|
{"kern.ttycount", []_C_int{1, 57}},
|
|
+ {"kern.utc_offset", []_C_int{1, 88}},
|
|
{"kern.version", []_C_int{1, 4}},
|
|
+ {"kern.video", []_C_int{1, 89}},
|
|
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
|
|
{"kern.watchdog.period", []_C_int{1, 64, 1}},
|
|
+ {"kern.witnesswatch", []_C_int{1, 53}},
|
|
{"kern.wxabort", []_C_int{1, 74}},
|
|
{"net.bpf.bufsize", []_C_int{4, 31, 1}},
|
|
{"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
|
|
@@ -176,7 +187,6 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
|
|
{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
|
|
{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
|
|
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
|
|
{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
|
|
{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
|
|
{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
|
|
@@ -252,12 +262,12 @@ var sysctlMib = []mibentry{
|
|
{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
|
|
{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
|
|
{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
|
|
- {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
|
|
{"net.mpls.ttl", []_C_int{4, 33, 2}},
|
|
{"net.pflow.stats", []_C_int{4, 34, 1}},
|
|
{"net.pipex.enable", []_C_int{4, 35, 1}},
|
|
{"vm.anonmin", []_C_int{2, 7}},
|
|
{"vm.loadavg", []_C_int{2, 2}},
|
|
+ {"vm.malloc_conf", []_C_int{2, 12}},
|
|
{"vm.maxslp", []_C_int{2, 10}},
|
|
{"vm.nkmempages", []_C_int{2, 6}},
|
|
{"vm.psstrings", []_C_int{2, 3}},
|
|
Index: vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
|
|
@@ -36,6 +36,7 @@ var sysctlMib = []mibentry{
|
|
{"hw.pagesize", []_C_int{6, 7}},
|
|
{"hw.perfpolicy", []_C_int{6, 23}},
|
|
{"hw.physmem", []_C_int{6, 19}},
|
|
+ {"hw.power", []_C_int{6, 26}},
|
|
{"hw.product", []_C_int{6, 15}},
|
|
{"hw.serialno", []_C_int{6, 17}},
|
|
{"hw.setperf", []_C_int{6, 13}},
|
|
@@ -44,6 +45,7 @@ var sysctlMib = []mibentry{
|
|
{"hw.uuid", []_C_int{6, 18}},
|
|
{"hw.vendor", []_C_int{6, 14}},
|
|
{"hw.version", []_C_int{6, 16}},
|
|
+ {"kern.allowdt", []_C_int{1, 65}},
|
|
{"kern.allowkmem", []_C_int{1, 52}},
|
|
{"kern.argmax", []_C_int{1, 8}},
|
|
{"kern.audio", []_C_int{1, 84}},
|
|
@@ -51,6 +53,8 @@ var sysctlMib = []mibentry{
|
|
{"kern.bufcachepercent", []_C_int{1, 72}},
|
|
{"kern.ccpu", []_C_int{1, 45}},
|
|
{"kern.clockrate", []_C_int{1, 12}},
|
|
+ {"kern.consbuf", []_C_int{1, 83}},
|
|
+ {"kern.consbufsize", []_C_int{1, 82}},
|
|
{"kern.consdev", []_C_int{1, 75}},
|
|
{"kern.cp_time", []_C_int{1, 40}},
|
|
{"kern.cp_time2", []_C_int{1, 71}},
|
|
@@ -90,6 +94,7 @@ var sysctlMib = []mibentry{
|
|
{"kern.osrevision", []_C_int{1, 3}},
|
|
{"kern.ostype", []_C_int{1, 1}},
|
|
{"kern.osversion", []_C_int{1, 27}},
|
|
+ {"kern.pfstatus", []_C_int{1, 86}},
|
|
{"kern.pool_debug", []_C_int{1, 77}},
|
|
{"kern.posix1version", []_C_int{1, 17}},
|
|
{"kern.proc", []_C_int{1, 66}},
|
|
@@ -110,13 +115,16 @@ var sysctlMib = []mibentry{
|
|
{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
|
|
{"kern.timecounter.tick", []_C_int{1, 69, 1}},
|
|
{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
|
|
+ {"kern.timeout_stats", []_C_int{1, 87}},
|
|
{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
|
|
{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
|
|
{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
|
|
{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
|
|
{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
|
|
{"kern.ttycount", []_C_int{1, 57}},
|
|
+ {"kern.utc_offset", []_C_int{1, 88}},
|
|
{"kern.version", []_C_int{1, 4}},
|
|
+ {"kern.video", []_C_int{1, 89}},
|
|
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
|
|
{"kern.watchdog.period", []_C_int{1, 64, 1}},
|
|
{"kern.witnesswatch", []_C_int{1, 53}},
|
|
@@ -179,7 +187,6 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
|
|
{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
|
|
{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
|
|
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
|
|
{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
|
|
{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
|
|
{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
|
|
@@ -255,7 +262,6 @@ var sysctlMib = []mibentry{
|
|
{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
|
|
{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
|
|
{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
|
|
- {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
|
|
{"net.mpls.ttl", []_C_int{4, 33, 2}},
|
|
{"net.pflow.stats", []_C_int{4, 34, 1}},
|
|
{"net.pipex.enable", []_C_int{4, 35, 1}},
|
|
Index: vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
|
|
--- vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
|
|
@@ -17,6 +17,7 @@ var sysctlMib = []mibentry{
|
|
{"ddb.max_line", []_C_int{9, 3}},
|
|
{"ddb.max_width", []_C_int{9, 2}},
|
|
{"ddb.panic", []_C_int{9, 5}},
|
|
+ {"ddb.profile", []_C_int{9, 9}},
|
|
{"ddb.radix", []_C_int{9, 1}},
|
|
{"ddb.tab_stop_width", []_C_int{9, 4}},
|
|
{"ddb.trigger", []_C_int{9, 8}},
|
|
@@ -33,29 +34,37 @@ var sysctlMib = []mibentry{
|
|
{"hw.ncpufound", []_C_int{6, 21}},
|
|
{"hw.ncpuonline", []_C_int{6, 25}},
|
|
{"hw.pagesize", []_C_int{6, 7}},
|
|
+ {"hw.perfpolicy", []_C_int{6, 23}},
|
|
{"hw.physmem", []_C_int{6, 19}},
|
|
+ {"hw.power", []_C_int{6, 26}},
|
|
{"hw.product", []_C_int{6, 15}},
|
|
{"hw.serialno", []_C_int{6, 17}},
|
|
{"hw.setperf", []_C_int{6, 13}},
|
|
+ {"hw.smt", []_C_int{6, 24}},
|
|
{"hw.usermem", []_C_int{6, 20}},
|
|
{"hw.uuid", []_C_int{6, 18}},
|
|
{"hw.vendor", []_C_int{6, 14}},
|
|
{"hw.version", []_C_int{6, 16}},
|
|
- {"kern.arandom", []_C_int{1, 37}},
|
|
+ {"kern.allowdt", []_C_int{1, 65}},
|
|
+ {"kern.allowkmem", []_C_int{1, 52}},
|
|
{"kern.argmax", []_C_int{1, 8}},
|
|
+ {"kern.audio", []_C_int{1, 84}},
|
|
{"kern.boottime", []_C_int{1, 21}},
|
|
{"kern.bufcachepercent", []_C_int{1, 72}},
|
|
{"kern.ccpu", []_C_int{1, 45}},
|
|
{"kern.clockrate", []_C_int{1, 12}},
|
|
+ {"kern.consbuf", []_C_int{1, 83}},
|
|
+ {"kern.consbufsize", []_C_int{1, 82}},
|
|
{"kern.consdev", []_C_int{1, 75}},
|
|
{"kern.cp_time", []_C_int{1, 40}},
|
|
{"kern.cp_time2", []_C_int{1, 71}},
|
|
- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
|
|
+ {"kern.cpustats", []_C_int{1, 85}},
|
|
{"kern.domainname", []_C_int{1, 22}},
|
|
{"kern.file", []_C_int{1, 73}},
|
|
{"kern.forkstat", []_C_int{1, 42}},
|
|
{"kern.fscale", []_C_int{1, 46}},
|
|
{"kern.fsync", []_C_int{1, 33}},
|
|
+ {"kern.global_ptrace", []_C_int{1, 81}},
|
|
{"kern.hostid", []_C_int{1, 11}},
|
|
{"kern.hostname", []_C_int{1, 10}},
|
|
{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
|
|
@@ -85,10 +94,10 @@ var sysctlMib = []mibentry{
|
|
{"kern.osrevision", []_C_int{1, 3}},
|
|
{"kern.ostype", []_C_int{1, 1}},
|
|
{"kern.osversion", []_C_int{1, 27}},
|
|
+ {"kern.pfstatus", []_C_int{1, 86}},
|
|
{"kern.pool_debug", []_C_int{1, 77}},
|
|
{"kern.posix1version", []_C_int{1, 17}},
|
|
{"kern.proc", []_C_int{1, 66}},
|
|
- {"kern.random", []_C_int{1, 31}},
|
|
{"kern.rawpartition", []_C_int{1, 24}},
|
|
{"kern.saved_ids", []_C_int{1, 20}},
|
|
{"kern.securelevel", []_C_int{1, 9}},
|
|
@@ -106,21 +115,20 @@ var sysctlMib = []mibentry{
|
|
{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
|
|
{"kern.timecounter.tick", []_C_int{1, 69, 1}},
|
|
{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
|
|
- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
|
|
- {"kern.tty.nptys", []_C_int{1, 44, 7}},
|
|
+ {"kern.timeout_stats", []_C_int{1, 87}},
|
|
{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
|
|
{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
|
|
{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
|
|
{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
|
|
{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
|
|
{"kern.ttycount", []_C_int{1, 57}},
|
|
- {"kern.userasymcrypto", []_C_int{1, 60}},
|
|
- {"kern.usercrypto", []_C_int{1, 52}},
|
|
- {"kern.usermount", []_C_int{1, 30}},
|
|
+ {"kern.utc_offset", []_C_int{1, 88}},
|
|
{"kern.version", []_C_int{1, 4}},
|
|
- {"kern.vnode", []_C_int{1, 13}},
|
|
+ {"kern.video", []_C_int{1, 89}},
|
|
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
|
|
{"kern.watchdog.period", []_C_int{1, 64, 1}},
|
|
+ {"kern.witnesswatch", []_C_int{1, 53}},
|
|
+ {"kern.wxabort", []_C_int{1, 74}},
|
|
{"net.bpf.bufsize", []_C_int{4, 31, 1}},
|
|
{"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
|
|
{"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
|
|
@@ -148,7 +156,9 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
|
|
{"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
|
|
{"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
|
|
+ {"net.inet.ip.arpdown", []_C_int{4, 2, 0, 40}},
|
|
{"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
|
|
+ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}},
|
|
{"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
|
|
{"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
|
|
{"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
|
|
@@ -157,8 +167,10 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
|
|
{"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
|
|
{"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
|
|
+ {"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
|
|
{"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
|
|
{"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
|
|
+ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}},
|
|
{"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
|
|
{"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
|
|
{"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
|
|
@@ -175,9 +187,7 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
|
|
{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
|
|
{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
|
|
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
|
|
{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
|
|
- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
|
|
{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
|
|
{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
|
|
{"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
|
|
@@ -191,6 +201,7 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
|
|
{"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
|
|
{"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
|
|
+ {"net.inet.tcp.rootonly", []_C_int{4, 2, 6, 24}},
|
|
{"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
|
|
{"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
|
|
{"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
|
|
@@ -198,9 +209,12 @@ var sysctlMib = []mibentry{
|
|
{"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
|
|
{"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
|
|
{"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
|
|
+ {"net.inet.tcp.synhashsize", []_C_int{4, 2, 6, 25}},
|
|
+ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}},
|
|
{"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
|
|
{"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
|
|
{"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
|
|
+ {"net.inet.udp.rootonly", []_C_int{4, 2, 17, 6}},
|
|
{"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
|
|
{"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
|
|
{"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
|
|
@@ -213,13 +227,8 @@ var sysctlMib = []mibentry{
|
|
{"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
|
|
{"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
|
|
{"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
|
|
- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
|
|
{"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
|
|
- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
|
|
- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
|
|
- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
|
|
{"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
|
|
- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
|
|
{"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
|
|
{"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
|
|
{"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
|
|
@@ -232,20 +241,19 @@ var sysctlMib = []mibentry{
|
|
{"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
|
|
{"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
|
|
{"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
|
|
- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
|
|
- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
|
|
{"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
|
|
+ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}},
|
|
+ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}},
|
|
{"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
|
|
{"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
|
|
{"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
|
|
{"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
|
|
{"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
|
|
{"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
|
|
- {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
|
|
+ {"net.inet6.ip6.soiikey", []_C_int{4, 24, 17, 54}},
|
|
{"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
|
|
{"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
|
|
{"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
|
|
- {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
|
|
{"net.key.sadb_dump", []_C_int{4, 30, 1}},
|
|
{"net.key.spd_dump", []_C_int{4, 30, 2}},
|
|
{"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
|
|
@@ -254,12 +262,12 @@ var sysctlMib = []mibentry{
|
|
{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
|
|
{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
|
|
{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
|
|
- {"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
|
|
{"net.mpls.ttl", []_C_int{4, 33, 2}},
|
|
{"net.pflow.stats", []_C_int{4, 34, 1}},
|
|
{"net.pipex.enable", []_C_int{4, 35, 1}},
|
|
{"vm.anonmin", []_C_int{2, 7}},
|
|
{"vm.loadavg", []_C_int{2, 2}},
|
|
+ {"vm.malloc_conf", []_C_int{2, 12}},
|
|
{"vm.maxslp", []_C_int{2, 10}},
|
|
{"vm.nkmempages", []_C_int{2, 6}},
|
|
{"vm.psstrings", []_C_int{2, 3}},
|
|
Index: vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go
|
|
@@ -36,6 +36,7 @@ var sysctlMib = []mibentry{
|
|
{"hw.pagesize", []_C_int{6, 7}},
|
|
{"hw.perfpolicy", []_C_int{6, 23}},
|
|
{"hw.physmem", []_C_int{6, 19}},
|
|
+ {"hw.power", []_C_int{6, 26}},
|
|
{"hw.product", []_C_int{6, 15}},
|
|
{"hw.serialno", []_C_int{6, 17}},
|
|
{"hw.setperf", []_C_int{6, 13}},
|
|
@@ -123,6 +124,7 @@ var sysctlMib = []mibentry{
|
|
{"kern.ttycount", []_C_int{1, 57}},
|
|
{"kern.utc_offset", []_C_int{1, 88}},
|
|
{"kern.version", []_C_int{1, 4}},
|
|
+ {"kern.video", []_C_int{1, 89}},
|
|
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
|
|
{"kern.watchdog.period", []_C_int{1, 64, 1}},
|
|
{"kern.witnesswatch", []_C_int{1, 53}},
|
|
Index: vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
|
|
--- vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master?rev=1.223&content-type=text/plain
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build 386 && openbsd
|
|
@@ -43,6 +43,7 @@ const (
|
|
SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
|
|
SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
|
|
SYS_SYNC = 36 // { void sys_sync(void); }
|
|
+ SYS_MSYSCALL = 37 // { int sys_msyscall(void *addr, size_t len); }
|
|
SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
|
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
|
SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
|
@@ -54,6 +55,7 @@ const (
|
|
SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
|
|
SYS_GETGID = 47 // { gid_t sys_getgid(void); }
|
|
SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
|
|
+ SYS_MMAP = 49 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
|
|
SYS_ACCT = 51 // { int sys_acct(const char *path); }
|
|
SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
|
|
@@ -82,7 +84,7 @@ const (
|
|
SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
|
|
SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
|
|
SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
|
|
- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
|
|
+ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
|
|
SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
|
|
SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
|
|
@@ -118,6 +120,7 @@ const (
|
|
SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
|
|
SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
|
|
SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
|
|
+ SYS___REALPATH = 115 // { int sys___realpath(const char *pathname, char *resolved); }
|
|
SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
|
|
SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
|
|
SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
|
|
@@ -141,9 +144,17 @@ const (
|
|
SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
|
|
SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
|
|
SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
|
|
+ SYS___TMPFD = 164 // { int sys___tmpfd(int flags); }
|
|
SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
|
|
- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_LSEEK = 166 // { off_t sys_lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 167 // { int sys_truncate(const char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 168 // { int sys_ftruncate(int fd, off_t length); }
|
|
+ SYS_PREAD = 169 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 170 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PREADV = 171 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 172 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PAD_PREAD = 173 // { ssize_t sys_pad_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITE = 174 // { ssize_t sys_pad_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
|
|
@@ -152,10 +163,10 @@ const (
|
|
SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
|
|
SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
|
|
SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
|
|
- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
|
|
- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
|
|
- SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
|
|
+ SYS_PAD_MMAP = 197 // { void *sys_pad_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_LSEEK = 199 // { off_t sys_pad_lseek(int fd, int pad, off_t offset, int whence); }
|
|
+ SYS_PAD_TRUNCATE = 200 // { int sys_pad_truncate(const char *path, int pad, off_t length); }
|
|
+ SYS_PAD_FTRUNCATE = 201 // { int sys_pad_ftruncate(int fd, int pad, off_t length); }
|
|
SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
|
|
@@ -175,8 +186,8 @@ const (
|
|
SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
|
|
SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
|
|
SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
|
|
- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PREADV = 267 // { ssize_t sys_pad_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITEV = 268 // { ssize_t sys_pad_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
SYS_KQUEUE = 269 // { int sys_kqueue(void); }
|
|
SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
|
|
SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
|
|
@@ -184,7 +195,7 @@ const (
|
|
SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_MQUERY = 286 // { void *sys_pad_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
|
|
SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
|
|
SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
|
|
Index: vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master?rev=1.223&content-type=text/plain
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build amd64 && openbsd
|
|
@@ -43,6 +43,7 @@ const (
|
|
SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
|
|
SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
|
|
SYS_SYNC = 36 // { void sys_sync(void); }
|
|
+ SYS_MSYSCALL = 37 // { int sys_msyscall(void *addr, size_t len); }
|
|
SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
|
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
|
SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
|
@@ -54,6 +55,7 @@ const (
|
|
SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
|
|
SYS_GETGID = 47 // { gid_t sys_getgid(void); }
|
|
SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
|
|
+ SYS_MMAP = 49 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
|
|
SYS_ACCT = 51 // { int sys_acct(const char *path); }
|
|
SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
|
|
@@ -82,7 +84,7 @@ const (
|
|
SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
|
|
SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
|
|
SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
|
|
- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
|
|
+ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
|
|
SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
|
|
SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
|
|
@@ -118,6 +120,7 @@ const (
|
|
SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
|
|
SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
|
|
SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
|
|
+ SYS___REALPATH = 115 // { int sys___realpath(const char *pathname, char *resolved); }
|
|
SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
|
|
SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
|
|
SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
|
|
@@ -141,9 +144,17 @@ const (
|
|
SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
|
|
SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
|
|
SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
|
|
+ SYS___TMPFD = 164 // { int sys___tmpfd(int flags); }
|
|
SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
|
|
- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_LSEEK = 166 // { off_t sys_lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 167 // { int sys_truncate(const char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 168 // { int sys_ftruncate(int fd, off_t length); }
|
|
+ SYS_PREAD = 169 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 170 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PREADV = 171 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 172 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PAD_PREAD = 173 // { ssize_t sys_pad_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITE = 174 // { ssize_t sys_pad_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
|
|
@@ -152,10 +163,10 @@ const (
|
|
SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
|
|
SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
|
|
SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
|
|
- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
|
|
- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
|
|
- SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
|
|
+ SYS_PAD_MMAP = 197 // { void *sys_pad_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_LSEEK = 199 // { off_t sys_pad_lseek(int fd, int pad, off_t offset, int whence); }
|
|
+ SYS_PAD_TRUNCATE = 200 // { int sys_pad_truncate(const char *path, int pad, off_t length); }
|
|
+ SYS_PAD_FTRUNCATE = 201 // { int sys_pad_ftruncate(int fd, int pad, off_t length); }
|
|
SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
|
|
@@ -175,8 +186,8 @@ const (
|
|
SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
|
|
SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
|
|
SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
|
|
- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PREADV = 267 // { ssize_t sys_pad_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITEV = 268 // { ssize_t sys_pad_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
SYS_KQUEUE = 269 // { int sys_kqueue(void); }
|
|
SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
|
|
SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
|
|
@@ -184,7 +195,7 @@ const (
|
|
SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_MQUERY = 286 // { void *sys_pad_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
|
|
SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
|
|
SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
|
|
Index: vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master?rev=1.223&content-type=text/plain
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm64 && openbsd
|
|
@@ -43,6 +43,7 @@ const (
|
|
SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
|
|
SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
|
|
SYS_SYNC = 36 // { void sys_sync(void); }
|
|
+ SYS_MSYSCALL = 37 // { int sys_msyscall(void *addr, size_t len); }
|
|
SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
|
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
|
SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
|
@@ -54,6 +55,7 @@ const (
|
|
SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
|
|
SYS_GETGID = 47 // { gid_t sys_getgid(void); }
|
|
SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
|
|
+ SYS_MMAP = 49 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
|
|
SYS_ACCT = 51 // { int sys_acct(const char *path); }
|
|
SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
|
|
@@ -82,6 +84,7 @@ const (
|
|
SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
|
|
SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
|
|
SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
|
|
+ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
|
|
SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
|
|
SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
|
|
@@ -117,6 +120,7 @@ const (
|
|
SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
|
|
SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
|
|
SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
|
|
+ SYS___REALPATH = 115 // { int sys___realpath(const char *pathname, char *resolved); }
|
|
SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
|
|
SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
|
|
SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
|
|
@@ -140,9 +144,17 @@ const (
|
|
SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
|
|
SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
|
|
SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
|
|
+ SYS___TMPFD = 164 // { int sys___tmpfd(int flags); }
|
|
SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
|
|
- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_LSEEK = 166 // { off_t sys_lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 167 // { int sys_truncate(const char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 168 // { int sys_ftruncate(int fd, off_t length); }
|
|
+ SYS_PREAD = 169 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 170 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PREADV = 171 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 172 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PAD_PREAD = 173 // { ssize_t sys_pad_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITE = 174 // { ssize_t sys_pad_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
|
|
@@ -151,10 +163,10 @@ const (
|
|
SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
|
|
SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
|
|
SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
|
|
- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
|
|
- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
|
|
- SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
|
|
+ SYS_PAD_MMAP = 197 // { void *sys_pad_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_LSEEK = 199 // { off_t sys_pad_lseek(int fd, int pad, off_t offset, int whence); }
|
|
+ SYS_PAD_TRUNCATE = 200 // { int sys_pad_truncate(const char *path, int pad, off_t length); }
|
|
+ SYS_PAD_FTRUNCATE = 201 // { int sys_pad_ftruncate(int fd, int pad, off_t length); }
|
|
SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
|
|
@@ -174,8 +186,8 @@ const (
|
|
SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
|
|
SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
|
|
SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
|
|
- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PREADV = 267 // { ssize_t sys_pad_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITEV = 268 // { ssize_t sys_pad_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
SYS_KQUEUE = 269 // { int sys_kqueue(void); }
|
|
SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
|
|
SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
|
|
@@ -183,7 +195,7 @@ const (
|
|
SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_MQUERY = 286 // { void *sys_pad_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
|
|
SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
|
|
SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
|
|
Index: vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
|
|
--- vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master?rev=1.223&content-type=text/plain
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm && openbsd
|
|
@@ -43,6 +43,7 @@ const (
|
|
SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
|
|
SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
|
|
SYS_SYNC = 36 // { void sys_sync(void); }
|
|
+ SYS_MSYSCALL = 37 // { int sys_msyscall(void *addr, size_t len); }
|
|
SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
|
|
SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
|
|
SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
|
|
@@ -54,6 +55,7 @@ const (
|
|
SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
|
|
SYS_GETGID = 47 // { gid_t sys_getgid(void); }
|
|
SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
|
|
+ SYS_MMAP = 49 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
|
|
SYS_ACCT = 51 // { int sys_acct(const char *path); }
|
|
SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
|
|
@@ -82,7 +84,7 @@ const (
|
|
SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
|
|
SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
|
|
SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
|
|
- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
|
|
+ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
|
|
SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
|
|
SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
|
|
@@ -118,6 +120,7 @@ const (
|
|
SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
|
|
SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
|
|
SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
|
|
+ SYS___REALPATH = 115 // { int sys___realpath(const char *pathname, char *resolved); }
|
|
SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
|
|
SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
|
|
SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
|
|
@@ -141,9 +144,17 @@ const (
|
|
SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
|
|
SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
|
|
SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
|
|
+ SYS___TMPFD = 164 // { int sys___tmpfd(int flags); }
|
|
SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
|
|
- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_LSEEK = 166 // { off_t sys_lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 167 // { int sys_truncate(const char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 168 // { int sys_ftruncate(int fd, off_t length); }
|
|
+ SYS_PREAD = 169 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 170 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PREADV = 171 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 172 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PAD_PREAD = 173 // { ssize_t sys_pad_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITE = 174 // { ssize_t sys_pad_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
|
|
@@ -152,10 +163,10 @@ const (
|
|
SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
|
|
SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
|
|
SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
|
|
- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
|
|
- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
|
|
- SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
|
|
+ SYS_PAD_MMAP = 197 // { void *sys_pad_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_LSEEK = 199 // { off_t sys_pad_lseek(int fd, int pad, off_t offset, int whence); }
|
|
+ SYS_PAD_TRUNCATE = 200 // { int sys_pad_truncate(const char *path, int pad, off_t length); }
|
|
+ SYS_PAD_FTRUNCATE = 201 // { int sys_pad_ftruncate(int fd, int pad, off_t length); }
|
|
SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
|
|
@@ -175,8 +186,8 @@ const (
|
|
SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
|
|
SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
|
|
SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
|
|
- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PREADV = 267 // { ssize_t sys_pad_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITEV = 268 // { ssize_t sys_pad_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
SYS_KQUEUE = 269 // { int sys_kqueue(void); }
|
|
SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
|
|
SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
|
|
@@ -184,7 +195,7 @@ const (
|
|
SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_MQUERY = 286 // { void *sys_pad_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
|
|
SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
|
|
SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
|
|
Index: vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go
|
|
--- vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master?rev=1.223&content-type=text/plain
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64 && openbsd
|
|
@@ -55,6 +55,7 @@ const (
|
|
SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
|
|
SYS_GETGID = 47 // { gid_t sys_getgid(void); }
|
|
SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
|
|
+ SYS_MMAP = 49 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
|
|
SYS_ACCT = 51 // { int sys_acct(const char *path); }
|
|
SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
|
|
@@ -83,6 +84,7 @@ const (
|
|
SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
|
|
SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
|
|
SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
|
|
+ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
|
|
SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
|
|
SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
|
|
@@ -144,8 +146,15 @@ const (
|
|
SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
|
|
SYS___TMPFD = 164 // { int sys___tmpfd(int flags); }
|
|
SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
|
|
- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_LSEEK = 166 // { off_t sys_lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 167 // { int sys_truncate(const char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 168 // { int sys_ftruncate(int fd, off_t length); }
|
|
+ SYS_PREAD = 169 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 170 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PREADV = 171 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 172 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset); }
|
|
+ SYS_PAD_PREAD = 173 // { ssize_t sys_pad_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITE = 174 // { ssize_t sys_pad_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
|
|
SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
|
|
@@ -154,10 +163,10 @@ const (
|
|
SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
|
|
SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
|
|
SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
|
|
- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
|
|
- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
|
|
- SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
|
|
+ SYS_PAD_MMAP = 197 // { void *sys_pad_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_LSEEK = 199 // { off_t sys_pad_lseek(int fd, int pad, off_t offset, int whence); }
|
|
+ SYS_PAD_TRUNCATE = 200 // { int sys_pad_truncate(const char *path, int pad, off_t length); }
|
|
+ SYS_PAD_FTRUNCATE = 201 // { int sys_pad_ftruncate(int fd, int pad, off_t length); }
|
|
SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
|
|
@@ -177,8 +186,8 @@ const (
|
|
SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
|
|
SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
|
|
SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
|
|
- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PREADV = 267 // { ssize_t sys_pad_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
+ SYS_PAD_PWRITEV = 268 // { ssize_t sys_pad_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
|
|
SYS_KQUEUE = 269 // { int sys_kqueue(void); }
|
|
SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
|
|
SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
|
|
@@ -186,7 +195,7 @@ const (
|
|
SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
+ SYS_PAD_MQUERY = 286 // { void *sys_pad_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
|
|
SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
|
|
SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
|
|
SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
|
|
Index: vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
|
|
--- vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
|
|
@@ -58,22 +58,22 @@ type Rlimit struct {
|
|
type _Gid_t uint32
|
|
|
|
type Stat_t struct {
|
|
- Mode uint32
|
|
- Dev int32
|
|
- Ino uint64
|
|
- Nlink uint32
|
|
- Uid uint32
|
|
- Gid uint32
|
|
- Rdev int32
|
|
- Atim Timespec
|
|
- Mtim Timespec
|
|
- Ctim Timespec
|
|
- Size int64
|
|
- Blocks int64
|
|
- Blksize uint32
|
|
- Flags uint32
|
|
- Gen uint32
|
|
- X__st_birthtim Timespec
|
|
+ Mode uint32
|
|
+ Dev int32
|
|
+ Ino uint64
|
|
+ Nlink uint32
|
|
+ Uid uint32
|
|
+ Gid uint32
|
|
+ Rdev int32
|
|
+ Atim Timespec
|
|
+ Mtim Timespec
|
|
+ Ctim Timespec
|
|
+ Size int64
|
|
+ Blocks int64
|
|
+ Blksize int32
|
|
+ Flags uint32
|
|
+ Gen uint32
|
|
+ _ Timespec
|
|
}
|
|
|
|
type Statfs_t struct {
|
|
@@ -98,7 +98,7 @@ type Statfs_t struct {
|
|
F_mntonname [90]byte
|
|
F_mntfromname [90]byte
|
|
F_mntfromspec [90]byte
|
|
- Pad_cgo_0 [2]byte
|
|
+ _ [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
|
|
@@ -111,13 +111,13 @@ type Flock_t struct {
|
|
}
|
|
|
|
type Dirent struct {
|
|
- Fileno uint64
|
|
- Off int64
|
|
- Reclen uint16
|
|
- Type uint8
|
|
- Namlen uint8
|
|
- X__d_padding [4]uint8
|
|
- Name [256]int8
|
|
+ Fileno uint64
|
|
+ Off int64
|
|
+ Reclen uint16
|
|
+ Type uint8
|
|
+ Namlen uint8
|
|
+ _ [4]uint8
|
|
+ Name [256]int8
|
|
}
|
|
|
|
type Fsid struct {
|
|
@@ -262,8 +262,8 @@ type FdSet struct {
|
|
}
|
|
|
|
const (
|
|
- SizeofIfMsghdr = 0xec
|
|
- SizeofIfData = 0xd4
|
|
+ SizeofIfMsghdr = 0xa0
|
|
+ SizeofIfData = 0x88
|
|
SizeofIfaMsghdr = 0x18
|
|
SizeofIfAnnounceMsghdr = 0x1a
|
|
SizeofRtMsghdr = 0x60
|
|
@@ -292,7 +292,7 @@ type IfData struct {
|
|
Link_state uint8
|
|
Mtu uint32
|
|
Metric uint32
|
|
- Pad uint32
|
|
+ Rdomain uint32
|
|
Baudrate uint64
|
|
Ipackets uint64
|
|
Ierrors uint64
|
|
@@ -304,10 +304,10 @@ type IfData struct {
|
|
Imcasts uint64
|
|
Omcasts uint64
|
|
Iqdrops uint64
|
|
+ Oqdrops uint64
|
|
Noproto uint64
|
|
Capabilities uint32
|
|
Lastchange Timeval
|
|
- Mclpool [7]Mclpool
|
|
}
|
|
|
|
type IfaMsghdr struct {
|
|
@@ -368,20 +368,14 @@ type RtMetrics struct {
|
|
Pad uint32
|
|
}
|
|
|
|
-type Mclpool struct {
|
|
- Grown int32
|
|
- Alive uint16
|
|
- Hwm uint16
|
|
- Cwm uint16
|
|
- Lwm uint16
|
|
-}
|
|
+type Mclpool struct{}
|
|
|
|
const (
|
|
SizeofBpfVersion = 0x4
|
|
SizeofBpfStat = 0x8
|
|
SizeofBpfProgram = 0x8
|
|
SizeofBpfInsn = 0x8
|
|
- SizeofBpfHdr = 0x14
|
|
+ SizeofBpfHdr = 0x18
|
|
)
|
|
|
|
type BpfVersion struct {
|
|
@@ -407,11 +401,14 @@ type BpfInsn struct {
|
|
}
|
|
|
|
type BpfHdr struct {
|
|
- Tstamp BpfTimeval
|
|
- Caplen uint32
|
|
- Datalen uint32
|
|
- Hdrlen uint16
|
|
- Pad_cgo_0 [2]byte
|
|
+ Tstamp BpfTimeval
|
|
+ Caplen uint32
|
|
+ Datalen uint32
|
|
+ Hdrlen uint16
|
|
+ Ifidx uint16
|
|
+ Flowid uint16
|
|
+ Flags uint8
|
|
+ Drops uint8
|
|
}
|
|
|
|
type BpfTimeval struct {
|
|
@@ -488,7 +485,7 @@ type Uvmexp struct {
|
|
Zeropages int32
|
|
Reserve_pagedaemon int32
|
|
Reserve_kernel int32
|
|
- Anonpages int32
|
|
+ Unused01 int32
|
|
Vnodepages int32
|
|
Vtextpages int32
|
|
Freemin int32
|
|
@@ -507,8 +504,8 @@ type Uvmexp struct {
|
|
Swpgonly int32
|
|
Nswget int32
|
|
Nanon int32
|
|
- Nanonneeded int32
|
|
- Nfreeanon int32
|
|
+ Unused05 int32
|
|
+ Unused06 int32
|
|
Faults int32
|
|
Traps int32
|
|
Intrs int32
|
|
@@ -516,8 +513,8 @@ type Uvmexp struct {
|
|
Softs int32
|
|
Syscalls int32
|
|
Pageins int32
|
|
- Obsolete_swapins int32
|
|
- Obsolete_swapouts int32
|
|
+ Unused07 int32
|
|
+ Unused08 int32
|
|
Pgswapin int32
|
|
Pgswapout int32
|
|
Forks int32
|
|
@@ -525,7 +522,7 @@ type Uvmexp struct {
|
|
Forks_sharevm int32
|
|
Pga_zerohit int32
|
|
Pga_zeromiss int32
|
|
- Zeroaborts int32
|
|
+ Unused09 int32
|
|
Fltnoram int32
|
|
Fltnoanon int32
|
|
Fltnoamap int32
|
|
@@ -557,9 +554,9 @@ type Uvmexp struct {
|
|
Pdpageouts int32
|
|
Pdpending int32
|
|
Pddeact int32
|
|
- Pdreanon int32
|
|
- Pdrevnode int32
|
|
- Pdrevtext int32
|
|
+ Unused11 int32
|
|
+ Unused12 int32
|
|
+ Unused13 int32
|
|
Fpswtch int32
|
|
Kmapent int32
|
|
}
|
|
Index: vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
|
|
--- vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
|
|
@@ -73,7 +73,6 @@ type Stat_t struct {
|
|
Blksize int32
|
|
Flags uint32
|
|
Gen uint32
|
|
- _ [4]byte
|
|
_ Timespec
|
|
}
|
|
|
|
@@ -81,7 +80,6 @@ type Statfs_t struct {
|
|
F_flags uint32
|
|
F_bsize uint32
|
|
F_iosize uint32
|
|
- _ [4]byte
|
|
F_blocks uint64
|
|
F_bfree uint64
|
|
F_bavail int64
|
|
@@ -200,10 +198,8 @@ type IPv6Mreq struct {
|
|
type Msghdr struct {
|
|
Name *byte
|
|
Namelen uint32
|
|
- _ [4]byte
|
|
Iov *Iovec
|
|
Iovlen uint32
|
|
- _ [4]byte
|
|
Control *byte
|
|
Controllen uint32
|
|
Flags int32
|
|
@@ -311,7 +307,6 @@ type IfData struct {
|
|
Oqdrops uint64
|
|
Noproto uint64
|
|
Capabilities uint32
|
|
- _ [4]byte
|
|
Lastchange Timeval
|
|
}
|
|
|
|
@@ -380,7 +375,7 @@ const (
|
|
SizeofBpfStat = 0x8
|
|
SizeofBpfProgram = 0x10
|
|
SizeofBpfInsn = 0x8
|
|
- SizeofBpfHdr = 0x14
|
|
+ SizeofBpfHdr = 0x18
|
|
)
|
|
|
|
type BpfVersion struct {
|
|
@@ -395,7 +390,6 @@ type BpfStat struct {
|
|
|
|
type BpfProgram struct {
|
|
Len uint32
|
|
- _ [4]byte
|
|
Insns *BpfInsn
|
|
}
|
|
|
|
@@ -411,7 +405,10 @@ type BpfHdr struct {
|
|
Caplen uint32
|
|
Datalen uint32
|
|
Hdrlen uint16
|
|
- _ [2]byte
|
|
+ Ifidx uint16
|
|
+ Flowid uint16
|
|
+ Flags uint8
|
|
+ Drops uint8
|
|
}
|
|
|
|
type BpfTimeval struct {
|
|
@@ -488,7 +485,7 @@ type Uvmexp struct {
|
|
Zeropages int32
|
|
Reserve_pagedaemon int32
|
|
Reserve_kernel int32
|
|
- Anonpages int32
|
|
+ Unused01 int32
|
|
Vnodepages int32
|
|
Vtextpages int32
|
|
Freemin int32
|
|
@@ -507,8 +504,8 @@ type Uvmexp struct {
|
|
Swpgonly int32
|
|
Nswget int32
|
|
Nanon int32
|
|
- Nanonneeded int32
|
|
- Nfreeanon int32
|
|
+ Unused05 int32
|
|
+ Unused06 int32
|
|
Faults int32
|
|
Traps int32
|
|
Intrs int32
|
|
@@ -516,8 +513,8 @@ type Uvmexp struct {
|
|
Softs int32
|
|
Syscalls int32
|
|
Pageins int32
|
|
- Obsolete_swapins int32
|
|
- Obsolete_swapouts int32
|
|
+ Unused07 int32
|
|
+ Unused08 int32
|
|
Pgswapin int32
|
|
Pgswapout int32
|
|
Forks int32
|
|
@@ -525,7 +522,7 @@ type Uvmexp struct {
|
|
Forks_sharevm int32
|
|
Pga_zerohit int32
|
|
Pga_zeromiss int32
|
|
- Zeroaborts int32
|
|
+ Unused09 int32
|
|
Fltnoram int32
|
|
Fltnoanon int32
|
|
Fltnoamap int32
|
|
@@ -557,9 +554,9 @@ type Uvmexp struct {
|
|
Pdpageouts int32
|
|
Pdpending int32
|
|
Pddeact int32
|
|
- Pdreanon int32
|
|
- Pdrevnode int32
|
|
- Pdrevtext int32
|
|
+ Unused11 int32
|
|
+ Unused12 int32
|
|
+ Unused13 int32
|
|
Fpswtch int32
|
|
Kmapent int32
|
|
}
|
|
Index: vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
|
|
--- vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
|
|
@@ -375,7 +375,7 @@ const (
|
|
SizeofBpfStat = 0x8
|
|
SizeofBpfProgram = 0x10
|
|
SizeofBpfInsn = 0x8
|
|
- SizeofBpfHdr = 0x14
|
|
+ SizeofBpfHdr = 0x18
|
|
)
|
|
|
|
type BpfVersion struct {
|
|
@@ -405,7 +405,10 @@ type BpfHdr struct {
|
|
Caplen uint32
|
|
Datalen uint32
|
|
Hdrlen uint16
|
|
- _ [2]byte
|
|
+ Ifidx uint16
|
|
+ Flowid uint16
|
|
+ Flags uint8
|
|
+ Drops uint8
|
|
}
|
|
|
|
type BpfTimeval struct {
|
|
Index: vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
|
|
--- vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
|
|
@@ -382,7 +382,7 @@ const (
|
|
SizeofBpfStat = 0x8
|
|
SizeofBpfProgram = 0x8
|
|
SizeofBpfInsn = 0x8
|
|
- SizeofBpfHdr = 0x14
|
|
+ SizeofBpfHdr = 0x18
|
|
)
|
|
|
|
type BpfVersion struct {
|
|
@@ -412,7 +412,10 @@ type BpfHdr struct {
|
|
Caplen uint32
|
|
Datalen uint32
|
|
Hdrlen uint16
|
|
- _ [2]byte
|
|
+ Ifidx uint16
|
|
+ Flowid uint16
|
|
+ Flags uint8
|
|
+ Drops uint8
|
|
}
|
|
|
|
type BpfTimeval struct {
|
|
Index: vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go
|
|
--- vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go.orig
|
|
+++ vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go
|
|
@@ -375,7 +375,7 @@ const (
|
|
SizeofBpfStat = 0x8
|
|
SizeofBpfProgram = 0x10
|
|
SizeofBpfInsn = 0x8
|
|
- SizeofBpfHdr = 0x14
|
|
+ SizeofBpfHdr = 0x18
|
|
)
|
|
|
|
type BpfVersion struct {
|
|
@@ -405,7 +405,10 @@ type BpfHdr struct {
|
|
Caplen uint32
|
|
Datalen uint32
|
|
Hdrlen uint16
|
|
- _ [2]byte
|
|
+ Ifidx uint16
|
|
+ Flowid uint16
|
|
+ Flags uint8
|
|
+ Drops uint8
|
|
}
|
|
|
|
type BpfTimeval struct {
|