Home
last modified time | relevance | path

Searched refs:request_key_auth (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/security/keys/
Drequest_key_auth.c32 .def_datalen = sizeof(struct request_key_auth),
57 rcu_assign_keypointer(key, (struct request_key_auth *)prep->data); in request_key_auth_instantiate()
67 struct request_key_auth *rka = dereference_key_rcu(key); in request_key_auth_describe()
85 struct request_key_auth *rka = dereference_key_locked(key); in request_key_auth_read()
106 static void free_request_key_auth(struct request_key_auth *rka) in free_request_key_auth()
123 struct request_key_auth *rka = in request_key_auth_rcu_disposal()
124 container_of(rcu, struct request_key_auth, rcu); in request_key_auth_rcu_disposal()
136 struct request_key_auth *rka = dereference_key_locked(key); in request_key_auth_revoke()
148 struct request_key_auth *rka = rcu_access_pointer(key->payload.rcu_data0); in request_key_auth_destroy()
165 struct request_key_auth *rka, *irka; in request_key_auth_new()
[all …]
Dprocess_keys.c541 struct request_key_auth *rka; in search_process_keyrings_rcu()
553 if (ctx->cred->request_key_auth && in search_process_keyrings_rcu()
559 if (key_validate(cred->request_key_auth) == 0) { in search_process_keyrings_rcu()
560 rka = ctx->cred->request_key_auth->payload.data[0]; in search_process_keyrings_rcu()
620 struct request_key_auth *rka; in lookup_user_key()
716 key = ctx.cred->request_key_auth; in lookup_user_key()
725 if (!ctx.cred->request_key_auth) in lookup_user_key()
728 down_read(&ctx.cred->request_key_auth->sem); in lookup_user_key()
730 &ctx.cred->request_key_auth->flags)) { in lookup_user_key()
734 rka = ctx.cred->request_key_auth->payload.data[0]; in lookup_user_key()
[all …]
Drequest_key.c58 struct request_key_auth *rka = get_request_key_auth(authkey); in complete_request_key()
118 struct request_key_auth *rka = get_request_key_auth(authkey); in call_sbin_request_key()
264 struct request_key_auth *rka; in construct_get_dest_keyring()
283 if (cred->request_key_auth) { in construct_get_dest_keyring()
284 authkey = cred->request_key_auth; in construct_get_dest_keyring()
DMakefile17 request_key_auth.o \
Dkeyctl.c1108 struct request_key_auth *rka, in get_instantiation_keyring()
1152 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1153 new->request_key_auth = key_get(key); in keyctl_change_reqkey_auth()
1172 struct request_key_auth *rka; in keyctl_instantiate_key_common()
1190 instkey = cred->request_key_auth; in keyctl_instantiate_key_common()
1334 struct request_key_auth *rka; in keyctl_reject_key()
1352 instkey = cred->request_key_auth; in keyctl_reject_key()
/Linux-v6.1/include/keys/
Drequest_key_auth-type.h16 struct request_key_auth { struct
27 static inline struct request_key_auth *get_request_key_auth(const struct key *key) in get_request_key_auth() argument
/Linux-v6.1/kernel/
Dcred.c119 key_put(cred->request_key_auth); in put_cred_rcu()
280 key_get(new->request_key_auth); in prepare_creds()
742 new->request_key_auth = NULL; in prepare_kernel_cred()
Duser_namespace.c55 key_put(cred->request_key_auth); in set_cred_user_ns()
56 cred->request_key_auth = NULL; in set_cred_user_ns()
/Linux-v6.1/include/linux/
Dcred.h139 struct key *request_key_auth; /* assumed request_key authority */ member
/Linux-v6.1/fs/nfs/
Dnfs4idmap.c583 struct request_key_auth *rka = get_request_key_auth(authkey); in nfs_idmap_legacy_upcall()
667 struct request_key_auth *rka; in idmap_pipe_downcall()