HomeFreeBSD

aarch64: Clear TLS registers during exec().

Description

aarch64: Clear TLS registers during exec().

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

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

Obtained from: CheriBSD
Sponsored by: DARPA

(cherry picked from commit 0723b409150ae302eb021cbde86a5f77348a1bb4)

Details

Provenance
jhbAuthored on Mar 17 2021, 8:19 PM
Parents
rGd8debda0d0a3: x86: Update some stale comments in cpu_fork() and cpu_copy_thread().
Branches
Unknown
Tags
Unknown