/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getgroups.c | 46 atf_tc_set_md_var(tc, "descr", "Test errors in getgroups(2)"); 55 ATF_REQUIRE(getgroups(10, (gid_t *)-1) == -1); 63 ATF_REQUIRE(getgroups(-1, gidset) == -1); 70 atf_tc_set_md_var(tc, "descr", "Test getgid(2) from getgroups(2)"); 81 * the GIDs returned by getgroups(2). 83 n = getgroups(NGROUPS_MAX, gidset); 91 atf_tc_fail("getgid(2) not found from getgroups(2)"); 97 atf_tc_set_md_var(tc, "descr", "Test setgid(2) from getgroups(2)"); 111 n = getgroups(NGROUPS_MAX, gidset); 132 atf_tc_fail("getgroups( [all...] |
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | user.c | 54 ngroups = getgroups(NGROUPS_MAX, groups);
|
H A D | user_test.c | 69 ngids = getgroups(NGROUPS_MAX, gids); 71 atf_tc_fail("Call to getgroups failed");
|
/freebsd-11-stable/crypto/openssh/ |
H A D | uidswap.c | 85 saved_egroupslen = getgroups(0, NULL); 87 fatal("getgroups: %.100s", strerror(errno)); 91 if (getgroups(saved_egroupslen, saved_egroups) < 0) 92 fatal("getgroups: %.100s", strerror(errno)); 103 user_groupslen = getgroups(0, NULL); 105 fatal("getgroups: %.100s", strerror(errno)); 109 if (getgroups(user_groupslen, user_groups) < 0) 110 fatal("getgroups: %.100s", strerror(errno));
|
H A D | defines.h | 806 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_borrow_cred.c | 86 r = getgroups(NGROUPS_MAX, scred->groups);
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | sandbox.c | 209 PJDLOG_VERIFY(getgroups(0, NULL) == ngroups); 216 PJDLOG_VERIFY(getgroups(ngroups, ggroups) == ngroups);
|
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/id/ |
H A D | pwgr.c | 137 getgroups(int gidsetlen, gid_t *gidset) function
|
/freebsd-11-stable/sys/kern/ |
H A D | capabilities.conf | 273 getgroups
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | capabilities.conf | 123 getgroups
|
/freebsd-11-stable/sbin/hastd/ |
H A D | subr.c | 292 PJDLOG_VERIFY(getgroups(0, NULL) == 1); 293 PJDLOG_VERIFY(getgroups(1, gidset) == 1);
|
/freebsd-11-stable/usr.bin/id/ |
H A D | id.c | 295 ngroups = getgroups(ngroups_max, groups); 394 ngroups = getgroups(ngroups_max, groups);
|
/freebsd-11-stable/tools/regression/sockets/unix_cmsg/ |
H A D | unix_cmsg.c | 314 uc_cfg.proc_cred.gid_num = getgroups(0, (gid_t *)NULL); 316 uc_logmsg("init: getgroups"); 325 if (getgroups(uc_cfg.proc_cred.gid_num, uc_cfg.proc_cred.gid_arr) < 0) { 326 uc_logmsg("init: getgroups");
|
/freebsd-11-stable/sys/sys/ |
H A D | syscall.mk | 67 getgroups.o \
|
/freebsd-11-stable/usr.sbin/chown/ |
H A D | chown.c | 293 ngroups = getgroups(ngroups_max, groups);
|
/freebsd-11-stable/usr.bin/newgrp/ |
H A D | newgrp.c | 195 if ((ngrps = getgroups(ngrps_max, (gid_t *)grps)) < 0) { 196 warn("getgroups");
|
/freebsd-11-stable/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 368 ngroups = getgroups(ngroups_max, groups); 370 err(1, "getgroups");
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | auth_unix.c | 200 if ((ngids = getgroups(ngids_max, gids)) < 0)
|
/freebsd-11-stable/include/ |
H A D | unistd.h | 342 int getgroups(int, gid_t []);
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | Makefile.inc | 175 getgroups.2 \
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | sh.exp.c | 153 * 3) getgroups(0, unused) 161 n = getgroups(0, (GETGROUPS_T *) NULL); 165 n = getgroups((int) n, groups);
|
H A D | tc.prompt.c | 218 gcnt = getgroups(NGROUPS_MAX, grps);
|
/freebsd-11-stable/usr.bin/quota/ |
H A D | quota.c | 156 ngroups = getgroups(NGROUPS, gidset); 158 err(1, "getgroups");
|
/freebsd-11-stable/contrib/gcc/ |
H A D | sys-protos.h | 447 extern int getgroups(int, TARGET_GETGROUPS_T []);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | main.c | 326 i = getgroups(NGROUPS_MAX, InitialGidSet);
|