From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19371 invoked from network); 4 Feb 2021 04:22:36 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 4 Feb 2021 04:22:36 -0000 Received: (qmail 30107 invoked by uid 550); 4 Feb 2021 04:22:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 30089 invoked from network); 4 Feb 2021 04:22:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hc13aSGj+5OUdI6be2b0ADZmHqc1Yk5qo1iCyYq5pJ8=; b=UkRHHLCwDEIk2i7AYWuhZCK+1zDWmw4ZNRUDAO8VBDsL3w2fZ1kWGSzG56CUnnXlww UP0z2rHpq24YmCKxAp78TCRb7Mh96RJDdLB/KFJFQFBr+9EqsCFnS4DyRBtm6wXkROws sUHkAIVhBcFEZNPgC2/Jr6t/JrUDVI/d/LR41NnLhYpMECrRBSueSzR3OiXC1JtNEGk3 CZJcjF/IWuOmysObdjjyuWBpkQ0O/M+uxZqvMKefPqjmlPr3EEoIrr6rX40S9ToYijf4 mRPdvvCsONji9DHrF1f5m4g1wbdybO9/uTZ2l2aACKYRPSC7zPZjbHxpZsZN71RNByy4 ZbDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hc13aSGj+5OUdI6be2b0ADZmHqc1Yk5qo1iCyYq5pJ8=; b=qAYzj05U+vBz8GIrmXMcmY2gpA5osy+T1g7HSbGBNY3ntDPg+OgdIkaudyNdVzfYDI 0XcE0BQUN4wiboAizwfdZ+WcSaKNz7s0ynFydqgf88GKWRopqQ9OM2JgMwednCgk7n3M o7m9Mb3cvlU0yjbsNeHd20MMPFOwDYu9T9EN/NkH420nCljgF2rxLVl9rsw1HfFy09db rtPZJIZP6dk8VjC85A8VZ3xoFNoEC02oOgdD1Kd+vrl6aU76pHK7f8vCzCqr9k0mEyhp Ly+WvxwBRjPOxezgDBfB1Kaxc7cpCWDMA0okIhWc8NCGZHebmUI8OUDukcphp4iS6Jhj lv+Q== X-Gm-Message-State: AOAM533qr++yyGDN7vXAr9EQ5HKOZ4OovqNtb9KHsGSw3WXSmLlEUfhR ml4MNpxW4gCLdBp5nWu8t8w= X-Google-Smtp-Source: ABdhPJzxB4sfTzYAOcZtVgFSqtwyEsmhoHfeuxoNSptQFT/9x3s0GNhprXX7GT+n1kcbUbJemk0xmg== X-Received: by 2002:a05:620a:12d5:: with SMTP id e21mr5873750qkl.131.1612412540326; Wed, 03 Feb 2021 20:22:20 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) From: Dominic Chen In-Reply-To: <634da58e-77d0-bea4-8ebf-f2c1fc933fee@redhat.com> Date: Wed, 3 Feb 2021 23:22:18 -0500 Cc: musl@lists.openwall.com, Rich Felker , fweimer@redhat.com Content-Transfer-Encoding: quoted-printable Message-Id: <51614DF7-9976-48D3-92F2-B927FCE18663@gmail.com> References: <62be4b85-4a42-413e-a83f-866eab4d601a@gmail.com> <20210203192145.GW23432@brightrain.aerifal.cx> <634da58e-77d0-bea4-8ebf-f2c1fc933fee@redhat.com> To: Carlos O'Donell X-Mailer: Apple Mail (2.3654.40.0.2.32) Subject: Re: [musl] Incorrect thread TID caching > On Feb 3, 2021, at 10:28 PM, Carlos O'Donell = wrote: >=20 > As Rich said for musl, this is not ABI for glibc either. >=20 > I'm not sure why you need to reset the TID cache. In glibc we have > containerized tests and we do not need to change internals of the=20 > runtime e.g. unshare (CLONE_NEWUSER, CLONE_NEWPID, CLONE_NEWNS); > (see glibc/support/test-container.c). Thanks for the advice; sounds like I should just modify my local musl to = call gettid directly in raise(). As for Chrome, I=E2=80=99m not very familiar with the codebase, but it = looks like that code landed back in 2016, as a workaround before the = PID/TID cache changes in glibc. Dominic=