summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-08-01 19:53:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-08-01 19:53:20 +0000
commit661359573c5f673aeeab727dbe5289b78d2637af (patch)
tree86023451cf6291ddec64329d4a9e9f33825d1b05 /sys/arch/mvme88k
parent813369fe94018e37f3c81e17201f31d20aa7ea82 (diff)
Nuke uvm_useracc() call here too.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index 1bf6203f03b..c4befceb41c 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.102 2003/08/01 07:47:58 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.103 2003/08/01 19:53:19 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1045,7 +1045,7 @@ register_t *retval;
if (sigdebug & SDB_FOLLOW)
printf("sigreturn: pid %d, scp %x\n", p->p_pid, scp);
#endif
- if ((int)scp & 3 || uvm_useracc((caddr_t)scp, sizeof *scp, B_WRITE) == 0 ||
+ if ((int)scp & 3 ||
copyin((caddr_t)scp, (caddr_t)&ksc, sizeof(struct sigcontext)))
return (EINVAL);