/bionic/libc/arch-arm/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 16 END(setuid)
|
/bionic/libc/arch-arm64/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 14 END(setuid)
|
/bionic/libc/arch-mips/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 19 END(setuid)
|
/bionic/libc/arch-x86_64/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 15 END(setuid)
|
/external/compiler-rt/test/tsan/ |
setuid.c | 3 // setuid(0) hangs on powerpc64 big endian. When this is fixed remove 12 // Setuid call used to hang because the background tsan thread did not handle 13 // SIGSETXID signal. Note that we don't care whether setuid call succeeds 26 setuid(0);
|
setuid2.c | 3 // setuid(0) hangs on powerpc64 big endian. When this is fixed remove 13 // Test that setuid call works in presence of stoptheworld. 21 setuid(0);
|
/bionic/libc/arch-mips64/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 25 END(setuid)
|
/bionic/libc/arch-x86/syscalls/ |
setuid.S | 5 ENTRY(setuid) function 29 END(setuid)
|
/external/ltp/testcases/kernel/security/smack/ |
smack_notroot.c | 23 setuid(1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
3-1.c | 26 setuid(1);
|
2-2.c | 58 setuid(1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
5-1.c | 40 setuid(pwd->pw_uid);
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
shmget04.c | 119 if (setuid(ltpuser->pw_uid) == -1) { 120 tst_resm(TINFO, "setuid failed to " 122 perror("setuid");
|
shmget05.c | 87 if (setuid(ltp_uid) == -1) { 88 tst_resm(TBROK, "setuid() failed");
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
setuid01.c | 67 UID16_CHECK(uid, setuid, cleanup); 69 TEST(SETUID(cleanup, uid)); 73 "setuid - Set the effective user ID to the current real uid failed, errno=%d : %s", 77 "setuid - Set the effective user ID to the current real uid returned %ld",
|
setuid02.c | 42 * TEST TITLE : Basic test for setuid(2) as root 62 * 1.) setuid(2) returns...(See Description) 90 * This is a Phase I test for the setuid(2) system call. It is intended 93 * setuid(2). 146 UID16_CHECK(uid, setuid, cleanup); 156 /* Call setuid(2) */ 157 TEST(SETUID(cleanup, uid)); 162 "setuid - Set the effective user ID to the current real uid failed, errno=%d : %s", 166 "setuid - Set the effective user ID to the current real uid returned %ld",
|
setuid03.c | 21 * Test to check the error and trivial conditions in setuid 55 TEST(SETUID(cleanup, ROOT_USER)); 63 tst_resm(TPASS, "setuid returned errno EPERM"); 65 tst_resm(TFAIL, "setuid returned unexpected errno - %d", 84 if (setuid(ltpuser->pw_uid) == -1) { 85 tst_resm(TINFO, "setuid failed to " 87 perror("setuid");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
6-1.c | 56 if (setuid(pw->pw_uid) != 0) { 61 perror("setuid failed");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
20-1.c | 45 if (setuid(pw->pw_uid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
12-1.c | 42 /* setuid will change uid, euid */ 43 if (setuid(pw->pw_uid) != 0) {
|
3-1.c | 46 if (setuid(pw->pw_uid) != 0) {
|
/external/ltp/testcases/commands/cron/ |
cron_neg_tests.sh | 83 # Test whether cron uses setuid correctly 86 echo setuid test 114 echo "setuid test part 1 successfully failed (PASS)" 123 echo "setuid test part 2 successfully failed (PASS)"
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
chmod04.c | 166 if (setuid(ltpuser->pw_uid) == -1) 167 tst_resm(TINFO | TERRNO, "setuid(%u) failed", ltpuser->pw_uid);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl05.c | 88 if (setuid(ltp_uid) == -1) { 89 tst_resm(TBROK, "setuid() failed");
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl02.c | 124 if (setuid(ltpuser->pw_uid) == -1) { 125 tst_resm(TINFO, "setuid failed to " 127 perror("setuid");
|