Searched defs:euid (Results 1 - 16 of 16) sorted by relevance

/external/openssh/openbsd-compat/
H A Dbsd-getpeereid.c28 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 Dbsd-misc.c80 int seteuid(uid_t euid) argument
82 return (setreuid(-1, euid));
/external/chromium/chrome/browser/
H A Dprocess_info_snapshot.h52 uid_t euid; member in struct:ProcessInfoSnapshot::ProcInfoEntry
65 euid(0),
H A Dprocess_info_snapshot_mac_unittest.cc35 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 Dcaptest.c57 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 Dpscap.c69 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 Dnetcap.c63 int fd, len, euid = -1; local
114 euid = 0;
126 &id, &euid);
196 node.uid = euid;
/external/dbus/bus/
H A Dactivation-helper.c187 uid_t uid, euid; local
192 euid = 0;
212 euid = geteuid();
213 if (euid != 0)
/external/e2fsprogs/misc/
H A Duuidd.c64 uid_t euid; local
83 euid = geteuid();
84 if (setreuid(euid, euid) < 0)
/external/libppp/src/
H A Did.c59 static int euid; variable
65 euid = geteuid();
86 if (seteuid(euid) == -1) {
/external/openssh/
H A Dssh-agent.c1002 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 Dchannels.c1895 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 Ddbus-sysdeps-unix.c1713 uid_t euid; local
1715 if (getpeereid (client_fd, &euid, &egid) == 0)
1717 uid_read = euid;
/external/strace/
H A Dstrace.c260 int euid = geteuid(), uid = getuid(); local
262 if (euid != uid && setreuid(euid, uid) < 0)
/external/kernel-headers/original/linux/
H A Dfs.h646 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 Dsched.h857 uid_t uid,euid,suid,fsuid; member in struct:task_struct

Completed in 388 milliseconds