[PATCH v3 2/8] elf: Add a tunable to control use of tagged memory
H.J. Lu
hjl.tools@gmail.com
Wed Nov 25 16:35:28 GMT 2020
On Mon, Nov 23, 2020 at 7:44 AM Richard Earnshaw via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
>
> Add a new glibc tunable: mtag.enable, bound to the environment variable
> _MTAG_ENABLE. This is a decimal constant in the range 0-255 but used
Do we really need LD_MTAG_ENABLE?
> as a bit-field.
>
> Bit 0 enables use of tagged memory in the malloc family of functions.
> Bit 1 enables precise faulting of tag failure on platforms where this
> can be controlled.
> Other bits are currently unused, but if set will cause memory tag
> checking for the current process to be enabled in the kernel.
> ---
> elf/dl-tunables.list | 9 +++++++++
> manual/tunables.texi | 31 +++++++++++++++++++++++++++++++
> 2 files changed, 40 insertions(+)
>
--
H.J.
More information about the Libc-alpha
mailing list