/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown03.c | 48 SAFE_SETEUID(0); in run() 51 SAFE_SETEUID(ltpuser->pw_uid); in run() 76 SAFE_SETEUID(ltpuser->pw_uid); in setup() 85 SAFE_SETEUID(0); in cleanup()
|
D | chown04.c | 90 SAFE_SETEUID(0); in setup() 97 SAFE_SETEUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown03.c | 57 SAFE_SETEUID(0); in run() 60 SAFE_SETEUID(ltpuser->pw_uid); in run() 79 SAFE_SETEUID(ltpuser->pw_uid); in setup() 87 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 146 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in test_enomem2() 150 SAFE_SETEUID(cleanup, 0); in test_enomem2() 175 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in test_eperm() 179 SAFE_SETEUID(cleanup, 0); in test_eperm()
|
/third_party/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname03.c | 38 SAFE_SETEUID(ltpuser->pw_uid); in setup_setuid() 44 SAFE_SETEUID(0); in cleanup_setuid()
|
/third_party/ltp/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 148 SAFE_SETEUID(pw->pw_uid); in create_queue() 153 SAFE_SETEUID(euid); in unlink_queue() 167 SAFE_SETEUID(pw->pw_uid); in set_max_queues() 172 SAFE_SETEUID(euid); in restore_max_queues()
|
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
D | setfsgid02.c | 36 SAFE_SETEUID(ltpuser->pw_uid); in run() 59 SAFE_SETEUID(0); in run()
|
/third_party/ltp/testcases/kernel/syscalls/reboot/ |
D | reboot02.c | 44 SAFE_SETEUID(ltpuser->pw_uid); in run() 49 SAFE_SETEUID(0); in run()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open02.c | 45 SAFE_SETEUID(ltpuser->pw_uid); in setup() 58 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/iopl/ |
D | iopl02.c | 57 SAFE_SETEUID(pw->pw_uid); in setup() 62 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename09.c | 49 SAFE_SETEUID(test_users[1]); in run() 56 SAFE_SETEUID(orig_uid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/adjtimex/ |
D | adjtimex02.c | 86 SAFE_SETEUID(ltpuser->pw_uid); in verify_adjtimex() 116 SAFE_SETEUID(0); in verify_adjtimex() 129 SAFE_SETEUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 77 SAFE_SETEUID(pw->pw_uid); in setup() 82 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 69 SAFE_SETEUID(ltpuser->pw_uid); in setup() 80 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ioperm/ |
D | ioperm02.c | 64 SAFE_SETEUID(pw->pw_uid); in setup() 69 SAFE_SETEUID(0); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/delete_module/ |
D | delete_module02.c | 63 SAFE_SETEUID(ltpuser->pw_uid); in do_delete_module() 77 SAFE_SETEUID(0); in do_delete_module()
|
/third_party/ltp/testcases/kernel/syscalls/swapoff/ |
D | swapoff02.c | 69 SAFE_SETEUID(nobody_uid); in setup01() 75 SAFE_SETEUID(0); in cleanup01()
|
/third_party/ltp/testcases/kernel/syscalls/swapon/ |
D | swapon02.c | 46 SAFE_SETEUID(nobody_uid); in setup01() 51 SAFE_SETEUID(0); in cleanup01()
|
/third_party/ltp/testcases/kernel/syscalls/utime/ |
D | utime03.c | 74 SAFE_SETEUID(user_uid); in run() 78 SAFE_SETEUID(root_uid); in run()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
D | userns08.c | 102 SAFE_SETEUID(100000); in run() 109 SAFE_SETEUID(0); in run()
|
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 60 SAFE_SETEUID(nobody->pw_uid); in verify_mlock2() 80 SAFE_SETEUID(0); in verify_mlock2()
|
/third_party/ltp/testcases/kernel/syscalls/acct/ |
D | acct01.c | 43 SAFE_SETEUID(ltpuser->pw_uid); in setup_euid() 48 SAFE_SETEUID(0); in cleanup_euid()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
D | sched_setaffinity01.c | 52 SAFE_SETEUID(0); in kill_pid() 66 SAFE_SETEUID(ltpuser->pw_uid); in verify_test()
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
D | creat06.c | 143 SAFE_SETEUID(ltpuser->pw_uid); in test6_setup() 148 SAFE_SETEUID(0); in test6_cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages03.c | 121 SAFE_SETEUID(ltpuser->pw_uid); in migrate_test() 131 SAFE_SETEUID(0); in migrate_test()
|