/external/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()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown03.c | 116 SAFE_SETEUID(NULL, ltpuser->pw_uid); in setup() 124 SAFE_SETEUID(cleanup, 0); in setup() 130 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown03.c | 174 SAFE_SETEUID(NULL, ltpuser->pw_uid); in setup() 182 SAFE_SETEUID(cleanup, 0); in setup() 188 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup()
|
D | chown04.c | 168 SAFE_SETEUID(cleanup, 0); in setup() 178 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup()
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname03.c | 38 SAFE_SETEUID(ltpuser->pw_uid); in setup_setuid() 44 SAFE_SETEUID(0); in cleanup_setuid()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/chroot/ |
D | chroot01.c | 103 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup() 112 SAFE_SETEUID(NULL, 0); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open02.c | 44 SAFE_SETEUID(ltpuser->pw_uid); in setup() 71 SAFE_SETEUID(0); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler02.c | 91 SAFE_SETEUID(cleanup, nobody_uid); in main() 117 SAFE_SETEUID(cleanup, 0); in main()
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 77 SAFE_SETEUID(pw->pw_uid); in setup() 82 SAFE_SETEUID(0); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 68 SAFE_SETEUID(ltpuser->pw_uid); in setup() 79 SAFE_SETEUID(0); in cleanup()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/adjtimex/ |
D | adjtimex02.c | 61 SAFE_SETEUID(ltpuser->pw_uid); in verify_adjtimex() 88 SAFE_SETEUID(0); in verify_adjtimex()
|
/external/ltp/testcases/kernel/syscalls/swapoff/ |
D | swapoff02.c | 117 SAFE_SETEUID(cleanup, nobody_uid); in setup01() 123 SAFE_SETEUID(cleanup, 0); in cleanup01()
|
/external/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 60 SAFE_SETEUID(nobody->pw_uid); in verify_mlock2() 80 SAFE_SETEUID(0); in verify_mlock2()
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | swapon02.c | 114 SAFE_SETEUID(cleanup, nobody_uid); in setup01() 119 SAFE_SETEUID(cleanup, 0); in cleanup01()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl04.c | 75 SAFE_SETEUID(ltpuser->pw_uid); in setup() 93 SAFE_SETEUID(0); in cleanup()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat06.c | 143 SAFE_SETEUID(ltpuser->pw_uid); in test6_setup() 148 SAFE_SETEUID(0); in test6_cleanup()
|
/external/ltp/testcases/kernel/syscalls/acct/ |
D | acct01.c | 38 SAFE_SETEUID(ltpuser->pw_uid); in setup_euid() 43 SAFE_SETEUID(0); in cleanup_euid()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime06.c | 157 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup_nobody() 162 SAFE_SETEUID(cleanup, 0); in cleanup_nobody()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 96 SAFE_SETEUID(0); in set_root() 101 SAFE_SETEUID(nobody_uid); in set_nobody()
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall03.c | 271 SAFE_SETEUID(cleanup, 0); in cleanup_test() 287 SAFE_SETEUID(cleanup, 0); in cleanup_test()
|
/external/ltp/testcases/kernel/syscalls/clock_adjtime/ |
D | clock_adjtime02.c | 132 SAFE_SETEUID(whoami); in verify_clock_adjtime() 171 SAFE_SETEUID(0); in verify_clock_adjtime()
|