Home
last modified time | relevance | path

Searched refs:cur_egid (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()
89 cur_egid, cur_sgid); in setegid_verify()
92 if (nobody_gid != cur_egid) { in setegid_verify()
112 SAFE_GETRESGID(cleanup, &cur_rgid, &cur_egid, &orig_sgid); in setegid_verify()
114 if (orig_egid != cur_egid) { 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()