Home
last modified time | relevance | path

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

/linux-6.6.21/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.c61 struct request_key_auth *rka = get_request_key_auth(authkey); in complete_request_key()
121 struct request_key_auth *rka = get_request_key_auth(authkey); in call_sbin_request_key()
267 struct request_key_auth *rka; in construct_get_dest_keyring()
286 if (cred->request_key_auth) { in construct_get_dest_keyring()
287 authkey = cred->request_key_auth; in construct_get_dest_keyring()
DMakefile17 request_key_auth.o \
Dkeyctl.c1113 struct request_key_auth *rka, in get_instantiation_keyring()
1157 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1158 new->request_key_auth = key_get(key); in keyctl_change_reqkey_auth()
1177 struct request_key_auth *rka; in keyctl_instantiate_key_common()
1195 instkey = cred->request_key_auth; in keyctl_instantiate_key_common()
1339 struct request_key_auth *rka; in keyctl_reject_key()
1357 instkey = cred->request_key_auth; in keyctl_reject_key()
/linux-6.6.21/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-6.6.21/kernel/
Dcred.c82 key_put(cred->request_key_auth); in put_cred_rcu()
226 key_get(new->request_key_auth); in prepare_creds()
653 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-6.6.21/include/linux/
Dcred.h132 struct key *request_key_auth; /* assumed request_key authority */ member
/linux-6.6.21/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()