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)
Sat, Nov 9, 2:19 PM
Unknown Object (File)
Sat, Nov 9, 12:26 PM
Unknown Object (File)
Sat, Nov 9, 10:25 AM
Unknown Object (File)
Fri, Nov 8, 3:30 AM
Unknown Object (File)
Wed, Nov 6, 11:32 PM
Unknown Object (File)
Tue, Nov 5, 9:42 PM
Unknown Object (File)
Wed, Oct 16, 1:20 AM
Unknown Object (File)
Mon, Oct 14, 11:49 PM

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 37061
Build 33950: arc lint + arc unit

Event Timeline

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

Does td == curthread always hold here?

Do we need this for linux_exec_setregs?

sys/arm64/arm64/machdep.c
489–490

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.