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

Florian Weimer fweimer@redhat.com
Mon Nov 15 13:34:26 GMT 2021


* 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.

Thanks,
Florian



More information about the Libc-alpha mailing list