/external/ltp/testcases/network/nfsv4/acl/ |
D | acl1.c | 132 if (seteuid((uid_t) 601) == 0) { in test1() 136 seteuid((uid_t) 0); in test1() 151 if (seteuid((uid_t) 602) == 0) { in test2() 155 seteuid((uid_t) 0); in test2() 168 if (seteuid((uid_t) 603) == 0) { in test3() 172 seteuid((uid_t) 0); in test3() 185 if (seteuid((uid_t) 604) == 0) { in test4() 189 seteuid((uid_t) 0); in test4() 196 if (seteuid((uid_t) 605) == 0) { in test5() 200 seteuid((uid_t) 0); in test5() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 26-2.c | 82 if (seteuid(pw->pw_uid) != 0) { in main() 98 seteuid(getuid()); in main() 105 seteuid(getuid()); in main() 110 seteuid(getuid()); in main()
|
D | 32-1.c | 45 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|
D | 34-1.c | 45 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 9-1.c | 57 if (seteuid(pw->pw_uid) != 0) { in main() 72 seteuid(getuid()); in main() 77 seteuid(getuid()); in main()
|
D | 8-1.c | 71 if (seteuid(pw->pw_uid) != 0) { in main() 89 seteuid(getuid()); in main()
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall02.c | 196 if (seteuid(ltpuser->pw_uid) == -1) { in setup_test() 219 if (seteuid(ltpuser->pw_uid) == -1) { in setup_test() 238 seteuid(0); in cleanup_test()
|
D | mlockall03.c | 222 if (seteuid(ltpuser->pw_uid) == -1) { in setup_test() 252 if (seteuid(ltpuser->pw_uid) == -1) { in setup_test()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open05.c | 70 if (seteuid(nobody_uid) == -1) { in main() 92 if (seteuid(0) == -1) in main()
|
/external/ltp/testcases/kernel/syscalls/reboot/ |
D | reboot02.c | 124 if (seteuid(0) == -1) { in main() 169 if (seteuid(ltpuser->pw_uid) == -1) { in setup_test()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 203 if (seteuid(0) == -1) in setup_eperm() 210 if (seteuid(ltpuser->pw_uid) == -1) in setup_eperm() 285 if (seteuid(0) == -1) { in cleanup()
|
/external/ltp/testcases/kernel/syscalls/mq_unlink/ |
D | mq_unlink01.c | 87 if (tc->as_nobody && seteuid(pw->pw_uid)) { in do_test() 104 if (tc->as_nobody && seteuid(euid) == -1) in do_test()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 18-1.c | 52 if (seteuid(pw->pw_uid) != 0) { in set_nonroot() 134 seteuid(0); in main()
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename12.c | 127 if (seteuid(nobody_uid) == -1) { in main() 152 if (seteuid(0) == -1) { in main()
|
D | rename09.c | 162 if ((rval = seteuid(bin_uid)) == -1) { in main() 192 if (seteuid(0) == -1) { in main()
|
/external/mtools/ |
D | privileges.c | 99 seteuid(uid); in Setuid() 136 seteuid(ruid); /* for good measure... just in case we came in destroy_privs()
|
/external/openssh/ |
D | uidswap.c | 148 if (seteuid(pw->pw_uid) == -1) in temporarily_use_uid() 170 if (seteuid(saved_euid) == -1) in restore_uid() 267 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime03.c | 151 seteuid(user_uid); in main() 295 seteuid(0); in cleanup()
|
/external/autotest/client/site_tests/security_SessionManagerDbusEndpoints/ |
D | security_SessionManagerDbusEndpoints.py | 33 os.seteuid(user_info[2]) 40 os.seteuid(uid)
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | common_j_h.c | 91 rc = seteuid(pw->pw_uid); in setup_euid() 103 rc = seteuid(old_uid); in cleanup_euid()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
D | 7-1.c | 38 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 26-1.c | 38 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/kernel/syscalls/umount/ |
D | umount03.c | 52 if (seteuid(0)) in cleanup()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/ |
D | 15-1.c | 49 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
D | 15-1.c | 49 if (seteuid(pw->pw_uid) != 0) { in set_nonroot()
|