Searched refs:SETREUID (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid01.c | 29 TST_EXP_PASS(SETREUID(-1, -1)); in run() 30 TST_EXP_PASS(SETREUID(-1, euid)); in run() 31 TST_EXP_PASS(SETREUID(ruid, -1)); in run() 32 TST_EXP_PASS(SETREUID(-1, ruid)); in run() 33 TST_EXP_PASS(SETREUID(euid, -1)); in run() 34 TST_EXP_PASS(SETREUID(euid, euid)); in run() 35 TST_EXP_PASS(SETREUID(ruid, ruid)); in run()
|
D | setreuid06.c | 40 TST_EXP_FAIL(SETREUID(-1, other_uid), EPERM, in run() 42 TST_EXP_FAIL(SETREUID(other_uid, -1), EPERM, in run() 44 TST_EXP_FAIL(SETREUID(other_uid, other_uid), EPERM, in run()
|
D | setreuid07.c | 44 TST_EXP_PASS_SILENT(SETREUID(-1, ltpuser->pw_uid)); in run() 54 TST_EXP_PASS_SILENT(SETREUID(-1, 0)); in run()
|
D | setreuid03.c | 85 TST_EXP_FAIL(SETREUID(*tc->real_uid, *tc->eff_uid), EPERM, in run() 88 TST_EXP_PASS(SETREUID(*tc->real_uid, *tc->eff_uid), "%s", in run()
|
D | setreuid05.c | 88 TST_EXP_FAIL(SETREUID(*tc->real_uid, *tc->eff_uid), EPERM, in run_child() 91 TST_EXP_PASS(SETREUID(*tc->real_uid, *tc->eff_uid), "%s", in run_child()
|
D | setreuid04.c | 36 TST_EXP_PASS(SETREUID(nobody_uid, nobody_uid)); in run()
|
D | setreuid02.c | 70 TST_EXP_PASS_SILENT(SETREUID(*tc->real_uid, *tc->eff_uid), "%s", in run()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
D | compat_tst_16.h | 122 int SETREUID(UID_T ruid, UID_T euid) in SETREUID() function
|
D | compat_16.h | 125 int SETREUID(void (cleanup)(void), UID_T ruid, UID_T euid) in SETREUID() function
|