Searched refs:gidset (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups01.c | 65 static GID_T gidset[NGROUPS]; variable 83 TEST(GETGROUPS(cleanup, -1, gidset)); in main() 101 memset(gidset, 052, NGROUPS * sizeof(GID_T)); in main() 104 TEST(GETGROUPS(cleanup, 0, gidset)); in main() 108 if (memcmp(cmpset, gidset, NGROUPS * sizeof(GID_T)) != 0) in main() 126 TEST(GETGROUPS(cleanup, TEST_RETURN - 1, gidset)); in main() 143 TEST(GETGROUPS(cleanup, NGROUPS, gidset)); in main() 152 if (gidset[i] == group) { in main()
|
/external/ltp/runtest/ |
D | quickhit | 142 # 1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL 143 # 2. Check to see if getgroups(0, gidset) does not return -1 and gidset is 146 # where x is one less then what is returned by getgroups(0, gidset). 147 # 4. Check to see if getgroups() succeeds and gidset contains
|
/external/openssh/ |
D | sshd.c | 527 gid_t gidset[1]; in privsep_preauth_child() local 555 gidset[0] = privsep_pw->pw_gid; in privsep_preauth_child() 556 if (setgroups(1, gidset) < 0) in privsep_preauth_child()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 3352 int, setlen, vki_gid_t *, gidset, vki_uid_t, gmuid); in PRE()
|