[PATCH v3 1/2] rtld: Enable MTE for stack when specified in .dynamic

Claudiu Zissulescu claudiu.zissulescu-ianculescu@oracle.com
Tue Mar 17 10:12:01 GMT 2026


> What exactly is implemented in gcc and clang with respect to stack
> tagging? There is an implementation in GCC that doesn't seem to be
> documented anywhere (at least I couldn't find any relevant spec).
> 
The MTE in compilers is an old topic (at least 6 yo) see[1]. Regarding 
exceptions (longjmp/setjmp) is also a long discussion see[2]. The 
present patch in glibc is almost 1 yo. Also, the gnu support has been 
presented in the last Cauldron.


Ref
[1] https://llvm.org/docs/MemTagSanitizer.html
[2] 
https://discourse.llvm.org/t/mte-discussion-on-exception-unwinding-abi/55226




More information about the Libc-alpha mailing list