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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to