Page MenuHomeFreeBSD

aarch64: Clear TLS registers during exec().
ClosedPublic

Authored by jhb on Feb 16 2021, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 8:27 PM
Unknown Object (File)
Dec 20 2023, 5:29 AM
Unknown Object (File)
Dec 14 2023, 10:39 PM
Unknown Object (File)
Nov 20 2023, 10:01 PM
Unknown Object (File)
Nov 11 2023, 9:01 PM
Unknown Object (File)
Nov 10 2023, 10:05 PM
Unknown Object (File)
Oct 21 2023, 3:59 PM
Unknown Object (File)
Oct 21 2023, 2:12 AM

Details

Summary

These are not stored in the trapframe so must be cleared explicitly.

This is similar to one of the MIPS changes in 822d2d6ac94f.

Sponsored by: DARPA

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37876
Build 34765: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Feb 16 2021, 6:52 PM
sys/arm64/arm64/machdep.c
566–567

Does td == curthread always hold here?

Do we need this for linux_exec_setregs?

sys/arm64/arm64/machdep.c
566–567

Yes.

Do we need this for linux_exec_setregs?

Hmm, possibly.

  • Cleared in linux_exec_setregs().
This revision is now accepted and ready to land.Mar 17 2021, 9:15 AM
This revision was automatically updated to reflect the committed changes.