sys/linux: adding constants for trace2syz to sockets

This commit is contained in:
shankarapailoor 2018-10-30 11:18:39 -05:00 committed by Dmitry Vyukov
parent 72add0ff6f
commit 06a012d997
24 changed files with 153 additions and 16 deletions

View File

@ -60,7 +60,7 @@
#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "2e656878a6826691967471b91ec87cb7f80bc6e0"
#define SYZ_REVISION "60509bb09ef1cac261da830cbb79ff6971a214ba"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -70,7 +70,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "2edefcc69cc8a526a0268eafb24fbceb52f6f4e7"
#define SYZ_REVISION "560930ad9187969d4d96db73bfdee7267fb229f4"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -80,7 +80,7 @@
#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "6297f5f67b6f4f4b919ddfb2bfd32b7f4f836a66"
#define SYZ_REVISION "a07bb484cc01604bb36f68010e760909d096a8c1"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -90,7 +90,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "3927a6072b173221064cf41c604d2bbfd2d3d355"
#define SYZ_REVISION "4360825a62714f10c315b6f1630a743fa8bf5790"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -100,7 +100,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "5f9fe7272a96ea4ec4b68efdfa453fa4079a8210"
#define SYZ_REVISION "d3514e9943f2d6fadb040dd58ff04633ddbf0442"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096

View File

@ -25142,7 +25142,7 @@ var syscalls_386 = []*Syscall{
{NR: 365, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{28, 31, 26, 55, 59}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{28, 31, 26, 55, 59, 61}},
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -38397,6 +38397,10 @@ var consts_386 = []ConstValue{
{Name: "PACKET_KERNEL", Value: 7},
{Name: "PACKET_LOOPBACK", Value: 5},
{Name: "PACKET_LOSS", Value: 14},
{Name: "PACKET_MR_ALLMULTI", Value: 2},
{Name: "PACKET_MR_MULTICAST"},
{Name: "PACKET_MR_PROMISC", Value: 1},
{Name: "PACKET_MR_UNICAST", Value: 3},
{Name: "PACKET_MULTICAST", Value: 2},
{Name: "PACKET_ORIGDEV", Value: 9},
{Name: "PACKET_OTHERHOST", Value: 3},
@ -39276,6 +39280,10 @@ var consts_386 = []ConstValue{
{Name: "SIOCGIFPFLAGS", Value: 35125},
{Name: "SIOCGIFSLAVE", Value: 35113},
{Name: "SIOCGIFTXQLEN", Value: 35138},
{Name: "SIOCGIWFREQ", Value: 35589},
{Name: "SIOCGIWMODE", Value: 35591},
{Name: "SIOCGIWNWID", Value: 35587},
{Name: "SIOCGIWSENS", Value: 35593},
{Name: "SIOCGMIIPHY", Value: 35143},
{Name: "SIOCGMIIREG", Value: 35144},
{Name: "SIOCGPGRP", Value: 35076},
@ -39313,6 +39321,10 @@ var consts_386 = []ConstValue{
{Name: "SIOCSIFPFLAGS", Value: 35124},
{Name: "SIOCSIFSLAVE", Value: 35120},
{Name: "SIOCSIFTXQLEN", Value: 35139},
{Name: "SIOCSIWFREQ", Value: 35588},
{Name: "SIOCSIWMODE", Value: 35590},
{Name: "SIOCSIWNWID", Value: 35586},
{Name: "SIOCSIWSENS", Value: 35592},
{Name: "SIOCSMIIREG", Value: 35145},
{Name: "SIOCSPGRP", Value: 35074},
{Name: "SIOCWANDEV", Value: 35146},
@ -39622,6 +39634,7 @@ var consts_386 = []ConstValue{
{Name: "SO_TIMESTAMP", Value: 29},
{Name: "SO_TIMESTAMPING", Value: 37},
{Name: "SO_TIMESTAMPNS", Value: 35},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
{Name: "SO_VM_SOCKETS_BUFFER_MIN_SIZE", Value: 1},
@ -41927,4 +41940,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_386 = "2e656878a6826691967471b91ec87cb7f80bc6e0"
const revision_386 = "60509bb09ef1cac261da830cbb79ff6971a214ba"

View File

@ -25601,7 +25601,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 55, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59, 61}},
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -39075,6 +39075,10 @@ var consts_amd64 = []ConstValue{
{Name: "PACKET_KERNEL", Value: 7},
{Name: "PACKET_LOOPBACK", Value: 5},
{Name: "PACKET_LOSS", Value: 14},
{Name: "PACKET_MR_ALLMULTI", Value: 2},
{Name: "PACKET_MR_MULTICAST"},
{Name: "PACKET_MR_PROMISC", Value: 1},
{Name: "PACKET_MR_UNICAST", Value: 3},
{Name: "PACKET_MULTICAST", Value: 2},
{Name: "PACKET_ORIGDEV", Value: 9},
{Name: "PACKET_OTHERHOST", Value: 3},
@ -39954,6 +39958,10 @@ var consts_amd64 = []ConstValue{
{Name: "SIOCGIFPFLAGS", Value: 35125},
{Name: "SIOCGIFSLAVE", Value: 35113},
{Name: "SIOCGIFTXQLEN", Value: 35138},
{Name: "SIOCGIWFREQ", Value: 35589},
{Name: "SIOCGIWMODE", Value: 35591},
{Name: "SIOCGIWNWID", Value: 35587},
{Name: "SIOCGIWSENS", Value: 35593},
{Name: "SIOCGMIIPHY", Value: 35143},
{Name: "SIOCGMIIREG", Value: 35144},
{Name: "SIOCGPGRP", Value: 35076},
@ -39991,6 +39999,10 @@ var consts_amd64 = []ConstValue{
{Name: "SIOCSIFPFLAGS", Value: 35124},
{Name: "SIOCSIFSLAVE", Value: 35120},
{Name: "SIOCSIFTXQLEN", Value: 35139},
{Name: "SIOCSIWFREQ", Value: 35588},
{Name: "SIOCSIWMODE", Value: 35590},
{Name: "SIOCSIWNWID", Value: 35586},
{Name: "SIOCSIWSENS", Value: 35592},
{Name: "SIOCSMIIREG", Value: 35145},
{Name: "SIOCSPGRP", Value: 35074},
{Name: "SIOCWANDEV", Value: 35146},
@ -40300,6 +40312,7 @@ var consts_amd64 = []ConstValue{
{Name: "SO_TIMESTAMP", Value: 29},
{Name: "SO_TIMESTAMPING", Value: 37},
{Name: "SO_TIMESTAMPNS", Value: 35},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
{Name: "SO_VM_SOCKETS_BUFFER_MIN_SIZE", Value: 1},
@ -42630,4 +42643,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_amd64 = "2edefcc69cc8a526a0268eafb24fbceb52f6f4e7"
const revision_amd64 = "560930ad9187969d4d96db73bfdee7267fb229f4"

View File

@ -25037,7 +25037,7 @@ var syscalls_arm = []*Syscall{
{NR: 295, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{28, 31, 26, 55, 59}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{28, 31, 26, 55, 59, 61}},
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -38271,6 +38271,10 @@ var consts_arm = []ConstValue{
{Name: "PACKET_KERNEL", Value: 7},
{Name: "PACKET_LOOPBACK", Value: 5},
{Name: "PACKET_LOSS", Value: 14},
{Name: "PACKET_MR_ALLMULTI", Value: 2},
{Name: "PACKET_MR_MULTICAST"},
{Name: "PACKET_MR_PROMISC", Value: 1},
{Name: "PACKET_MR_UNICAST", Value: 3},
{Name: "PACKET_MULTICAST", Value: 2},
{Name: "PACKET_ORIGDEV", Value: 9},
{Name: "PACKET_OTHERHOST", Value: 3},
@ -39148,6 +39152,10 @@ var consts_arm = []ConstValue{
{Name: "SIOCGIFPFLAGS", Value: 35125},
{Name: "SIOCGIFSLAVE", Value: 35113},
{Name: "SIOCGIFTXQLEN", Value: 35138},
{Name: "SIOCGIWFREQ", Value: 35589},
{Name: "SIOCGIWMODE", Value: 35591},
{Name: "SIOCGIWNWID", Value: 35587},
{Name: "SIOCGIWSENS", Value: 35593},
{Name: "SIOCGMIIPHY", Value: 35143},
{Name: "SIOCGMIIREG", Value: 35144},
{Name: "SIOCGPGRP", Value: 35076},
@ -39185,6 +39193,10 @@ var consts_arm = []ConstValue{
{Name: "SIOCSIFPFLAGS", Value: 35124},
{Name: "SIOCSIFSLAVE", Value: 35120},
{Name: "SIOCSIFTXQLEN", Value: 35139},
{Name: "SIOCSIWFREQ", Value: 35588},
{Name: "SIOCSIWMODE", Value: 35590},
{Name: "SIOCSIWNWID", Value: 35586},
{Name: "SIOCSIWSENS", Value: 35592},
{Name: "SIOCSMIIREG", Value: 35145},
{Name: "SIOCSPGRP", Value: 35074},
{Name: "SIOCWANDEV", Value: 35146},
@ -39494,6 +39506,7 @@ var consts_arm = []ConstValue{
{Name: "SO_TIMESTAMP", Value: 29},
{Name: "SO_TIMESTAMPING", Value: 37},
{Name: "SO_TIMESTAMPNS", Value: 35},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
{Name: "SO_VM_SOCKETS_BUFFER_MIN_SIZE", Value: 1},
@ -41798,4 +41811,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm = "6297f5f67b6f4f4b919ddfb2bfd32b7f4f836a66"
const revision_arm = "a07bb484cc01604bb36f68010e760909d096a8c1"

View File

@ -25341,7 +25341,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 209, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59, 61}},
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -38512,6 +38512,10 @@ var consts_arm64 = []ConstValue{
{Name: "PACKET_KERNEL", Value: 7},
{Name: "PACKET_LOOPBACK", Value: 5},
{Name: "PACKET_LOSS", Value: 14},
{Name: "PACKET_MR_ALLMULTI", Value: 2},
{Name: "PACKET_MR_MULTICAST"},
{Name: "PACKET_MR_PROMISC", Value: 1},
{Name: "PACKET_MR_UNICAST", Value: 3},
{Name: "PACKET_MULTICAST", Value: 2},
{Name: "PACKET_ORIGDEV", Value: 9},
{Name: "PACKET_OTHERHOST", Value: 3},
@ -39385,6 +39389,10 @@ var consts_arm64 = []ConstValue{
{Name: "SIOCGIFPFLAGS", Value: 35125},
{Name: "SIOCGIFSLAVE", Value: 35113},
{Name: "SIOCGIFTXQLEN", Value: 35138},
{Name: "SIOCGIWFREQ", Value: 35589},
{Name: "SIOCGIWMODE", Value: 35591},
{Name: "SIOCGIWNWID", Value: 35587},
{Name: "SIOCGIWSENS", Value: 35593},
{Name: "SIOCGMIIPHY", Value: 35143},
{Name: "SIOCGMIIREG", Value: 35144},
{Name: "SIOCGPGRP", Value: 35076},
@ -39422,6 +39430,10 @@ var consts_arm64 = []ConstValue{
{Name: "SIOCSIFPFLAGS", Value: 35124},
{Name: "SIOCSIFSLAVE", Value: 35120},
{Name: "SIOCSIFTXQLEN", Value: 35139},
{Name: "SIOCSIWFREQ", Value: 35588},
{Name: "SIOCSIWMODE", Value: 35590},
{Name: "SIOCSIWNWID", Value: 35586},
{Name: "SIOCSIWSENS", Value: 35592},
{Name: "SIOCSMIIREG", Value: 35145},
{Name: "SIOCSPGRP", Value: 35074},
{Name: "SIOCWANDEV", Value: 35146},
@ -39731,6 +39743,7 @@ var consts_arm64 = []ConstValue{
{Name: "SO_TIMESTAMP", Value: 29},
{Name: "SO_TIMESTAMPING", Value: 37},
{Name: "SO_TIMESTAMPNS", Value: 35},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
{Name: "SO_VM_SOCKETS_BUFFER_MIN_SIZE", Value: 1},
@ -42020,4 +42033,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm64 = "3927a6072b173221064cf41c604d2bbfd2d3d355"
const revision_arm64 = "4360825a62714f10c315b6f1630a743fa8bf5790"

View File

@ -24397,7 +24397,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 340, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{28, 31, 26, 55, 59, 61}},
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -36807,6 +36807,10 @@ var consts_ppc64le = []ConstValue{
{Name: "PACKET_KERNEL", Value: 7},
{Name: "PACKET_LOOPBACK", Value: 5},
{Name: "PACKET_LOSS", Value: 14},
{Name: "PACKET_MR_ALLMULTI", Value: 2},
{Name: "PACKET_MR_MULTICAST"},
{Name: "PACKET_MR_PROMISC", Value: 1},
{Name: "PACKET_MR_UNICAST", Value: 3},
{Name: "PACKET_MULTICAST", Value: 2},
{Name: "PACKET_ORIGDEV", Value: 9},
{Name: "PACKET_OTHERHOST", Value: 3},
@ -37686,6 +37690,10 @@ var consts_ppc64le = []ConstValue{
{Name: "SIOCGIFPFLAGS", Value: 35125},
{Name: "SIOCGIFSLAVE", Value: 35113},
{Name: "SIOCGIFTXQLEN", Value: 35138},
{Name: "SIOCGIWFREQ", Value: 35589},
{Name: "SIOCGIWMODE", Value: 35591},
{Name: "SIOCGIWNWID", Value: 35587},
{Name: "SIOCGIWSENS", Value: 35593},
{Name: "SIOCGMIIPHY", Value: 35143},
{Name: "SIOCGMIIREG", Value: 35144},
{Name: "SIOCGPGRP", Value: 35076},
@ -37723,6 +37731,10 @@ var consts_ppc64le = []ConstValue{
{Name: "SIOCSIFPFLAGS", Value: 35124},
{Name: "SIOCSIFSLAVE", Value: 35120},
{Name: "SIOCSIFTXQLEN", Value: 35139},
{Name: "SIOCSIWFREQ", Value: 35588},
{Name: "SIOCSIWMODE", Value: 35590},
{Name: "SIOCSIWNWID", Value: 35586},
{Name: "SIOCSIWSENS", Value: 35592},
{Name: "SIOCSMIIREG", Value: 35145},
{Name: "SIOCSPGRP", Value: 35074},
{Name: "SIOCWANDEV", Value: 35146},
@ -38032,6 +38044,7 @@ var consts_ppc64le = []ConstValue{
{Name: "SO_TIMESTAMP", Value: 29},
{Name: "SO_TIMESTAMPING", Value: 37},
{Name: "SO_TIMESTAMPNS", Value: 35},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
{Name: "SO_VM_SOCKETS_BUFFER_MIN_SIZE", Value: 1},
@ -39378,4 +39391,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_ppc64le = "5f9fe7272a96ea4ec4b68efdfa453fa4079a8210"
const revision_ppc64le = "d3514e9943f2d6fadb040dd58ff04633ddbf0442"

View File

@ -179,7 +179,7 @@ linger {
sockopt_opt_sock_void = SO_DETACH_FILTER, SO_MARK
sockopt_opt_sock_int = SO_ACCEPTCONN, SO_BROADCAST, SO_DEBUG, SO_DOMAIN, SO_ERROR, SO_DONTROUTE, SO_KEEPALIVE, SO_PEEK_OFF, SO_PRIORITY, SO_PROTOCOL, SO_RCVBUF, SO_RCVBUFFORCE, SO_RCVLOWAT, SO_SNDLOWAT, SO_REUSEADDR, SO_SNDBUF, SO_SNDBUFFORCE, SO_TIMESTAMP, SO_TYPE, SO_REUSEPORT, SO_OOBINLINE, SO_NO_CHECK, SO_PASSCRED, SO_TIMESTAMPNS, SO_LOCK_FILTER, SO_PASSSEC, SO_RXQ_OVFL, SO_WIFI_STATUS, SO_NOFCS, SO_SELECT_ERR_QUEUE, SO_BUSY_POLL, SO_MAX_PACING_RATE, SO_ZEROCOPY
sockopt_opt_sock_timeval = SO_RCVTIMEO, SO_SNDTIMEO
sockopt_opt_sock_buf = SO_PEERNAME, SO_PEERSEC, SO_GET_FILTER, SO_MEMINFO, SO_PEERGROUPS
sockopt_opt_sock_buf = SO_PEERNAME, SO_PEERSEC, SO_GET_FILTER, SO_MEMINFO, SO_PEERGROUPS, SO_TXTIME
sockopt_so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE, SOF_TIMESTAMPING_TX_SOFTWARE, SOF_TIMESTAMPING_RX_HARDWARE, SOF_TIMESTAMPING_RX_SOFTWARE, SOF_TIMESTAMPING_SOFTWARE, SOF_TIMESTAMPING_SYS_HARDWARE, SOF_TIMESTAMPING_RAW_HARDWARE, SOF_TIMESTAMPING_OPT_ID, SOF_TIMESTAMPING_TX_SCHED, SOF_TIMESTAMPING_TX_ACK, SOF_TIMESTAMPING_OPT_CMSG, SOF_TIMESTAMPING_OPT_TSONLY
# Socket ioctls

View File

@ -321,6 +321,7 @@ SO_SNDTIMEO = 21
SO_TIMESTAMP = 29
SO_TIMESTAMPING = 37
SO_TIMESTAMPNS = 35
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
SO_ZEROCOPY = 60

View File

@ -321,6 +321,7 @@ SO_SNDTIMEO = 21
SO_TIMESTAMP = 29
SO_TIMESTAMPING = 37
SO_TIMESTAMPNS = 35
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
SO_ZEROCOPY = 60

View File

@ -321,6 +321,7 @@ SO_SNDTIMEO = 21
SO_TIMESTAMP = 29
SO_TIMESTAMPING = 37
SO_TIMESTAMPNS = 35
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
SO_ZEROCOPY = 60

View File

@ -321,6 +321,7 @@ SO_SNDTIMEO = 21
SO_TIMESTAMP = 29
SO_TIMESTAMPING = 37
SO_TIMESTAMPNS = 35
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
SO_ZEROCOPY = 60

View File

@ -6,6 +6,7 @@ include <linux/ipv6.h>
include <linux/route.h>
include <uapi/linux/if_arp.h>
include <uapi/linux/netfilter_ipv6/ip6_tables.h>
include <uapi/linux/wireless.h>
# IP sockets
@ -175,6 +176,9 @@ ioctl$sock_inet_SIOCSIFFLAGS(fd sock, cmd const[SIOCSIFFLAGS], arg ptr[inout, if
rt_flags = RTF_UP, RTF_GATEWAY, RTF_HOST, RTF_REINSTATE, RTF_DYNAMIC, RTF_MODIFIED, RTF_MTU, RTF_WINDOW, RTF_IRTT, RTF_REJECT
# TODO: add descriptions
_ = SIOCSIWNWID, SIOCGIWNWID, SIOCSIWFREQ, SIOCGIWFREQ, SIOCSIWMODE, SIOCGIWMODE, SIOCSIWSENS, SIOCGIWSENS
rtentry_in {
rt_pad1 int64
rt_dst sockaddr_in

View File

@ -80,6 +80,10 @@ SIOCGIFBRDADDR = 35097
SIOCGIFDSTADDR = 35095
SIOCGIFNETMASK = 35099
SIOCGIFPFLAGS = 35125
SIOCGIWFREQ = 35589
SIOCGIWMODE = 35591
SIOCGIWNWID = 35587
SIOCGIWSENS = 35593
SIOCRTMSG = 35085
SIOCSARP = 35157
SIOCSIFADDR = 35094
@ -88,6 +92,10 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
SIOCSIWFREQ = 35588
SIOCSIWMODE = 35590
SIOCSIWNWID = 35586
SIOCSIWSENS = 35592
# SOCKADDR_SIZE is not set
# SOCKADDR_STORAGE_SIZE is not set
# __NR_accept is not set

View File

@ -80,6 +80,10 @@ SIOCGIFBRDADDR = 35097
SIOCGIFDSTADDR = 35095
SIOCGIFNETMASK = 35099
SIOCGIFPFLAGS = 35125
SIOCGIWFREQ = 35589
SIOCGIWMODE = 35591
SIOCGIWNWID = 35587
SIOCGIWSENS = 35593
SIOCRTMSG = 35085
SIOCSARP = 35157
SIOCSIFADDR = 35094
@ -88,6 +92,10 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
SIOCSIWFREQ = 35588
SIOCSIWMODE = 35590
SIOCSIWNWID = 35586
SIOCSIWSENS = 35592
# SOCKADDR_SIZE is not set
# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 43

View File

@ -80,6 +80,10 @@ SIOCGIFBRDADDR = 35097
SIOCGIFDSTADDR = 35095
SIOCGIFNETMASK = 35099
SIOCGIFPFLAGS = 35125
SIOCGIWFREQ = 35589
SIOCGIWMODE = 35591
SIOCGIWNWID = 35587
SIOCGIWSENS = 35593
SIOCRTMSG = 35085
SIOCSARP = 35157
SIOCSIFADDR = 35094
@ -88,6 +92,10 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
SIOCSIWFREQ = 35588
SIOCSIWMODE = 35590
SIOCSIWNWID = 35586
SIOCSIWSENS = 35592
# SOCKADDR_SIZE is not set
# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 285

View File

@ -80,6 +80,10 @@ SIOCGIFBRDADDR = 35097
SIOCGIFDSTADDR = 35095
SIOCGIFNETMASK = 35099
SIOCGIFPFLAGS = 35125
SIOCGIWFREQ = 35589
SIOCGIWMODE = 35591
SIOCGIWNWID = 35587
SIOCGIWSENS = 35593
SIOCRTMSG = 35085
SIOCSARP = 35157
SIOCSIFADDR = 35094
@ -88,6 +92,10 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
SIOCSIWFREQ = 35588
SIOCSIWMODE = 35590
SIOCSIWNWID = 35586
SIOCSIWSENS = 35592
# SOCKADDR_SIZE is not set
# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 202

View File

@ -80,6 +80,10 @@ SIOCGIFBRDADDR = 35097
SIOCGIFDSTADDR = 35095
SIOCGIFNETMASK = 35099
SIOCGIFPFLAGS = 35125
SIOCGIWFREQ = 35589
SIOCGIWMODE = 35591
SIOCGIWNWID = 35587
SIOCGIWSENS = 35593
SIOCRTMSG = 35085
SIOCSARP = 35157
SIOCSIFADDR = 35094
@ -88,6 +92,10 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
SIOCSIWFREQ = 35588
SIOCSIWMODE = 35590
SIOCSIWNWID = 35586
SIOCSIWSENS = 35592
# SOCKADDR_SIZE is not set
# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 330

View File

@ -98,6 +98,9 @@ setsockopt$packet_tx_ring(fd sock_packet, level const[SOL_PACKET], optname const
packet_fanout_types = PACKET_FANOUT_HASH, PACKET_FANOUT_LB, PACKET_FANOUT_CPU, PACKET_FANOUT_ROLLOVER, PACKET_FANOUT_RND, PACKET_FANOUT_QM, PACKET_FANOUT_CBPF, PACKET_FANOUT_EBPF
packet_fanout_flags = PACKET_FANOUT_FLAG_ROLLOVER, PACKET_FANOUT_FLAG_DEFRAG, PACKET_FANOUT_FLAG_UNIQUEID
# TODO: Add descriptions
_ = PACKET_MR_MULTICAST, PACKET_MR_PROMISC, PACKET_MR_ALLMULTI, PACKET_MR_UNICAST
packet_fanout_val {
id int16
type flags[packet_fanout_types, int8]

View File

@ -46,6 +46,10 @@ PACKET_FANOUT_RND = 4
PACKET_FANOUT_ROLLOVER = 3
PACKET_HDRLEN = 11
PACKET_LOSS = 14
PACKET_MR_ALLMULTI = 2
PACKET_MR_MULTICAST = 0
PACKET_MR_PROMISC = 1
PACKET_MR_UNICAST = 3
PACKET_ORIGDEV = 9
PACKET_QDISC_BYPASS = 20
PACKET_RECV_OUTPUT = 3

View File

@ -46,6 +46,10 @@ PACKET_FANOUT_RND = 4
PACKET_FANOUT_ROLLOVER = 3
PACKET_HDRLEN = 11
PACKET_LOSS = 14
PACKET_MR_ALLMULTI = 2
PACKET_MR_MULTICAST = 0
PACKET_MR_PROMISC = 1
PACKET_MR_UNICAST = 3
PACKET_ORIGDEV = 9
PACKET_QDISC_BYPASS = 20
PACKET_RECV_OUTPUT = 3

View File

@ -46,6 +46,10 @@ PACKET_FANOUT_RND = 4
PACKET_FANOUT_ROLLOVER = 3
PACKET_HDRLEN = 11
PACKET_LOSS = 14
PACKET_MR_ALLMULTI = 2
PACKET_MR_MULTICAST = 0
PACKET_MR_PROMISC = 1
PACKET_MR_UNICAST = 3
PACKET_ORIGDEV = 9
PACKET_QDISC_BYPASS = 20
PACKET_RECV_OUTPUT = 3

View File

@ -46,6 +46,10 @@ PACKET_FANOUT_RND = 4
PACKET_FANOUT_ROLLOVER = 3
PACKET_HDRLEN = 11
PACKET_LOSS = 14
PACKET_MR_ALLMULTI = 2
PACKET_MR_MULTICAST = 0
PACKET_MR_PROMISC = 1
PACKET_MR_UNICAST = 3
PACKET_ORIGDEV = 9
PACKET_QDISC_BYPASS = 20
PACKET_RECV_OUTPUT = 3

View File

@ -46,6 +46,10 @@ PACKET_FANOUT_RND = 4
PACKET_FANOUT_ROLLOVER = 3
PACKET_HDRLEN = 11
PACKET_LOSS = 14
PACKET_MR_ALLMULTI = 2
PACKET_MR_MULTICAST = 0
PACKET_MR_PROMISC = 1
PACKET_MR_UNICAST = 3
PACKET_ORIGDEV = 9
PACKET_QDISC_BYPASS = 20
PACKET_RECV_OUTPUT = 3

View File

@ -321,6 +321,7 @@ SO_SNDTIMEO = 19
SO_TIMESTAMP = 29
SO_TIMESTAMPING = 37
SO_TIMESTAMPNS = 35
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
SO_ZEROCOPY = 60