Home
last modified time | relevance | path

Searched refs:thread_keyring (Results 1 – 8 of 8) sorted by relevance

/linux/security/keys/
H A Dprocess_keys.c225 if (new->thread_keyring) in install_thread_keyring_to_cred()
235 new->thread_keyring = keyring; in install_thread_keyring_to_cred()
380 if (new_cred->thread_keyring) { in key_fsuid_changed()
381 down_write(&new_cred->thread_keyring->sem); in key_fsuid_changed()
383 up_write(&new_cred->thread_keyring->sem); in key_fsuid_changed()
393 if (new_cred->thread_keyring) { in key_fsgid_changed()
396 up_write(&new_cred->thread_keyring->sem); in key_fsgid_changed()
440 if (cred->thread_keyring) { in search_cred_keyrings_rcu()
631 if (!ctx.cred->thread_keyring) { in lookup_user_key()
643 key = ctx.cred->thread_keyring; in lookup_user_key()
[all …]
H A Drequest_key.c163 cred->thread_keyring ? cred->thread_keyring->serial : 0); in call_sbin_request_key()
303 dest_keyring = key_get(cred->thread_keyring); in construct_get_dest_keyring()
/linux/kernel/
H A Dcred.c81 key_put(cred->thread_keyring); in put_cred_rcu()
230 key_get(new->thread_keyring); in prepare_creds()
267 key_put(new->thread_keyring); in prepare_exec_creds()
268 new->thread_keyring = NULL; in prepare_exec_creds()
301 !p->cred->thread_keyring && in copy_creds()
328 if (new->thread_keyring) { in copy_creds()
329 key_put(new->thread_keyring); in copy_creds()
330 new->thread_keyring = NULL; in copy_creds()
655 new->thread_keyring = NULL; in prepare_kernel_cred()
/linux/fs/smb/client/
H A Dcifs_spnego.c215 cred->thread_keyring = keyring; in init_cifs_spnego()
232 key_revoke(spnego_cred->thread_keyring); in exit_cifs_spnego()
H A Dcifsacl.c494 cred->thread_keyring = keyring; in init_cifs_idmap()
511 key_revoke(root_cred->thread_keyring); in exit_cifs_idmap()
/linux/net/dns_resolver/
H A Ddns_key.c368 cred->thread_keyring = keyring; in init_dns_resolver()
384 key_revoke(dns_resolver_cache->thread_keyring); in exit_dns_resolver()
/linux/fs/nfs/
H A Dnfs4idmap.c229 cred->thread_keyring = keyring; in nfs_idmap_init()
245 key_revoke(id_resolver_cache->thread_keyring); in nfs_idmap_quit()
627 id_resolver_cache->thread_keyring, in nfs_idmap_instantiate()
/linux/include/linux/
H A Dcred.h132 struct key *thread_keyring; /* keyring private to this thread */ member