Lines Matching defs:groups
174 #define KAUTH_CACHES_MAX_SIZE 10000 /* Max # entries for both groups and id caches */
278 * This is how membership in more than 16 groups (1 effective
1766 * groups already, then rotate the old EGID into its position,
1775 * of the supplementary groups list
1821 * If we displaced a member of the supplementary groups list of the
2599 * Description: Initialize the groups cache
2605 * Notes: Initialize the groups cache for use; the group cache is used
2788 * of one of the supplementary groups associated with the given
2822 * Check the per-credential list of override groups.
2858 /* XXX check supplementary groups */
2859 /* XXX check whiteout groups */
2860 /* XXX nesting of supplementary/whiteout groups? */
3045 /* First, check the local list of groups */
3783 * Update the given credential with the given groups. We only allocate a new
3796 * groups Pointer to gid_t array which
3798 * groupcount The count of valid groups which
3799 * are contained in 'groups'
3822 * in the same groups list that is already present in the
3832 kauth_cred_setgroups(kauth_cred_t cred, gid_t *groups, int groupcount, uid_t gmuid)
3844 * We don't need to do anything if the given list of groups does not
3849 if (pcred->cr_groups[i] != groups[i])
3867 bcopy(groups, temp_pcred->cr_groups, sizeof(temp_pcred->cr_groups));
3891 * If they just want a copy of the groups list, they may not care
5212 short cr_ngroups; /* number of groups in advisory list */