Home
last modified time | relevance | path

Searched refs:maxgroups (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/external/bsd/libbind/dist/irs/
Dutil.c73 int ret, maxgroups; in make_group_list() local
77 maxgroups = *ngroups; in make_group_list()
83 if (ng >= maxgroups) in make_group_list()
86 if (ng >= maxgroups) in make_group_list()
98 if (ng >= maxgroups) in make_group_list()
Dgen_gr.c240 int t_ngroups, maxgroups; in gr_list() local
244 maxgroups = *ngroups; in gr_list()
246 t_groups = (gid_t *)malloc(maxgroups * sizeof(gid_t)); in gr_list()
253 t_ngroups = maxgroups; in gr_list()
258 if (*ngroups == maxgroups) { in gr_list()
/netbsd/src/usr.bin/id/
Did.c62 static int maxgroups; variable
134 maxgroups = sysconf(_SC_NGROUPS_MAX); in main()
135 if ((groups = malloc((maxgroups + 1) * sizeof(gid_t))) == NULL) in main()
244 if ((ngroups = getgroups(maxgroups, groups)) != 0) { in current()
271 ngroups = maxgroups + 1; in user()
300 ngroups = maxgroups; in group()
309 ngroups = getgroups(maxgroups, glist + 1) + 1; in group()
/netbsd/src/distrib/utils/libhack/
Dgetgrent.c215 int maxgroups, i, ngroups, ret; in getgrouplist() local
217 maxgroups = *grpcnt; in getgrouplist()
224 if (ngroups < maxgroups) in getgrouplist()
241 for (i = 0; i < MIN(ngroups, maxgroups); i++) { in getgrouplist()
245 if (ngroups < maxgroups) in getgrouplist()
/netbsd/src/lib/libc/gen/
Dinitgroups.c66 int maxgroups = ngroups; in __weak_alias() local
67 groups = calloc((size_t)maxgroups, sizeof *groups); in __weak_alias()
71 ngroups = maxgroups; in __weak_alias()
/netbsd/src/crypto/external/bsd/openssh/dist/
Dgroupaccess.c55 int i, j, maxgroups; in ga_init() local
61 maxgroups = ngroups = sizeof(groups_bygid) / sizeof(gid_t); in ga_init()
65 ngroups = maxgroups; in ga_init()
/netbsd/src/bin/test/
Dtest.c685 int maxgroups; in test_access() local
703 if ((maxgroups = getgroups(0, NULL)) <= 0) in test_access()
704 maxgroups = NGROUPS_MAX; /* pre-POSIX system? */ in test_access()
705 groups = ckmalloc((maxgroups + 1) * sizeof(gid_t)); in test_access()
706 n = getgroups(maxgroups, groups); in test_access()
/netbsd/src/external/bsd/am-utils/dist/
Dconfigure.ac1189 maxgroups \
DChangeLog10958 for mount table entry for maxgroups based on NFS mount option
10962 "maxgrps". Added test for mount table entry "maxgroups".
/netbsd/src/external/bsd/am-utils/dist/doc/
Dam-utils.texi2177 @item maxgroups
2178 @cindex Mount flags; maxgroups
8738 @c LocalWords: serv maxgroups nfsl cachedir copt cfsadmin efs addopts fg ROMs