Symbol: getgroups
crypto/krb5/src/lib/rpc/auth_unix.c
190
if ((len = getgroups(NGRPS, gids)) < 0)
crypto/openssh/defines.h
912
# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b)))
crypto/openssh/uidswap.c
105
user_groupslen = getgroups(0, NULL);
crypto/openssh/uidswap.c
111
if (getgroups(user_groupslen, user_groups) == -1)
crypto/openssh/uidswap.c
86
saved_egroupslen = getgroups(0, NULL);
crypto/openssh/uidswap.c
92
if (getgroups(saved_egroupslen, saved_egroups) == -1)
include/ssp/unistd.h
61
__ssp_redirect_raw(int, getgroups, getgroups, (int __len, gid_t *__buf),
include/unistd.h
349
int getgroups(int, gid_t []);
lib/libc/include/compat.h
72
__sym_compat(getgroups, freebsd14_getgroups, FBSD_1.0);
lib/libc/rpc/auth_unix.c
195
if ((ngids = getgroups(ngids_max, gids)) < 0)
lib/libc/tests/secure/fortify_unistd_test.c
492
getgroups(__len, __stack.__buf);
lib/libc/tests/secure/fortify_unistd_test.c
513
getgroups(__len, __stack.__buf);
lib/libc/tests/secure/fortify_unistd_test.c
536
getgroups(__len, __stack.__buf);
lib/libc/tests/secure/fortify_unistd_test.c
559
getgroups(__len, __stack.__buf);
lib/libc/tests/secure/fortify_unistd_test.c
591
getgroups(__len, __stack.__buf);
sbin/hastd/subr.c
286
PJDLOG_VERIFY(getgroups(0, NULL) == 0);
sys/compat/freebsd32/freebsd32_sysent.c
149
{ compat14(AS(freebsd14_getgroups_args),getgroups), .sy_auevent = AUE_GETGROUPS, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 79 = freebsd14 getgroups */
sys/kern/init_sysent.c
148
{ compat14(AS(freebsd14_getgroups_args),getgroups), .sy_auevent = AUE_GETGROUPS, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 79 = freebsd14 getgroups */
tests/sys/audit/process-control.c
884
ATF_REQUIRE(getgroups(sizeof(gids)/sizeof(gids[0]), gids) != -1);
tests/sys/capsicum/syscalls.h
100
#define getgroups_ getgroups
tools/regression/sockets/unix_cmsg/unix_cmsg.c
311
uc_cfg.proc_cred.gid_num = getgroups(0, (gid_t *)NULL);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
322
if (getgroups(uc_cfg.proc_cred.gid_num, uc_cfg.proc_cred.gid_arr) < 0) {
usr.bin/id/id.c
298
ngroups = getgroups(ngroups_max, groups);
usr.bin/id/id.c
401
ngroups = getgroups(ngroups_max, groups);
usr.bin/mdo/mdo.c
764
const int ngroups = getgroups(0, NULL);
usr.bin/mdo/mdo.c
769
if (getgroups(ngroups, supp_groups.groups +
usr.bin/newgrp/newgrp.c
192
if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) {
usr.bin/quota/quota.c
150
ngroups = getgroups(NGROUPS_MAX, gidset);
usr.sbin/chown/chown.c
267
ngroups = getgroups(ngroups_max, groups);
usr.sbin/lpr/lpc/lpc.c
356
ngroups = getgroups(ngroups_max, groups);