Home
last modified time | relevance | path

Searched refs:cur_rgid (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setegid/
Dsetegid01.c77 gid_t cur_rgid, cur_egid, cur_sgid; in setegid_verify() local
87 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &cur_sgid); in setegid_verify()
88 tst_resm(TINFO, "getresgid reports rgid %d, egid %d, sgid %d", cur_rgid, in setegid_verify()
105 if (orig_rgid != cur_rgid) { in setegid_verify()
112 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &orig_sgid); in setegid_verify()
/external/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid01.c164 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality() local
167 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &cur_sgid); in test_functionality()
169 if ((cur_rgid == exp_rgid) && (cur_egid == exp_egid) in test_functionality()
Dsetresgid03.c168 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality() local
171 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &cur_sgid); in test_functionality()
173 if ((cur_rgid == exp_rgid) && (cur_egid == exp_egid) in test_functionality()
Dsetresgid02.c171 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality() local
174 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &cur_sgid); in test_functionality()
176 if ((cur_rgid == exp_rgid) && (cur_egid == exp_egid) in test_functionality()