On amd64, test whether PKU has been enabled and set our expectation
authorguenther <guenther@openbsd.org>
Mon, 26 Jun 2023 19:03:03 +0000 (19:03 +0000)
committerguenther <guenther@openbsd.org>
Mon, 26 Jun 2023 19:03:03 +0000 (19:03 +0000)
commitff512342186fed5e9a2c01b55f00458c298093e0
tree30432d477278b2665dbad4e1e2b8efa86ef1f322
parent7363246124a53e58a95a67b638d3dba1f4e12abc
On amd64, test whether PKU has been enabled and set our expectation
of the results based on that.  Also, the system now enforces
unreadability in copyin() of ld.so, libc, and application text,
even when PKU isn't enabled, so adjust those results to match.

ok deraadt@ anton@
regress/sys/kern/xonly/xonly.c