]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear all of the VFP state in fill_fpregs().
authorjhb <jhb@FreeBSD.org>
Wed, 19 Sep 2018 22:53:52 +0000 (22:53 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 19 Sep 2018 22:53:52 +0000 (22:53 +0000)
commit80d99cf13b3b8611641577f180497779fc3d2344
treead4b9b68bb56b038513506976b2b04088911065b
parentd56ac759246b6841d25ca1683f4c211d50736288
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
sys/arm64/arm64/machdep.c