HomeFreeBSD

amd64: Properly re-merge r334537 into SMAP-ified copyin(9) and copyout(9).

Description

amd64: Properly re-merge r334537 into SMAP-ified copyin(9) and copyout(9).

Also this fixes the eflags.ac leak from copyin_smap() when the copied
data length is multiple of eight bytes.

Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)

Details

Provenance
kibAuthored on
Parents
rS338459: amd64: For non-PTI mode, do not initialize PCPU kcr3 to KPML4phys.
Branches
Unknown
Tags
Unknown