/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getgroups.c | 55 ATF_REQUIRE(getgroups(10, (gid_t *)-1) == -1); in ATF_TC_BODY() 60 ATF_REQUIRE(getgroups(-1, gidset) == -1); in ATF_TC_BODY() 80 n = getgroups(NGROUPS_MAX, gidset); in ATF_TC_BODY() 108 n = getgroups(NGROUPS_MAX, gidset); in ATF_TC_BODY() 153 ATF_REQUIRE(getgroups(0, gidset) >= 0); in ATF_TC_BODY()
|
/freebsd/crypto/openssh/ |
H A D | uidswap.c | 86 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid() 92 if (getgroups(saved_egroupslen, saved_egroups) == -1) in temporarily_use_uid() 105 user_groupslen = getgroups(0, NULL); in temporarily_use_uid() 111 if (getgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid()
|
H A D | defines.h | 870 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
|
/freebsd/include/ssp/ |
H A D | unistd.h | 61 __ssp_redirect_raw(int, getgroups, getgroups, (int __len, gid_t *__buf),
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | sandbox.c | 209 PJDLOG_VERIFY(getgroups(0, NULL) == ngroups); in sandbox() 216 PJDLOG_VERIFY(getgroups(ngroups, ggroups) == ngroups); in sandbox()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | user.c | 54 ngroups = getgroups(NGROUPS_MAX, groups); in atf_user_is_member_of_group()
|
H A D | user_test.c | 69 ngids = getgroups(NGROUPS_MAX, gids); in ATF_TC_BODY()
|
/freebsd/sbin/hastd/ |
H A D | subr.c | 289 PJDLOG_VERIFY(getgroups(0, NULL) == 1); in drop_privs() 290 PJDLOG_VERIFY(getgroups(1, gidset) == 1); in drop_privs()
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | openpam_borrow_cred.c | 84 r = getgroups(NGROUPS_MAX, scred->groups); in openpam_borrow_cred()
|
/freebsd/tools/regression/sockets/unix_cmsg/ |
H A D | unix_cmsg.c | 311 uc_cfg.proc_cred.gid_num = getgroups(0, (gid_t *)NULL); in init() 322 if (getgroups(uc_cfg.proc_cred.gid_num, uc_cfg.proc_cred.gid_arr) < 0) { in init()
|
/freebsd/contrib/netbsd-tests/usr.bin/id/ |
H A D | pwgr.c | 137 getgroups(int gidsetlen, gid_t *gidset) in getgroups() function
|
/freebsd/usr.bin/id/ |
H A D | id.c | 285 ngroups = getgroups(ngroups_max, groups); in id_print() 384 ngroups = getgroups(ngroups_max, groups); in group()
|
/freebsd/usr.bin/newgrp/ |
H A D | newgrp.c | 192 if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) { in addgroup()
|
/freebsd/contrib/capsicum-test/ |
H A D | syscalls.h | 105 #define getgroups_ getgroups
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | spell.ok | 151 getgroups
|
/freebsd/usr.sbin/chown/ |
H A D | chown.c | 267 ngroups = getgroups(ngroups_max, groups); in chownerr()
|
/freebsd/lib/libsys/ |
H A D | Symbol.sys.map | 92 getgroups;
|
H A D | Makefile.sys | 209 getgroups.2 \
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_unistd_test.c | 437 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 455 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 475 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 495 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 524 getgroups(__len, __stack.__buf); in ATF_TC_BODY()
|
/freebsd/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 356 ngroups = getgroups(ngroups_max, groups); in ingroup()
|
/freebsd/lib/libc/rpc/ |
H A D | auth_unix.c | 195 if ((ngids = getgroups(ngids_max, gids)) < 0) in authunix_create_default()
|
/freebsd/include/ |
H A D | unistd.h | 344 int getgroups(int, gid_t []);
|
/freebsd/contrib/tcsh/ |
H A D | sh.exp.c | 161 n = getgroups(0, (GETGROUPS_T *) NULL); in sh_access() 165 n = getgroups((int) n, groups); in sh_access()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | isolation_test.cpp | 175 if (::getgroups(1, groups) == -1) { in operator ()()
|
/freebsd/sys/sys/ |
H A D | syscall.mk | 68 getgroups.o \
|