From 3d3ec9072b339276e51abc997721b68d90430bb2 Mon Sep 17 00:00:00 2001 From: Shankara Pailoor Date: Sat, 24 Nov 2018 09:11:14 -0800 Subject: reordering unions for trace2syz --- sys/linux/gen/arm.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/gen/arm.go') diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index ca4916b42..3a8705790 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -864,8 +864,8 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "imm2", TypeSize: 4}}}, }}}, {Key: StructKey{Name: "bpf_instructions"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_instructions", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "bpf_framed_program"}, FldName: "framed"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "raw", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_insn"}}}, + &StructType{Key: StructKey{Name: "bpf_framed_program"}, FldName: "framed"}, }}}, {Key: StructKey{Name: "bpf_map_create_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_map_create_arg", TypeSize: 44}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_map_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 7, 8, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16}}, @@ -5861,8 +5861,8 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 8, ArgDir: 2}, Fields: []Type{ - &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, + &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, }}}, {Key: StructKey{Name: "ifconf_buf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf_buf", TypeSize: 8, ArgDir: 2}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "ifc_len", TypeSize: 4, ArgDir: 2}}, Buf: "ifcu_buf"}, @@ -42079,4 +42079,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "fb7b022d967977f5a19598116fe04dd29eeff7cc" +const revision_arm = "e9a272852c9169555d05c5ec15ae13b73270a6d8" -- cgit mrf-deployment