Searched refs:cur_egid (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setegid/ |
D | setegid01.c | 77 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/ |
D | setresgid01.c | 164 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()
|
D | setresgid03.c | 168 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()
|
D | setresgid02.c | 171 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()
|