Searched refs:NGROUPS (Results 1 – 22 of 22) sorted by relevance
| /dragonfly/usr.bin/id/ |
| HD | id.c | 211 gid_t groups[NGROUPS]; in current() 232 if ((ngroups = getgroups(NGROUPS, groups))) { in current() 252 gid_t gid, lastgid, groups[NGROUPS + 1]; in user() 259 ngroups = NGROUPS + 1; in user() 279 gid_t groups[NGROUPS + 1]; in group() 283 ngroups = NGROUPS + 1; in group() 287 ngroups = getgroups(NGROUPS, groups + 1) + 1; in group()
|
| /dragonfly/lib/libc/rpc/ |
| HD | netnamer.c | 66 #ifndef NGROUPS 67 #define NGROUPS 16 macro 100 for (gidlen = 0; gidlen < NGROUPS; gidlen++) { in netname2user() 163 if (ngroups == NGROUPS) { in _getgroups()
|
| HD | netname.c | 60 #ifndef NGROUPS 61 #define NGROUPS 16 macro
|
| HD | svc_auth_des.c | 449 short groups[NGROUPS]; /* cached groups */
|
| /dragonfly/lib/libc/gen/ |
| HD | initgroups.c | 46 gid_t groups[NGROUPS + 1]; in initgroups() 48 ngroups = NGROUPS + 1; in initgroups()
|
| /dragonfly/sys/sys/ |
| HD | ucred.h | 70 gid_t cr_groups[NGROUPS]; /* groups */ 94 gid_t cr_groups[NGROUPS]; /* groups */
|
| HD | kinfo.h | 196 gid_t kp_groups[NGROUPS];
|
| HD | param.h | 279 #define NGROUPS NGROUPS_MAX /* max number groups */ macro
|
| /dragonfly/usr.bin/quota/ |
| HD | quota.c | 100 gid_t mygid, gidset[NGROUPS]; in main() 134 ngroups = getgroups(NGROUPS, gidset); in main() 228 gid_t mygid, gidset[NGROUPS]; in showgid() 237 ngroups = getgroups(NGROUPS, gidset); in showgid() 262 gid_t mygid, gidset[NGROUPS]; in showgrpname() 270 ngroups = getgroups(NGROUPS, gidset); in showgrpname()
|
| /dragonfly/usr.sbin/jail/ |
| HD | jail.c | 45 ngroups = NGROUPS; \ 58 gid_t groups[NGROUPS]; in main()
|
| /dragonfly/lib/libssh/openbsd-compat/ |
| HD | bsd-nextstep.h | 34 #define NGROUPS_MAX NGROUPS
|
| /dragonfly/usr.sbin/lpr/lpc/ |
| HD | lpc.c | 344 static gid_t groups[NGROUPS]; in ingroup() 353 ngroups = getgroups(NGROUPS, groups); in ingroup()
|
| /dragonfly/sbin/svc/ |
| HD | svc.h | 98 gid_t groups[NGROUPS];
|
| HD | svc.c | 191 if (i == NGROUPS) { in process_cmd() 194 "max %d\n", NGROUPS); in process_cmd()
|
| /dragonfly/usr.sbin/keyserv/ |
| HD | keyserv.c | 62 #ifndef NGROUPS 63 #define NGROUPS 16 macro 543 static u_int gids[NGROUPS]; in key_getcred_1_svc_prog()
|
| /dragonfly/crypto/openssh/ |
| HD | defines.h | 154 #ifdef NGROUPS 155 #define NGROUPS_MAX NGROUPS
|
| /dragonfly/sys/kern/ |
| HD | kern_kinfo.c | 152 NGROUPS * sizeof(kp->kp_groups[0])); in fill_kinfo_proc()
|
| HD | kern_prot.c | 674 if (ngrp > NGROUPS) { in sys_setgroups()
|
| /dragonfly/sbin/mountd/ |
| HD | mountd.c | 2302 gid_t groups[NGROUPS + 1]; in parsecred() 2330 ngroups = NGROUPS + 1; in parsecred() 2355 while (names != NULL && *names != '\0' && cr->cr_ngroups < NGROUPS) { in parsecred() 2367 if (names != NULL && *names != '\0' && cr->cr_ngroups == NGROUPS) in parsecred()
|
| /dragonfly/sys/vfs/nfs/ |
| HD | nfs_syscalls.c | 260 if (nuidp->nu_cr.cr_ngroups > NGROUPS) in sys_nfssvc() 261 nuidp->nu_cr.cr_ngroups = NGROUPS; in sys_nfssvc()
|
| HD | nfs_socket.c | 2377 if (i < NGROUPS) in nfs_getreq() 2381 nd->nd_cr.cr_ngroups = (len >= NGROUPS) ? NGROUPS : (len + 1); in nfs_getreq()
|
| HD | nfs_subs.c | 1273 for (i = 0; i < credanon->cr_ngroups && i < NGROUPS; i++) in nfsrv_fhtovp()
|