Do not pass a userland pointer to ktrabstimespec().
authormpi <mpi@openbsd.org>
Mon, 8 Jan 2018 22:33:13 +0000 (22:33 +0000)
committermpi <mpi@openbsd.org>
Mon, 8 Jan 2018 22:33:13 +0000 (22:33 +0000)
commit2ed485806a2979fb0f4b54d121aba1a93863cf82
tree3b5da1fabeccec0cac31f6fbefb3680288c82b7e
parent8345723506ac8eacdb2aba14bdf33efde27a52ec
Do not pass a userland pointer to ktrabstimespec().

Prevents an infinite pagefault/pmap_enter() loop when ktracing apps
doing a lot of futex(2) calls like firefox & chrome.
sys/kern/sys_futex.c