Home
last modified time | relevance | path

Searched refs:seteuid (Results 1 – 24 of 24) sorted by relevance

/external/openssh/
Duidswap.c136 if (seteuid(pw->pw_uid) == -1) in temporarily_use_uid()
155 if (seteuid(uid) < 0) in permanently_drop_suid()
165 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_drop_suid()
193 if (seteuid(saved_euid) < 0) in restore_uid()
285 if (seteuid(pw->pw_uid) < 0) in permanently_set_uid()
309 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()
Dsshconnect.h63 if (seteuid(original_effective_uid) != 0) \
71 if (seteuid(original_real_uid) != 0) \
Ddefines.h663 int seteuid (uid_t);
Dconfig.h.in801 /* Define to 1 if you have the `seteuid' function. */
1359 /* Define if your platform breaks doing a seteuid before a setuid */
Dconfigure.ac453 [Define if your platform breaks doing a seteuid before a setuid])
1481 seteuid \
Dconfigure9039 seteuid \
/external/dropbear/
Dsvr-agentfwd.c154 (seteuid(ses.authstate.pw->pw_uid)) < 0) { in agentcleanup()
168 if ((seteuid(uid)) < 0 || in agentcleanup()
217 (seteuid(ses.authstate.pw->pw_uid)) < 0) { in bindagent()
259 if ((seteuid(uid)) < 0 || in bindagent()
Dagentfwd.h38 #define seteuid(a) setresuid(-1, (a), -1) macro
/external/libppp/src/
Did.c71 if (seteuid(uid) == -1) { in ID0setuser()
86 if (seteuid(euid) == -1) { in ID0set0()
/external/openssh/openbsd-compat/
Dbsd-misc.h43 int seteuid(uid_t);
Dbsd-misc.c80 int seteuid(uid_t euid) in seteuid() function
/external/ppp/pppd/plugins/
Dpassprompt.c57 seteuid(getuid()); in promptpass()
/external/tcpdump/lbl/
Dos-sunos4.h145 int seteuid(int);
/external/libpcap/lbl/
Dos-sunos4.h145 int seteuid(int);
/external/oprofile/opjitconv/
Dopjitconv.c380 if (seteuid(pw_oprofile->pw_uid) != 0) { in process_jit_dumpfile()
388 if (seteuid(getuid()) != 0) { in process_jit_dumpfile()
/external/ppp/pppd/
Doptions.c403 seteuid(getuid());
407 seteuid(0);
1515 seteuid(getuid());
1521 seteuid(0);
Dtty.c567 seteuid(uid); in connect_tty()
571 seteuid(0); in connect_tty()
Dauth.c421 seteuid(getuid());
423 seteuid(0);
/external/valgrind/main/coregrind/m_syswrap/
Dpriv_syswrap-darwin.h242 DECL_TEMPLATE(darwin, seteuid); // 183
Dsyswrap-darwin.c1683 PRE(seteuid) in PRE() argument
8013 MACX_(__NR_seteuid, seteuid),
/external/ipsec-tools/src/racoon/
Dprivsep.c236 if (seteuid(lcconf->uid) != 0) { in privsep_init()
/external/mksh/src/
Dsh.h321 extern int __cdecl seteuid(uid_t);
Dmisc.c252 seteuid(ksheuid = kshuid = getuid()); in change_flag()
/external/ping6/
Dping6.c709 seteuid(getuid()); in main()