Home
last modified time | relevance | path

Searched refs:test_users (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill05.c29 static uid_t test_users[2]; variable
51 SAFE_SETREUID(test_users[0], test_users[0]); in do_master_child()
58 SAFE_SETREUID(test_users[1], test_users[1]); in do_master_child()
92 tst_get_uids(test_users, 0, 2); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir04.c37 uid_t test_users[2]; in setup() local
39 tst_get_uids(test_users, 0, 2); in setup()
42 SAFE_CHOWN(TESTDIR, test_users[0], getgid()); in setup()
44 SAFE_SETREUID(test_users[1], test_users[1]); in setup()
/third_party/ltp/testcases/kernel/syscalls/rename/
Drename09.c29 static uid_t orig_uid, test_users[2]; variable
36 tst_get_uids(test_users, 0, 2); in setup()
46 SAFE_CHOWN(SRCDIR, test_users[0], curgid); in run()
47 SAFE_CHOWN(SRCFILE, test_users[0], curgid); in run()
49 SAFE_SETEUID(test_users[1]); in run()
/third_party/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid05.c66 uid_t test_users[3]; in setup() local
71 nobody_uid = test_users[0] = pw->pw_uid; in setup()
72 tst_get_uids(test_users, 1, 3); in setup()
73 main_uid = test_users[1]; in setup()
74 other_uid = test_users[2]; in setup()
Dsetreuid02.c49 uid_t test_users[2]; in setup() local
54 nobody_uid = test_users[0] = pw->pw_uid; in setup()
55 tst_get_uids(test_users, 1, 2); in setup()
56 other_uid = test_users[1]; in setup()
Dsetreuid03.c64 uid_t test_users[2]; in setup() local
69 nobody_uid = test_users[0] = pw->pw_uid; in setup()
70 tst_get_uids(test_users, 1, 2); in setup()
71 other_uid = test_users[1]; in setup()
/third_party/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid03.c43 uid_t test_users[2]; in setup() local
46 tst_get_uids(test_users, 0, 2); in setup()
47 main_uid = test_users[0]; in setup()
48 other_uid = test_users[1]; in setup()
Dsetresuid02.c47 uid_t test_users[2]; in setup() local
50 nobody_uid = test_users[0] = pw->pw_uid; in setup()
51 tst_get_uids(test_users, 1, 2); in setup()
52 other_uid = test_users[1]; in setup()
Dsetresuid01.c51 uid_t test_users[2]; in setup() local
54 tst_get_uids(test_users, 0, 2); in setup()
55 main_uid = test_users[0]; in setup()
56 other_uid = test_users[1]; in setup()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c40 uid_t test_users[2]; in setup() local
45 test_users[0] = pw->pw_uid; in setup()
46 tst_get_uids(test_users, 1, 2); in setup()
47 user_uid = test_users[1]; in setup()
/third_party/python/Lib/test/
Dtest_subprocess.py1879 test_users = [65534 if uid != 65534 else 65533, uid]
1885 test_users.append(name_uid)
1890 for user in test_users: