Home
last modified time | relevance | path

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

/linux/security/keys/
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 …]
A Drequest_key.c160 cred->thread_keyring ? cred->thread_keyring->serial : 0); in call_sbin_request_key()
300 dest_keyring = key_get(cred->thread_keyring); in construct_get_dest_keyring()
/linux/kernel/
A Dcred.c118 key_put(cred->thread_keyring); in put_cred_rcu()
279 key_get(new->thread_keyring); in prepare_creds()
317 key_put(new->thread_keyring); in prepare_exec_creds()
318 new->thread_keyring = NULL; in prepare_exec_creds()
351 !p->cred->thread_keyring && in copy_creds()
381 if (new->thread_keyring) { in copy_creds()
382 key_put(new->thread_keyring); in copy_creds()
383 new->thread_keyring = NULL; in copy_creds()
746 new->thread_keyring = NULL; in prepare_kernel_cred()
/linux/fs/cifs/
A Dcifs_spnego.c215 cred->thread_keyring = keyring; in init_cifs_spnego()
232 key_revoke(spnego_cred->thread_keyring); in exit_cifs_spnego()
A Dcifsacl.c489 cred->thread_keyring = keyring; in init_cifs_idmap()
506 key_revoke(root_cred->thread_keyring); in exit_cifs_idmap()
/linux/net/dns_resolver/
A Ddns_key.c361 cred->thread_keyring = keyring; in init_dns_resolver()
377 key_revoke(dns_resolver_cache->thread_keyring); in exit_dns_resolver()
/linux/fs/nfs/
A Dnfs4idmap.c229 cred->thread_keyring = keyring; in nfs_idmap_init()
245 key_revoke(id_resolver_cache->thread_keyring); in nfs_idmap_quit()
629 id_resolver_cache->thread_keyring, in nfs_idmap_instantiate()
/linux/include/linux/
A Dcred.h138 struct key *thread_keyring; /* keyring private to this thread */ member

Completed in 15 milliseconds