[PATCH v3 0/2] Enable MTE support for stack

Yury Khrustalev yury.khrustalev@arm.com
Fri Mar 20 11:42:49 GMT 2026


On Wed, Mar 18, 2026 at 09:49:45AM +0000, Yury Khrustalev wrote:
> Hi Claudiu,
> 
> On Tue, Mar 10, 2026 at 04:11:05PM +0200, claudiu.zissulescu-ianculescu@oracle.com wrote:
> > From: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
> > 
> > Hello,
> > 
> > This is a follow up of v2 with the next changes:
> > 
> >  - use mprotect flags PROT_GROWSDOWN/PROT_GROWSUP.
> >  - corrects macros in cpu-feature.h, and fixes code styles in dl-mte.c
> >  - adds MTE-aware setjmp/longjmp support for stack tag cleanup.
> >  - adds a configure check for -fsanitize=memtag-stack compiler flag.
> >  - adds two new tests.
> > 
> > Changes history:
> >   - dropped changes related to stack creation for threads. No longer
> >     needed.
> >   - Adaped code to changes introduced with:
> >       "elf: early conversion of elf p_flags to mprotect flags"
> >  
> > Best wishes,
> > Claudiu
> 
> I've sent an email [1] to explain plans for the work that will need to
> be done before this patch can move forward.
> 
> I am working on this separate patch for this preparation right now, you
> will need to wait for it to come through and then rebase your patch.

Please see https://inbox.sourceware.org/libc-alpha/20260320113657.167707-1-yury.khrustalev@arm.com/

Kind regards,
Yury



More information about the Libc-alpha mailing list