Searched refs:session_keyring (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/security/keys/ |
D | process_keys.c | 79 struct key *reg_keyring, *uid_keyring, *session_keyring; in look_up_user_keyrings() local 128 session_keyring = keyring_alloc(buf, cred->user->uid, INVALID_GID, in look_up_user_keyrings() 133 if (IS_ERR(session_keyring)) { in look_up_user_keyrings() 134 ret = PTR_ERR(session_keyring); in look_up_user_keyrings() 141 ret = key_link(session_keyring, uid_keyring); in look_up_user_keyrings() 148 ret = key_link(reg_keyring, session_keyring); in look_up_user_keyrings() 155 session_keyring = key_ref_to_ptr(session_keyring_r); in look_up_user_keyrings() 161 *_user_session_keyring = 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() [all …]
|
D | request_key.c | 97 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()
|
D | keyctl.c | 1644 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-6.1.9/kernel/ |
D | cred.c | 116 key_put(cred->session_keyring); in put_cred_rcu() 277 key_get(new->session_keyring); in prepare_creds() 739 new->session_keyring = NULL; in prepare_kernel_cred()
|
/linux-6.1.9/include/linux/ |
D | cred.h | 136 struct key *session_keyring; /* keyring inherited over fork */ member
|