From a46637766bbcad3ccb5b18ef9db77bd9244b2341 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 10 Jan 2018 15:54:07 +0100 Subject: sys/linux: regenerate arm consts + small netlink fixed Arm was broken on upstream kernel for some time due to some assembler error. Now it seems to be fixed, so regenerate consts. Also fix small issues in new netlink descriptions. --- sys/linux/arm64.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/linux/arm64.go') diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index acc160d88..0b889e0e5 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -450,7 +450,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: 59}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 58}, }}}, {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}, @@ -3777,6 +3777,8 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "nl_generic_attr_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl_generic_attr_data"}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "u32", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "u64", TypeSize: 8}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "ipv4"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "ipv6"}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, @@ -17836,7 +17838,7 @@ var consts_arm64 = []ConstValue{ {Name: "_DRM_VBLANK_SECONDARY", Value: 536870912}, {Name: "_DRM_VBLANK_SIGNAL", Value: 1073741824}, {Name: "_DRM_WRITE_COMBINING", Value: 16}, - {Name: "__BPF_FUNC_MAX_ID", Value: 59}, + {Name: "__BPF_FUNC_MAX_ID", Value: 58}, {Name: "__NR_accept", Value: 202}, {Name: "__NR_accept4", Value: 242}, {Name: "__NR_acct", Value: 89}, @@ -18099,4 +18101,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "d5a19825301b5d9017a7f36ee57beddefd8a2f1f" +const revision_arm64 = "e3a3988e99078c14e4409f29b1b1f374765af70b" -- cgit mrf-deployment