diff options
author | jamie <jamie@FreeBSD.org> | 2009-07-08 21:45:48 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-07-08 21:45:48 +0000 |
commit | 96daf5ca1b19a8e2527a847179681b3eb2b5bade (patch) | |
tree | dda3f0768dd6844ed0b943da6d20e5ba1a8f7c27 /sys/kern | |
parent | f2432e2bd7dc83fa0698eb5f1a946bb16fc8c1e7 (diff) | |
download | FreeBSD-src-96daf5ca1b19a8e2527a847179681b3eb2b5bade.zip FreeBSD-src-96daf5ca1b19a8e2527a847179681b3eb2b5bade.tar.gz |
Remove crcopy call from seteuid now that it calls crcopysafe.
Reviewed by: brooks
Approved by: re (kib), bz (mentor)
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_prot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 7625414..453d5f2 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -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); |