Searched refs:session_keyring (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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 | 100 struct key *session_keyring, int wait) in call_usermodehelper_keys() argument 106 session_keyring); in call_usermodehelper_keys() 110 key_get(session_keyring); in call_usermodehelper_keys() 170 session = cred->session_keyring; in call_sbin_request_key() 315 dest_keyring = key_get(cred->session_keyring); in construct_get_dest_keyring()
|
D | keyctl.c | 1649 cred->session_keyring = key_ref_to_ptr(keyring_r); in keyctl_session_to_parent() 1675 mycred->session_keyring == pcred->session_keyring) { in keyctl_session_to_parent() 1691 if ((pcred->session_keyring && in keyctl_session_to_parent() 1692 !uid_eq(pcred->session_keyring->uid, mycred->euid)) || in keyctl_session_to_parent() 1693 !uid_eq(mycred->session_keyring->uid, mycred->euid)) in keyctl_session_to_parent()
|
/linux-6.6.21/kernel/ |
D | cred.c | 79 key_put(cred->session_keyring); in put_cred_rcu() 223 key_get(new->session_keyring); in prepare_creds() 650 new->session_keyring = NULL; in prepare_kernel_cred()
|
/linux-6.6.21/include/linux/ |
D | cred.h | 129 struct key *session_keyring; /* keyring inherited over fork */ member
|