Home
last modified time | relevance | path

Searched refs:euid (Results 1 – 19 of 19) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-getpeereid.c28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
35 *euid = cred.uid; in getpeereid()
47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
53 if ((*euid = ucred_geteuid(ucred)) == -1) in getpeereid()
64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() argument
66 *euid = geteuid(); in getpeereid()
Dbsd-misc.c80 int seteuid(uid_t euid) in seteuid() argument
82 return (setreuid(-1, euid)); in seteuid()
/external/libcap-ng/libcap-ng-0.7/utils/
Dpscap.c69 int pid, ppid, uid = -1, euid = -1; in main() local
128 euid = 0; in main()
142 &id, &euid); in main()
157 if (euid == 0) { in main()
161 } else if (euid != uid) { in main()
163 p = getpwuid(euid); in main()
164 uid = euid; in main()
Dcaptest.c57 uid_t uid, euid, suid; in report() local
67 getresuid(&uid, &euid, &suid); in report()
70 if ((uid != euid && uid != 0) || in report()
75 getresuid(&uid, &euid, &suid); in report()
86 printf("User credentials uid:%d euid:%d suid:%d\n", uid, euid, suid); in report()
90 if (uid != euid || gid != egid) in report()
Dnetcap.c63 int fd, len, euid = -1; in collect_process_info() local
114 euid = 0; in collect_process_info()
126 &id, &euid); in collect_process_info()
196 node.uid = euid; in collect_process_info()
/external/chromium/chrome/browser/
Dprocess_info_snapshot_mac_unittest.cc35 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); in TEST_F()
62 uid_t euid = geteuid(); in TEST_F() local
77 EXPECT_EQ(euid, proc_info.euid); in TEST_F()
90 EXPECT_EQ(euid, proc_info.euid); // under reasonable circumstances. in TEST_F()
130 EXPECT_EQ(proc_info.euid, 0u); in TEST_F()
Dprocess_info_snapshot.h52 uid_t euid; member
65 euid(0), in ProcInfoEntry()
Dprocess_info_snapshot_mac.cc369 proc_info.euid = kinfo.kp_eproc.e_ucred.cr_uid; in Sample()
/external/libppp/src/
Did.c59 static int euid; variable
65 euid = geteuid(); in ID0init()
86 if (seteuid(euid) == -1) { in ID0set0()
/external/e2fsprogs/misc/
Duuidd.c64 uid_t euid; in create_daemon() local
83 euid = geteuid(); in create_daemon()
84 if (setreuid(euid, euid) < 0) in create_daemon()
/external/openssh/
Dssh-agent.c1002 uid_t euid; in after_select() local
1019 if (getpeereid(sock, &euid, &egid) < 0) { in after_select()
1025 if ((euid != 0) && (getuid() != euid)) { in after_select()
1028 (u_int) euid, (u_int) getuid()); in after_select()
Dchannels.c1895 uid_t euid; local
1914 if (getpeereid(newsock, &euid, &egid) < 0) {
1920 if ((euid != 0) && (getuid() != euid)) {
1922 (u_int)euid, (u_int)getuid());
/external/libcap-ng/libcap-ng-0.7/
DChangeLog10 - In netcap and pscap, ensure euid is initialized
/external/strace/
Dstrace.c257 int euid = geteuid(), uid = getuid(); in swap_uid() local
259 if (euid != uid && setreuid(euid, uid) < 0) in swap_uid()
/external/valgrind/main/memcheck/tests/x86-linux/
Dscalar.stderr.exp728 Syscall param setreuid16(euid) contains uninitialised byte(s)
1942 Syscall param setresuid16(euid) contains uninitialised byte(s)
1957 Syscall param getresuid16(euid) contains uninitialised byte(s)
1970 Syscall param getresuid16(euid) points to unaddressable byte(s)
2642 Syscall param setreuid(euid) contains uninitialised byte(s)
2711 Syscall param setresuid(euid) contains uninitialised byte(s)
2726 Syscall param getresuid(euid) contains uninitialised byte(s)
2739 Syscall param getresuid(euid) points to unaddressable byte(s)
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c575 vki_old_uid_t, ruid, vki_old_uid_t, euid, vki_old_uid_t, suid); in PRE()
582 vki_uid_t, ruid, vki_uid_t, euid, vki_uid_t, suid); in PRE()
589 vki_old_uid_t *, ruid, vki_old_uid_t *, euid, in PRE()
609 vki_uid_t *, ruid, vki_uid_t *, euid, vki_uid_t *, suid); in PRE()
2279 PRE_REG_READ2(long, "setreuid16", vki_old_uid_t, ruid, vki_old_uid_t, euid); in PRE()
Dsyswrap-generic.c3903 PRE_REG_READ2(long, "setreuid", vki_uid_t, ruid, vki_uid_t, euid); in PRE()
/external/kernel-headers/original/linux/
Dsched.h857 uid_t uid,euid,suid,fsuid; member
Dfs.h907 uid_t uid, euid; /* uid/euid of process setting the owner */ member