summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-06-14 19:57:29 +0000
committerguenther <guenther@openbsd.org>2018-06-14 19:57:29 +0000
commitf0f07b0b67d7c76ec94d2e5d5c83b1f57878cf69 (patch)
tree0b2090d9ea0c46dea6470ed1ae040af50d7fb7a7 /sys/kern/tty.c
parentReturn from magic_test does not need to be copied because the caller (diff)
downloadwireguard-openbsd-f0f07b0b67d7c76ec94d2e5d5c83b1f57878cf69.tar.xz
wireguard-openbsd-f0f07b0b67d7c76ec94d2e5d5c83b1f57878cf69.zip
Clear the GPRs when entering the kernel from userspace so that
user-controlled values can't take part in speculative execution in the kernel down paths that end up "not taken" but that may cause user-visible effects (cache, etc). prodded by dragonflybsd commit 9474cbef7fcb61cd268019694d94db6a75af7dbe ok deraadt@ kettenis@
Diffstat (limited to 'sys/kern/tty.c')
0 files changed, 0 insertions, 0 deletions