/system/extras/tests/bionic/libc/common/ |
test_seteuid.c | 34 uid_t ruid, euid; local 39 euid = geteuid(); 40 printf("Start: ruid=%d euid=%d\n", ruid, euid); 46 euid = geteuid(); 47 printf("After set: ruid=%d euid=%d\n", ruid, euid); 53 euid = geteuid(); 54 printf("After restore: ruid=%d euid=%d\n", ruid, euid); [all...] |
/external/chromium/chrome/browser/ |
process_info_snapshot.h | 52 uid_t euid; member in struct:ProcessInfoSnapshot::ProcInfoEntry 65 euid(0),
|
process_info_snapshot_mac_unittest.cc | 35 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); 62 uid_t euid = geteuid(); local 77 EXPECT_EQ(euid, proc_info.euid); 90 EXPECT_EQ(euid, proc_info.euid); // under reasonable circumstances. 130 EXPECT_EQ(proc_info.euid, 0u);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
captest.c | 57 uid_t uid, euid, suid; local 67 getresuid(&uid, &euid, &suid); 70 if ((uid != euid && uid != 0) || 75 getresuid(&uid, &euid, &suid); 86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid); 90 if (uid != euid || gid != egid)
|
pscap.c | 69 int pid, ppid, uid = -1, euid = -1; local 128 euid = 0; 142 &id, &euid); 157 if (euid == 0) { 161 } else if (euid != uid) { 163 p = getpwuid(euid); 164 uid = euid;
|
netcap.c | 63 int fd, len, euid = -1; local 114 euid = 0; 126 &id, &euid); 196 node.uid = euid;
|
/external/libppp/src/ |
id.c | 59 static int euid; variable 65 euid = geteuid(); 86 if (seteuid(euid) == -1) {
|
/system/core/include/cutils/ |
logger.h | 42 uint32_t euid; /* effective UID of logger */ member in struct:logger_entry_v2
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
cn_proc.h | 87 __u32 euid; member in union:proc_event::__anon26315::id_proc_event::__anon26318
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cn_proc.h | 87 __u32 euid; member in union:proc_event::__anon27906::id_proc_event::__anon27909
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cn_proc.h | 87 __u32 euid; member in union:proc_event::__anon29420::id_proc_event::__anon29423
|
/external/e2fsprogs/misc/ |
uuidd.c | 64 uid_t euid; local 83 euid = geteuid(); 84 if (setreuid(euid, euid) < 0)
|
/external/openssh/ |
ssh-agent.c | 1002 uid_t euid; local 1019 if (getpeereid(sock, &euid, &egid) < 0) { 1025 if ((euid != 0) && (getuid() != euid)) { 1027 "peer euid %u != uid %u", 1028 (u_int) euid, (u_int) getuid()); [all...] |
channels.c | 1895 uid_t euid; local [all...] |
/external/strace/ |
strace.c | 257 int euid = geteuid(), uid = getuid(); local 259 if (euid != uid && setreuid(euid, uid) < 0) [all...] |
/system/security/keystore/ |
keystore.cpp | 146 uid_t euid; member in struct:user_euid 208 return user.euid; 222 if (user.euid == callingUid && user.uid == targetUid) { 1088 uid_t euid = get_keystore_euid(uid); local [all...] |
/external/kernel-headers/original/linux/ |
sched.h | 857 uid_t uid,euid,suid,fsuid; member in struct:task_struct [all...] |
fs.h | 904 rwlock_t lock; /* protects pid, uid, euid fields */ 907 uid_t uid, euid; /* uid/euid of process setting the owner */ member in struct:fown_struct [all...] |