Lines Matching refs:cred
87 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
90 if (!(retval = put_user(high2lowuid(cred->uid), ruid)) && in SYSCALL_DEFINE3()
91 !(retval = put_user(high2lowuid(cred->euid), euid))) in SYSCALL_DEFINE3()
92 retval = put_user(high2lowuid(cred->suid), suid); in SYSCALL_DEFINE3()
109 const struct cred *cred = current_cred(); in SYSCALL_DEFINE3() local
112 if (!(retval = put_user(high2lowgid(cred->gid), rgid)) && in SYSCALL_DEFINE3()
113 !(retval = put_user(high2lowgid(cred->egid), egid))) in SYSCALL_DEFINE3()
114 retval = put_user(high2lowgid(cred->sgid), sgid); in SYSCALL_DEFINE3()
167 const struct cred *cred = current_cred(); in SYSCALL_DEFINE2() local
173 i = cred->group_info->ngroups; in SYSCALL_DEFINE2()
179 if (groups16_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2()