Lines Matching refs:uid_t
48 #define KAUTH_UID_NONE (~(uid_t)0 - 100) /* not a valid UID */
108 uid_t el_uid; /* user ID */
153 uid_t kc_uid; /* effective user id */
154 uid_t kc_ruid; /* real user id */
155 uid_t kc_svuid; /* saved user id */
186 extern uid_t kauth_getuid(void);
187 extern uid_t kauth_getruid(void);
201 extern kauth_cred_t kauth_cred_setresuid(kauth_cred_t cred, uid_t ruid, uid_t euid, uid_t svuid, uid_t gmuid);
203 extern kauth_cred_t kauth_cred_setuidgid(kauth_cred_t cred, uid_t uid, gid_t gid);
204 extern kauth_cred_t kauth_cred_setsvuidgid(kauth_cred_t cred, uid_t uid, gid_t gid);
205 extern kauth_cred_t kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid);
224 extern int kauth_cred_assume(uid_t _uid);
225 extern uid_t kauth_cred_getuid(kauth_cred_t _cred);
227 extern int kauth_cred_guid2uid(guid_t *_guid, uid_t *_uidp);
229 extern int kauth_cred_ntsid2uid(ntsid_t *_sid, uid_t *_uidp);
232 extern int kauth_cred_uid2guid(uid_t _uid, guid_t *_guidp);
235 extern int kauth_cred_uid2ntsid(uid_t _uid, ntsid_t *_sidp);