/external/openssh/openbsd-compat/ |
H A D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) argument 35 *euid = cred.uid; 47 getpeereid(int s, uid_t *euid, gid_t *gid) argument 53 if ((*euid = ucred_geteuid(ucred)) == -1) 64 getpeereid(int s, uid_t *euid, gid_t *gid) argument 66 *euid = geteuid();
|
H A D | bsd-misc.c | 80 int seteuid(uid_t euid) argument 82 return (setreuid(-1, euid));
|
/external/chromium/chrome/browser/ |
H A D | process_info_snapshot.h | 52 uid_t euid; member in struct:ProcessInfoSnapshot::ProcInfoEntry 65 euid(0),
|
H A D | 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/ |
H A D | 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)
|
H A D | 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;
|
H A D | netcap.c | 63 int fd, len, euid = -1; local 114 euid = 0; 126 &id, &euid); 196 node.uid = euid;
|
/external/dbus/bus/ |
H A D | activation-helper.c | 187 uid_t uid, euid; local 192 euid = 0; 212 euid = geteuid(); 213 if (euid != 0)
|
/external/e2fsprogs/misc/ |
H A D | uuidd.c | 64 uid_t euid; local 83 euid = geteuid(); 84 if (setreuid(euid, euid) < 0)
|
/external/libppp/src/ |
H A D | id.c | 59 static int euid; variable 65 euid = geteuid(); 86 if (seteuid(euid) == -1) {
|
/external/openssh/ |
H A D | 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());
|
H A D | channels.c | 1895 uid_t euid; local 1914 if (getpeereid(newsock, &euid, &egid) < 0) { 1920 if ((euid != 0) && (getuid() != euid)) { 1921 error("multiplex uid mismatch: peer euid %u != uid %u", 1922 (u_int)euid, (u_int)getuid());
|
/external/dbus/dbus/ |
H A D | dbus-sysdeps-unix.c | 1713 uid_t euid; local 1715 if (getpeereid (client_fd, &euid, &egid) == 0) 1717 uid_read = euid;
|
/external/strace/ |
H A D | strace.c | 260 int euid = geteuid(), uid = getuid(); local 262 if (euid != uid && setreuid(euid, uid) < 0)
|
/external/kernel-headers/original/linux/ |
H A D | fs.h | 646 rwlock_t lock; /* protects pid, uid, euid fields */ 648 uid_t uid, euid; /* uid/euid of process setting the owner */ member in struct:fown_struct
|
H A D | sched.h | 857 uid_t uid,euid,suid,fsuid; member in struct:task_struct
|