Lines Matching refs:gmuid
3512 * Notes: The gmuid is hard-defaulted to the UID specified. Since we
3639 * gmuid KAUTH_UID_NONE -or- the new
3644 * Note: gmuid is different in that a KAUTH_UID_NONE is a valid
3661 kauth_cred_setresuid(kauth_cred_t cred, uid_t ruid, uid_t euid, uid_t svuid, uid_t gmuid)
3676 (pcred->cr_gmuid == gmuid)) {
3697 * If we are setting the gmuid to KAUTH_UID_NONE, then we want to
3701 if ((temp_pcred->cr_gmuid = gmuid) == KAUTH_UID_NONE) {
3786 * The gmuid argument supplies a new uid (or KAUTH_UID_NONE to opt out)
3800 * gmuid KAUTH_UID_NONE -or- the new
3805 * Note: gmuid is different in that a KAUTH_UID_NONE is a valid
3832 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid)
3847 if ((pcred->cr_gmuid == gmuid) && (pcred->cr_ngroups == groupcount)) {
3860 * with new values. If we are setting or clearing the gmuid, then
3868 temp_pcred->cr_gmuid = gmuid;
3869 if (gmuid == KAUTH_UID_NONE)
3921 * Notes: We set the gmuid to uid if the credential we are inheriting