/external/ltp/testcases/network/nfsv4/acl/ |
D | acl1.c | 133 if (seteuid((uid_t) 601) == 0) { in test1() 137 seteuid((uid_t) 0); in test1() 152 if (seteuid((uid_t) 602) == 0) { in test2() 156 seteuid((uid_t) 0); in test2() 169 if (seteuid((uid_t) 603) == 0) { in test3() 173 seteuid((uid_t) 0); in test3() 186 if (seteuid((uid_t) 604) == 0) { in test4() 190 seteuid((uid_t) 0); in test4() 197 if (seteuid((uid_t) 605) == 0) { in test5() 201 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()
|
/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/openssh/ |
D | uidswap.c | 139 if (seteuid(pw->pw_uid) == -1) in temporarily_use_uid() 164 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_drop_suid() 192 if (seteuid(saved_euid) < 0) in restore_uid() 287 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()
|
D | sshconnect.h | 65 if (seteuid(original_effective_uid) != 0) \ 73 if (seteuid(original_real_uid) != 0) \
|
/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/setdomainname/ |
D | setdomainname03.c | 149 if (seteuid(ltpuser->pw_uid) == -1) { in setup() 172 if (seteuid(0) == -1) { in cleanup()
|
/external/ltp/testcases/kernel/syscalls/sethostname/ |
D | sethostname03.c | 142 if (seteuid(ltpuser->pw_uid) == -1) { in setup() 167 if (seteuid(0) == -1) { in cleanup()
|
/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/mq_unlink/ |
D | mq_unlink01.c | 100 if (tc->as_nobody && seteuid(pw->pw_uid)) { in do_test() 117 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/bind/ |
D | bind02.c | 84 if ((rc = seteuid(uid)) == -1) { in try_bind() 113 if ((rc = seteuid(uid)) == -1) { in try_bind()
|
/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/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 | 65 if (seteuid(0)) in cleanup()
|