Home
last modified time | relevance | path

Searched refs:other_uid (Results 1 - 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid05.c23 static uid_t root_uid, nobody_uid, main_uid, other_uid, neg_one = -1; variable
42 {&neg_one, &other_uid, 0, &main_uid, &other_uid, &other_uid,
44 {&neg_one, &root_uid, -1, &main_uid, &other_uid, &other_uid,
46 {&neg_one, &nobody_uid, -1, &main_uid, &other_uid, &other_uid,
48 {&neg_one, &main_uid, 0, &main_uid, &main_uid, &other_uid,
50 {&neg_one, &other_uid,
[all...]
H A Dsetreuid06.c25 static uid_t other_uid; variable
29 tst_get_uids(&other_uid, 0, 1); in setup()
31 UID16_CHECK(other_uid, setreuid); in setup()
40 TST_EXP_FAIL(SETREUID(-1, other_uid), EPERM, in run()
41 "setreuid(%d, %d)", -1, other_uid); in run()
42 TST_EXP_FAIL(SETREUID(other_uid, -1), EPERM, in run()
43 "setreuid(%d, %d)", other_uid, -1); in run()
44 TST_EXP_FAIL(SETREUID(other_uid, other_uid), EPERM, in run()
45 "setreuid(%d, %d)", other_uid, other_ui in run() local
[all...]
H A Dsetreuid03.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
48 {&root_uid, &other_uid, -1, &nobody_uid, &nobody_uid,
50 {&other_uid, &root_uid, -1, &nobody_uid, &nobody_uid,
52 {&other_uid, &neg_one, -1, &nobody_uid, &nobody_uid,
54 {&other_uid, &other_uid, -1, &nobody_uid, &nobody_uid,
56 {&other_uid, &nobody_uid, -1, &nobody_uid, &nobody_uid,
58 {&nobody_uid, &other_uid, -1, &nobody_uid, &nobody_uid,
71 other_uid = test_users[1]; in setup()
75 UID16_CHECK(other_uid, setreui in setup()
[all...]
H A Dsetreuid02.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
41 {&other_uid, &neg_one, &other_uid, &root_uid, &root_uid,
56 other_uid = test_users[1]; in setup()
60 UID16_CHECK(other_uid, setreuid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setresuid/
H A Dsetresuid02.c23 static uid_t nobody_uid, other_uid, neg_one = -1; variable
34 {&neg_one, &neg_one, &other_uid, &nobody_uid, &other_uid, &other_uid,
36 {&neg_one, &nobody_uid, &neg_one, &nobody_uid, &nobody_uid, &other_uid,
38 {&other_uid, &neg_one, &neg_one, &other_uid, &nobody_uid, &other_uid,
41 {&nobody_uid, &other_uid, &nobody_uid, &nobody_uid, &other_uid,
[all...]
H A Dsetresuid01.c18 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
33 {&neg_one, &other_uid, &neg_one, &root_uid, &other_uid, &main_uid,
35 {&neg_one, &neg_one, &root_uid, &root_uid, &other_uid, &root_uid,
37 {&neg_one, &neg_one, &other_uid, &root_uid, &other_uid, &other_uid,
39 {&neg_one, &root_uid, &neg_one, &root_uid, &root_uid, &other_uid,
41 {&main_uid, &neg_one, &neg_one, &main_uid, &root_uid, &other_uid,
43 {&neg_one, &root_uid, &neg_one, &main_uid, &root_uid, &other_uid,
[all...]
H A Dsetresuid03.c21 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
33 {&other_uid, &neg_one, &neg_one, EPERM, &root_uid, &main_uid,
35 {&neg_one, &neg_one, &other_uid, EPERM, &root_uid, &main_uid,
37 {&neg_one, &other_uid, &neg_one, EPERM, &root_uid, &main_uid,
48 other_uid = test_users[1]; in setup()
52 UID16_CHECK(other_uid, setresuid); in setup()

Completed in 2 milliseconds