mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
took out SAVED_UID garbage since it don't work
This commit is contained in:
parent
6cebcce048
commit
e52637f9a6
10
sudo.c
10
sudo.c
@ -336,15 +336,6 @@ void be_user()
|
||||
}
|
||||
}
|
||||
#else /* _AIX */
|
||||
# ifdef HAS_SAVED_UID
|
||||
void be_user()
|
||||
{
|
||||
if (setreuid(uid, uid)) {
|
||||
perror("setreuid(uid)");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
# else /* HAS_SAVED_UID */
|
||||
void be_user()
|
||||
{
|
||||
if (seteuid(uid)) {
|
||||
@ -352,7 +343,6 @@ void be_user()
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
# endif /* HAS_SAVED_UID */
|
||||
#endif /* _AIX */
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user