summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fmemopen.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-08-17 08:12:17 +0000
committerkettenis <kettenis@openbsd.org>2020-08-17 08:12:17 +0000
commit55fe8593efd674afb2935aeb984d34a1e91e2a81 (patch)
treeb74b2d26465fb1ac47d90888407f1e03dbb3ab65 /lib/libc/stdio/fmemopen.c
parentPanic on an attempt to access user-space unless it is done using (diff)
downloadwireguard-openbsd-55fe8593efd674afb2935aeb984d34a1e91e2a81.tar.xz
wireguard-openbsd-55fe8593efd674afb2935aeb984d34a1e91e2a81.zip
Enable PAN (Privileged Access Never) on CPUs that support it. This means
that user-space access from the kernel is not allowed for "normal" load/store instructions. Only the special "unprivileged" load/store instructions are allowed. We already use those in copyin(9) and copyout(9). ok patrick@, drahn@, jsg@
Diffstat (limited to 'lib/libc/stdio/fmemopen.c')
0 files changed, 0 insertions, 0 deletions