[PATCH v2] rtld: Enable MTE for stack when specified in .dynamic

Claudiu Zissulescu claudiu.zissulescu-ianculescu@oracle.com
Thu Feb 26 08:56:44 GMT 2026


Hi Yuri,

On 2/25/26 8:05 PM, Yury Khrustalev wrote:
> On Wed, Feb 25, 2026 at 05:29:42PM +0000, Cupertino Miranda wrote:
>> Hi Yury,
>>
>> Can you please detail some more what are you working on.
> 
> We look at heap allocations so it will touch the part that implements
> memory tagging in malloc. Ideally, we'd like to have some uniformity in
> configuration of Glibc's use of memory tags. E.g. there is a tunable
> that is supposed to control malloc use of memory tags (glibc.mem.tagging)
> and you use dynamic array tags in binaries which seem like a good option
> but we probably need to use only one mechanism. I'll take a closer look
> at your patches tomorrow.
> 

There is some work related to MTE done by Richard Earnshaw (in 2020). He 
introduced a new configuration option --enable-memory-tagging which 
allows memory tagging to be enabled. Do you plan to keep it?

Thanks,
Claudiu


More information about the Libc-alpha mailing list