diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-01 19:53:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-01 19:53:20 +0000 |
commit | 661359573c5f673aeeab727dbe5289b78d2637af (patch) | |
tree | 86023451cf6291ddec64329d4a9e9f33825d1b05 /sys/arch/mvme88k | |
parent | 813369fe94018e37f3c81e17201f31d20aa7ea82 (diff) |
Nuke uvm_useracc() call here too.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 4 |
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); |