Home
last modified time | relevance | path

Searched refs:process_keyring (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/
Dcred.c80 key_put(cred->process_keyring); in put_cred_rcu()
224 key_get(new->process_keyring); in prepare_creds()
266 key_put(new->process_keyring); in prepare_exec_creds()
267 new->process_keyring = NULL; in prepare_exec_creds()
335 key_put(new->process_keyring); in copy_creds()
336 new->process_keyring = NULL; in copy_creds()
651 new->process_keyring = NULL; in prepare_kernel_cred()
/linux-6.6.21/security/keys/
Dprocess_keys.c272 if (new->process_keyring) in install_process_keyring_to_cred()
282 new->process_keyring = keyring; in install_process_keyring_to_cred()
458 if (cred->process_keyring) { in search_cred_keyrings_rcu()
460 make_key_ref(cred->process_keyring, 1), ctx); in search_cred_keyrings_rcu()
649 if (!ctx.cred->process_keyring) { in lookup_user_key()
661 key = ctx.cred->process_keyring; in lookup_user_key()
950 new->process_keyring = key_get(old->process_keyring); in key_change_session_keyring()
Drequest_key.c166 if (cred->process_keyring) in call_sbin_request_key()
167 prkey = cred->process_keyring->serial; in call_sbin_request_key()
309 dest_keyring = key_get(cred->process_keyring); in construct_get_dest_keyring()
/linux-6.6.21/include/linux/
Dcred.h130 struct key *process_keyring; /* keyring private to this process */ member