AArch64 上存储的堆栈金丝雀在哪里?

Where is the stack canary stored on AArch64?

ARM64有没有专门的space来存储stack canary,比如x86_64上的%fs:<offset>? ARM64 的线程本地存储 (TLS) 存储在哪里?

据我所知,arm64 Linux 内核仍在采用 StackGuard 的旧设计,对整个内核使用一个全局金丝雀(由 this paper.. (Stackguard explanation is here). This line of arm64 Makefile 确认似乎进一步确认这一点。

关于(arm64)中的第二个问题tls.h there is a bunch of definitions for TLS, mainly used in (arm64) process.c.