Searched refs:setuid (Results 1 - 25 of 137) sorted by relevance
123456
/external/compiler-rt/test/tsan/ |
H A D | setuid.c | 3 // setuid(0) hangs on powerpc64 big endian. When this is fixed remove 13 // SIGSETXID signal. Note that we don't care whether setuid call succeeds 26 setuid(0);
|
H A D | 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);
|
/external/ltp/testcases/kernel/security/smack/ |
H A D | smack_notroot.c | 23 setuid(1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
H A D | 3-1.c | 26 setuid(1);
|
H A D | 2-2.c | 58 setuid(1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
H A D | 5-1.c | 40 setuid(pwd->pw_uid);
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
H A D | shmget04.c | 119 if (setuid(ltpuser->pw_uid) == -1) { 120 tst_resm(TINFO, "setuid failed to " 122 perror("setuid");
|
H A D | shmget05.c | 87 if (setuid(ltp_uid) == -1) { 88 tst_resm(TBROK, "setuid() failed");
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
H A D | setuid01.c | 67 UID16_CHECK(uid, setuid, cleanup); 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",
|
H A D | 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) */ 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",
|
H A D | setuid03.c | 21 * Test to check the error and trivial conditions in setuid 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/ |
H A D | 6-1.c | 56 if (setuid(pw->pw_uid) != 0) { 61 perror("setuid failed");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
H A D | 20-1.c | 45 if (setuid(pw->pw_uid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
H A D | 12-1.c | 42 /* setuid will change uid, euid */ 43 if (setuid(pw->pw_uid) != 0) {
|
H A D | 3-1.c | 46 if (setuid(pw->pw_uid) != 0) {
|
/external/ltp/testcases/commands/cron/ |
H A D | 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/ |
H A D | 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/ |
H A D | msgctl05.c | 88 if (setuid(ltp_uid) == -1) { 89 tst_resm(TBROK, "setuid() failed");
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl02.c | 124 if (setuid(ltpuser->pw_uid) == -1) { 125 tst_resm(TINFO, "setuid failed to " 127 perror("setuid");
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
H A D | mkdir05.c | 119 if (setuid(ltpuser->pw_uid) == -1) { 120 tst_resm(TINFO, "setuid failed to " 122 perror("setuid");
|
/external/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid03.c | 95 if (setuid(ltpuser->pw_uid) == -1) 97 "setuid failed to set the effective uid to %d",
|
/external/ltp/testcases/kernel/syscalls/setfsuid/ |
H A D | setfsuid03.c | 95 if (setuid(ltpuser->pw_uid) == -1) 96 tst_resm(TINFO | TERRNO, "setuid failed to "
|
/external/ltp/testcases/kernel/syscalls/setgid/ |
H A D | setgid02.c | 98 if (setuid(ltpuser->pw_uid) == -1) { 99 tst_resm(TINFO, "setuid failed to " 101 perror("setuid");
|
/external/ltp/testcases/kernel/syscalls/statfs/ |
H A D | statfs03.c | 152 if (setuid(0) == -1) { 153 tst_resm(TINFO, "setuid(0) failed");
|
/external/ltp/testcases/kernel/syscalls/stime/ |
H A D | stime02.c | 144 if (setuid(ltpuser->pw_uid) == -1) { 145 tst_resm(TINFO, "setuid failed to " 147 perror("setuid");
|
Completed in 4649 milliseconds
123456