summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/set_constraint_handler_s.c
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2017-05-30 12:26:36 +0000
committerandrew <andrew@FreeBSD.org>2017-05-30 12:26:36 +0000
commit44c9bb43d0bd6f6d94443c9efa27cbaf86a38825 (patch)
tree5a2d70840efff635039323b3c0f1109650073247 /lib/libc/stdlib/set_constraint_handler_s.c
parent5dffdf8890fd393717edd4fe864fa30bf98bba14 (diff)
downloadFreeBSD-src-44c9bb43d0bd6f6d94443c9efa27cbaf86a38825.zip
FreeBSD-src-44c9bb43d0bd6f6d94443c9efa27cbaf86a38825.tar.gz
MFC r316732, r316756: Enable Privileged Access Never on arm64.
r316732: Use the unprivileged variant of the load and store instructions most places possible in the kernel. This forces these functions to fail if userspace is unable to access a given memory location, even if it is in the user memory range. This will simplify adding Privileged Access Never support later. r316756: In ARMv8.1 ARM has added a process state bit to disable access to userspace from the kernel. Make use of this to restrict accessing userspace to just the functions that explicitly handle crossing the user kernel boundary.
Diffstat (limited to 'lib/libc/stdlib/set_constraint_handler_s.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud