diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-21 18:22:22 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-22 09:39:02 +0100 |
| commit | 3e3b15df7ecb36b232f8d1a33ec92999691e8511 (patch) | |
| tree | 1be0a21db8299f7e0cd952ca24385af05634e00a /sys/linux | |
| parent | 603b512405c78d0143dc44bed638f70f01f9f95c (diff) | |
sys/linux: add RTM_NEWNSID/RTM_GETNSID
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/bpf_386.const | 2 | ||||
| -rw-r--r-- | sys/linux/bpf_amd64.const | 2 | ||||
| -rw-r--r-- | sys/linux/bpf_arm.const | 2 | ||||
| -rw-r--r-- | sys/linux/bpf_arm64.const | 2 | ||||
| -rw-r--r-- | sys/linux/bpf_ppc64le.const | 2 | ||||
| -rw-r--r-- | sys/linux/filesystem.txt | 1 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 69 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 69 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 69 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 69 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 69 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route.txt | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_386.const | 5 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_amd64.const | 5 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_arm.const | 5 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_arm64.const | 5 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_ppc64le.const | 5 | ||||
| -rw-r--r-- | sys/linux/xattr_386.const | 2 | ||||
| -rw-r--r-- | sys/linux/xattr_amd64.const | 2 | ||||
| -rw-r--r-- | sys/linux/xattr_arm.const | 2 | ||||
| -rw-r--r-- | sys/linux/xattr_arm64.const | 2 | ||||
| -rw-r--r-- | sys/linux/xattr_ppc64le.const | 2 |
22 files changed, 334 insertions, 74 deletions
diff --git a/sys/linux/bpf_386.const b/sys/linux/bpf_386.const index 1ab020803..1886205e6 100644 --- a/sys/linux/bpf_386.const +++ b/sys/linux/bpf_386.const @@ -141,7 +141,7 @@ BPF_XOR0 = 10 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 91 +__BPF_FUNC_MAX_ID = 93 __MAX_BPF_REG = 11 __NR_bpf = 357 bpf_call_code = 133 diff --git a/sys/linux/bpf_amd64.const b/sys/linux/bpf_amd64.const index ae3b8177b..e9f89ee75 100644 --- a/sys/linux/bpf_amd64.const +++ b/sys/linux/bpf_amd64.const @@ -141,7 +141,7 @@ BPF_XOR0 = 10 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 91 +__BPF_FUNC_MAX_ID = 93 __MAX_BPF_REG = 11 __NR_bpf = 321 bpf_call_code = 133 diff --git a/sys/linux/bpf_arm.const b/sys/linux/bpf_arm.const index 8345b096c..1bd590ea6 100644 --- a/sys/linux/bpf_arm.const +++ b/sys/linux/bpf_arm.const @@ -141,7 +141,7 @@ BPF_XOR0 = 10 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 91 +__BPF_FUNC_MAX_ID = 93 __MAX_BPF_REG = 11 __NR_bpf = 386 bpf_call_code = 133 diff --git a/sys/linux/bpf_arm64.const b/sys/linux/bpf_arm64.const index 384a354d4..f4f6b44a4 100644 --- a/sys/linux/bpf_arm64.const +++ b/sys/linux/bpf_arm64.const @@ -141,7 +141,7 @@ BPF_XOR0 = 10 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 91 +__BPF_FUNC_MAX_ID = 93 __MAX_BPF_REG = 11 __NR_bpf = 280 bpf_call_code = 133 diff --git a/sys/linux/bpf_ppc64le.const b/sys/linux/bpf_ppc64le.const index cd9f8c5cd..fa000331f 100644 --- a/sys/linux/bpf_ppc64le.const +++ b/sys/linux/bpf_ppc64le.const @@ -141,7 +141,7 @@ BPF_XOR0 = 10 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 91 +__BPF_FUNC_MAX_ID = 93 __MAX_BPF_REG = 11 __NR_bpf = 361 bpf_call_code = 133 diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt index 83d13661a..8ed8c8b16 100644 --- a/sys/linux/filesystem.txt +++ b/sys/linux/filesystem.txt @@ -1,6 +1,7 @@ # Copyright 2018 syzkaller project authors. All rights reserved. # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +include <uapi/linux/mount.h> include <linux/fs.h> mount(src ptr[in, blockdev_filename], dst ptr[in, filename], type ptr[in, string[filesystem]], flags flags[mount_flags], data ptr[in, string, opt]) diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 03143ced8..14807443c 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -802,7 +802,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 91}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93}, }}}, {Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149}, @@ -3156,7 +3156,7 @@ var structDescs_386 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_ng"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_ng", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", IsVarlen: true}, Kind: 1, RangeEnd: 20}, }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_sha1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_sha1", TypeSize: 21}, Fields: []Type{ @@ -6097,12 +6097,12 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_PORT_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_PORT_ID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_CARRIER_CHANGES, int16], int32]"}, FldName: "IFLA_CARRIER_CHANGES"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_SWITCH_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_SWITCH_ID"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, FldName: "IFLA_LINK_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, FldName: "IFLA_LINK_NETNSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PROTO_DOWN, int16], int8]"}, FldName: "IFLA_PROTO_DOWN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, FldName: "IFLA_XDP"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_EVENT, int16], int32]"}, FldName: "IFLA_EVENT"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, FldName: "IFLA_IF_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"}, }}}, {Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 4, ArgDir: 2}}}, @@ -10225,6 +10225,8 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_setlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10561,6 +10563,15 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 90}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 38}, @@ -10716,6 +10727,15 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ndmsg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 88}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 36}, @@ -12548,10 +12568,10 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 46}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -12832,10 +12852,10 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 37}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13407,6 +13427,21 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_netem_gimodel"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_namespace", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_NSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_PID, int16], pid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17498,6 +17533,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtnl_net_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_net_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, FldName: "NETNSA_NSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, FldName: "NETNSA_PID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, FldName: "NETNSA_FD"}, + }}}, {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, @@ -18170,7 +18210,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "signature_v2_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "signature_v2_hdr", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "evm_xattr_type", FldName: "type", TypeSize: 1}}, Vals: []uint64{3, 5}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "keyid", TypeSize: 4}, ArgFormat: 1}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "sig_size", TypeSize: 2}, ArgFormat: 1}, BitSize: 8, Buf: "sig"}, @@ -38775,7 +38815,7 @@ var consts_386 = []ConstValue{ {Name: "GRND_RANDOM", Value: 2}, {Name: "GUE_FLAG_PRIV", Value: 256}, {Name: "GUE_PFLAG_REMCSUM", Value: 128}, - {Name: "HASH_ALGO__LAST", Value: 18}, + {Name: "HASH_ALGO__LAST", Value: 20}, {Name: "HCIBLOCKADDR", Value: 1074022630}, {Name: "HCIDEVDOWN", Value: 1074022602}, {Name: "HCIDEVRESET", Value: 1074022603}, @@ -40367,6 +40407,9 @@ var consts_386 = []ConstValue{ {Name: "NETLINK_UNUSED", Value: 1}, {Name: "NETLINK_USERSOCK", Value: 2}, {Name: "NETLINK_XFRM", Value: 6}, + {Name: "NETNSA_FD", Value: 3}, + {Name: "NETNSA_NSID", Value: 1}, + {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, {Name: "NETROM_T1", Value: 1}, @@ -41148,6 +41191,7 @@ var consts_386 = []ConstValue{ {Name: "RTM_GETNEIGH", Value: 30}, {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETNSID", Value: 90}, {Name: "RTM_GETQDISC", Value: 38}, {Name: "RTM_GETROUTE", Value: 26}, {Name: "RTM_GETRULE", Value: 34}, @@ -41158,6 +41202,7 @@ var consts_386 = []ConstValue{ {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, + {Name: "RTM_NEWNSID", Value: 88}, {Name: "RTM_NEWQDISC", Value: 36}, {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_NEWRULE", Value: 32}, @@ -43989,7 +44034,7 @@ var consts_386 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688}, {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, - {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__BPF_FUNC_MAX_ID", Value: 93}, {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept4", Value: 364}, {Name: "__NR_acct", Value: 51}, @@ -44285,4 +44330,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "41b7d68957439995599a13c27f4e53a5ef94c6ef" +const revision_386 = "745a46b9f319cae102f6c8e56835ab1eb0ec3280" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 42caffcec..96ec0ae55 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -810,7 +810,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 91}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93}, }}}, {Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149}, @@ -3240,7 +3240,7 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_ng"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_ng", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", IsVarlen: true}, Kind: 1, RangeEnd: 20}, }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_sha1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_sha1", TypeSize: 21}, Fields: []Type{ @@ -6204,12 +6204,12 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_PORT_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_PORT_ID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_CARRIER_CHANGES, int16], int32]"}, FldName: "IFLA_CARRIER_CHANGES"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_SWITCH_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_SWITCH_ID"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, FldName: "IFLA_LINK_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, FldName: "IFLA_LINK_NETNSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PROTO_DOWN, int16], int8]"}, FldName: "IFLA_PROTO_DOWN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, FldName: "IFLA_XDP"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_EVENT, int16], int32]"}, FldName: "IFLA_EVENT"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, FldName: "IFLA_IF_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"}, }}}, {Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}}, @@ -10541,6 +10541,8 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_setlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10877,6 +10879,15 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 90}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 38}, @@ -11032,6 +11043,15 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ndmsg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 88}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 36}, @@ -12866,10 +12886,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 46}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13150,10 +13170,10 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 37}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13725,6 +13745,21 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_netem_gimodel"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_namespace", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_NSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_PID, int16], pid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17817,6 +17852,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtnl_net_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_net_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, FldName: "NETNSA_NSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, FldName: "NETNSA_PID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, FldName: "NETNSA_FD"}, + }}}, {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 144, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, @@ -18526,7 +18566,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "signature_v2_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "signature_v2_hdr", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "evm_xattr_type", FldName: "type", TypeSize: 1}}, Vals: []uint64{3, 5}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "keyid", TypeSize: 4}, ArgFormat: 1}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "sig_size", TypeSize: 2}, ArgFormat: 1}, BitSize: 8, Buf: "sig"}, @@ -39538,7 +39578,7 @@ var consts_amd64 = []ConstValue{ {Name: "GRND_RANDOM", Value: 2}, {Name: "GUE_FLAG_PRIV", Value: 256}, {Name: "GUE_PFLAG_REMCSUM", Value: 128}, - {Name: "HASH_ALGO__LAST", Value: 18}, + {Name: "HASH_ALGO__LAST", Value: 20}, {Name: "HCIBLOCKADDR", Value: 1074022630}, {Name: "HCIDEVDOWN", Value: 1074022602}, {Name: "HCIDEVRESET", Value: 1074022603}, @@ -41130,6 +41170,9 @@ var consts_amd64 = []ConstValue{ {Name: "NETLINK_UNUSED", Value: 1}, {Name: "NETLINK_USERSOCK", Value: 2}, {Name: "NETLINK_XFRM", Value: 6}, + {Name: "NETNSA_FD", Value: 3}, + {Name: "NETNSA_NSID", Value: 1}, + {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, {Name: "NETROM_T1", Value: 1}, @@ -41911,6 +41954,7 @@ var consts_amd64 = []ConstValue{ {Name: "RTM_GETNEIGH", Value: 30}, {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETNSID", Value: 90}, {Name: "RTM_GETQDISC", Value: 38}, {Name: "RTM_GETROUTE", Value: 26}, {Name: "RTM_GETRULE", Value: 34}, @@ -41921,6 +41965,7 @@ var consts_amd64 = []ConstValue{ {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, + {Name: "RTM_NEWNSID", Value: 88}, {Name: "RTM_NEWQDISC", Value: 36}, {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_NEWRULE", Value: 32}, @@ -44766,7 +44811,7 @@ var consts_amd64 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688}, {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, - {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__BPF_FUNC_MAX_ID", Value: 93}, {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 43}, {Name: "__NR_accept4", Value: 288}, @@ -45073,4 +45118,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "b7e39f3128ea124913623c5b44f8f4cf11321d3b" +const revision_amd64 = "9afaea55cb050515a60438b6736ef28a5389c6e4" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 0f49edf8e..985b0e8da 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -807,7 +807,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 91}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93}, }}}, {Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149}, @@ -3161,7 +3161,7 @@ var structDescs_arm = []*KeyedStruct{ }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_ng"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_ng", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", IsVarlen: true}, Kind: 1, RangeEnd: 20}, }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_sha1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_sha1", TypeSize: 21}, Fields: []Type{ @@ -6102,12 +6102,12 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_PORT_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_PORT_ID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_CARRIER_CHANGES, int16], int32]"}, FldName: "IFLA_CARRIER_CHANGES"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_SWITCH_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_SWITCH_ID"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, FldName: "IFLA_LINK_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, FldName: "IFLA_LINK_NETNSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PROTO_DOWN, int16], int8]"}, FldName: "IFLA_PROTO_DOWN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, FldName: "IFLA_XDP"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_EVENT, int16], int32]"}, FldName: "IFLA_EVENT"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, FldName: "IFLA_IF_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"}, }}}, {Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 4, ArgDir: 2}}}, @@ -10080,6 +10080,8 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_setlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10416,6 +10418,15 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 90}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 38}, @@ -10571,6 +10582,15 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ndmsg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 88}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 36}, @@ -12403,10 +12423,10 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 46}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -12687,10 +12707,10 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 37}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13262,6 +13282,21 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_netem_gimodel"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_namespace", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_NSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_PID, int16], pid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17353,6 +17388,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtnl_net_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_net_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, FldName: "NETNSA_NSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, FldName: "NETNSA_PID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, FldName: "NETNSA_FD"}, + }}}, {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, @@ -18051,7 +18091,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "signature_v2_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "signature_v2_hdr", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "evm_xattr_type", FldName: "type", TypeSize: 1}}, Vals: []uint64{3, 5}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "keyid", TypeSize: 4}, ArgFormat: 1}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "sig_size", TypeSize: 2}, ArgFormat: 1}, BitSize: 8, Buf: "sig"}, @@ -38667,7 +38707,7 @@ var consts_arm = []ConstValue{ {Name: "GRND_RANDOM", Value: 2}, {Name: "GUE_FLAG_PRIV", Value: 256}, {Name: "GUE_PFLAG_REMCSUM", Value: 128}, - {Name: "HASH_ALGO__LAST", Value: 18}, + {Name: "HASH_ALGO__LAST", Value: 20}, {Name: "HCIBLOCKADDR", Value: 1074022630}, {Name: "HCIDEVDOWN", Value: 1074022602}, {Name: "HCIDEVRESET", Value: 1074022603}, @@ -40209,6 +40249,9 @@ var consts_arm = []ConstValue{ {Name: "NETLINK_UNUSED", Value: 1}, {Name: "NETLINK_USERSOCK", Value: 2}, {Name: "NETLINK_XFRM", Value: 6}, + {Name: "NETNSA_FD", Value: 3}, + {Name: "NETNSA_NSID", Value: 1}, + {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, {Name: "NETROM_T1", Value: 1}, @@ -40988,6 +41031,7 @@ var consts_arm = []ConstValue{ {Name: "RTM_GETNEIGH", Value: 30}, {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETNSID", Value: 90}, {Name: "RTM_GETQDISC", Value: 38}, {Name: "RTM_GETROUTE", Value: 26}, {Name: "RTM_GETRULE", Value: 34}, @@ -40998,6 +41042,7 @@ var consts_arm = []ConstValue{ {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, + {Name: "RTM_NEWNSID", Value: 88}, {Name: "RTM_NEWQDISC", Value: 36}, {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_NEWRULE", Value: 32}, @@ -43829,7 +43874,7 @@ var consts_arm = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688}, {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, - {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__BPF_FUNC_MAX_ID", Value: 93}, {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 285}, {Name: "__NR_accept4", Value: 366}, @@ -44124,4 +44169,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "34b155a4d1654ac354700f5d731b25f9b7fdcc76" +const revision_arm = "46f22033c01cdec4e04e7db18888b739eb50ae40" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index d05631e9a..e12950e30 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -810,7 +810,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 91}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93}, }}}, {Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149}, @@ -3240,7 +3240,7 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_ng"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_ng", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", IsVarlen: true}, Kind: 1, RangeEnd: 20}, }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_sha1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_sha1", TypeSize: 21}, Fields: []Type{ @@ -6204,12 +6204,12 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_PORT_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_PORT_ID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_CARRIER_CHANGES, int16], int32]"}, FldName: "IFLA_CARRIER_CHANGES"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_SWITCH_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_SWITCH_ID"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, FldName: "IFLA_LINK_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, FldName: "IFLA_LINK_NETNSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PROTO_DOWN, int16], int8]"}, FldName: "IFLA_PROTO_DOWN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, FldName: "IFLA_XDP"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_EVENT, int16], int32]"}, FldName: "IFLA_EVENT"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, FldName: "IFLA_IF_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"}, }}}, {Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}}, @@ -10358,6 +10358,8 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_setlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10694,6 +10696,15 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 90}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 38}, @@ -10849,6 +10860,15 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ndmsg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 88}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 36}, @@ -12683,10 +12703,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 46}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -12967,10 +12987,10 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 37}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13542,6 +13562,21 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_netem_gimodel"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_namespace", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_NSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_PID, int16], pid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17634,6 +17669,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtnl_net_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_net_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, FldName: "NETNSA_NSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, FldName: "NETNSA_PID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, FldName: "NETNSA_FD"}, + }}}, {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 144, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, @@ -18343,7 +18383,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "signature_v2_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "signature_v2_hdr", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "evm_xattr_type", FldName: "type", TypeSize: 1}}, Vals: []uint64{3, 5}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "keyid", TypeSize: 4}, ArgFormat: 1}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "sig_size", TypeSize: 2}, ArgFormat: 1}, BitSize: 8, Buf: "sig"}, @@ -38984,7 +39024,7 @@ var consts_arm64 = []ConstValue{ {Name: "GRND_RANDOM", Value: 2}, {Name: "GUE_FLAG_PRIV", Value: 256}, {Name: "GUE_PFLAG_REMCSUM", Value: 128}, - {Name: "HASH_ALGO__LAST", Value: 18}, + {Name: "HASH_ALGO__LAST", Value: 20}, {Name: "HCIBLOCKADDR", Value: 1074022630}, {Name: "HCIDEVDOWN", Value: 1074022602}, {Name: "HCIDEVRESET", Value: 1074022603}, @@ -40535,6 +40575,9 @@ var consts_arm64 = []ConstValue{ {Name: "NETLINK_UNUSED", Value: 1}, {Name: "NETLINK_USERSOCK", Value: 2}, {Name: "NETLINK_XFRM", Value: 6}, + {Name: "NETNSA_FD", Value: 3}, + {Name: "NETNSA_NSID", Value: 1}, + {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, {Name: "NETROM_T1", Value: 1}, @@ -41310,6 +41353,7 @@ var consts_arm64 = []ConstValue{ {Name: "RTM_GETNEIGH", Value: 30}, {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETNSID", Value: 90}, {Name: "RTM_GETQDISC", Value: 38}, {Name: "RTM_GETROUTE", Value: 26}, {Name: "RTM_GETRULE", Value: 34}, @@ -41320,6 +41364,7 @@ var consts_arm64 = []ConstValue{ {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, + {Name: "RTM_NEWNSID", Value: 88}, {Name: "RTM_NEWQDISC", Value: 36}, {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_NEWRULE", Value: 32}, @@ -44165,7 +44210,7 @@ var consts_arm64 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688}, {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, - {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__BPF_FUNC_MAX_ID", Value: 93}, {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 202}, {Name: "__NR_accept4", Value: 242}, @@ -44431,4 +44476,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "26f57d8563b809b5879e620054577dcb38668de8" +const revision_arm64 = "55fe20bbe155f66e45e4b315e3882db46dbc656c" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 8bbcec162..ad1e6c7ea 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -801,7 +801,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 91}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93}, }}}, {Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149}, @@ -3231,7 +3231,7 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_ng"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_ng", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", IsVarlen: true}, Kind: 1, RangeEnd: 20}, }}}, {Key: StructKey{Name: "evm_ima_xattr_digest_sha1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "evm_ima_xattr_digest_sha1", TypeSize: 21}, Fields: []Type{ @@ -6195,12 +6195,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_PORT_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_PORT_ID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_CARRIER_CHANGES, int16], int32]"}, FldName: "IFLA_CARRIER_CHANGES"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PHYS_SWITCH_ID, int16], array[int8, 0:MAX_PHYS_ITEM_ID_LEN]]"}, FldName: "IFLA_PHYS_SWITCH_ID"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, FldName: "IFLA_LINK_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, FldName: "IFLA_LINK_NETNSID"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PROTO_DOWN, int16], int8]"}, FldName: "IFLA_PROTO_DOWN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, FldName: "IFLA_XDP"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_EVENT, int16], int32]"}, FldName: "IFLA_EVENT"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, FldName: "IFLA_IF_NETNSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"}, }}}, {Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}}, @@ -10268,6 +10268,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_setlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10604,6 +10606,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 90}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETQDISC, int16], tcmsg[AF_UNSPEC], nlattr[TCA_DUMP_INVISIBLE, void]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 38}, @@ -10759,6 +10770,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ndmsg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 88}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtnl_net_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 36}, @@ -12593,10 +12613,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 46}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -12877,10 +12897,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], int32]", TypeSize: 8}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_LINK_NETNSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 37}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -13452,6 +13472,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_netem_gimodel"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_namespace", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_NSID, int16], netns_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETNSA_PID, int16], pid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], array[mpls_label]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17544,6 +17579,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtnl_net_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_net_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_NSID, int16], netns_id]"}, FldName: "NETNSA_NSID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_PID, int16], pid]"}, FldName: "NETNSA_PID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETNSA_FD, int16], fd_namespace]"}, FldName: "NETNSA_FD"}, + }}}, {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 144, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, @@ -18225,7 +18265,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "signature_v2_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "signature_v2_hdr", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "evm_xattr_type", FldName: "type", TypeSize: 1}}, Vals: []uint64{3, 5}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}}, Kind: 2, RangeEnd: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hash_algo", TypeSize: 1}}, Kind: 2, RangeEnd: 20}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "keyid", TypeSize: 4}, ArgFormat: 1}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "sig_size", TypeSize: 2}, ArgFormat: 1}, BitSize: 8, Buf: "sig"}, @@ -37379,7 +37419,7 @@ var consts_ppc64le = []ConstValue{ {Name: "GRND_RANDOM", Value: 2}, {Name: "GUE_FLAG_PRIV", Value: 1}, {Name: "GUE_PFLAG_REMCSUM", Value: 2147483648}, - {Name: "HASH_ALGO__LAST", Value: 18}, + {Name: "HASH_ALGO__LAST", Value: 20}, {Name: "HCIBLOCKADDR", Value: 2147764454}, {Name: "HCIDEVDOWN", Value: 2147764426}, {Name: "HCIDEVRESET", Value: 2147764427}, @@ -38830,6 +38870,9 @@ var consts_ppc64le = []ConstValue{ {Name: "NETLINK_UNUSED", Value: 1}, {Name: "NETLINK_USERSOCK", Value: 2}, {Name: "NETLINK_XFRM", Value: 6}, + {Name: "NETNSA_FD", Value: 3}, + {Name: "NETNSA_NSID", Value: 1}, + {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, {Name: "NETROM_T1", Value: 1}, @@ -39611,6 +39654,7 @@ var consts_ppc64le = []ConstValue{ {Name: "RTM_GETNEIGH", Value: 30}, {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETNSID", Value: 90}, {Name: "RTM_GETQDISC", Value: 38}, {Name: "RTM_GETROUTE", Value: 26}, {Name: "RTM_GETRULE", Value: 34}, @@ -39621,6 +39665,7 @@ var consts_ppc64le = []ConstValue{ {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, + {Name: "RTM_NEWNSID", Value: 88}, {Name: "RTM_NEWQDISC", Value: 36}, {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_NEWRULE", Value: 32}, @@ -41498,7 +41543,7 @@ var consts_ppc64le = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688}, {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, - {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__BPF_FUNC_MAX_ID", Value: 93}, {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 330}, {Name: "__NR_accept4", Value: 344}, @@ -41789,4 +41834,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "2e2cda69f198c8832cb15174493082aab944dd2c" +const revision_ppc64le = "58cd465a01de4560de123f566f48db8818f8c281" diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index e6eea25f3..8c03227d3 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -15,9 +15,11 @@ include <uapi/linux/lwtunnel.h> include <uapi/linux/neighbour.h> include <uapi/linux/fib_rules.h> include <uapi/linux/if_tunnel.h> +include <uapi/linux/net_namespace.h> include <uapi/linux/veth.h> resource sock_nl_route[sock_netlink] +type netns_id int32[0:4] socket$nl_route(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETLINK_ROUTE]) sock_nl_route @@ -78,6 +80,9 @@ netlink_msg_route [ bridge_getlink netlink_msg[RTM_GETLINK, ifinfomsg[AF_BRIDGE], ifla_policy] bridge_setlink netlink_msg[RTM_SETLINK, ifinfomsg[AF_BRIDGE], ifla_policy] bridge_dellink netlink_msg[RTM_DELLINK, ifinfomsg[AF_BRIDGE], ifla_policy] + + RTM_NEWNSID netlink_msg[RTM_NEWNSID, rtgenmsg[AF_UNSPEC], rtnl_net_policy] + RTM_GETNSID netlink_msg[RTM_GETNSID, rtgenmsg[AF_UNSPEC], rtnl_net_policy] ] [varlen] type rtgenmsg[FAMILY] { @@ -171,14 +176,12 @@ ifla_policy [ IFLA_PHYS_PORT_ID nlattr[IFLA_PHYS_PORT_ID, array[int8, 0:MAX_PHYS_ITEM_ID_LEN]] IFLA_CARRIER_CHANGES nlattr[IFLA_CARRIER_CHANGES, int32] IFLA_PHYS_SWITCH_ID nlattr[IFLA_PHYS_SWITCH_ID, array[int8, 0:MAX_PHYS_ITEM_ID_LEN]] -# TODO: this is some net namespace id. - IFLA_LINK_NETNSID nlattr[IFLA_LINK_NETNSID, int32] + IFLA_LINK_NETNSID nlattr[IFLA_LINK_NETNSID, netns_id] IFLA_PROTO_DOWN nlattr[IFLA_PROTO_DOWN, int8] IFLA_XDP nlattr[IFLA_XDP, array[ifla_xdp_policy]] IFLA_EVENT nlattr[IFLA_EVENT, int32] IFLA_GROUP nlattr[IFLA_GROUP, int32] -# TODO: probably also some net namespace id. - IFLA_IF_NETNSID nlattr[IFLA_IF_NETNSID, int32] + IFLA_IF_NETNSID nlattr[IFLA_IF_NETNSID, netns_id] ] [varlen] type ifla_info_policy_t[TYPE, DATA_TYPE, DATA] { @@ -607,6 +610,12 @@ rtnl_link_ifmap { port int8 } +rtnl_net_policy [ + NETNSA_NSID nlattr[NETNSA_NSID, netns_id] + NETNSA_PID nlattr[NETNSA_PID, pid] + NETNSA_FD nlattr[NETNSA_FD, fd_namespace] +] [varlen] + rtnl_af = AF_INET, AF_INET6, AF_BRIDGE, AF_MPLS net_device_flags = IFF_UP, IFF_BROADCAST, IFF_DEBUG, IFF_LOOPBACK, IFF_POINTOPOINT, IFF_NOTRAILERS, IFF_RUNNING, IFF_NOARP, IFF_PROMISC, IFF_ALLMULTI, IFF_MASTER, IFF_SLAVE, IFF_MULTICAST, IFF_PORTSEL, IFF_AUTOMEDIA, IFF_DYNAMIC, IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO ifa_flags = IFA_F_SECONDARY, IFA_F_NODAD, IFA_F_OPTIMISTIC, IFA_F_DADFAILED, IFA_F_HOMEADDRESS, IFA_F_DEPRECATED, IFA_F_TENTATIVE, IFA_F_PERMANENT, IFA_F_MANAGETEMPADDR, IFA_F_NOPREFIXROUTE, IFA_F_MCAUTOJOIN diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const index c8dae04e7..5a357aa89 100644 --- a/sys/linux/socket_netlink_route_386.const +++ b/sys/linux/socket_netlink_route_386.const @@ -284,6 +284,9 @@ NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 NETCONFA_PROXY_NEIGH = 5 NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +NETNSA_FD = 3 +NETNSA_NSID = 1 +NETNSA_PID = 2 NTF_EXT_LEARNED = 16 NTF_MASTER = 4 NTF_OFFLOADED = 32 @@ -334,12 +337,14 @@ RTM_GETMULTICAST = 58 RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 +RTM_GETNSID = 90 RTM_GETROUTE = 26 RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 +RTM_NEWNSID = 88 RTM_NEWROUTE = 24 RTM_NEWRULE = 32 RTM_SETLINK = 19 diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const index b750efe87..85a9e086b 100644 --- a/sys/linux/socket_netlink_route_amd64.const +++ b/sys/linux/socket_netlink_route_amd64.const @@ -284,6 +284,9 @@ NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 NETCONFA_PROXY_NEIGH = 5 NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +NETNSA_FD = 3 +NETNSA_NSID = 1 +NETNSA_PID = 2 NTF_EXT_LEARNED = 16 NTF_MASTER = 4 NTF_OFFLOADED = 32 @@ -334,12 +337,14 @@ RTM_GETMULTICAST = 58 RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 +RTM_GETNSID = 90 RTM_GETROUTE = 26 RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 +RTM_NEWNSID = 88 RTM_NEWROUTE = 24 RTM_NEWRULE = 32 RTM_SETLINK = 19 diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const index 03a4ec4da..4cbe15077 100644 --- a/sys/linux/socket_netlink_route_arm.const +++ b/sys/linux/socket_netlink_route_arm.const @@ -284,6 +284,9 @@ NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 NETCONFA_PROXY_NEIGH = 5 NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +NETNSA_FD = 3 +NETNSA_NSID = 1 +NETNSA_PID = 2 NTF_EXT_LEARNED = 16 NTF_MASTER = 4 NTF_OFFLOADED = 32 @@ -334,12 +337,14 @@ RTM_GETMULTICAST = 58 RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 +RTM_GETNSID = 90 RTM_GETROUTE = 26 RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 +RTM_NEWNSID = 88 RTM_NEWROUTE = 24 RTM_NEWRULE = 32 RTM_SETLINK = 19 diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const index 51ebf5791..03991c1c0 100644 --- a/sys/linux/socket_netlink_route_arm64.const +++ b/sys/linux/socket_netlink_route_arm64.const @@ -284,6 +284,9 @@ NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 NETCONFA_PROXY_NEIGH = 5 NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +NETNSA_FD = 3 +NETNSA_NSID = 1 +NETNSA_PID = 2 NTF_EXT_LEARNED = 16 NTF_MASTER = 4 NTF_OFFLOADED = 32 @@ -334,12 +337,14 @@ RTM_GETMULTICAST = 58 RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 +RTM_GETNSID = 90 RTM_GETROUTE = 26 RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 +RTM_NEWNSID = 88 RTM_NEWROUTE = 24 RTM_NEWRULE = 32 RTM_SETLINK = 19 diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const index d0d92269e..3b3328f73 100644 --- a/sys/linux/socket_netlink_route_ppc64le.const +++ b/sys/linux/socket_netlink_route_ppc64le.const @@ -284,6 +284,9 @@ NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 NETCONFA_PROXY_NEIGH = 5 NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +NETNSA_FD = 3 +NETNSA_NSID = 1 +NETNSA_PID = 2 NTF_EXT_LEARNED = 16 NTF_MASTER = 4 NTF_OFFLOADED = 32 @@ -334,12 +337,14 @@ RTM_GETMULTICAST = 58 RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 +RTM_GETNSID = 90 RTM_GETROUTE = 26 RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 +RTM_NEWNSID = 88 RTM_NEWROUTE = 24 RTM_NEWRULE = 32 RTM_SETLINK = 19 diff --git a/sys/linux/xattr_386.const b/sys/linux/xattr_386.const index fc2463aec..18d7a1aec 100644 --- a/sys/linux/xattr_386.const +++ b/sys/linux/xattr_386.const @@ -11,7 +11,7 @@ ACL_WRITE = 2 EVM_IMA_XATTR_DIGSIG = 3 EVM_XATTR_HMAC = 2 EVM_XATTR_PORTABLE_DIGSIG = 5 -HASH_ALGO__LAST = 18 +HASH_ALGO__LAST = 20 IMA_XATTR_DIGEST = 1 IMA_XATTR_DIGEST_NG = 4 OVL_FH_FLAG_ANY_ENDIAN = 2 diff --git a/sys/linux/xattr_amd64.const b/sys/linux/xattr_amd64.const index 1c026389a..211a79d48 100644 --- a/sys/linux/xattr_amd64.const +++ b/sys/linux/xattr_amd64.const @@ -11,7 +11,7 @@ ACL_WRITE = 2 EVM_IMA_XATTR_DIGSIG = 3 EVM_XATTR_HMAC = 2 EVM_XATTR_PORTABLE_DIGSIG = 5 -HASH_ALGO__LAST = 18 +HASH_ALGO__LAST = 20 IMA_XATTR_DIGEST = 1 IMA_XATTR_DIGEST_NG = 4 OVL_FH_FLAG_ANY_ENDIAN = 2 diff --git a/sys/linux/xattr_arm.const b/sys/linux/xattr_arm.const index fc2463aec..18d7a1aec 100644 --- a/sys/linux/xattr_arm.const +++ b/sys/linux/xattr_arm.const @@ -11,7 +11,7 @@ ACL_WRITE = 2 EVM_IMA_XATTR_DIGSIG = 3 EVM_XATTR_HMAC = 2 EVM_XATTR_PORTABLE_DIGSIG = 5 -HASH_ALGO__LAST = 18 +HASH_ALGO__LAST = 20 IMA_XATTR_DIGEST = 1 IMA_XATTR_DIGEST_NG = 4 OVL_FH_FLAG_ANY_ENDIAN = 2 diff --git a/sys/linux/xattr_arm64.const b/sys/linux/xattr_arm64.const index 03b0dfc99..9f2171a0d 100644 --- a/sys/linux/xattr_arm64.const +++ b/sys/linux/xattr_arm64.const @@ -11,7 +11,7 @@ ACL_WRITE = 2 EVM_IMA_XATTR_DIGSIG = 3 EVM_XATTR_HMAC = 2 EVM_XATTR_PORTABLE_DIGSIG = 5 -HASH_ALGO__LAST = 18 +HASH_ALGO__LAST = 20 IMA_XATTR_DIGEST = 1 IMA_XATTR_DIGEST_NG = 4 OVL_FH_FLAG_ANY_ENDIAN = 2 diff --git a/sys/linux/xattr_ppc64le.const b/sys/linux/xattr_ppc64le.const index e808dd405..115a8a048 100644 --- a/sys/linux/xattr_ppc64le.const +++ b/sys/linux/xattr_ppc64le.const @@ -11,7 +11,7 @@ ACL_WRITE = 2 EVM_IMA_XATTR_DIGSIG = 3 EVM_XATTR_HMAC = 2 EVM_XATTR_PORTABLE_DIGSIG = 5 -HASH_ALGO__LAST = 18 +HASH_ALGO__LAST = 20 IMA_XATTR_DIGEST = 1 IMA_XATTR_DIGEST_NG = 4 OVL_FH_FLAG_ANY_ENDIAN = 2 |
