HomeFreeBSD

Use the unprivileged variant of the load and store instructions most

Description

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.

MFC after: 1 week
Sponsored by: DARPA, AFRL

Details

Provenance
andrewAuthored on
Parents
rS316731: OpenBSD 6.1 release added.
Branches
Unknown
Tags
Unknown