summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2009-07-08 21:45:48 +0000
committerJamie Gritton <jamie@FreeBSD.org>2009-07-08 21:45:48 +0000
commit9dce97d78877651f43f97fd1e12c44e8e90f97be (patch)
treedda3f0768dd6844ed0b943da6d20e5ba1a8f7c27 /sys/kern
parent51334c8257a7f5ad1323185d837a48c531c69fa3 (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_prot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 76254143e0fb..453d5f22f8a3 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);