From e86ddaca2eac4d5b854e7e2ec4b315302ff0e13f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 1 Feb 2018 20:08:32 +0100 Subject: sys/syz-extract: save unsupported consts to the const files We currently print unsupported consts to console during make extract. But this is not very useful as there are too many output now. This also does not allow to understand what's unsupported in newly checked-in descriptions, or what's unsupported in all current decriptions. Save unsupported consts to the const files instead. This solves all of the above problems. --- sys/linux/amd64.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/amd64.go') diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 0abbbe764..22ba4cb13 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -472,7 +472,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: 59}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 60}, }}}, {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}, @@ -24158,7 +24158,7 @@ var consts_amd64 = []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: 60}, {Name: "__NR_accept", Value: 43}, {Name: "__NR_accept4", Value: 288}, {Name: "__NR_acct", Value: 163}, @@ -24462,4 +24462,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "bc125788702a194b20b8cd6fbe0891f5129b9246" +const revision_amd64 = "222fd8dcdb6ae38514b87c2add8d3bd60b3ff760" -- cgit mrf-deployment