Searched refs:mycred (Results 1 – 1 of 1) sorted by relevance
1629 const struct cred *mycred, *pcred; in keyctl_session_to_parent() local1672 mycred = current_cred(); in keyctl_session_to_parent()1674 if (mycred == pcred || in keyctl_session_to_parent()1675 mycred->session_keyring == pcred->session_keyring) { in keyctl_session_to_parent()1682 if (!uid_eq(pcred->uid, mycred->euid) || in keyctl_session_to_parent()1683 !uid_eq(pcred->euid, mycred->euid) || in keyctl_session_to_parent()1684 !uid_eq(pcred->suid, mycred->euid) || in keyctl_session_to_parent()1685 !gid_eq(pcred->gid, mycred->egid) || in keyctl_session_to_parent()1686 !gid_eq(pcred->egid, mycred->egid) || in keyctl_session_to_parent()1687 !gid_eq(pcred->sgid, mycred->egid)) in keyctl_session_to_parent()[all …]