HomeFreeBSD

Move the arm64 userspace access checks to macros

Description

Move the arm64 userspace access checks to macros

In the functions that copy between userspace and kernel space we check the
user space address is valid before performing the copy. These are mostly
identical within each type of function so create two macros to perform the
check.

Obtained from: CheriBSD
Sponsored by: Innovate UK

Details

Provenance
andrewAuthored on
Parents
rS366830: efibootmgr: Use returned error code for error message, not errno
Branches
Unknown
Tags
Unknown