svn commit: r195477 - head/sys/kern
Jamie Gritton
jamie at FreeBSD.org
Wed Jul 8 21:45:48 UTC 2009
Author: jamie
Date: Wed Jul 8 21:45:48 2009
New Revision: 195477
URL: http://svn.freebsd.org/changeset/base/195477
Log:
Remove crcopy call from seteuid now that it calls crcopysafe.
Reviewed by: brooks
Approved by: re (kib), bz (mentor)
Modified:
head/sys/kern/kern_prot.c
Modified: head/sys/kern/kern_prot.c
==============================================================================
--- head/sys/kern/kern_prot.c Wed Jul 8 18:37:05 2009 (r195476)
+++ head/sys/kern/kern_prot.c Wed Jul 8 21:45:48 2009 (r195477)
@@ -623,7 +623,6 @@ seteuid(struct thread *td, struct seteui
/*
* Everything's okay, do it.
*/
- crcopy(newcred, oldcred);
if (oldcred->cr_uid != euid) {
change_euid(newcred, euip);
setsugid(p);
More information about the svn-src-head
mailing list