]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: clear debug register state on fork
authorMitchell Horne <mhorne@FreeBSD.org>
Wed, 7 Apr 2021 19:23:46 +0000 (16:23 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 8 Apr 2021 12:41:41 +0000 (09:41 -0300)
commit1fd001db9c330f133708f3c04c8852f8b07cfed9
tree814be085f59d7361e6809a8cf8bcfa2ffeac7785
parent4967f672ef3095300fe74a9d1ae873d0897cc0a5
arm64: clear debug register state on fork

Following the analogous change for amd64 and i386 in 8223717ce62c,
ensure that new processes start with these registers inactive.

PR: 254661
Reported by: Michał Górny
Reviewed by: kib, emaste
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29630
sys/arm64/arm64/vm_machdep.c