Skip to content

Commit

Permalink
sys/linux: add CRYPTO_MSG_GETSTAT
Browse files Browse the repository at this point in the history
  • Loading branch information
dvyukov committed Dec 22, 2018
1 parent 3e3b15d commit 9a4bb6b
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 10 deletions.
10 changes: 5 additions & 5 deletions executor/defs.h
Expand Up @@ -60,7 +60,7 @@

#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "745a46b9f319cae102f6c8e56835ab1eb0ec3280"
#define SYZ_REVISION "0c6bf066bd7442eaf4c652ac238cc65872b25396"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
Expand All @@ -70,7 +70,7 @@

#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "9afaea55cb050515a60438b6736ef28a5389c6e4"
#define SYZ_REVISION "34f7cb9ae9d016deb5c83bdd32303e34f97051de"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
Expand All @@ -80,7 +80,7 @@

#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "46f22033c01cdec4e04e7db18888b739eb50ae40"
#define SYZ_REVISION "e3c52bae599e17c89cb1bb8f0f348459a4eb7768"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
Expand All @@ -90,7 +90,7 @@

#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "55fe20bbe155f66e45e4b315e3882db46dbc656c"
#define SYZ_REVISION "41b4bac2c71c6484cc1bd571739baaecb92efc14"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
Expand All @@ -100,7 +100,7 @@

#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "58cd465a01de4560de123f566f48db8818f8c281"
#define SYZ_REVISION "445e99c70c6e89c9b1da7bcbeb3d25d5273b6a45"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
Expand Down
13 changes: 12 additions & 1 deletion sys/linux/gen/386.go
Expand Up @@ -10164,6 +10164,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"},
}}},
{Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
Expand Down Expand Up @@ -10269,6 +10270,15 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
Expand Down Expand Up @@ -38048,6 +38058,7 @@ var consts_386 = []ConstValue{
{Name: "CRYPTO_MSG_DELALG", Value: 17},
{Name: "CRYPTO_MSG_DELRNG", Value: 20},
{Name: "CRYPTO_MSG_GETALG", Value: 19},
{Name: "CRYPTO_MSG_GETSTAT", Value: 21},
{Name: "CRYPTO_MSG_NEWALG", Value: 16},
{Name: "CRYPTO_MSG_UPDATEALG", Value: 18},
{Name: "DCCP_PKT_ACK", Value: 3},
Expand Down Expand Up @@ -44330,4 +44341,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_386 = "745a46b9f319cae102f6c8e56835ab1eb0ec3280"
const revision_386 = "0c6bf066bd7442eaf4c652ac238cc65872b25396"
13 changes: 12 additions & 1 deletion sys/linux/gen/amd64.go
Expand Up @@ -10480,6 +10480,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"},
}}},
{Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
Expand Down Expand Up @@ -10585,6 +10586,15 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
Expand Down Expand Up @@ -38811,6 +38821,7 @@ var consts_amd64 = []ConstValue{
{Name: "CRYPTO_MSG_DELALG", Value: 17},
{Name: "CRYPTO_MSG_DELRNG", Value: 20},
{Name: "CRYPTO_MSG_GETALG", Value: 19},
{Name: "CRYPTO_MSG_GETSTAT", Value: 21},
{Name: "CRYPTO_MSG_NEWALG", Value: 16},
{Name: "CRYPTO_MSG_UPDATEALG", Value: 18},
{Name: "DCCP_PKT_ACK", Value: 3},
Expand Down Expand Up @@ -45118,4 +45129,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_amd64 = "9afaea55cb050515a60438b6736ef28a5389c6e4"
const revision_amd64 = "34f7cb9ae9d016deb5c83bdd32303e34f97051de"
13 changes: 12 additions & 1 deletion sys/linux/gen/arm.go
Expand Up @@ -10019,6 +10019,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"},
}}},
{Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
Expand Down Expand Up @@ -10124,6 +10125,15 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
Expand Down Expand Up @@ -37940,6 +37950,7 @@ var consts_arm = []ConstValue{
{Name: "CRYPTO_MSG_DELALG", Value: 17},
{Name: "CRYPTO_MSG_DELRNG", Value: 20},
{Name: "CRYPTO_MSG_GETALG", Value: 19},
{Name: "CRYPTO_MSG_GETSTAT", Value: 21},
{Name: "CRYPTO_MSG_NEWALG", Value: 16},
{Name: "CRYPTO_MSG_UPDATEALG", Value: 18},
{Name: "DCCP_PKT_ACK", Value: 3},
Expand Down Expand Up @@ -44169,4 +44180,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_arm = "46f22033c01cdec4e04e7db18888b739eb50ae40"
const revision_arm = "e3c52bae599e17c89cb1bb8f0f348459a4eb7768"
13 changes: 12 additions & 1 deletion sys/linux/gen/arm64.go
Expand Up @@ -10297,6 +10297,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"},
}}},
{Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
Expand Down Expand Up @@ -10402,6 +10403,15 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
Expand Down Expand Up @@ -38257,6 +38267,7 @@ var consts_arm64 = []ConstValue{
{Name: "CRYPTO_MSG_DELALG", Value: 17},
{Name: "CRYPTO_MSG_DELRNG", Value: 20},
{Name: "CRYPTO_MSG_GETALG", Value: 19},
{Name: "CRYPTO_MSG_GETSTAT", Value: 21},
{Name: "CRYPTO_MSG_NEWALG", Value: 16},
{Name: "CRYPTO_MSG_UPDATEALG", Value: 18},
{Name: "DCCP_PKT_ACK", Value: 3},
Expand Down Expand Up @@ -44476,4 +44487,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_arm64 = "55fe20bbe155f66e45e4b315e3882db46dbc656c"
const revision_arm64 = "41b4bac2c71c6484cc1bd571739baaecb92efc14"
13 changes: 12 additions & 1 deletion sys/linux/gen/ppc64le.go
Expand Up @@ -10207,6 +10207,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"},
}}},
{Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
Expand Down Expand Up @@ -10312,6 +10313,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
&StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
Expand Down Expand Up @@ -36652,6 +36662,7 @@ var consts_ppc64le = []ConstValue{
{Name: "CRYPTO_MSG_DELALG", Value: 17},
{Name: "CRYPTO_MSG_DELRNG", Value: 20},
{Name: "CRYPTO_MSG_GETALG", Value: 19},
{Name: "CRYPTO_MSG_GETSTAT", Value: 21},
{Name: "CRYPTO_MSG_NEWALG", Value: 16},
{Name: "CRYPTO_MSG_UPDATEALG", Value: 18},
{Name: "DCCP_PKT_ACK", Value: 3},
Expand Down Expand Up @@ -41834,4 +41845,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}

const revision_ppc64le = "58cd465a01de4560de123f566f48db8818f8c281"
const revision_ppc64le = "445e99c70c6e89c9b1da7bcbeb3d25d5273b6a45"
1 change: 1 addition & 0 deletions sys/linux/socket_netlink_crypto.txt
Expand Up @@ -22,6 +22,7 @@ netlink_msg_crypto [
upd netlink_msg[CRYPTO_MSG_UPDATEALG, crypto_user_alg, netlink_crypto_attrs]
get netlink_msg[CRYPTO_MSG_GETALG, crypto_user_alg, netlink_crypto_attrs]
delrng netlink_msg[CRYPTO_MSG_DELRNG, void, void]
getstat netlink_msg[CRYPTO_MSG_GETSTAT, crypto_user_alg, void]
] [varlen]

type netlink_crypto_attrs nlattr[CRYPTOCFGA_PRIORITY_VAL, int32]
Expand Down
1 change: 1 addition & 0 deletions sys/linux/socket_netlink_crypto_386.const
Expand Up @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64
CRYPTO_MSG_DELALG = 17
CRYPTO_MSG_DELRNG = 20
CRYPTO_MSG_GETALG = 19
CRYPTO_MSG_GETSTAT = 21
CRYPTO_MSG_NEWALG = 16
CRYPTO_MSG_UPDATEALG = 18
NETLINK_CRYPTO = 21
Expand Down

0 comments on commit 9a4bb6b

Please sign in to comment.