The NetBSD Project

CVS log for src/tests/lib/libc/sys/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / tests / lib / libc / sys

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: yamt-pagecache-base5


Revision 1.23 / (download) - annotate - [select for diffs], Mon May 21 14:15:19 2012 UTC (11 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>