From patchwork Tue Feb 2 18:12:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 41908 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E9ED1383440A; Tue, 2 Feb 2021 18:13:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9ED1383440A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1612289582; bh=im9cvwS842T1Rqk48nxa7YLvGuQ6YQoJjz5mT6nM+tQ=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ltT5/tgOwP3pxzW172SZ+tDhA9vl1LSS+q0XcAP50CQtU8c+hmGwTC5QDcioVpqOo 2WLwUzpDqze2SBbQ3UVPek2O1Mmie8cxpEjViU/xzecun2M81tW8p8AGiO4qUzYCx5 FTtnZ84xlcqITi7TcpxcV9MUvQyw91od484ZAF08= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by sourceware.org (Postfix) with ESMTPS id 804D93843856 for ; Tue, 2 Feb 2021 18:12:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 804D93843856 Received: by mail-oo1-xc2b.google.com with SMTP id x19so3142851ooj.10 for ; Tue, 02 Feb 2021 10:12:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=im9cvwS842T1Rqk48nxa7YLvGuQ6YQoJjz5mT6nM+tQ=; b=rvZd9VzM4PxR2qDqFQ5m0AXUN4lYFTu1y0VqeSQPizVLiozD76+9EPa0VE+n13e2uF 6PIbAHUBq7mvLkcex3qycziLIEEPwguTrWASoxCya8g7DBAUX+yEFkhA81DaLiTgJxgd 87KenKZHJhPCYivWNfAOyGvVjwNqieSnleilP1/7W0OGDaE7rD8WLtyQxd/QwUxjf54Z KeC2zEINoFzwLOtCah6yeD910C3Xh/N3VZo77bk1Ee+r12g9fedRrFsqdmbZDWGY36Fu Fyof1HA/pg6tpEbRhk92+mGTLJCkyCWxamp7v0gKIUtpMjetI7hrr4BrfbkJRjtQ800y wVPQ== X-Gm-Message-State: AOAM5307Siova8Ah3HwUuHxnSSv08w9nfC/09kye4H011PVhoyoYgxAx 3jpp//5xCNqVm+ugY7fj4N8OswiPZHZEmv6IIRs= X-Google-Smtp-Source: ABdhPJyLXr3BGif4Het4YVQK8JY/8omQPrWliv3hY44Y/6w1JYqw5bEPA1odxOw7Ja2jkjnZaZgnBhEa1qsjP5btSjs= X-Received: by 2002:a4a:5703:: with SMTP id u3mr16436768ooa.58.1612289578922; Tue, 02 Feb 2021 10:12:58 -0800 (PST) MIME-Version: 1.0 References: <20201031154437.2689427-1-hjl.tools@gmail.com> <20201031154437.2689427-3-hjl.tools@gmail.com> <211802d5-3c89-b153-5854-4f72d3e60b39@linaro.org> <877dnqvipw.fsf@igel.home> <87lfc6tkba.fsf@igel.home> In-Reply-To: <87lfc6tkba.fsf@igel.home> Date: Tue, 2 Feb 2021 10:12:22 -0800 Message-ID: Subject: [PATCH] tst-rtld-list-tunables.sh: Unset glibc tunables To: Andreas Schwab X-Spam-Status: No, score=-3036.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: Florian Weimer , "H.J. Lu via Libc-alpha" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Tue, Feb 2, 2021 at 10:07 AM Andreas Schwab wrote: > > On Feb 02 2021, H.J. Lu wrote: > > > From 321acb682702dd6ee273207b7ce832f8133abbfa Mon Sep 17 00:00:00 2001 > > From: "H.J. Lu" > > Date: Tue, 2 Feb 2021 09:31:56 -0800 > > Subject: [PATCH] ld.so: Unset glibc tunables for --list-tunables test > > > > Unset glibc tunables and their aliases for --list-tunables test. > > Ok. I think the subject should use tst-rtld-list-tunables.sh as the > topic prefix, since it doesn't change ld.so. Fixed. > Andreas. Here is the updated patch I am checking in. Thanks. From b711bfe5480bf55ae0cb18e03defc1e2a405e1b6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 2 Feb 2021 09:31:56 -0800 Subject: [PATCH] tst-rtld-list-tunables.sh: Unset glibc tunables Unset glibc tunables and their aliases for --list-tunables test. --- elf/tst-rtld-list-tunables.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/elf/tst-rtld-list-tunables.sh b/elf/tst-rtld-list-tunables.sh index e7bbdde949..78f4ed2ebb 100755 --- a/elf/tst-rtld-list-tunables.sh +++ b/elf/tst-rtld-list-tunables.sh @@ -26,6 +26,17 @@ run_program_env=$3 LC_ALL=C export LC_ALL +# Unset tunables and their aliases. +GLIBC_TUNABLES= +MALLOC_ARENA_MAX= +MALLOC_ARENA_TEST= +MALLOC_CHECK_= +MALLOC_MMAP_MAX_= +MALLOC_MMAP_THRESHOLD_= +MALLOC_PERTURB_= +MALLOC_TOP_PAD_= +MALLOC_TRIM_THRESHOLD_= + ${test_wrapper_env} \ ${run_program_env} \ $rtld --list-tunables \ -- 2.29.2