Home
last modified time | relevance | path

Searched refs:session_keyring (Results 1 – 5 of 5) sorted by relevance

/linux/security/keys/
A Dprocess_keys.c133 if (IS_ERR(session_keyring)) { in look_up_user_keyrings()
134 ret = PTR_ERR(session_keyring); in look_up_user_keyrings()
163 key_put(session_keyring); in look_up_user_keyrings()
172 key_put(session_keyring); in look_up_user_keyrings()
327 if (cred->session_keyring) in install_session_keyring_to_cred()
340 old = cred->session_keyring; in install_session_keyring_to_cred()
341 cred->session_keyring = keyring; in install_session_keyring_to_cred()
479 if (cred->session_keyring) { in search_cred_keyrings_rcu()
667 if (!ctx.cred->session_keyring) { in lookup_user_key()
691 key = ctx.cred->session_keyring; in lookup_user_key()
[all …]
A Drequest_key.c97 struct key *session_keyring, int wait) in call_usermodehelper_keys() argument
103 session_keyring); in call_usermodehelper_keys()
107 key_get(session_keyring); in call_usermodehelper_keys()
167 session = cred->session_keyring; in call_sbin_request_key()
312 dest_keyring = key_get(cred->session_keyring); in construct_get_dest_keyring()
A Dkeyctl.c1644 cred->session_keyring = key_ref_to_ptr(keyring_r); in keyctl_session_to_parent()
1670 mycred->session_keyring == pcred->session_keyring) { in keyctl_session_to_parent()
1686 if ((pcred->session_keyring && in keyctl_session_to_parent()
1687 !uid_eq(pcred->session_keyring->uid, mycred->euid)) || in keyctl_session_to_parent()
1688 !uid_eq(mycred->session_keyring->uid, mycred->euid)) in keyctl_session_to_parent()
/linux/kernel/
A Dcred.c116 key_put(cred->session_keyring); in put_cred_rcu()
277 key_get(new->session_keyring); in prepare_creds()
744 new->session_keyring = NULL; in prepare_kernel_cred()
/linux/include/linux/
A Dcred.h136 struct key *session_keyring; /* keyring inherited over fork */ member

Completed in 12 milliseconds