Searched refs:seteuid (Results 1 – 24 of 24) sorted by relevance
136 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()
63 if (seteuid(original_effective_uid) != 0) \71 if (seteuid(original_real_uid) != 0) \
663 int seteuid (uid_t);
801 /* Define to 1 if you have the `seteuid' function. */1359 /* Define if your platform breaks doing a seteuid before a setuid */
453 [Define if your platform breaks doing a seteuid before a setuid])1481 seteuid \
9039 seteuid \
154 (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()
38 #define seteuid(a) setresuid(-1, (a), -1) macro
71 if (seteuid(uid) == -1) { in ID0setuser()86 if (seteuid(euid) == -1) { in ID0set0()
43 int seteuid(uid_t);
80 int seteuid(uid_t euid) in seteuid() function
57 seteuid(getuid()); in promptpass()
145 int seteuid(int);
380 if (seteuid(pw_oprofile->pw_uid) != 0) { in process_jit_dumpfile()388 if (seteuid(getuid()) != 0) { in process_jit_dumpfile()
403 seteuid(getuid());407 seteuid(0);1515 seteuid(getuid());1521 seteuid(0);
567 seteuid(uid); in connect_tty()571 seteuid(0); in connect_tty()
421 seteuid(getuid());423 seteuid(0);
242 DECL_TEMPLATE(darwin, seteuid); // 183
1683 PRE(seteuid) in PRE() argument8013 MACX_(__NR_seteuid, seteuid),
236 if (seteuid(lcconf->uid) != 0) { in privsep_init()
321 extern int __cdecl seteuid(uid_t);
252 seteuid(ksheuid = kshuid = getuid()); in change_flag()
709 seteuid(getuid()); in main()