Looks like this may break some JIT's? Or is the workaround to have the JIT'ed code call libc instead of making direct syscalls?
https://marc.info/?l=openbsd-cvs&m=155942895309114&w=2
This means it's forced to use the libc stubs for syscalls. Any direct syscall from a JIT is suspect.
(code at https://git.qemu.org/?p=qemu.git;a=blob;f=linux-user/host/x8... )