Searched refs:maxgroups (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/include/isc/ |
H A D | ntgroups.h | 32 isc_ntsecurity_getaccountgroups(char *name, char **Groups, unsigned int maxgroups,
|
/netbsd-current/external/bsd/libbind/dist/irs/ |
H A D | util.c | 73 int ret, maxgroups; local 77 maxgroups = *ngroups; 83 if (ng >= maxgroups) 86 if (ng >= maxgroups) 98 if (ng >= maxgroups)
|
H A D | gen_gr.c | 240 int t_ngroups, maxgroups; local 244 maxgroups = *ngroups; 246 t_groups = (gid_t *)malloc(maxgroups * sizeof(gid_t)); 253 t_ngroups = maxgroups; 258 if (*ngroups == maxgroups) {
|
/netbsd-current/lib/libc/gen/ |
H A D | initgroups.c | 66 int maxgroups = ngroups; local 67 groups = calloc((size_t)maxgroups, sizeof *groups); 71 ngroups = maxgroups;
|
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/ |
H A D | ntgroups.c | 54 unsigned int maxgroups, 109 (i < dwEntriesRead && *totalGroups < maxgroups); i++) { 161 (i < dwEntriesRead && *totalGroups < maxgroups); i++) { 53 isc_ntsecurity_getaccountgroups(char *username, char **GroupList, unsigned int maxgroups, unsigned int *totalGroups) argument
|
/netbsd-current/usr.bin/id/ |
H A D | id.c | 62 static int maxgroups; variable 134 maxgroups = sysconf(_SC_NGROUPS_MAX); 135 if ((groups = malloc((maxgroups + 1) * sizeof(gid_t))) == NULL) 244 if ((ngroups = getgroups(maxgroups, groups)) != 0) { 271 ngroups = maxgroups + 1; 300 ngroups = maxgroups; 309 ngroups = getgroups(maxgroups, glist + 1) + 1;
|
/netbsd-current/distrib/utils/libhack/ |
H A D | getgrent.c | 215 int maxgroups, i, ngroups, ret; local 217 maxgroups = *grpcnt; 224 if (ngroups < maxgroups) 241 for (i = 0; i < MIN(ngroups, maxgroups); i++) { 245 if (ngroups < maxgroups)
|
/netbsd-current/bin/test/ |
H A D | test.c | 685 int maxgroups; local 703 if ((maxgroups = getgroups(0, NULL)) <= 0) 704 maxgroups = NGROUPS_MAX; /* pre-POSIX system? */ 705 groups = ckmalloc((maxgroups + 1) * sizeof(gid_t)); 706 n = getgroups(maxgroups, groups);
|
Completed in 278 milliseconds