Run noexec tests in a new thread, leveraging the fact that
authoranton <anton@openbsd.org>
Tue, 11 Oct 2022 05:45:41 +0000 (05:45 +0000)
committeranton <anton@openbsd.org>
Tue, 11 Oct 2022 05:45:41 +0000 (05:45 +0000)
commit5bc1bf864597e50a76d0081e4b8e3d47da005a26
treeabb255aa23e73d946f690845ae8cb747c5c85c93
parentdcc5d0ad5bb764a69eafc9871c2e82c6bebfd2f9
Run noexec tests in a new thread, leveraging the fact that
pthread_create() allocates a new stack which has mutable permissions.
Allows the temporary expected failures to be dropped.

ok deraadt@
regress/sys/kern/noexec/Makefile
regress/sys/kern/noexec/noexec.c