/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/chromium_org/chrome/browser/ |
process_info_snapshot.h | 52 uid_t euid; member in struct:ProcessInfoSnapshot::ProcInfoEntry
|
process_info_snapshot_mac_unittest.cc | 37 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); 64 uid_t euid = geteuid(); local 79 EXPECT_EQ(euid, proc_info.euid); 92 EXPECT_EQ(euid, proc_info.euid); // under reasonable circumstances. 134 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/log/ |
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::__anon40173::id_proc_event::__anon40176
|
/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::__anon41764::id_proc_event::__anon41767
|
/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::__anon43278::id_proc_event::__anon43281
|
/external/chromium_org/sandbox/linux/services/ |
credentials.cc | 90 uid_t ruid, euid, suid; local 92 PCHECK(getresuid(&ruid, &euid, &suid) == 0); 94 const bool uids_are_equal = (ruid == euid) && (ruid == suid); 97 if (resuid) *resuid = euid;
|
/external/chromium_org/sandbox/linux/suid/ |
sandbox.c | 331 uid_t ruid, euid, suid; local 332 if (getresuid(&ruid, &euid, &suid)) {
|
/external/e2fsprogs/misc/ |
uuidd.c | 64 uid_t euid; local 83 euid = geteuid(); 84 if (setreuid(euid, euid) < 0)
|
/external/iputils/ninfod/ |
ninfod.c | 503 static uid_t euid; variable 548 euid = geteuid();
|
/external/iputils/ |
arping.c | 99 static uid_t euid; variable 201 euid = geteuid(); 228 if (setuid(on ? euid : getuid())) {
|
ping_common.c | 62 uid_t euid; variable 129 euid = geteuid(); 175 if (seteuid(on ? euid : getuid())) {
|
/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 | 157 uid_t euid; member in struct:user_euid 219 return user.euid; 233 if (user.euid == callingUid && user.uid == targetUid) { 1136 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 | 943 rwlock_t lock; /* protects pid, uid, euid fields */ 946 uid_t uid, euid; /* uid/euid of process setting the owner */ member in struct:fown_struct [all...] |