sys/linux: update key descriptions

- Add KEYCTL_MOVE (new in v5.3)
- Add KEYCTL_CAPABILITIES (new in v5.3)
- Add KEYCTL_GRANT_PERMISSION (new in v5.3)
- Remove KEY_PERM_UNDEF (was only ever in an internal kernel header,
  not in UAPI; removed in v5.3)
This commit is contained in:
Eric Biggers 2019-07-09 14:42:57 -07:00 committed by Dmitry Vyukov
parent a827bf70d7
commit 139ac68a73
19 changed files with 353 additions and 59 deletions

View File

@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "e1d571d7656738305806faf2f939b56bd48fb61c"
#define SYZ_REVISION "3871884a345b3a9604c0babd821e8daaa0204135"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "036bfe5c68bb7bfe0cc9b16821d139bf4e784047"
#define SYZ_REVISION "5cf2332fa4990ae991912d28bceba030beecb353"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "4f93d6fd1be9e81a5269d0c391896732dcf1b956"
#define SYZ_REVISION "1939ae489fb8317047d17fe5a044e7b7c927126a"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "c7faa6f5df21fe6bb7786a037d98a97089215d07"
#define SYZ_REVISION "4e828105a0a6301e379991dd24125329cda5a83d"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@ -110,7 +110,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "25180460bf4bd8392ca8a027cc38042d376a10cd"
#define SYZ_REVISION "8a95b8d87e753e402df12fee4647aab26022e8e1"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096

View File

@ -3606,6 +3606,9 @@ const call_t syscalls[] = {
{"kcmp", 349},
{"kcmp$KCMP_EPOLL_TFD", 349},
{"kexec_load", 283},
{"keyctl$KEYCTL_CAPABILITIES", 288},
{"keyctl$KEYCTL_GRANT_PERMISSION", 288},
{"keyctl$KEYCTL_MOVE", 288},
{"keyctl$KEYCTL_PKEY_DECRYPT", 288},
{"keyctl$KEYCTL_PKEY_ENCRYPT", 288},
{"keyctl$KEYCTL_PKEY_QUERY", 288},
@ -6344,6 +6347,9 @@ const call_t syscalls[] = {
{"kcmp", 312},
{"kcmp$KCMP_EPOLL_TFD", 312},
{"kexec_load", 246},
{"keyctl$KEYCTL_CAPABILITIES", 250},
{"keyctl$KEYCTL_GRANT_PERMISSION", 250},
{"keyctl$KEYCTL_MOVE", 250},
{"keyctl$KEYCTL_PKEY_DECRYPT", 250},
{"keyctl$KEYCTL_PKEY_ENCRYPT", 250},
{"keyctl$KEYCTL_PKEY_QUERY", 250},
@ -9041,6 +9047,9 @@ const call_t syscalls[] = {
{"kcmp", 378},
{"kcmp$KCMP_EPOLL_TFD", 378},
{"kexec_load", 347},
{"keyctl$KEYCTL_CAPABILITIES", 311},
{"keyctl$KEYCTL_GRANT_PERMISSION", 311},
{"keyctl$KEYCTL_MOVE", 311},
{"keyctl$KEYCTL_PKEY_DECRYPT", 311},
{"keyctl$KEYCTL_PKEY_ENCRYPT", 311},
{"keyctl$KEYCTL_PKEY_QUERY", 311},
@ -11726,6 +11735,9 @@ const call_t syscalls[] = {
{"kcmp", 272},
{"kcmp$KCMP_EPOLL_TFD", 272},
{"kexec_load", 104},
{"keyctl$KEYCTL_CAPABILITIES", 219},
{"keyctl$KEYCTL_GRANT_PERMISSION", 219},
{"keyctl$KEYCTL_MOVE", 219},
{"keyctl$KEYCTL_PKEY_DECRYPT", 219},
{"keyctl$KEYCTL_PKEY_ENCRYPT", 219},
{"keyctl$KEYCTL_PKEY_QUERY", 219},
@ -14386,6 +14398,9 @@ const call_t syscalls[] = {
{"kcmp", 354},
{"kcmp$KCMP_EPOLL_TFD", 354},
{"kexec_load", 268},
{"keyctl$KEYCTL_CAPABILITIES", 271},
{"keyctl$KEYCTL_GRANT_PERMISSION", 271},
{"keyctl$KEYCTL_MOVE", 271},
{"keyctl$KEYCTL_PKEY_DECRYPT", 271},
{"keyctl$KEYCTL_PKEY_ENCRYPT", 271},
{"keyctl$KEYCTL_PKEY_QUERY", 271},

View File

@ -21728,15 +21728,15 @@ var structDescs_386 = []*KeyedStruct{
{Key: StructKey{Name: "sockaddr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_alg", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{
@ -37034,6 +37034,25 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kexec_segment"}}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kexec_load_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 196608, 4063232, 1310720, 1376256, 3276800, 2621440, 1441792, 2752512, 524288, 655360, 0}},
}},
{NR: 288, Name: "keyctl$KEYCTL_CAPABILITIES", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 31},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "buflen", TypeSize: 4}}, Path: []string{"buffer"}},
}},
{NR: 288, Name: "keyctl$KEYCTL_GRANT_PERMISSION", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 32},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "keyid", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_subject_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_standard_subject", FldName: "subject", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512}, BitMask: true},
}},
{NR: 288, Name: "keyctl$KEYCTL_MOVE", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 30},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "from_keyring", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "to_keyring", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "keyctl_move_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true},
}},
{NR: 288, Name: "keyctl$KEYCTL_PKEY_DECRYPT", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 26},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "keyctl_pkey_params"}}},
@ -37196,7 +37215,7 @@ var syscalls_386 = []*Syscall{
{NR: 288, Name: "keyctl$setperm", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 5},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32, 4294967295}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32}, BitMask: true},
}},
{NR: 288, Name: "keyctl$unlink", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 9},
@ -44641,7 +44660,6 @@ var consts_386 = []ConstValue{
{Name: "CRYPTO_ALG_TYPE_BLKCIPHER", Value: 4},
{Name: "CRYPTO_ALG_TYPE_CIPHER", Value: 1},
{Name: "CRYPTO_ALG_TYPE_COMPRESS", Value: 2},
{Name: "CRYPTO_ALG_TYPE_DIGEST", Value: 14},
{Name: "CRYPTO_ALG_TYPE_HASH", Value: 14},
{Name: "CRYPTO_ALG_TYPE_MASK", Value: 15},
{Name: "CRYPTO_ALG_TYPE_PCOMPRESS", Value: 15},
@ -46567,6 +46585,7 @@ var consts_386 = []ConstValue{
{Name: "KEXEC_ON_CRASH", Value: 1},
{Name: "KEXEC_PRESERVE_CONTEXT", Value: 2},
{Name: "KEYCTL_ASSUME_AUTHORITY", Value: 16},
{Name: "KEYCTL_CAPABILITIES", Value: 31},
{Name: "KEYCTL_CHOWN", Value: 4},
{Name: "KEYCTL_CLEAR", Value: 7},
{Name: "KEYCTL_DESCRIBE", Value: 6},
@ -46574,11 +46593,14 @@ var consts_386 = []ConstValue{
{Name: "KEYCTL_GET_KEYRING_ID"},
{Name: "KEYCTL_GET_PERSISTENT", Value: 22},
{Name: "KEYCTL_GET_SECURITY", Value: 17},
{Name: "KEYCTL_GRANT_PERMISSION", Value: 32},
{Name: "KEYCTL_INSTANTIATE", Value: 12},
{Name: "KEYCTL_INSTANTIATE_IOV", Value: 20},
{Name: "KEYCTL_INVALIDATE", Value: 21},
{Name: "KEYCTL_JOIN_SESSION_KEYRING", Value: 1},
{Name: "KEYCTL_LINK", Value: 8},
{Name: "KEYCTL_MOVE", Value: 30},
{Name: "KEYCTL_MOVE_EXCL", Value: 1},
{Name: "KEYCTL_NEGATE", Value: 13},
{Name: "KEYCTL_PKEY_DECRYPT", Value: 26},
{Name: "KEYCTL_PKEY_ENCRYPT", Value: 25},
@ -46597,6 +46619,21 @@ var consts_386 = []ConstValue{
{Name: "KEYCTL_SET_TIMEOUT", Value: 15},
{Name: "KEYCTL_UNLINK", Value: 9},
{Name: "KEYCTL_UPDATE", Value: 2},
{Name: "KEY_ACE_CLEAR", Value: 512},
{Name: "KEY_ACE_EVERYONE"},
{Name: "KEY_ACE_GROUP", Value: 1},
{Name: "KEY_ACE_INVAL", Value: 64},
{Name: "KEY_ACE_JOIN", Value: 256},
{Name: "KEY_ACE_LINK", Value: 16},
{Name: "KEY_ACE_OWNER", Value: 2},
{Name: "KEY_ACE_POSSESSOR", Value: 3},
{Name: "KEY_ACE_READ", Value: 2},
{Name: "KEY_ACE_REVOKE", Value: 128},
{Name: "KEY_ACE_SEARCH", Value: 8},
{Name: "KEY_ACE_SET_SECURITY", Value: 32},
{Name: "KEY_ACE_SUBJ_STANDARD"},
{Name: "KEY_ACE_VIEW", Value: 1},
{Name: "KEY_ACE_WRITE", Value: 4},
{Name: "KEY_GRP_LINK", Value: 4096},
{Name: "KEY_GRP_READ", Value: 512},
{Name: "KEY_GRP_SEARCH", Value: 2048},
@ -46610,7 +46647,6 @@ var consts_386 = []ConstValue{
{Name: "KEY_OTH_SETATTR", Value: 32},
{Name: "KEY_OTH_VIEW", Value: 1},
{Name: "KEY_OTH_WRITE", Value: 4},
{Name: "KEY_PERM_UNDEF", Value: 4294967295},
{Name: "KEY_POS_LINK", Value: 268435456},
{Name: "KEY_POS_READ", Value: 33554432},
{Name: "KEY_POS_SEARCH", Value: 134217728},
@ -51726,4 +51762,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_386 = "e1d571d7656738305806faf2f939b56bd48fb61c"
const revision_386 = "3871884a345b3a9604c0babd821e8daaa0204135"

View File

@ -22048,15 +22048,15 @@ var structDescs_amd64 = []*KeyedStruct{
{Key: StructKey{Name: "sockaddr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_alg", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{
@ -37551,6 +37551,25 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kexec_segment"}}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kexec_load_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 196608, 4063232, 1310720, 1376256, 3276800, 2621440, 1441792, 2752512, 524288, 655360, 0}},
}},
{NR: 250, Name: "keyctl$KEYCTL_CAPABILITIES", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 31},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "buflen", TypeSize: 8}}, Path: []string{"buffer"}},
}},
{NR: 250, Name: "keyctl$KEYCTL_GRANT_PERMISSION", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 32},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "keyid", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_subject_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{0}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_standard_subject", FldName: "subject", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512}, BitMask: true},
}},
{NR: 250, Name: "keyctl$KEYCTL_MOVE", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 30},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "from_keyring", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "to_keyring", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "keyctl_move_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
}},
{NR: 250, Name: "keyctl$KEYCTL_PKEY_DECRYPT", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 26},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "keyctl_pkey_params"}}},
@ -37713,7 +37732,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 250, Name: "keyctl$setperm", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 5},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32, 4294967295}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32}, BitMask: true},
}},
{NR: 250, Name: "keyctl$unlink", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 9},
@ -45163,7 +45182,6 @@ var consts_amd64 = []ConstValue{
{Name: "CRYPTO_ALG_TYPE_BLKCIPHER", Value: 4},
{Name: "CRYPTO_ALG_TYPE_CIPHER", Value: 1},
{Name: "CRYPTO_ALG_TYPE_COMPRESS", Value: 2},
{Name: "CRYPTO_ALG_TYPE_DIGEST", Value: 14},
{Name: "CRYPTO_ALG_TYPE_HASH", Value: 14},
{Name: "CRYPTO_ALG_TYPE_MASK", Value: 15},
{Name: "CRYPTO_ALG_TYPE_PCOMPRESS", Value: 15},
@ -47089,6 +47107,7 @@ var consts_amd64 = []ConstValue{
{Name: "KEXEC_ON_CRASH", Value: 1},
{Name: "KEXEC_PRESERVE_CONTEXT", Value: 2},
{Name: "KEYCTL_ASSUME_AUTHORITY", Value: 16},
{Name: "KEYCTL_CAPABILITIES", Value: 31},
{Name: "KEYCTL_CHOWN", Value: 4},
{Name: "KEYCTL_CLEAR", Value: 7},
{Name: "KEYCTL_DESCRIBE", Value: 6},
@ -47096,11 +47115,14 @@ var consts_amd64 = []ConstValue{
{Name: "KEYCTL_GET_KEYRING_ID"},
{Name: "KEYCTL_GET_PERSISTENT", Value: 22},
{Name: "KEYCTL_GET_SECURITY", Value: 17},
{Name: "KEYCTL_GRANT_PERMISSION", Value: 32},
{Name: "KEYCTL_INSTANTIATE", Value: 12},
{Name: "KEYCTL_INSTANTIATE_IOV", Value: 20},
{Name: "KEYCTL_INVALIDATE", Value: 21},
{Name: "KEYCTL_JOIN_SESSION_KEYRING", Value: 1},
{Name: "KEYCTL_LINK", Value: 8},
{Name: "KEYCTL_MOVE", Value: 30},
{Name: "KEYCTL_MOVE_EXCL", Value: 1},
{Name: "KEYCTL_NEGATE", Value: 13},
{Name: "KEYCTL_PKEY_DECRYPT", Value: 26},
{Name: "KEYCTL_PKEY_ENCRYPT", Value: 25},
@ -47119,6 +47141,21 @@ var consts_amd64 = []ConstValue{
{Name: "KEYCTL_SET_TIMEOUT", Value: 15},
{Name: "KEYCTL_UNLINK", Value: 9},
{Name: "KEYCTL_UPDATE", Value: 2},
{Name: "KEY_ACE_CLEAR", Value: 512},
{Name: "KEY_ACE_EVERYONE"},
{Name: "KEY_ACE_GROUP", Value: 1},
{Name: "KEY_ACE_INVAL", Value: 64},
{Name: "KEY_ACE_JOIN", Value: 256},
{Name: "KEY_ACE_LINK", Value: 16},
{Name: "KEY_ACE_OWNER", Value: 2},
{Name: "KEY_ACE_POSSESSOR", Value: 3},
{Name: "KEY_ACE_READ", Value: 2},
{Name: "KEY_ACE_REVOKE", Value: 128},
{Name: "KEY_ACE_SEARCH", Value: 8},
{Name: "KEY_ACE_SET_SECURITY", Value: 32},
{Name: "KEY_ACE_SUBJ_STANDARD"},
{Name: "KEY_ACE_VIEW", Value: 1},
{Name: "KEY_ACE_WRITE", Value: 4},
{Name: "KEY_GRP_LINK", Value: 4096},
{Name: "KEY_GRP_READ", Value: 512},
{Name: "KEY_GRP_SEARCH", Value: 2048},
@ -47132,7 +47169,6 @@ var consts_amd64 = []ConstValue{
{Name: "KEY_OTH_SETATTR", Value: 32},
{Name: "KEY_OTH_VIEW", Value: 1},
{Name: "KEY_OTH_WRITE", Value: 4},
{Name: "KEY_PERM_UNDEF", Value: 4294967295},
{Name: "KEY_POS_LINK", Value: 268435456},
{Name: "KEY_POS_READ", Value: 33554432},
{Name: "KEY_POS_SEARCH", Value: 134217728},
@ -52263,4 +52299,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_amd64 = "036bfe5c68bb7bfe0cc9b16821d139bf4e784047"
const revision_amd64 = "5cf2332fa4990ae991912d28bceba030beecb353"

View File

@ -21550,15 +21550,15 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "sockaddr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_alg", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{
@ -36715,6 +36715,25 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kexec_segment"}}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kexec_load_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 196608, 4063232, 1310720, 1376256, 3276800, 2621440, 1441792, 2752512, 524288, 655360, 0}},
}},
{NR: 311, Name: "keyctl$KEYCTL_CAPABILITIES", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 31},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "buflen", TypeSize: 4}}, Path: []string{"buffer"}},
}},
{NR: 311, Name: "keyctl$KEYCTL_GRANT_PERMISSION", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 32},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "keyid", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_subject_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_standard_subject", FldName: "subject", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512}, BitMask: true},
}},
{NR: 311, Name: "keyctl$KEYCTL_MOVE", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 30},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "from_keyring", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "to_keyring", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "keyctl_move_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true},
}},
{NR: 311, Name: "keyctl$KEYCTL_PKEY_DECRYPT", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 26},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "keyctl_pkey_params"}}},
@ -36877,7 +36896,7 @@ var syscalls_arm = []*Syscall{
{NR: 311, Name: "keyctl$setperm", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 5},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32, 4294967295}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 4}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32}, BitMask: true},
}},
{NR: 311, Name: "keyctl$unlink", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 4}}, Val: 9},
@ -44281,7 +44300,6 @@ var consts_arm = []ConstValue{
{Name: "CRYPTO_ALG_TYPE_BLKCIPHER", Value: 4},
{Name: "CRYPTO_ALG_TYPE_CIPHER", Value: 1},
{Name: "CRYPTO_ALG_TYPE_COMPRESS", Value: 2},
{Name: "CRYPTO_ALG_TYPE_DIGEST", Value: 14},
{Name: "CRYPTO_ALG_TYPE_HASH", Value: 14},
{Name: "CRYPTO_ALG_TYPE_MASK", Value: 15},
{Name: "CRYPTO_ALG_TYPE_PCOMPRESS", Value: 15},
@ -46206,6 +46224,7 @@ var consts_arm = []ConstValue{
{Name: "KEXEC_ON_CRASH", Value: 1},
{Name: "KEXEC_PRESERVE_CONTEXT", Value: 2},
{Name: "KEYCTL_ASSUME_AUTHORITY", Value: 16},
{Name: "KEYCTL_CAPABILITIES", Value: 31},
{Name: "KEYCTL_CHOWN", Value: 4},
{Name: "KEYCTL_CLEAR", Value: 7},
{Name: "KEYCTL_DESCRIBE", Value: 6},
@ -46213,11 +46232,14 @@ var consts_arm = []ConstValue{
{Name: "KEYCTL_GET_KEYRING_ID"},
{Name: "KEYCTL_GET_PERSISTENT", Value: 22},
{Name: "KEYCTL_GET_SECURITY", Value: 17},
{Name: "KEYCTL_GRANT_PERMISSION", Value: 32},
{Name: "KEYCTL_INSTANTIATE", Value: 12},
{Name: "KEYCTL_INSTANTIATE_IOV", Value: 20},
{Name: "KEYCTL_INVALIDATE", Value: 21},
{Name: "KEYCTL_JOIN_SESSION_KEYRING", Value: 1},
{Name: "KEYCTL_LINK", Value: 8},
{Name: "KEYCTL_MOVE", Value: 30},
{Name: "KEYCTL_MOVE_EXCL", Value: 1},
{Name: "KEYCTL_NEGATE", Value: 13},
{Name: "KEYCTL_PKEY_DECRYPT", Value: 26},
{Name: "KEYCTL_PKEY_ENCRYPT", Value: 25},
@ -46236,6 +46258,21 @@ var consts_arm = []ConstValue{
{Name: "KEYCTL_SET_TIMEOUT", Value: 15},
{Name: "KEYCTL_UNLINK", Value: 9},
{Name: "KEYCTL_UPDATE", Value: 2},
{Name: "KEY_ACE_CLEAR", Value: 512},
{Name: "KEY_ACE_EVERYONE"},
{Name: "KEY_ACE_GROUP", Value: 1},
{Name: "KEY_ACE_INVAL", Value: 64},
{Name: "KEY_ACE_JOIN", Value: 256},
{Name: "KEY_ACE_LINK", Value: 16},
{Name: "KEY_ACE_OWNER", Value: 2},
{Name: "KEY_ACE_POSSESSOR", Value: 3},
{Name: "KEY_ACE_READ", Value: 2},
{Name: "KEY_ACE_REVOKE", Value: 128},
{Name: "KEY_ACE_SEARCH", Value: 8},
{Name: "KEY_ACE_SET_SECURITY", Value: 32},
{Name: "KEY_ACE_SUBJ_STANDARD"},
{Name: "KEY_ACE_VIEW", Value: 1},
{Name: "KEY_ACE_WRITE", Value: 4},
{Name: "KEY_GRP_LINK", Value: 4096},
{Name: "KEY_GRP_READ", Value: 512},
{Name: "KEY_GRP_SEARCH", Value: 2048},
@ -46249,7 +46286,6 @@ var consts_arm = []ConstValue{
{Name: "KEY_OTH_SETATTR", Value: 32},
{Name: "KEY_OTH_VIEW", Value: 1},
{Name: "KEY_OTH_WRITE", Value: 4},
{Name: "KEY_PERM_UNDEF", Value: 4294967295},
{Name: "KEY_POS_LINK", Value: 268435456},
{Name: "KEY_POS_READ", Value: 33554432},
{Name: "KEY_POS_SEARCH", Value: 134217728},
@ -51303,4 +51339,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm = "4f93d6fd1be9e81a5269d0c391896732dcf1b956"
const revision_arm = "1939ae489fb8317047d17fe5a044e7b7c927126a"

View File

@ -21865,15 +21865,15 @@ var structDescs_arm64 = []*KeyedStruct{
{Key: StructKey{Name: "sockaddr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_alg", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{
@ -37140,6 +37140,25 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kexec_segment"}}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kexec_load_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 196608, 4063232, 1310720, 1376256, 3276800, 2621440, 1441792, 2752512, 524288, 655360, 0}},
}},
{NR: 219, Name: "keyctl$KEYCTL_CAPABILITIES", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 31},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "buflen", TypeSize: 8}}, Path: []string{"buffer"}},
}},
{NR: 219, Name: "keyctl$KEYCTL_GRANT_PERMISSION", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 32},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "keyid", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_subject_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{0}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_standard_subject", FldName: "subject", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512}, BitMask: true},
}},
{NR: 219, Name: "keyctl$KEYCTL_MOVE", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 30},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "from_keyring", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "to_keyring", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "keyctl_move_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
}},
{NR: 219, Name: "keyctl$KEYCTL_PKEY_DECRYPT", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 26},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "keyctl_pkey_params"}}},
@ -37302,7 +37321,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 219, Name: "keyctl$setperm", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 5},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32, 4294967295}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32}, BitMask: true},
}},
{NR: 219, Name: "keyctl$unlink", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 9},
@ -38760,7 +38779,7 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "seccomp_metadata"}}},
}},
{NR: 117, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 24, 9}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 24, 9, 31, 32}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}},
@ -44609,7 +44628,6 @@ var consts_arm64 = []ConstValue{
{Name: "CRYPTO_ALG_TYPE_BLKCIPHER", Value: 4},
{Name: "CRYPTO_ALG_TYPE_CIPHER", Value: 1},
{Name: "CRYPTO_ALG_TYPE_COMPRESS", Value: 2},
{Name: "CRYPTO_ALG_TYPE_DIGEST", Value: 14},
{Name: "CRYPTO_ALG_TYPE_HASH", Value: 14},
{Name: "CRYPTO_ALG_TYPE_MASK", Value: 15},
{Name: "CRYPTO_ALG_TYPE_PCOMPRESS", Value: 15},
@ -46535,6 +46553,7 @@ var consts_arm64 = []ConstValue{
{Name: "KEXEC_ON_CRASH", Value: 1},
{Name: "KEXEC_PRESERVE_CONTEXT", Value: 2},
{Name: "KEYCTL_ASSUME_AUTHORITY", Value: 16},
{Name: "KEYCTL_CAPABILITIES", Value: 31},
{Name: "KEYCTL_CHOWN", Value: 4},
{Name: "KEYCTL_CLEAR", Value: 7},
{Name: "KEYCTL_DESCRIBE", Value: 6},
@ -46542,11 +46561,14 @@ var consts_arm64 = []ConstValue{
{Name: "KEYCTL_GET_KEYRING_ID"},
{Name: "KEYCTL_GET_PERSISTENT", Value: 22},
{Name: "KEYCTL_GET_SECURITY", Value: 17},
{Name: "KEYCTL_GRANT_PERMISSION", Value: 32},
{Name: "KEYCTL_INSTANTIATE", Value: 12},
{Name: "KEYCTL_INSTANTIATE_IOV", Value: 20},
{Name: "KEYCTL_INVALIDATE", Value: 21},
{Name: "KEYCTL_JOIN_SESSION_KEYRING", Value: 1},
{Name: "KEYCTL_LINK", Value: 8},
{Name: "KEYCTL_MOVE", Value: 30},
{Name: "KEYCTL_MOVE_EXCL", Value: 1},
{Name: "KEYCTL_NEGATE", Value: 13},
{Name: "KEYCTL_PKEY_DECRYPT", Value: 26},
{Name: "KEYCTL_PKEY_ENCRYPT", Value: 25},
@ -46565,6 +46587,21 @@ var consts_arm64 = []ConstValue{
{Name: "KEYCTL_SET_TIMEOUT", Value: 15},
{Name: "KEYCTL_UNLINK", Value: 9},
{Name: "KEYCTL_UPDATE", Value: 2},
{Name: "KEY_ACE_CLEAR", Value: 512},
{Name: "KEY_ACE_EVERYONE"},
{Name: "KEY_ACE_GROUP", Value: 1},
{Name: "KEY_ACE_INVAL", Value: 64},
{Name: "KEY_ACE_JOIN", Value: 256},
{Name: "KEY_ACE_LINK", Value: 16},
{Name: "KEY_ACE_OWNER", Value: 2},
{Name: "KEY_ACE_POSSESSOR", Value: 3},
{Name: "KEY_ACE_READ", Value: 2},
{Name: "KEY_ACE_REVOKE", Value: 128},
{Name: "KEY_ACE_SEARCH", Value: 8},
{Name: "KEY_ACE_SET_SECURITY", Value: 32},
{Name: "KEY_ACE_SUBJ_STANDARD"},
{Name: "KEY_ACE_VIEW", Value: 1},
{Name: "KEY_ACE_WRITE", Value: 4},
{Name: "KEY_GRP_LINK", Value: 4096},
{Name: "KEY_GRP_READ", Value: 512},
{Name: "KEY_GRP_SEARCH", Value: 2048},
@ -46578,7 +46615,6 @@ var consts_arm64 = []ConstValue{
{Name: "KEY_OTH_SETATTR", Value: 32},
{Name: "KEY_OTH_VIEW", Value: 1},
{Name: "KEY_OTH_WRITE", Value: 4},
{Name: "KEY_PERM_UNDEF", Value: 4294967295},
{Name: "KEY_POS_LINK", Value: 268435456},
{Name: "KEY_POS_READ", Value: 33554432},
{Name: "KEY_POS_SEARCH", Value: 134217728},
@ -47888,6 +47924,8 @@ var consts_arm64 = []ConstValue{
{Name: "PTRACE_SETSIGINFO", Value: 16899},
{Name: "PTRACE_SINGLESTEP", Value: 9},
{Name: "PTRACE_SYSCALL", Value: 24},
{Name: "PTRACE_SYSEMU", Value: 31},
{Name: "PTRACE_SYSEMU_SINGLESTEP", Value: 32},
{Name: "PTRACE_TRACEME"},
{Name: "PT_DYNAMIC", Value: 2},
{Name: "PT_GNU_STACK", Value: 1685382481},
@ -51613,4 +51651,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm64 = "c7faa6f5df21fe6bb7786a037d98a97089215d07"
const revision_arm64 = "4e828105a0a6301e379991dd24125329cda5a83d"

View File

@ -21817,15 +21817,15 @@ var structDescs_ppc64le = []*KeyedStruct{
{Key: StructKey{Name: "sockaddr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_alg", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_alg", TypeSize: 88, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 38},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "type", TypeSize: 14, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "feat", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "af_alg_type", FldName: "mask", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{15, 1, 2, 3, 4, 5, 14, 14, 15, 12, 13, 15, 16, 32, 64, 128, 256, 1024, 2048, 4096, 8192}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64, ArgDir: 1}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
}}},
{Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{
@ -37014,6 +37014,25 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kexec_segment"}}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kexec_load_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 196608, 4063232, 1310720, 1376256, 3276800, 2621440, 1441792, 2752512, 524288, 655360, 0}},
}},
{NR: 271, Name: "keyctl$KEYCTL_CAPABILITIES", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 31},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "buflen", TypeSize: 8}}, Path: []string{"buffer"}},
}},
{NR: 271, Name: "keyctl$KEYCTL_GRANT_PERMISSION", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 32},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "keyid", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_subject_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{0}, BitMask: true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_standard_subject", FldName: "subject", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_ace_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512}, BitMask: true},
}},
{NR: 271, Name: "keyctl$KEYCTL_MOVE", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 30},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "from_keyring", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "keyring", FldName: "to_keyring", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "keyctl_move_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true},
}},
{NR: 271, Name: "keyctl$KEYCTL_PKEY_DECRYPT", CallName: "keyctl", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 26},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "keyctl_pkey_params"}}},
@ -37176,7 +37195,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 271, Name: "keyctl$setperm", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 5},
&ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "key", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32, 4294967295}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "key_perm", FldName: "perm", TypeSize: 8}}, Vals: []uint64{16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 65536, 131072, 262144, 524288, 1048576, 2097152, 256, 512, 1024, 2048, 4096, 8192, 1, 2, 4, 8, 16, 32}, BitMask: true},
}},
{NR: 271, Name: "keyctl$unlink", CallName: "keyctl", MissingArgs: 2, Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 8}}, Val: 9},
@ -44603,7 +44622,6 @@ var consts_ppc64le = []ConstValue{
{Name: "CRYPTO_ALG_TYPE_BLKCIPHER", Value: 4},
{Name: "CRYPTO_ALG_TYPE_CIPHER", Value: 1},
{Name: "CRYPTO_ALG_TYPE_COMPRESS", Value: 2},
{Name: "CRYPTO_ALG_TYPE_DIGEST", Value: 14},
{Name: "CRYPTO_ALG_TYPE_HASH", Value: 14},
{Name: "CRYPTO_ALG_TYPE_MASK", Value: 15},
{Name: "CRYPTO_ALG_TYPE_PCOMPRESS", Value: 15},
@ -46528,6 +46546,7 @@ var consts_ppc64le = []ConstValue{
{Name: "KEXEC_ON_CRASH", Value: 1},
{Name: "KEXEC_PRESERVE_CONTEXT", Value: 2},
{Name: "KEYCTL_ASSUME_AUTHORITY", Value: 16},
{Name: "KEYCTL_CAPABILITIES", Value: 31},
{Name: "KEYCTL_CHOWN", Value: 4},
{Name: "KEYCTL_CLEAR", Value: 7},
{Name: "KEYCTL_DESCRIBE", Value: 6},
@ -46535,11 +46554,14 @@ var consts_ppc64le = []ConstValue{
{Name: "KEYCTL_GET_KEYRING_ID"},
{Name: "KEYCTL_GET_PERSISTENT", Value: 22},
{Name: "KEYCTL_GET_SECURITY", Value: 17},
{Name: "KEYCTL_GRANT_PERMISSION", Value: 32},
{Name: "KEYCTL_INSTANTIATE", Value: 12},
{Name: "KEYCTL_INSTANTIATE_IOV", Value: 20},
{Name: "KEYCTL_INVALIDATE", Value: 21},
{Name: "KEYCTL_JOIN_SESSION_KEYRING", Value: 1},
{Name: "KEYCTL_LINK", Value: 8},
{Name: "KEYCTL_MOVE", Value: 30},
{Name: "KEYCTL_MOVE_EXCL", Value: 1},
{Name: "KEYCTL_NEGATE", Value: 13},
{Name: "KEYCTL_PKEY_DECRYPT", Value: 26},
{Name: "KEYCTL_PKEY_ENCRYPT", Value: 25},
@ -46558,6 +46580,21 @@ var consts_ppc64le = []ConstValue{
{Name: "KEYCTL_SET_TIMEOUT", Value: 15},
{Name: "KEYCTL_UNLINK", Value: 9},
{Name: "KEYCTL_UPDATE", Value: 2},
{Name: "KEY_ACE_CLEAR", Value: 512},
{Name: "KEY_ACE_EVERYONE"},
{Name: "KEY_ACE_GROUP", Value: 1},
{Name: "KEY_ACE_INVAL", Value: 64},
{Name: "KEY_ACE_JOIN", Value: 256},
{Name: "KEY_ACE_LINK", Value: 16},
{Name: "KEY_ACE_OWNER", Value: 2},
{Name: "KEY_ACE_POSSESSOR", Value: 3},
{Name: "KEY_ACE_READ", Value: 2},
{Name: "KEY_ACE_REVOKE", Value: 128},
{Name: "KEY_ACE_SEARCH", Value: 8},
{Name: "KEY_ACE_SET_SECURITY", Value: 32},
{Name: "KEY_ACE_SUBJ_STANDARD"},
{Name: "KEY_ACE_VIEW", Value: 1},
{Name: "KEY_ACE_WRITE", Value: 4},
{Name: "KEY_GRP_LINK", Value: 4096},
{Name: "KEY_GRP_READ", Value: 512},
{Name: "KEY_GRP_SEARCH", Value: 2048},
@ -46571,7 +46608,6 @@ var consts_ppc64le = []ConstValue{
{Name: "KEY_OTH_SETATTR", Value: 32},
{Name: "KEY_OTH_VIEW", Value: 1},
{Name: "KEY_OTH_WRITE", Value: 4},
{Name: "KEY_PERM_UNDEF", Value: 4294967295},
{Name: "KEY_POS_LINK", Value: 268435456},
{Name: "KEY_POS_READ", Value: 33554432},
{Name: "KEY_POS_SEARCH", Value: 134217728},
@ -51580,4 +51616,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_ppc64le = "25180460bf4bd8392ca8a027cc38042d376a10cd"
const revision_ppc64le = "8a95b8d87e753e402df12fee4647aab26022e8e1"

View File

@ -51,9 +51,16 @@ keyctl$KEYCTL_PKEY_DECRYPT(code const[KEYCTL_PKEY_DECRYPT], params ptr[in, keyct
keyctl$KEYCTL_PKEY_SIGN(code const[KEYCTL_PKEY_SIGN], params ptr[in, keyctl_pkey_params], info ptr[in, keyctl_pkey_info, opt], inout ptr[in, array[int8]], output ptr[out, array[int8]])
keyctl$KEYCTL_PKEY_VERIFY(code const[KEYCTL_PKEY_VERIFY], params ptr[in, keyctl_pkey_params], info ptr[in, keyctl_pkey_info, opt], inout ptr[in, array[int8]], output ptr[in, array[int8]])
keyctl$KEYCTL_RESTRICT_KEYRING(code const[KEYCTL_RESTRICT_KEYRING], key key, type ptr[in, string[key_type], opt], restriction ptr[in, key_restriction, opt])
keyctl$KEYCTL_MOVE(code const[KEYCTL_MOVE], key key, from_keyring keyring, to_keyring keyring, flags flags[keyctl_move_flags])
keyctl$KEYCTL_CAPABILITIES(code const[KEYCTL_CAPABILITIES], buffer ptr[out, array[int8]], buflen len[buffer])
keyctl$KEYCTL_GRANT_PERMISSION(code const[KEYCTL_GRANT_PERMISSION], keyid key, type flags[key_ace_subject_type], subject flags[key_ace_standard_subject], perm flags[key_ace_perm])
reqkey_keyring = KEY_REQKEY_DEFL_NO_CHANGE, KEY_REQKEY_DEFL_DEFAULT, KEY_REQKEY_DEFL_THREAD_KEYRING, KEY_REQKEY_DEFL_PROCESS_KEYRING, KEY_REQKEY_DEFL_SESSION_KEYRING, KEY_REQKEY_DEFL_USER_KEYRING, KEY_REQKEY_DEFL_USER_SESSION_KEYRING, KEY_REQKEY_DEFL_GROUP_KEYRING, KEY_REQKEY_DEFL_REQUESTOR_KEYRING
key_perm = KEY_POS_VIEW, KEY_POS_READ, KEY_POS_WRITE, KEY_POS_SEARCH, KEY_POS_LINK, KEY_POS_SETATTR, KEY_USR_VIEW, KEY_USR_READ, KEY_USR_WRITE, KEY_USR_SEARCH, KEY_USR_LINK, KEY_USR_SETATTR, KEY_GRP_VIEW, KEY_GRP_READ, KEY_GRP_WRITE, KEY_GRP_SEARCH, KEY_GRP_LINK, KEY_GRP_SETATTR, KEY_OTH_VIEW, KEY_OTH_READ, KEY_OTH_WRITE, KEY_OTH_SEARCH, KEY_OTH_LINK, KEY_OTH_SETATTR, KEY_PERM_UNDEF
keyctl_move_flags = KEYCTL_MOVE_EXCL
key_ace_subject_type = KEY_ACE_SUBJ_STANDARD
key_ace_standard_subject = KEY_ACE_EVERYONE, KEY_ACE_GROUP, KEY_ACE_OWNER, KEY_ACE_POSSESSOR
key_ace_perm = KEY_ACE_VIEW, KEY_ACE_READ, KEY_ACE_WRITE, KEY_ACE_SEARCH, KEY_ACE_LINK, KEY_ACE_SET_SECURITY, KEY_ACE_INVAL, KEY_ACE_REVOKE, KEY_ACE_JOIN, KEY_ACE_CLEAR
key_perm = KEY_POS_VIEW, KEY_POS_READ, KEY_POS_WRITE, KEY_POS_SEARCH, KEY_POS_LINK, KEY_POS_SETATTR, KEY_USR_VIEW, KEY_USR_READ, KEY_USR_WRITE, KEY_USR_SEARCH, KEY_USR_LINK, KEY_USR_SETATTR, KEY_GRP_VIEW, KEY_GRP_READ, KEY_GRP_WRITE, KEY_GRP_SEARCH, KEY_GRP_LINK, KEY_GRP_SETATTR, KEY_OTH_VIEW, KEY_OTH_READ, KEY_OTH_WRITE, KEY_OTH_SEARCH, KEY_OTH_LINK, KEY_OTH_SETATTR
key_type = "asymmetric", "big_key", "blacklist", "ceph", "cifs.idmap", "cifs.spnego", ".dead", "dns_resolver", "encrypted", "id_legacy", "id_resolver", "keyring", "logon", "pkcs7_test", ".request_key_auth", "rxrpc", "rxrpc_s", "syzkaller", "trusted", "user"

View File

@ -1,5 +1,6 @@
# AUTOGENERATED FILE
KEYCTL_ASSUME_AUTHORITY = 16
KEYCTL_CAPABILITIES = 31
KEYCTL_CHOWN = 4
KEYCTL_CLEAR = 7
KEYCTL_DESCRIBE = 6
@ -7,11 +8,14 @@ KEYCTL_DH_COMPUTE = 23
KEYCTL_GET_KEYRING_ID = 0
KEYCTL_GET_PERSISTENT = 22
KEYCTL_GET_SECURITY = 17
KEYCTL_GRANT_PERMISSION = 32
KEYCTL_INSTANTIATE = 12
KEYCTL_INSTANTIATE_IOV = 20
KEYCTL_INVALIDATE = 21
KEYCTL_JOIN_SESSION_KEYRING = 1
KEYCTL_LINK = 8
KEYCTL_MOVE = 30
KEYCTL_MOVE_EXCL = 1
KEYCTL_NEGATE = 13
KEYCTL_PKEY_DECRYPT = 26
KEYCTL_PKEY_ENCRYPT = 25
@ -30,6 +34,21 @@ KEYCTL_SET_REQKEY_KEYRING = 14
KEYCTL_SET_TIMEOUT = 15
KEYCTL_UNLINK = 9
KEYCTL_UPDATE = 2
KEY_ACE_CLEAR = 512
KEY_ACE_EVERYONE = 0
KEY_ACE_GROUP = 1
KEY_ACE_INVAL = 64
KEY_ACE_JOIN = 256
KEY_ACE_LINK = 16
KEY_ACE_OWNER = 2
KEY_ACE_POSSESSOR = 3
KEY_ACE_READ = 2
KEY_ACE_REVOKE = 128
KEY_ACE_SEARCH = 8
KEY_ACE_SET_SECURITY = 32
KEY_ACE_SUBJ_STANDARD = 0
KEY_ACE_VIEW = 1
KEY_ACE_WRITE = 4
KEY_GRP_LINK = 4096
KEY_GRP_READ = 512
KEY_GRP_SEARCH = 2048
@ -42,7 +61,6 @@ KEY_OTH_SEARCH = 8
KEY_OTH_SETATTR = 32
KEY_OTH_VIEW = 1
KEY_OTH_WRITE = 4
KEY_PERM_UNDEF = 4294967295
KEY_POS_LINK = 268435456
KEY_POS_READ = 33554432
KEY_POS_SEARCH = 134217728

View File

@ -1,5 +1,6 @@
# AUTOGENERATED FILE
KEYCTL_ASSUME_AUTHORITY = 16
KEYCTL_CAPABILITIES = 31
KEYCTL_CHOWN = 4
KEYCTL_CLEAR = 7
KEYCTL_DESCRIBE = 6
@ -7,11 +8,14 @@ KEYCTL_DH_COMPUTE = 23
KEYCTL_GET_KEYRING_ID = 0
KEYCTL_GET_PERSISTENT = 22
KEYCTL_GET_SECURITY = 17
KEYCTL_GRANT_PERMISSION = 32
KEYCTL_INSTANTIATE = 12
KEYCTL_INSTANTIATE_IOV = 20
KEYCTL_INVALIDATE = 21
KEYCTL_JOIN_SESSION_KEYRING = 1
KEYCTL_LINK = 8
KEYCTL_MOVE = 30
KEYCTL_MOVE_EXCL = 1
KEYCTL_NEGATE = 13
KEYCTL_PKEY_DECRYPT = 26
KEYCTL_PKEY_ENCRYPT = 25
@ -30,6 +34,21 @@ KEYCTL_SET_REQKEY_KEYRING = 14
KEYCTL_SET_TIMEOUT = 15
KEYCTL_UNLINK = 9
KEYCTL_UPDATE = 2
KEY_ACE_CLEAR = 512
KEY_ACE_EVERYONE = 0
KEY_ACE_GROUP = 1
KEY_ACE_INVAL = 64
KEY_ACE_JOIN = 256
KEY_ACE_LINK = 16
KEY_ACE_OWNER = 2
KEY_ACE_POSSESSOR = 3
KEY_ACE_READ = 2
KEY_ACE_REVOKE = 128
KEY_ACE_SEARCH = 8
KEY_ACE_SET_SECURITY = 32
KEY_ACE_SUBJ_STANDARD = 0
KEY_ACE_VIEW = 1
KEY_ACE_WRITE = 4
KEY_GRP_LINK = 4096
KEY_GRP_READ = 512
KEY_GRP_SEARCH = 2048
@ -42,7 +61,6 @@ KEY_OTH_SEARCH = 8
KEY_OTH_SETATTR = 32
KEY_OTH_VIEW = 1
KEY_OTH_WRITE = 4
KEY_PERM_UNDEF = 4294967295
KEY_POS_LINK = 268435456
KEY_POS_READ = 33554432
KEY_POS_SEARCH = 134217728

View File

@ -1,5 +1,6 @@
# AUTOGENERATED FILE
KEYCTL_ASSUME_AUTHORITY = 16
KEYCTL_CAPABILITIES = 31
KEYCTL_CHOWN = 4
KEYCTL_CLEAR = 7
KEYCTL_DESCRIBE = 6
@ -7,11 +8,14 @@ KEYCTL_DH_COMPUTE = 23
KEYCTL_GET_KEYRING_ID = 0
KEYCTL_GET_PERSISTENT = 22
KEYCTL_GET_SECURITY = 17
KEYCTL_GRANT_PERMISSION = 32
KEYCTL_INSTANTIATE = 12
KEYCTL_INSTANTIATE_IOV = 20
KEYCTL_INVALIDATE = 21
KEYCTL_JOIN_SESSION_KEYRING = 1
KEYCTL_LINK = 8
KEYCTL_MOVE = 30
KEYCTL_MOVE_EXCL = 1
KEYCTL_NEGATE = 13
KEYCTL_PKEY_DECRYPT = 26
KEYCTL_PKEY_ENCRYPT = 25
@ -30,6 +34,21 @@ KEYCTL_SET_REQKEY_KEYRING = 14
KEYCTL_SET_TIMEOUT = 15
KEYCTL_UNLINK = 9
KEYCTL_UPDATE = 2
KEY_ACE_CLEAR = 512
KEY_ACE_EVERYONE = 0
KEY_ACE_GROUP = 1
KEY_ACE_INVAL = 64
KEY_ACE_JOIN = 256
KEY_ACE_LINK = 16
KEY_ACE_OWNER = 2
KEY_ACE_POSSESSOR = 3
KEY_ACE_READ = 2
KEY_ACE_REVOKE = 128
KEY_ACE_SEARCH = 8
KEY_ACE_SET_SECURITY = 32
KEY_ACE_SUBJ_STANDARD = 0
KEY_ACE_VIEW = 1
KEY_ACE_WRITE = 4
KEY_GRP_LINK = 4096
KEY_GRP_READ = 512
KEY_GRP_SEARCH = 2048
@ -42,7 +61,6 @@ KEY_OTH_SEARCH = 8
KEY_OTH_SETATTR = 32
KEY_OTH_VIEW = 1
KEY_OTH_WRITE = 4
KEY_PERM_UNDEF = 4294967295
KEY_POS_LINK = 268435456
KEY_POS_READ = 33554432
KEY_POS_SEARCH = 134217728

View File

@ -1,5 +1,6 @@
# AUTOGENERATED FILE
KEYCTL_ASSUME_AUTHORITY = 16
KEYCTL_CAPABILITIES = 31
KEYCTL_CHOWN = 4
KEYCTL_CLEAR = 7
KEYCTL_DESCRIBE = 6
@ -7,11 +8,14 @@ KEYCTL_DH_COMPUTE = 23
KEYCTL_GET_KEYRING_ID = 0
KEYCTL_GET_PERSISTENT = 22
KEYCTL_GET_SECURITY = 17
KEYCTL_GRANT_PERMISSION = 32
KEYCTL_INSTANTIATE = 12
KEYCTL_INSTANTIATE_IOV = 20
KEYCTL_INVALIDATE = 21
KEYCTL_JOIN_SESSION_KEYRING = 1
KEYCTL_LINK = 8
KEYCTL_MOVE = 30
KEYCTL_MOVE_EXCL = 1
KEYCTL_NEGATE = 13
KEYCTL_PKEY_DECRYPT = 26
KEYCTL_PKEY_ENCRYPT = 25
@ -30,6 +34,21 @@ KEYCTL_SET_REQKEY_KEYRING = 14
KEYCTL_SET_TIMEOUT = 15
KEYCTL_UNLINK = 9
KEYCTL_UPDATE = 2
KEY_ACE_CLEAR = 512
KEY_ACE_EVERYONE = 0
KEY_ACE_GROUP = 1
KEY_ACE_INVAL = 64
KEY_ACE_JOIN = 256
KEY_ACE_LINK = 16
KEY_ACE_OWNER = 2
KEY_ACE_POSSESSOR = 3
KEY_ACE_READ = 2
KEY_ACE_REVOKE = 128
KEY_ACE_SEARCH = 8
KEY_ACE_SET_SECURITY = 32
KEY_ACE_SUBJ_STANDARD = 0
KEY_ACE_VIEW = 1
KEY_ACE_WRITE = 4
KEY_GRP_LINK = 4096
KEY_GRP_READ = 512
KEY_GRP_SEARCH = 2048
@ -42,7 +61,6 @@ KEY_OTH_SEARCH = 8
KEY_OTH_SETATTR = 32
KEY_OTH_VIEW = 1
KEY_OTH_WRITE = 4
KEY_PERM_UNDEF = 4294967295
KEY_POS_LINK = 268435456
KEY_POS_READ = 33554432
KEY_POS_SEARCH = 134217728

View File

@ -1,5 +1,6 @@
# AUTOGENERATED FILE
KEYCTL_ASSUME_AUTHORITY = 16
KEYCTL_CAPABILITIES = 31
KEYCTL_CHOWN = 4
KEYCTL_CLEAR = 7
KEYCTL_DESCRIBE = 6
@ -7,11 +8,14 @@ KEYCTL_DH_COMPUTE = 23
KEYCTL_GET_KEYRING_ID = 0
KEYCTL_GET_PERSISTENT = 22
KEYCTL_GET_SECURITY = 17
KEYCTL_GRANT_PERMISSION = 32
KEYCTL_INSTANTIATE = 12
KEYCTL_INSTANTIATE_IOV = 20
KEYCTL_INVALIDATE = 21
KEYCTL_JOIN_SESSION_KEYRING = 1
KEYCTL_LINK = 8
KEYCTL_MOVE = 30
KEYCTL_MOVE_EXCL = 1
KEYCTL_NEGATE = 13
KEYCTL_PKEY_DECRYPT = 26
KEYCTL_PKEY_ENCRYPT = 25
@ -30,6 +34,21 @@ KEYCTL_SET_REQKEY_KEYRING = 14
KEYCTL_SET_TIMEOUT = 15
KEYCTL_UNLINK = 9
KEYCTL_UPDATE = 2
KEY_ACE_CLEAR = 512
KEY_ACE_EVERYONE = 0
KEY_ACE_GROUP = 1
KEY_ACE_INVAL = 64
KEY_ACE_JOIN = 256
KEY_ACE_LINK = 16
KEY_ACE_OWNER = 2
KEY_ACE_POSSESSOR = 3
KEY_ACE_READ = 2
KEY_ACE_REVOKE = 128
KEY_ACE_SEARCH = 8
KEY_ACE_SET_SECURITY = 32
KEY_ACE_SUBJ_STANDARD = 0
KEY_ACE_VIEW = 1
KEY_ACE_WRITE = 4
KEY_GRP_LINK = 4096
KEY_GRP_READ = 512
KEY_GRP_SEARCH = 2048
@ -42,7 +61,6 @@ KEY_OTH_SEARCH = 8
KEY_OTH_SETATTR = 32
KEY_OTH_VIEW = 1
KEY_OTH_WRITE = 4
KEY_PERM_UNDEF = 4294967295
KEY_POS_LINK = 268435456
KEY_POS_READ = 33554432
KEY_POS_SEARCH = 134217728

View File

@ -23,7 +23,7 @@ CRYPTO_ALG_TYPE_AKCIPHER = 13
CRYPTO_ALG_TYPE_BLKCIPHER = 4
CRYPTO_ALG_TYPE_CIPHER = 1
CRYPTO_ALG_TYPE_COMPRESS = 2
CRYPTO_ALG_TYPE_DIGEST = 14
# CRYPTO_ALG_TYPE_DIGEST is not set
CRYPTO_ALG_TYPE_HASH = 14
CRYPTO_ALG_TYPE_MASK = 15
CRYPTO_ALG_TYPE_PCOMPRESS = 15

View File

@ -23,7 +23,7 @@ CRYPTO_ALG_TYPE_AKCIPHER = 13
CRYPTO_ALG_TYPE_BLKCIPHER = 4
CRYPTO_ALG_TYPE_CIPHER = 1
CRYPTO_ALG_TYPE_COMPRESS = 2
CRYPTO_ALG_TYPE_DIGEST = 14
# CRYPTO_ALG_TYPE_DIGEST is not set
CRYPTO_ALG_TYPE_HASH = 14
CRYPTO_ALG_TYPE_MASK = 15
CRYPTO_ALG_TYPE_PCOMPRESS = 15

View File

@ -23,7 +23,7 @@ CRYPTO_ALG_TYPE_AKCIPHER = 13
CRYPTO_ALG_TYPE_BLKCIPHER = 4
CRYPTO_ALG_TYPE_CIPHER = 1
CRYPTO_ALG_TYPE_COMPRESS = 2
CRYPTO_ALG_TYPE_DIGEST = 14
# CRYPTO_ALG_TYPE_DIGEST is not set
CRYPTO_ALG_TYPE_HASH = 14
CRYPTO_ALG_TYPE_MASK = 15
CRYPTO_ALG_TYPE_PCOMPRESS = 15

View File

@ -23,7 +23,7 @@ CRYPTO_ALG_TYPE_AKCIPHER = 13
CRYPTO_ALG_TYPE_BLKCIPHER = 4
CRYPTO_ALG_TYPE_CIPHER = 1
CRYPTO_ALG_TYPE_COMPRESS = 2
CRYPTO_ALG_TYPE_DIGEST = 14
# CRYPTO_ALG_TYPE_DIGEST is not set
CRYPTO_ALG_TYPE_HASH = 14
CRYPTO_ALG_TYPE_MASK = 15
CRYPTO_ALG_TYPE_PCOMPRESS = 15

View File

@ -23,7 +23,7 @@ CRYPTO_ALG_TYPE_AKCIPHER = 13
CRYPTO_ALG_TYPE_BLKCIPHER = 4
CRYPTO_ALG_TYPE_CIPHER = 1
CRYPTO_ALG_TYPE_COMPRESS = 2
CRYPTO_ALG_TYPE_DIGEST = 14
# CRYPTO_ALG_TYPE_DIGEST is not set
CRYPTO_ALG_TYPE_HASH = 14
CRYPTO_ALG_TYPE_MASK = 15
CRYPTO_ALG_TYPE_PCOMPRESS = 15

View File

@ -385,8 +385,8 @@ PTRACE_SETREGSET = 16901
PTRACE_SETSIGINFO = 16899
PTRACE_SINGLESTEP = 9
PTRACE_SYSCALL = 24
# PTRACE_SYSEMU is not set
# PTRACE_SYSEMU_SINGLESTEP is not set
PTRACE_SYSEMU = 31
PTRACE_SYSEMU_SINGLESTEP = 32
PTRACE_TRACEME = 0
P_ALL = 0
P_PGID = 2