NetBSD/sys/arch/alpha
martin 6c3cc552c2 Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
..
alpha Calling _lwp_create() with a bogus ucontext could trigger a kernel 2012-05-21 14:15:16 +00:00
common Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
compile
conf P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
eisa Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
include - Normalize inclusion protection (remove) 2012-03-28 17:03:27 +00:00
isa Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
jensenio Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
mcbus Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
pci Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
sableio Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
stand Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
tc Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
tlsb Do a minor cleanup of alpha (this will make applying pullups post branching 2012-02-06 02:14:10 +00:00
Makefile Remove Avalon A12 support. 2011-06-17 03:55:56 +00:00
STYLE