Searched refs:gmuid (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_prot.c718 uid_t gmuid = KAUTH_UID_NONE; local
760 * Only set the gmuid if the current cred has not opt'ed out;
769 gmuid = uid;
778 my_new_cred = kauth_cred_setresuid(my_cred, ruid, uid, svuid, gmuid);
1563 * gmuid Base gid (initgroups only!)
1591 setgroups1(proc_t p, u_int gidsetsize, user_addr_t gidset, uid_t gmuid, __unused int32_t *retval) argument
1599 DEBUG_CRED_ENTER("setgroups1 (%d/%d): %d 0x%016x %d\n", p->p_pid, (p->p_pptr ? p->p_pptr->p_pid : 0), gidsetsize, gidset, gmuid);
1637 uthread->uu_ucred = kauth_cred_setgroups(my_cred, &newgroups[0], ngrp, gmuid);
1658 my_new_cred = kauth_cred_setgroups(my_cred, &newgroups[0], ngrp, gmuid);
1702 * gmuid fo
[all...]
H A Dkern_credential.c3512 * 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) argument
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 i
3832 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid) argument
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dkauth.h294 extern kauth_cred_t kauth_cred_setresuid(kauth_cred_t cred, uid_t ruid, uid_t euid, uid_t svuid, uid_t gmuid);
298 extern kauth_cred_t kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid);

Completed in 76 milliseconds