HomeFreeBSD

Permit supervisor to access user VA space for certain functions only.

Description

Permit supervisor to access user VA space for certain functions only.

This is done by setting SUM (permit Supervisor User Memory access)
bit in sstatus register.

The functions we allow access for are routines in assembly that
explicitly handle crossing the user kernel boundary.

Approved by: re (kib)
Sponsored by: DARPA, AFRL

Details

Provenance
brAuthored on
Parents
rS338466: Fix bug: compare uaddr to VM_MAXUSER_ADDRESS, not to a tmp value
Branches
Unknown
Tags
Unknown