diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-10 15:54:07 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-11 11:45:22 +0100 |
| commit | a46637766bbcad3ccb5b18ef9db77bd9244b2341 (patch) | |
| tree | b42cfe12a3e014190b32d8143ba41fd4ae415145 /sys/linux/arm64.go | |
| parent | 02a19b646c19a4a75c3efc00a32c564eeabb4bdf (diff) | |
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.
Diffstat (limited to 'sys/linux/arm64.go')
| -rw-r--r-- | sys/linux/arm64.go | 8 |
1 files changed, 5 insertions, 3 deletions
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" |
