Lines Matching refs:uid_t
699 uid_t ki_uid;
722 static struct kauth_identity *kauth_identity_alloc(uid_t uid, gid_t gid, guid_t *guidp, time_t guid_expiry,
729 static int kauth_identity_find_uid(uid_t uid, 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)
1072 kauth_identity_find_uid(uid_t uid, struct kauth_identity *kir)
1105 kauth_identity_find_gid(uid_t gid, struct kauth_identity *kir)
1387 * Returns: (uid_t) UID associated with credential
1389 uid_t
1406 uid_t
1429 kauth_cred_guid2uid(guid_t *guidp, uid_t *uidp)
1471 kauth_cred_ntsid2uid(ntsid_t *sidp, uid_t *uidp)
1534 kauth_cred_uid2guid(uid_t uid, guid_t *guidp)
1598 kauth_cred_uid2ntsid(uid_t uid, ntsid_t *sidp)
1702 error = kauth_identity_find_uid(*(uid_t *)src, &ki);
1778 el.el_uid = *(uid_t *)src;
1830 *(uid_t *)dst = ki.ki_uid;
1857 uid_t gm_uid; /* the identity whose membership we're recording */
2372 * Returns: (uid_t) The effective UID of the
2375 uid_t
2389 * Returns: (uid_t) The real UID of the current
2392 uid_t
2801 kauth_cred_setresuid(kauth_cred_t cred, uid_t ruid, uid_t euid, uid_t svuid, uid_t gmuid)
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)
4276 uid_t cr_uid; /* effective user id */
4277 uid_t cr_ruid; /* real user id */
4278 uid_t cr_svuid; /* saved user id */
4283 uid_t cr_gmuid; /* UID for group membership purposes */