Subject: CVS commit: syssrc/sys/arch/vax/vax
To: None <source-changes@netbsd.org>
From: Anders Magnusson <ragge@netbsd.org>
List: source-changes
Date: 11/14/2002 22:30:41
Module Name: syssrc
Committed By: ragge
Date: Thu Nov 14 20:30:41 UTC 2002
Modified Files:
syssrc/sys/arch/vax/vax: machdep.c
Log Message:
Fix for a problem where an user can crash the machine via sigreturn(),
noticed by and fix from Miod Vallat <miod@openbsd.org>.
Miod's OpenBSD log message:
> Don't uvm_useracc the user sigcontext in sys_sigreturn and then access
> the user addresses directly from the kernel. copyin is faster and can
> correctly deal properly with mappings that uvm_useracc thinks are
> correct but will fault anyway (to figure out how to generate such
> mappings is left as en excercise for the reader).
>
> Blatantly stolen from art@'s similar fix to sparc.
To generate a diff of this commit:
cvs rdiff -r1.129 -r1.130 syssrc/sys/arch/vax/vax/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.