NetBSD/sys/arch/m68k
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
..
060sp
conf - add m68k/conf/std.m68k, which includes common standard options for m68k, 2010-09-19 02:09:27 +00:00
fpe - remove variable names from function declarations 2011-10-15 15:34:06 +00:00
fpsp Spell "exception" properly. 2010-02-27 22:12:31 +00:00
include - Normalize inclusion protection (remove) 2012-03-28 17:03:27 +00:00
m68k Calling _lwp_create() with a bogus ucontext could trigger a kernel 2012-05-21 14:15:16 +00:00
Makefile
Makefile.cmachflags look for the m680[2346]0 options in the opt_m68k_arch.h and set them 2010-07-12 02:45:31 +00:00
Makefile.inc