Searched refs:cur_rgid (Results 1 – 2 of 2) sorted by relevance
/third_party/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() 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()
|
/third_party/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()
|