Lines Matching refs:gid_t
49 #define KAUTH_GID_NONE (~(gid_t)0 - 100) /* not a valid GID */
113 gid_t el_gid; /* group ID */
156 gid_t kc_gid; /* effective group id */
157 gid_t kc_rgid; /* real group id */
158 gid_t kc_svgid; /* saved group id */
164 gid_t kc_pvtgroups[NGROUPS]; /* based on KAUTH_CRED_GRPOVERRIDE flag */
167 gid_t *kc_suppgroups;
170 gid_t *kc_whtgroups;
188 extern gid_t kauth_getgid(void);
189 extern gid_t kauth_getrgid(void);
202 extern kauth_cred_t kauth_cred_setresgid(kauth_cred_t cred, gid_t rgid, gid_t egid, gid_t svgid);
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);
223 extern int kauth_cred_getgroups(gid_t *_groups, int *_groupcount);
226 extern gid_t kauth_cred_getgid(kauth_cred_t _cred);
228 extern int kauth_cred_guid2gid(guid_t *_guid, gid_t *_gidp);
230 extern int kauth_cred_ntsid2gid(ntsid_t *_sid, gid_t *_gidp);
234 extern int kauth_cred_gid2guid(gid_t _gid, guid_t *_guidp);
237 extern int kauth_cred_gid2ntsid(gid_t _gid, ntsid_t *_sidp);
239 extern int kauth_cred_ismember_gid(kauth_cred_t _cred, gid_t _gid, int *_resultp);