HomeFreeBSD

Clear all of the VFP state in fill_fpregs().

Description

Clear all of the VFP state in fill_fpregs().

Zero the entire FP register set structure returned for ptrace() if a
thread hasn't used FP registers rather than leaking garbage in the
fp_sr and fp_cr fields.

Reviewed by: emaste, andrew
Approved by: re (rgrimes)
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17140

Details

Provenance
jhbAuthored on
Reviewer
emaste
Differential Revision
D17140: Clear all of the VFP state in fill_fpregs().
Parents
rS338812: Add the Layout Error operation to the NFSv4.2. server.
Branches
Unknown
Tags
Unknown