From b84da5c20eeaddbeb9c95f5ff72884ccbc0b3ad7 Mon Sep 17 00:00:00 2001 From: Jeremy Linton Date: Thu, 25 Mar 2021 16:13:41 -0500 Subject: [PATCH] redhat: Enable glic memory tagging for aarch64 Glibc on arm has a memory tagging option that can be enabled via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc is built with memory tagging support and the kernel/HW supports MTE. This should be side effect free unless the user turns it on with approprate HW support. Signed-off-by: Jeremy Linton --- glibc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glibc.spec b/glibc.spec index 011a18b..fea4077 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1118,6 +1118,9 @@ build() --disable-profile \ %if %{with bootstrap} --without-selinux \ +%endif +%ifarch aarch64 + --enable-memory-tagging \ %endif --disable-crypt || { cat config.log; false; }