Home
last modified time | relevance | path

Searched refs:SETREUID (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid01.c29 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()
Dsetreuid06.c40 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()
Dsetreuid07.c44 TST_EXP_PASS_SILENT(SETREUID(-1, ltpuser->pw_uid)); in run()
54 TST_EXP_PASS_SILENT(SETREUID(-1, 0)); in run()
Dsetreuid03.c85 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()
Dsetreuid05.c88 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()
Dsetreuid04.c36 TST_EXP_PASS(SETREUID(nobody_uid, nobody_uid)); in run()
Dsetreuid02.c70 TST_EXP_PASS_SILENT(SETREUID(*tc->real_uid, *tc->eff_uid), "%s", in run()
/third_party/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h122 int SETREUID(UID_T ruid, UID_T euid) in SETREUID() function
Dcompat_16.h125 int SETREUID(void (cleanup)(void), UID_T ruid, UID_T euid) in SETREUID() function