HomeFreeBSD

amd64: clear PSL.AC in the right frame

Description

amd64: clear PSL.AC in the right frame

If copyin family of routines fault, kernel does clear PSL.AC on the
fault entry, but the AC flag of the faulted frame is kept intact. Since
onfault handler is effectively jump, AC survives until syscall exit.

Reported by: m00nbsd, via Sony
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
admbugs: 975

Details

Provenance
kibAuthored on May 22 2021, 7:48 PM
Parents
rG1f348be6f243: cam: remove xpt_polled_action
Branches
Unknown
Tags
Unknown