/bionic/libc/arch-arm/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 16 END(getuid)
|
/bionic/libc/arch-arm64/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 14 END(getuid)
|
/bionic/libc/arch-mips/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 19 END(getuid)
|
/bionic/libc/arch-x86_64/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 15 END(getuid)
|
/external/e2fsprogs/include/mingw/ |
unistd.h | 6 __inline __uid_t getuid(void){return 0;} function
|
/bionic/libc/arch-x86/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 24 END(getuid)
|
/external/openssh/ |
sftp-server-main.c | 46 if ((user_pw = getpwuid(getuid())) == NULL) { 48 (u_long)getuid());
|
platform.c | 89 return (getuid() == 0 || geteuid() == 0); 111 if (!options.use_pam && (getuid() == 0 || geteuid() == 0)) 116 if (getuid() == 0 || geteuid() == 0) 125 if (getuid() == 0 || geteuid() == 0) { 133 if (getuid() == 0 || geteuid() == 0) {
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
ReadMultiViewTest.java | 54 assertEquals(Os.getuid(), Os.stat(ourCache.getAbsolutePath()).st_uid); 55 assertEquals(Os.getuid(), Os.stat(ourTestDir.getAbsolutePath()).st_uid); 56 assertEquals(Os.getuid(), Os.stat(testFile.getAbsolutePath()).st_uid); 70 assertNotEqual(Os.getuid(), Os.stat(testFile.getAbsolutePath()).st_uid); 71 assertNotEqual(Os.getuid(), Os.stat(otherCache.getAbsolutePath()).st_uid); 72 assertNotEqual(Os.getuid(), Os.stat(otherTestDir.getAbsolutePath()).st_uid);
|
/bionic/libc/arch-mips64/syscalls/ |
getuid.S | 5 ENTRY(getuid) function 25 END(getuid)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
5-1.c | 33 if (getuid() == 0) { 44 if (getuid() == 0) {
|
/bionic/tests/ |
sys_quota_test.cpp | 25 quotactl(QCMD(Q_GETQUOTA, USRQUOTA), "/", getuid(), reinterpret_cast<char*>(¤t));
|
/external/e2fsprogs/include/nonunix/ |
pwd.h | 5 __inline __uid_t getuid(void){return 0;} function
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount03_setuid_test.c | 59 ruid = getuid();
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
setuid01.c | 35 uid = getuid();
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
WriteMultiViewTest.java | 50 assertEquals(Os.getuid(), Os.stat(ourCache.getAbsolutePath()).st_uid); 51 assertEquals(Os.getuid(), Os.stat(ourTestDir.getAbsolutePath()).st_uid); 52 assertEquals(Os.getuid(), Os.stat(afterFile.getAbsolutePath()).st_uid); 72 assertNotEqual(Os.getuid(), Os.stat(otherCache.getAbsolutePath()).st_uid); 73 assertNotEqual(Os.getuid(), Os.stat(otherTestDir.getAbsolutePath()).st_uid); 74 assertNotEqual(Os.getuid(), Os.stat(afterFile.getAbsolutePath()).st_uid);
|
/external/ipsec-tools/src/racoon/ |
safefile.c | 56 if (getuid() != geteuid()) { 66 me = getuid();
|
/external/ltp/testcases/kernel/syscalls/getuid/ |
getuid03.c | 21 * Testcase to check the basic functionality of the getuid() system call. 53 TEST(GETUID(cleanup)); 56 tst_brkm(TBROK | TTERRNO, cleanup, "getuid failed"); 58 uid = getuid(); 64 UID16_CHECK(pwent->pw_uid, getuid, cleanup); 68 "does not match getuid " 72 tst_resm(TPASS, "values from getuid "
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
20-1.c | 55 pw->pw_name, (int)geteuid(), (int)getuid()); 67 if (getuid() == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
12-1.c | 53 pw->pw_name, (int)geteuid(), (int)getuid()); 66 if (getuid() == 0) {
|
3-1.c | 56 pw->pw_name, (int)getuid(), (int)geteuid()); 69 if (getuid() == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
26-2.c | 73 if (strcmp(pw->pw_name, "root") && pw->pw_uid != getuid()) 98 seteuid(getuid()); 105 seteuid(getuid()); 110 seteuid(getuid());
|
/external/strace/tests/ |
rt_sigqueueinfo.c | 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|
/external/strace/tests-m32/ |
rt_sigqueueinfo.c | 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|
/external/strace/tests-mx32/ |
rt_sigqueueinfo.c | 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|