Lines Matching refs:gid_t
700 gid_t ki_gid;
722 static struct kauth_identity *kauth_identity_alloc(uid_t uid, gid_t gid, guid_t *guidp, time_t guid_expiry,
730 static int kauth_identity_find_gid(gid_t gid, struct kauth_identity *kir);
777 kauth_identity_alloc(uid_t uid, gid_t gid, guid_t *guidp, time_t guid_expiry, ntsid_t *ntsidp, time_t ntsid_expiry)
1323 kauth_cred_change_egid(kauth_cred_t cred, gid_t new_egid)
1330 gid_t old_egid = cred->cr_groups[0];
1404 * Returns: (gid_t) GID associated with credential
1450 kauth_cred_guid2gid(guid_t *guidp, gid_t *gidp)
1492 kauth_cred_ntsid2gid(ntsid_t *sidp, gid_t *gidp)
1577 kauth_cred_gid2guid(gid_t gid, guid_t *guidp)
1641 kauth_cred_gid2ntsid(gid_t gid, ntsid_t *sidp)
1705 error = kauth_identity_find_gid(*(gid_t *)src, &ki);
1782 el.el_gid = *(gid_t *)src;
1833 *(gid_t *)dst = ki.ki_gid;
1858 gid_t gm_gid; /* group of which they are a member */
2069 kauth_cred_ismember_gid(kauth_cred_t cred, gid_t gid, int *resultp)
2180 gid_t gid;
2236 gid_t gid;
2406 * Returns: (gid_t) The effective GID of the
2409 gid_t
2423 * Returns: (gid_t) The real GID of the current
2426 gid_t
2874 kauth_cred_setresgid(kauth_cred_t cred, gid_t rgid, gid_t egid, gid_t svgid)
2932 * groups Pointer to gid_t array which
2968 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid)
3046 kauth_cred_setuidgid(kauth_cred_t cred, uid_t uid, gid_t gid)
3119 kauth_cred_setsvuidgid(kauth_cred_t cred, uid_t uid, gid_t gid)
4280 gid_t cr_groups[NGROUPS]; /* advisory group list */
4281 gid_t cr_rgid; /* real group id */
4282 gid_t cr_svgid; /* saved group id */