[PATCH v7 0/1] RFC: Add <sys/tagged-address.h>

H.J. Lu hjl.tools@gmail.com
Mon Nov 15 13:49:14 GMT 2021


On Mon, Nov 15, 2021 at 5:34 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu:
>
> > By default, the number of the address bits used in address translation
> > is the number of address bits.  But it can be changed by ARM Top-byte
> > Ignore (TBI) or Intel Linear Address Masking (LAM).
> >
> > <sys/tagged-address.h> provides an API for tagged address manipulation.
>
> H.J.,
>
> we had an off-list discussion regarding this, and I want to double-check
> if my recollection of the conclusion is correct.
>
> Basically, we said that we would try to enable HWSAN on x86-64 as well
> (using Intel LAM) *without* glibc changes or a new ABI.  Once we have a
> better understanding of how address tagging is used/could be used by
> applications, we plan to define a general-purpose programming interface
> for it.

I withdrew this patch.

My current LAM patch is

https://gitlab.com/x86-glibc/glibc/-/commit/9d8fb211169fe677d3feca74aef5e87595f934ef

I will submit it after the LAM kernel interface is finalized.

-- 
H.J.


More information about the Libc-alpha mailing list