diff options
| author | ragge <ragge@NetBSD.org> | 2002-11-14 20:30:40 +0000 |
|---|---|---|
| committer | ragge <ragge@NetBSD.org> | 2002-11-14 20:30:40 +0000 |
| commit | adca0d86b218c0844ae8d82bc13d7bd877bb286e (patch) | |
| tree | 611b892068be77f746ce1b216c4c01b718e4ae0b /libexec | |
| parent | 6c24ccfd1fb3e08d2941c969468e88353d4f5c80 (diff) | |
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.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions
