Lines Matching defs:gmuid
2692 * Notes: The gmuid is hard-defaulted to the UID specified. Since we
2779 * gmuid KAUTH_UID_NONE -or- the new
2784 * Note: gmuid is different in that a KAUTH_UID_NONE is a valid
2801 kauth_cred_setresuid(kauth_cred_t cred, uid_t ruid, uid_t euid, uid_t svuid, uid_t gmuid)
2814 (cred->cr_gmuid == gmuid)) {
2835 * If we are setting the gmuid to KAUTH_UID_NONE, then we want to
2839 if ((temp_cred.cr_gmuid = gmuid) == KAUTH_UID_NONE) {
2922 * The gmuid argument supplies a new uid (or KAUTH_UID_NONE to opt out)
2936 * gmuid KAUTH_UID_NONE -or- the new
2941 * Note: gmuid is different in that a KAUTH_UID_NONE is a valid
2968 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid)
2979 if ((cred->cr_gmuid == gmuid) && (cred->cr_ngroups == groupcount)) {
2992 * with new values. If we are setting or clearing the gmuid, then
3000 temp_cred.cr_gmuid = gmuid;
3001 if (gmuid == KAUTH_UID_NONE)
3024 * Notes: We set the gmuid to uid if the credential we are inheriting