Remove crcopy call from seteuid now that it calls crcopysafe.

Reviewed by:	brooks
Approved by:	re (kib), bz (mentor)
This commit is contained in:
Jamie Gritton 2009-07-08 21:45:48 +00:00
parent 51334c8257
commit 9dce97d788

View File

@ -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);