Rework fork-exit regress to work with any pagesize not only 4k.
authorclaudio <claudio@openbsd.org>
Wed, 7 Aug 2024 18:25:39 +0000 (18:25 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 7 Aug 2024 18:25:39 +0000 (18:25 +0000)
commit881e535e63ea900b2d4c44780d1203771ce283dc
tree3c245032c41fc2b54299b66c0d33e107f1980f55
parent3072e24c09f80c0fb7948f70a73647c9e6328961
Rework fork-exit regress to work with any pagesize not only 4k.
Also mmap PROT_READ|PROT_WRITE instead of write only.
Add a bit more extra space for the stack allocations.
With all of this this test no longer fails on sparc64
OK deraadt@ bluhm@
regress/sys/kern/fork-exit/Makefile
regress/sys/kern/fork-exit/fork-exit.c