| /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() 88 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid() 92 if (getgroups(saved_egroupslen, saved_egroups) == -1) in temporarily_use_uid() 93 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid() 105 user_groupslen = getgroups(0, NULL); in temporarily_use_uid() 107 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid() 111 if (getgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid() 112 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
|
| H A D | defines.h | 912 # 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/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/lib/libc/include/ |
| H A D | compat.h | 72 __sym_compat(getgroups, freebsd14_getgroups, FBSD_1.0);
|
| /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 | 298 ngroups = getgroups(ngroups_max, groups); in id_print() 401 ngroups = getgroups(ngroups_max, groups); in group()
|
| /freebsd/sbin/hastd/ |
| H A D | subr.c | 286 PJDLOG_VERIFY(getgroups(0, NULL) == 0); in drop_privs()
|
| /freebsd/usr.bin/mdo/ |
| H A D | mdo.c | 764 const int ngroups = getgroups(0, NULL); in main() 769 if (getgroups(ngroups, supp_groups.groups + in main()
|
| /freebsd/usr.bin/newgrp/ |
| H A D | newgrp.c | 192 if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) { in addgroup() 193 warn("getgroups"); in addgroup()
|
| /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/tests/sys/capsicum/ |
| H A D | syscalls.h | 105 #define getgroups_ getgroups
|
| /freebsd/libexec/nuageinit/ |
| H A D | nuage.lua | 152 local function getgroups() function 167 local groups = getgroups()
|
| /freebsd/lib/libsys/ |
| H A D | Symbol.sys.map | 382 getgroups;
|
| /freebsd/lib/libc/tests/secure/ |
| H A D | fortify_unistd_test.c | 492 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 513 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 536 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 559 getgroups(__len, __stack.__buf); in ATF_TC_BODY() 591 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() 358 err(1, "getgroups"); in ingroup()
|
| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | auth_unix.c | 190 if ((len = getgroups(NGRPS, gids)) < 0) in authunix_create_default()
|
| /freebsd/lib/libc/rpc/ |
| H A D | auth_unix.c | 195 if ((ngids = getgroups(ngids_max, gids)) < 0) in authunix_create_default()
|
| /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()
|