{"id":2224007,"url":"http://patchwork.ozlabs.org/api/covers/2224007/?format=json","web_url":"http://patchwork.ozlabs.org/project/glibc/cover/20260416143027.1881673-1-yury.khrustalev@arm.com/","project":{"id":41,"url":"http://patchwork.ozlabs.org/api/projects/41/?format=json","name":"GNU C Library","link_name":"glibc","list_id":"libc-alpha.sourceware.org","list_email":"libc-alpha@sourceware.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260416143027.1881673-1-yury.khrustalev@arm.com>","list_archive_url":null,"date":"2026-04-16T14:30:19","name":"[v3,0/8] tests: Allow tests to append tunables","submitter":{"id":88214,"url":"http://patchwork.ozlabs.org/api/people/88214/?format=json","name":"Yury Khrustalev","email":"yury.khrustalev@arm.com"},"mbox":"http://patchwork.ozlabs.org/project/glibc/cover/20260416143027.1881673-1-yury.khrustalev@arm.com/mbox/","series":[{"id":500171,"url":"http://patchwork.ozlabs.org/api/series/500171/?format=json","web_url":"http://patchwork.ozlabs.org/project/glibc/list/?series=500171","date":"2026-04-16T14:30:19","name":"tests: Allow tests to append tunables","version":3,"mbox":"http://patchwork.ozlabs.org/series/500171/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2224007/comments/","headers":{"Return-Path":"<libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":["incoming@patchwork.ozlabs.org","libc-alpha@sourceware.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","libc-alpha@sourceware.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256\n header.s=foss header.b=iDiGyFeB;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key,\n unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256\n header.s=foss header.b=iDiGyFeB","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=arm.com","sourceware.org; spf=pass smtp.mailfrom=arm.com","server2.sourceware.org;\n arc=none smtp.remote-ip=217.140.110.172"],"Received":["from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxL6S6X10z1yG9\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 00:31:12 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id ACE604BC0577\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 14:31:10 +0000 (GMT)","from foss.arm.com (foss.arm.com [217.140.110.172])\n by sourceware.org (Postfix) with ESMTP id 393504BA543C\n for <libc-alpha@sourceware.org>; Thu, 16 Apr 2026 14:30:37 +0000 (GMT)","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1342B2574;\n Thu, 16 Apr 2026 07:30:31 -0700 (PDT)","from fdebian.localdomain (unknown [10.57.18.61])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DF2E03F7D8;\n Thu, 16 Apr 2026 07:30:35 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org ACE604BC0577","OpenDKIM Filter v2.11.0 sourceware.org 393504BA543C"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 393504BA543C","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 393504BA543C","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776349837; cv=none;\n b=mupr3G57zp19DZG4rP4lzdp73YChXnjscmmHF0UIr1OY9jNYEbMon9SbhV4dk9zL2M/qezbj4uM5/OrwydPRF/BYnIbnQ9bDKnYqjeHlqXxxdHhGft0vPqzUWtSDouodoSa8zlAlomBRTupT25HN+LNXF8zxZwr9k6pwwN4BhAc=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776349837; c=relaxed/simple;\n bh=w8Hj8nn72bjmmYAZMARrzV853h1qTx1Q7Roq9pVkDiw=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=rbe5RQlDJbYWt3oUHDGwqSJ/5+1F7v5+2Ox6EtWLRwmygoHy1dfQ63bnFqsTEpk3lE6fEjI8m+/4k17ta7P0daeH/tVevHJ49fbs6L0PZDVOUR8a2LbP3TVaLQSVDV72N1+YAISHAaViaUHPOOoHxOeClZu+kA4PaVcV+unuY68=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss;\n t=1776349836; bh=w8Hj8nn72bjmmYAZMARrzV853h1qTx1Q7Roq9pVkDiw=;\n h=From:To:Cc:Subject:Date:From;\n b=iDiGyFeBbZ8BtoZhdGX0OpJYrRYupIWfg3RpqFF2DWCOUsvY/e3WD/ifnl+3w6Du+\n ek3J18eRLtTcnY1JifXsuTXGio+oerg0W6SNFVd4ZERW9glsJ2V3xLJIAtWKIsJewA\n 7ubS9ASKH2+fI1gSMZxdt8h9i8na87NpyA9cWhY0=","From":"Yury Khrustalev <yury.khrustalev@arm.com>","To":"libc-alpha@sourceware.org","Cc":"Florian Weimer <fweimer@redhat.com>, Carlos O'Donell <carlos@redhat.com>,\n Wilco Dijkstra <wilco.dijkstra@arm.com>","Subject":"[PATCH v3 0/8] tests: Allow tests to append tunables","Date":"Thu, 16 Apr 2026 15:30:19 +0100","Message-ID":"<20260416143027.1881673-1-yury.khrustalev@arm.com>","X-Mailer":"git-send-email 2.47.3","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libc-alpha@sourceware.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Libc-alpha mailing list <libc-alpha.sourceware.org>","List-Unsubscribe":"<https://sourceware.org/mailman/options/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe>","List-Archive":"<https://sourceware.org/pipermail/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-request@sourceware.org?subject=help>","List-Subscribe":"<https://sourceware.org/mailman/listinfo/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=subscribe>","Errors-To":"libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org"},"content":"The commit message in the 1st patch explains why and how. We plan\nto use ability to combine test tunables to validate memory tagging\nimplementation in malloc: this will required added existing test\ntunables to the memtag tunable.\n\nAdditionally, after this change testing for GCS and BTI support\nwill have significantly increased coverage becaused we will be able\nto use ambient tunable to activate both BTI and GCS for most tests\nexcept those that use their specific tunables by using:\n\n  GLIBC_TUNABLES=glibc.cpu.aarch64_bti=1:glibc.cpu.aarch64_gcs=3 \\\n    make check\n\nPasses regression on aarch64 and x86-64. OK for trunk?\n\n---\nChanges in v3:\n - Reworked the whole thing to use *-TUNABLES += tunable=value\n   instead of +$(eval $(call tunable-add,...,tunable=value))\n   which wasn't ideal.\n - Updated makefiles that use GLIBC_TUNABLES for tests. Not all\n   of them, since the old mechanism still works.\n - v2: https://patchwork.sourceware.org/project/glibc/list/?series=59742\n\nChanges in v2:\n - Rebased.\n - v1: https://patchwork.sourceware.org/project/glibc/list/?series=59144\n---\nbase-commit: 0d6295e203\n---\n\nYury Khrustalev (8):\n  tests: Allow tests to append tunables\n  tests: elf: Use new tunable handling\n  tests: gmon: Use new tunable handling\n  tests: misc: Use new tunable handling\n  tests: nptl: Use new tunable handling\n  tests: nptl: Remove unused code from makefile\n  tests: time: Use new tunable handling\n  tests: misc: Use new tunable handling for BTI and GCS tests\n\n Rules                                    |  40 +++++--\n benchtests/Makefile                      |   2 +-\n elf/Makefile                             |   8 +-\n gmon/Makefile                            |   4 +-\n malloc/Makefile                          |  10 +-\n misc/Makefile                            |   4 +-\n nptl/Makefile                            |   4 -\n sysdeps/pthread/Makefile                 |   2 +-\n sysdeps/unix/sysv/linux/Makefile         |   4 +-\n sysdeps/unix/sysv/linux/aarch64/Makefile | 129 ++++++++++++-----------\n time/Makefile                            |   2 +-\n 11 files changed, 117 insertions(+), 92 deletions(-)"}