Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/keys/
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()
382 new_cred->thread_keyring->uid = new_cred->fsuid; 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()
394 down_write(&new_cred->thread_keyring->sem); in key_fsgid_changed()
395 new_cred->thread_keyring->gid = new_cred->fsgid; in key_fsgid_changed()
396 up_write(&new_cred->thread_keyring->sem); in key_fsgid_changed()
[all …]
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()
/kernel/linux/linux-5.10/kernel/
Dcred.c118 key_put(cred->thread_keyring); in put_cred_rcu()
278 key_get(new->thread_keyring); in prepare_creds()
311 key_put(new->thread_keyring); in prepare_exec_creds()
312 new->thread_keyring = NULL; in prepare_exec_creds()
345 !p->cred->thread_keyring && in copy_creds()
372 if (new->thread_keyring) { in copy_creds()
373 key_put(new->thread_keyring); in copy_creds()
374 new->thread_keyring = NULL; in copy_creds()
713 new->thread_keyring = NULL; in prepare_kernel_cred()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_spnego.c227 cred->thread_keyring = keyring; in init_cifs_spnego()
244 key_revoke(spnego_cred->thread_keyring); in exit_cifs_spnego()
Dcifsacl.c499 cred->thread_keyring = keyring; in init_cifs_idmap()
516 key_revoke(root_cred->thread_keyring); in exit_cifs_idmap()
/kernel/linux/linux-5.10/net/dns_resolver/
Ddns_key.c361 cred->thread_keyring = keyring; in init_dns_resolver()
377 key_revoke(dns_resolver_cache->thread_keyring); in exit_dns_resolver()
/kernel/linux/common_modules/pac/config/
Dconfig.txt14 struct.cred thread_keyring
/kernel/linux/linux-5.10/fs/nfs/
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()
/kernel/linux/linux-5.10/include/linux/
Dcred.h139 struct key *thread_keyring; /* keyring private to this thread */ member