Searched refs:cur_rgid (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/setegid/ |
D | setegid01.c | 29 gid_t cur_rgid, cur_egid, cur_sgid; in setegid_verify() local 39 SAFE_GETRESGID(&cur_rgid, &cur_egid, &cur_sgid); in setegid_verify() 41 cur_rgid, cur_egid, cur_sgid); in setegid_verify() 44 TST_EXP_EQ_LU(orig_rgid, cur_rgid); in setegid_verify() 48 SAFE_GETRESGID(&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()
|