From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id 470263858C54 for ; Fri, 14 Apr 2023 19:52:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 470263858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-187a1387021so5640804fac.3 for ; Fri, 14 Apr 2023 12:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681501933; x=1684093933; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4OUqyW7KdaLk5P/vubmDtwDWkzF0/fOM0rF4SlJJKxQ=; b=Io0HQu8k55CO90q+mxG1jFsnlWiEf1f3KvGm+acbCl050YxaIuPL0l9TJyufZVje+T uAnBXBbPJc4CleO6Brb84fgSlUajerFCnNkkufA0xgax3ShtW5i1zdH9xElL9nPqF66G boraDbdDhfI4XiVVJV50r89z62V5zb5hnkOi6b67zhp0/qVmKVwo6TCmU5bk7minw5W+ ZM66NFvKEdEop7qH7K6celvls+RTxRJgYcW5ScM4s746ntzb14qy/t36CDXXzFlCUbmi mTU0gPVa9FDqW6Q6l6GLkV+lgcbN+hZ5wvCHGdVbB1xGd0mW28p0fpTgW7gpUZn71Sz4 pJ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681501933; x=1684093933; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4OUqyW7KdaLk5P/vubmDtwDWkzF0/fOM0rF4SlJJKxQ=; b=jCZS3qTF70PykBiBvHM/nMXJrtunwJSffjAh/EErOiXn8B0u4jB/xPZ39avgMKgnk1 1Khi45P7hA1SZVHaPnaAWcmb8/I45adnG1kXao3m6N/vM5GyIIQ0mSJFQWzf4Cr/9FlV TGcuY0sO/GRGv05cdpgNYRbXoXwyRJbbr1qL/GnhlKTX1YveUAs/KJEGzqN5OmnDQ314 WynDY+Fd0ORiucqzSN8ZPrZ/zzVzVnuI3hAxZbN1bvH3S7mGvqm2BWpRm+PdZThHQ4nH wAeaN7J3OUU5DVXaFrVLArkq02gjhbZQwvRcT9bkuMtHDGSeATXh1eEGwnc0Oc8mYQxX +KKw== X-Gm-Message-State: AAQBX9egTsTrPz58wgqIFVKq6pqMKdFRB9O1FVIqQbGW9v4cKkUx0Tcq k9S4PZtwjlZbm7lRYocV17awgwVK6pRnXkZOTy3T0Af13FQ= X-Google-Smtp-Source: AKy350ZhorHzdihYvFl+nQRAEj+DrG0KwEV6rKJxhwHH451tjlTiTUtnYsFfNZINjlsHJ1CzLu+uzusKdUXHl8ICDsk= X-Received: by 2002:a05:6870:1211:b0:187:bda0:8a26 with SMTP id 17-20020a056870121100b00187bda08a26mr639826oan.4.1681501932813; Fri, 14 Apr 2023 12:52:12 -0700 (PDT) MIME-Version: 1.0 References: <20230319151017.531737-1-bugaevc@gmail.com> <20230319151017.531737-25-bugaevc@gmail.com> <20230414173426.ecq3dz57po2csniv@begin> In-Reply-To: <20230414173426.ecq3dz57po2csniv@begin> From: Sergey Bugaev Date: Fri, 14 Apr 2023 22:52:01 +0300 Message-ID: Subject: Re: [RFC PATCH glibc 24/34] hurd: Only check for TLS initialization inside rtld or in static builds To: Samuel Thibault Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Apr 14, 2023 at 8:34=E2=80=AFPM Samuel Thibault wrote: > Reapplied on top of "Remove __hurd_local_reply_port", thanks! Awesome, thank you! I have implemented the changes we talked about (replacing the receive right with a dead name...), and they even seem to pass the few tests from the testsuite I can run manually, but now I'm thinking maybe we better avoid touching that code, or we'll break something else. So I sent the other changes (including restoring the usage of MACH_PORT_DEAD inside sigreturn), but not that patch. Please test. Sergey