Searched refs:ngroups_max (Results 1 - 17 of 17) sorted by relevance
/freebsd-9.3-release/lib/libc/gen/ |
H A D | initgroups.c | 52 long ngroups_max; local 59 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 2; 60 if ((groups = malloc(sizeof(*groups) * ngroups_max)) == NULL) 63 ngroups = (int)ngroups_max;
|
/freebsd-9.3-release/usr.sbin/chroot/ |
H A D | chroot.c | 73 long ngroups_max; local 119 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; 120 if ((gidlist = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 123 (p = strsep(&grouplist, ",")) != NULL && gids < ngroups_max; ) { 140 if (p != NULL && gids == ngroups_max)
|
/freebsd-9.3-release/sys/rpc/ |
H A D | authunix_prot.c | 112 if (i + 1 < ngroups_max + 1) { 122 if (ngroups + 1 > ngroups_max + 1) 123 cred->cr_ngroups = ngroups_max + 1;
|
/freebsd-9.3-release/usr.sbin/jexec/ |
H A D | jexec.c | 62 ngroups = ngroups_max; \ 75 long ngroups_max; local 80 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; 81 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL)
|
/freebsd-9.3-release/usr.bin/id/ |
H A D | id.c | 270 long ngroups_max; local 283 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; 284 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 288 ngroups = ngroups_max; 292 ngroups = getgroups(ngroups_max, groups); 379 long ngroups_max; local 383 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; 384 if ((groups = malloc(sizeof(gid_t) * (ngroups_max))) == NULL) 388 ngroups = ngroups_max; 391 ngroups = getgroups(ngroups_max, group [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | subr_param.c | 95 int ngroups_max; /* max # groups per process */ variable 258 ngroups_max = NGROUPS_MAX; 259 TUNABLE_INT_FETCH("kern.ngroups", &ngroups_max); 260 if (ngroups_max < NGROUPS_MAX) 261 ngroups_max = NGROUPS_MAX;
|
H A D | kern_prot.c | 814 if (uap->gidsetsize > ngroups_max + 1) 833 if (ngrp > ngroups_max + 1) 2049 * Truncate the list to (ngroups_max + 1) if it is too large. 2055 if (ngrp > ngroups_max + 1) 2056 ngrp = ngroups_max + 1;
|
H A D | kern_mib.c | 131 &ngroups_max, 0,
|
/freebsd-9.3-release/usr.sbin/chown/ |
H A D | chown.c | 275 static long ngroups_max; local 288 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; 289 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 291 ngroups = getgroups(ngroups_max, groups);
|
/freebsd-9.3-release/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 355 static long ngroups_max; local 365 ngroups_max = sysconf(_SC_NGROUPS_MAX); 366 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) 368 ngroups = getgroups(ngroups_max, groups);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cred.h | 63 extern int ngroups_max;
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_uid16.c | 171 if (ngrp < 0 || ngrp >= ngroups_max + 1) {
|
H A D | linux_misc.c | 1108 if (ngrp < 0 || ngrp >= ngroups_max + 1)
|
/freebsd-9.3-release/sys/sys/ |
H A D | systm.h | 66 extern int ngroups_max; /* max # of supplemental groups */
|
/freebsd-9.3-release/sys/security/audit/ |
H A D | audit_arg.c | 265 KASSERT(gidset_size <= ngroups_max + 1,
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 703 if (uap->gidsetsize < 0 || uap->gidsetsize > ngroups_max + 1)
|
/freebsd-9.3-release/sys/compat/svr4/ |
H A D | svr4_misc.c | 715 *retval = ngroups_max;
|
Completed in 198 milliseconds