Remove crcopy call from seteuid now that it calls crcopysafe.
Reviewed by: brooks Approved by: re (kib), bz (mentor)
This commit is contained in:
parent
51334c8257
commit
9dce97d788
@ -623,7 +623,6 @@ seteuid(struct thread *td, struct seteuid_args *uap)
|
||||
/*
|
||||
* Everything's okay, do it.
|
||||
*/
|
||||
crcopy(newcred, oldcred);
|
||||
if (oldcred->cr_uid != euid) {
|
||||
change_euid(newcred, euip);
|
||||
setsugid(p);
|
||||
|
Loading…
Reference in New Issue
Block a user