Home | History | Annotate | Download | only in sys

Lines Matching refs:getgroups

46 	atf_tc_set_md_var(tc, "descr", "Test errors in getgroups(2)");
55 ATF_REQUIRE(getgroups(10, (gid_t *)-1) == -1);
60 ATF_REQUIRE(getgroups(-1, gidset) == -1);
67 atf_tc_set_md_var(tc, "descr", "Test getgid(2) from getgroups(2)");
78 * the GIDs returned by getgroups(2).
80 n = getgroups(NGROUPS_MAX, gidset);
88 atf_tc_fail("getgid(2) not found from getgroups(2)");
94 atf_tc_set_md_var(tc, "descr", "Test setgid(2) from getgroups(2)");
108 n = getgroups(NGROUPS_MAX, gidset);
129 atf_tc_fail("getgroups(2) is inconsistent");
136 atf_tc_set_md_var(tc, "descr", "Test getgroups(2) with zero param");
153 ATF_REQUIRE(getgroups(0, gidset) >= 0);
158 atf_tc_fail("getgroups(2) modified the buffer");