From 53c81ea5385ee17c68d0afa4e524b6aead37c903 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Fri, 31 May 2019 15:50:44 +0200 Subject: sys/linux: add missing BPF constants Signed-off-by: Paul Chaignon --- sys/linux/gen/arm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/gen/arm.go') diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 13401aca1..5514ec8f4 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -1298,7 +1298,7 @@ var structDescs_arm = []*KeyedStruct{ }, AlignAttr: 8}}, {Key: StructKey{Name: "bpf_prog_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog_query", TypeSize: 32}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "target_fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_query_attach_type", FldName: "attach_type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 6, 8, 10, 12, 9, 11, 13, 14, 15, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_query_attach_type", FldName: "attach_type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 6, 8, 10, 12, 9, 11, 13, 14, 15, 16, 18, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_query_flags", FldName: "query_flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attach_flags", TypeSize: 4}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "prog_ids", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}}, @@ -50586,4 +50586,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "e097ac57433caba996cedfceb3c58b275c422c60" +const revision_arm = "bf20f9a660d824072225dfab51d51b92723ab789" -- cgit mrf-deployment