sysctl(2) is now sysctl(3), in particular it does not access name[0] in
authorderaadt <deraadt@openbsd.org>
Thu, 6 Jul 2023 07:47:04 +0000 (07:47 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 6 Jul 2023 07:47:04 +0000 (07:47 +0000)
commitfda352e4945b8124a7df5680bbf6d86fec17b54a
tree0b45171283feeebd0e6d2e6d8333914f05134586
parent4f1b6f3a7f428ec6cf4b624e9334409d63a778f7
sysctl(2) is now sysctl(3), in particular it does not access name[0] in
userland.  This test should have been written with a signal handler to
be accurate..  Anyways, stop using syscall() to work around that
ok kettenis
regress/sys/copy/copy.c