From ed54dfe305cb7b1922689bf6e796d0c20ed27928 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 21 Feb 2020 11:32:08 +0100 Subject: sys/linux: add NETLINK_AUDIT descriptions --- sys/linux/gen/386.go | 297 +++++++++++++++++++++++++- sys/linux/gen/amd64.go | 297 +++++++++++++++++++++++++- sys/linux/gen/arm.go | 297 +++++++++++++++++++++++++- sys/linux/gen/arm64.go | 297 +++++++++++++++++++++++++- sys/linux/gen/mips64le.go | 297 +++++++++++++++++++++++++- sys/linux/gen/ppc64le.go | 297 +++++++++++++++++++++++++- sys/linux/socket_netlink_audit.txt | 79 +++++++ sys/linux/socket_netlink_audit_386.const | 47 ++++ sys/linux/socket_netlink_audit_amd64.const | 47 ++++ sys/linux/socket_netlink_audit_arm.const | 47 ++++ sys/linux/socket_netlink_audit_arm64.const | 47 ++++ sys/linux/socket_netlink_audit_mips64le.const | 47 ++++ sys/linux/socket_netlink_audit_ppc64le.const | 47 ++++ 13 files changed, 2137 insertions(+), 6 deletions(-) create mode 100644 sys/linux/socket_netlink_audit.txt create mode 100644 sys/linux/socket_netlink_audit_386.const create mode 100644 sys/linux/socket_netlink_audit_amd64.const create mode 100644 sys/linux/socket_netlink_audit_arm.const create mode 100644 sys/linux/socket_netlink_audit_arm64.const create mode 100644 sys/linux/socket_netlink_audit_mips64le.const create mode 100644 sys/linux/socket_netlink_audit_ppc64le.const (limited to 'sys/linux') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 4215c02a0..cf3ab744d 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -238,6 +238,7 @@ var resources_386 = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -633,6 +634,44 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -17651,6 +17690,141 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -60154,6 +60328,81 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 370, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 370, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -64004,6 +64253,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 359, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -66223,6 +66477,47 @@ var consts_386 = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -76051,4 +76346,4 @@ var consts_386 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "700ce71766e5a7cb804325f6d48e942cd5e7edf0" +const revision_386 = "b6c0efc70d8d64549326abb10142b3f865e68363" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index cb2f0d82c..9569c6576 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -238,6 +238,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -638,6 +639,44 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -18333,6 +18372,141 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -61112,6 +61286,81 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 46, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 46, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -64962,6 +65211,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 41, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -67177,6 +67431,47 @@ var consts_amd64 = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -77019,4 +77314,4 @@ var consts_amd64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_amd64 = "7c5c0f25b101372d59f1fff55aaea026c3d95af7" +const revision_amd64 = "64ad1179e8f7d5dd33c48db41313f4cbfc87fca5" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 9fc447c5a..54cb85ede 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -238,6 +238,7 @@ var resources_arm = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -637,6 +638,44 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -17512,6 +17551,141 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -59896,6 +60070,81 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 296, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 296, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -63743,6 +63992,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 281, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -65940,6 +66194,47 @@ var consts_arm = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -75703,4 +75998,4 @@ var consts_arm = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm = "acb9ead12b5468029ec6babf77e7a41773472284" +const revision_arm = "1ec126aa4f7d4f85cb9337714557b532bd806ebd" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 3e0eb268c..636a82848 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -238,6 +238,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -638,6 +639,44 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -18142,6 +18181,141 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -60608,6 +60782,81 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 211, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 211, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -64450,6 +64699,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 198, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -66615,6 +66869,47 @@ var consts_arm64 = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -76364,4 +76659,4 @@ var consts_arm64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm64 = "ed70a86fd45eb76406917b278bfd0f96d9932dcb" +const revision_arm64 = "653d028fdfa0886cdf90b07cdbbe8b09176d2e94" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 92923f570..7124b36aa 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -236,6 +236,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -635,6 +636,44 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -18086,6 +18125,141 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -59257,6 +59431,81 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 5045, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 5045, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -63107,6 +63356,11 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 5040, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5040, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -65307,6 +65561,47 @@ var consts_mips64le = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -74025,4 +74320,4 @@ var consts_mips64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "6756b4904c7dbe68bb96aad04e45a85983854f04" +const revision_mips64le = "7e8b20135333d4b3d323bba11acff84c0df1ba7f" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index c6aeb07f3..bb83dcfbf 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -238,6 +238,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "sock_netrom", Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_llcp", Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nfc_raw", Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_nl_audit", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_audit"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_crypto", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_crypto"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_generic", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_generic"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_netfilter", Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_netfilter"}, Values: []uint64{18446744073709551615}}, @@ -637,6 +638,44 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, }}}, + {StructKey{Name: "audit_features"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_features", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vers", TypeSize: 4}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "mask", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "features", TypeSize: 4}}, Vals: []uint64{0, 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_features", FldName: "lock", TypeSize: 4}}, Vals: []uint64{0, 1}}, + }}}, + {StructKey{Name: "audit_make_equiv"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_make_equiv", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "oldlen", TypeSize: 4}}, BitSize: 8, Path: []string{"old"}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "newlen", TypeSize: 4}}, BitSize: 8, Path: []string{"new"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "old", IsVarlen: true}, Kind: 3, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "new", IsVarlen: true}, Kind: 3, NoZ: true}, + }}}, + {StructKey{Name: "audit_rule_data"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_rule_data", IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 16}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_rule_action", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "field_count", TypeSize: 4}}, Kind: 1, RangeEnd: 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "mask", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fields", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "values", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "fieldflags", TypeSize: 256}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 64, 64}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "buflen", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "buf", IsVarlen: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + }}}, + {StructKey{Name: "audit_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_status", TypeSize: 36}, Fields: []Type{ + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_status_mask", FldName: "mask", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64}, true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "audit_fail_action", FldName: "failure", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_limit", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lost", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "feature_bitmap", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog_wait_time", TypeSize: 4}}}, + }}}, + {StructKey{Name: "audit_tty_status"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "audit_tty_status", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "enabled", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_passwd", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }}}, {StructKey{Name: "ax25_address"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -18088,6 +18127,141 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"}, }}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1011}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1012}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_rule_data"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1000}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1019}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1013}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1015}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_make_equiv"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]", TypeSize: 52}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1001}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]", TypeSize: 32}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1018}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_features"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1010}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1014}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]", TypeSize: 16}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1016}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]", TypeSize: 24}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1017}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "audit_tty_status"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1005}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1107}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 1124}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 17}, @@ -60590,6 +60764,81 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 341, Name: "sendmsg$AUDIT_ADD_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_ADD_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_DEL_RULE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_DEL_RULE, int16], audit_rule_data, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_GET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_GET_FEATURE, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_LIST_RULES", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_LIST_RULES, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_MAKE_EQUIV", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_MAKE_EQUIV, int16], audit_make_equiv, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET, int16], audit_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_SET_FEATURE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SET_FEATURE, int16], audit_features, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_SIGNAL_INFO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_SIGNAL_INFO, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_TRIM", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TRIM, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_TTY_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_GET, int16], void, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_TTY_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_TTY_SET, int16], audit_tty_status, void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_USER", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_USER_AVC", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_AVC, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$AUDIT_USER_TTY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[AUDIT_USER_TTY, int16], array[int8], void]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 341, Name: "sendmsg$BATADV_CMD_GET_BLA_BACKBONE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_batadv_family_id, genlmsghdr_t[BATADV_CMD_GET_BLA_BACKBONE], batadv_netlink_policy]]"}}}, @@ -64437,6 +64686,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 326, Name: "socket$nl_audit", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 9}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_audit", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -66637,6 +66891,47 @@ var consts_ppc64le = []ConstValue{ {"AT_STATX_SYNC_TYPE", 24576}, {"AT_SYMLINK_FOLLOW", 1024}, {"AT_SYMLINK_NOFOLLOW", 256}, + {"AUDIT_ADD_RULE", 1011}, + {"AUDIT_ALWAYS", 2}, + {"AUDIT_BITMASK_SIZE", 64}, + {"AUDIT_DEL_RULE", 1012}, + {"AUDIT_FAIL_PANIC", 2}, + {"AUDIT_FAIL_PRINTK", 1}, + {Name: "AUDIT_FAIL_SILENT"}, + {"AUDIT_FEATURE_LOGINUID_IMMUTABLE", 1}, + {Name: "AUDIT_FEATURE_ONLY_UNSET_LOGINUID"}, + {"AUDIT_FEATURE_VERSION", 1}, + {"AUDIT_FILTER_ENTRY", 2}, + {"AUDIT_FILTER_EXCLUDE", 5}, + {"AUDIT_FILTER_EXIT", 4}, + {"AUDIT_FILTER_FS", 6}, + {"AUDIT_FILTER_PREPEND", 16}, + {"AUDIT_FILTER_TASK", 1}, + {Name: "AUDIT_FILTER_USER"}, + {"AUDIT_FILTER_WATCH", 3}, + {"AUDIT_GET", 1000}, + {"AUDIT_GET_FEATURE", 1019}, + {"AUDIT_LIST_RULES", 1013}, + {"AUDIT_MAKE_EQUIV", 1015}, + {"AUDIT_MAX_FIELDS", 64}, + {Name: "AUDIT_NEVER"}, + {"AUDIT_POSSIBLE", 1}, + {"AUDIT_SET", 1001}, + {"AUDIT_SET_FEATURE", 1018}, + {"AUDIT_SIGNAL_INFO", 1010}, + {"AUDIT_STATUS_BACKLOG_LIMIT", 16}, + {"AUDIT_STATUS_BACKLOG_WAIT_TIME", 32}, + {"AUDIT_STATUS_ENABLED", 1}, + {"AUDIT_STATUS_FAILURE", 2}, + {"AUDIT_STATUS_LOST", 64}, + {"AUDIT_STATUS_PID", 4}, + {"AUDIT_STATUS_RATE_LIMIT", 8}, + {"AUDIT_TRIM", 1014}, + {"AUDIT_TTY_GET", 1016}, + {"AUDIT_TTY_SET", 1017}, + {"AUDIT_USER", 1005}, + {"AUDIT_USER_AVC", 1107}, + {"AUDIT_USER_TTY", 1124}, {"AUFIO_BUF_INFO_SIZE", 16}, {"AX25_BACKOFF", 6}, {"AX25_EXTSEQ", 7}, @@ -76361,4 +76656,4 @@ var consts_ppc64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_ppc64le = "c61fe1f932fa23514cc4651169b1ae14efdc71ca" +const revision_ppc64le = "febb15e18e23afb10f697bc82595e30cfd0e3e74" diff --git a/sys/linux/socket_netlink_audit.txt b/sys/linux/socket_netlink_audit.txt new file mode 100644 index 000000000..0c22439f7 --- /dev/null +++ b/sys/linux/socket_netlink_audit.txt @@ -0,0 +1,79 @@ +# Copyright 2020 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include +include +include + +resource sock_nl_audit[sock_netlink] + +socket$nl_audit(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETLINK_AUDIT]) sock_nl_audit + +type nl_audit_msg[CMD, DATA] ptr[in, netlink_msg[CMD, DATA, void]] + +sendmsg$AUDIT_GET(fd sock_nl_audit, msg nl_audit_msg[AUDIT_GET, void], f flags[send_flags]) +sendmsg$AUDIT_SET(fd sock_nl_audit, msg nl_audit_msg[AUDIT_SET, audit_status], f flags[send_flags]) +sendmsg$AUDIT_USER(fd sock_nl_audit, msg nl_audit_msg[AUDIT_USER, array[int8]], f flags[send_flags]) +sendmsg$AUDIT_USER_AVC(fd sock_nl_audit, msg nl_audit_msg[AUDIT_USER_AVC, array[int8]], f flags[send_flags]) +sendmsg$AUDIT_USER_TTY(fd sock_nl_audit, msg nl_audit_msg[AUDIT_USER_TTY, array[int8]], f flags[send_flags]) +sendmsg$AUDIT_SET_FEATURE(fd sock_nl_audit, msg nl_audit_msg[AUDIT_SET_FEATURE, audit_features], f flags[send_flags]) +sendmsg$AUDIT_GET_FEATURE(fd sock_nl_audit, msg nl_audit_msg[AUDIT_GET_FEATURE, void], f flags[send_flags]) +sendmsg$AUDIT_ADD_RULE(fd sock_nl_audit, msg nl_audit_msg[AUDIT_ADD_RULE, audit_rule_data], f flags[send_flags]) +sendmsg$AUDIT_DEL_RULE(fd sock_nl_audit, msg nl_audit_msg[AUDIT_DEL_RULE, audit_rule_data], f flags[send_flags]) +sendmsg$AUDIT_LIST_RULES(fd sock_nl_audit, msg nl_audit_msg[AUDIT_LIST_RULES, void], f flags[send_flags]) +sendmsg$AUDIT_TRIM(fd sock_nl_audit, msg nl_audit_msg[AUDIT_TRIM, void], f flags[send_flags]) +sendmsg$AUDIT_MAKE_EQUIV(fd sock_nl_audit, msg nl_audit_msg[AUDIT_MAKE_EQUIV, audit_make_equiv], f flags[send_flags]) +sendmsg$AUDIT_SIGNAL_INFO(fd sock_nl_audit, msg nl_audit_msg[AUDIT_SIGNAL_INFO, void], f flags[send_flags]) +sendmsg$AUDIT_TTY_GET(fd sock_nl_audit, msg nl_audit_msg[AUDIT_TTY_GET, void], f flags[send_flags]) +sendmsg$AUDIT_TTY_SET(fd sock_nl_audit, msg nl_audit_msg[AUDIT_TTY_SET, audit_tty_status], f flags[send_flags]) + +audit_status { + mask flags[audit_status_mask, int32] + enabled bool32 + failure flags[audit_fail_action, int32] + pid pid + rate_limit int32 + backlog_limit int32 + lost int32 + feature_bitmap const[0, int32] + backlog_wait_time int32 +} + +audit_status_mask = AUDIT_STATUS_ENABLED, AUDIT_STATUS_FAILURE, AUDIT_STATUS_PID, AUDIT_STATUS_RATE_LIMIT, AUDIT_STATUS_BACKLOG_LIMIT, AUDIT_STATUS_BACKLOG_WAIT_TIME, AUDIT_STATUS_LOST +audit_fail_action = AUDIT_FAIL_SILENT, AUDIT_FAIL_PRINTK, AUDIT_FAIL_PANIC + +audit_features { + vers const[AUDIT_FEATURE_VERSION, int32] + mask flags[audit_features, int32] + features flags[audit_features, int32] + lock flags[audit_features, int32] +} + +audit_features = AUDIT_FEATURE_ONLY_UNSET_LOGINUID, AUDIT_FEATURE_LOGINUID_IMMUTABLE + +audit_rule_data { + flags flags[audit_rule_flags, int32] + action flags[audit_rule_action, int32] + field_count int32[0:AUDIT_MAX_FIELDS] + mask array[int32, AUDIT_BITMASK_SIZE] + fields array[int32, AUDIT_MAX_FIELDS] + values array[int32, AUDIT_MAX_FIELDS] + fieldflags array[int32, AUDIT_MAX_FIELDS] + buflen bytesize[buf, int32] + buf array[string] +} + +audit_rule_flags = AUDIT_FILTER_USER, AUDIT_FILTER_TASK, AUDIT_FILTER_ENTRY, AUDIT_FILTER_WATCH, AUDIT_FILTER_EXIT, AUDIT_FILTER_EXCLUDE, AUDIT_FILTER_FS, AUDIT_FILTER_PREPEND +audit_rule_action = AUDIT_NEVER, AUDIT_POSSIBLE, AUDIT_ALWAYS + +audit_make_equiv { + oldlen bytesize[old, int32] + newlen bytesize[new, int32] + old stringnoz[filename] + new stringnoz[filename] +} [packed] + +audit_tty_status { + enabled bool32 + log_passwd bool32 +} diff --git a/sys/linux/socket_netlink_audit_386.const b/sys/linux/socket_netlink_audit_386.const new file mode 100644 index 000000000..338cab5f6 --- /dev/null +++ b/sys/linux/socket_netlink_audit_386.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 370 +__NR_socket = 359 diff --git a/sys/linux/socket_netlink_audit_amd64.const b/sys/linux/socket_netlink_audit_amd64.const new file mode 100644 index 000000000..368833712 --- /dev/null +++ b/sys/linux/socket_netlink_audit_amd64.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 46 +__NR_socket = 41 diff --git a/sys/linux/socket_netlink_audit_arm.const b/sys/linux/socket_netlink_audit_arm.const new file mode 100644 index 000000000..86c60ab83 --- /dev/null +++ b/sys/linux/socket_netlink_audit_arm.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 296 +__NR_socket = 281 diff --git a/sys/linux/socket_netlink_audit_arm64.const b/sys/linux/socket_netlink_audit_arm64.const new file mode 100644 index 000000000..e7260f370 --- /dev/null +++ b/sys/linux/socket_netlink_audit_arm64.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 211 +__NR_socket = 198 diff --git a/sys/linux/socket_netlink_audit_mips64le.const b/sys/linux/socket_netlink_audit_mips64le.const new file mode 100644 index 000000000..edaa07b48 --- /dev/null +++ b/sys/linux/socket_netlink_audit_mips64le.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 5045 +__NR_socket = 5040 diff --git a/sys/linux/socket_netlink_audit_ppc64le.const b/sys/linux/socket_netlink_audit_ppc64le.const new file mode 100644 index 000000000..208bf5e73 --- /dev/null +++ b/sys/linux/socket_netlink_audit_ppc64le.const @@ -0,0 +1,47 @@ +# AUTOGENERATED FILE +AF_NETLINK = 16 +AUDIT_ADD_RULE = 1011 +AUDIT_ALWAYS = 2 +AUDIT_BITMASK_SIZE = 64 +AUDIT_DEL_RULE = 1012 +AUDIT_FAIL_PANIC = 2 +AUDIT_FAIL_PRINTK = 1 +AUDIT_FAIL_SILENT = 0 +AUDIT_FEATURE_LOGINUID_IMMUTABLE = 1 +AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0 +AUDIT_FEATURE_VERSION = 1 +AUDIT_FILTER_ENTRY = 2 +AUDIT_FILTER_EXCLUDE = 5 +AUDIT_FILTER_EXIT = 4 +AUDIT_FILTER_FS = 6 +AUDIT_FILTER_PREPEND = 16 +AUDIT_FILTER_TASK = 1 +AUDIT_FILTER_USER = 0 +AUDIT_FILTER_WATCH = 3 +AUDIT_GET = 1000 +AUDIT_GET_FEATURE = 1019 +AUDIT_LIST_RULES = 1013 +AUDIT_MAKE_EQUIV = 1015 +AUDIT_MAX_FIELDS = 64 +AUDIT_NEVER = 0 +AUDIT_POSSIBLE = 1 +AUDIT_SET = 1001 +AUDIT_SET_FEATURE = 1018 +AUDIT_SIGNAL_INFO = 1010 +AUDIT_STATUS_BACKLOG_LIMIT = 16 +AUDIT_STATUS_BACKLOG_WAIT_TIME = 32 +AUDIT_STATUS_ENABLED = 1 +AUDIT_STATUS_FAILURE = 2 +AUDIT_STATUS_LOST = 64 +AUDIT_STATUS_PID = 4 +AUDIT_STATUS_RATE_LIMIT = 8 +AUDIT_TRIM = 1014 +AUDIT_TTY_GET = 1016 +AUDIT_TTY_SET = 1017 +AUDIT_USER = 1005 +AUDIT_USER_AVC = 1107 +AUDIT_USER_TTY = 1124 +NETLINK_AUDIT = 9 +SOCK_RAW = 3 +__NR_sendmsg = 341 +__NR_socket = 326 -- cgit mrf-deployment