Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8652971imu; Tue, 4 Dec 2018 11:52:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/XwKN0XP64FZUzywHST9M4/0jpwmCfT2lzMGecFfMjuRA+RhfTweCMWfchvoHnz+/Wb6kED X-Received: by 2002:a63:1904:: with SMTP id z4mr17254961pgl.135.1543953125570; Tue, 04 Dec 2018 11:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543953125; cv=none; d=google.com; s=arc-20160816; b=ddoc+TmczKUooNhbbKd52hOu36Jw2cPYp+2V+S9qXDKzcOSEDwWUiEIHwzK+vTcfIJ b9AwASeJbJdOJqx903kJQ5Bzcp3NDkH34/vq464oACn3oLZwhd8IZ5JGxQSMrsVGycaG j1y3cmp2WliuYfymMWukXLVfVh8m1U2RJUuyubJTGRGcbay9PdEIVr8ZibuDHu78eBSv TuFnHSZoj7gAQ7PWTiFzB+Jr7Fpoz3JxLtGP6WOh/WTXPP2PCi0+V0pipEG4WXIL40fb njp4AKvJwVi5ueoJIdLyJiFzODvnhQjCiFM+RHKqGwFNcEhKHvGIcfBhwfI7+IaG4BXU taFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=+zVGABJb4waJEo0jE0aHRjh6BYIKymGmDY6lWxHg7fA=; b=By2bP/HXqTCOHK8wq+ovpnQ8bWZ/x+Kk2aJHx3DWfYCmY2i/0wmQ2CqdbBn2pO+BI7 hRd9KinPW0DCDbVSKbsptmldCXRhDtzwkuvVKjK+m7mUlYPBKubJwp2zERodx9KBGQZQ 3YBHnpNc4NtBmQe1iUUZkn+SEnjMkNArA2G/0Hoa7kOEqa8YyWaWijJGZ+a1UUQhOdes N7g8svJeMofX/noQxw2A+udHFHH/rk3KpS+4/Lt9O/VPlAaAzXIdPIptW5Am/7KB+UqS 8JpE8eaQqI6jSiVDA5e1Vb4MEBKk10PlzbMxsLfzp1K0N+mxjYhMrchbrjKmx4VKDSBH dXNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b="RLNOhbw/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si17198370plr.379.2018.12.04.11.51.50; Tue, 04 Dec 2018 11:52:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b="RLNOhbw/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726154AbeLDTu5 (ORCPT + 99 others); Tue, 4 Dec 2018 14:50:57 -0500 Received: from mail.efficios.com ([167.114.142.138]:46262 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbeLDTu4 (ORCPT ); Tue, 4 Dec 2018 14:50:56 -0500 Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id 7CE979EDB0; Tue, 4 Dec 2018 14:50:55 -0500 (EST) Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id iyU9d0poIRNX; Tue, 4 Dec 2018 14:50:55 -0500 (EST) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id DCC5A9EDAB; Tue, 4 Dec 2018 14:50:54 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com DCC5A9EDAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1543953054; bh=+zVGABJb4waJEo0jE0aHRjh6BYIKymGmDY6lWxHg7fA=; h=Date:From:To:Message-ID:MIME-Version; b=RLNOhbw/ZbfHsnwKT8Whsk+HTRQiz0d9XHbQjOMXXt7Xp2q3N+Y5Nltyy6aMYBdyv VwkvqQ2qaQofzfYy6/dv4aX+AU6tv7Uvx5rdwbjnTXUUu35acNSSiHi8kJ0T0/OyT7 6Dh7qXy2BsOJWOJsL0QdqFbgkfns/XbT/U67vZLAFa159ZVxOjPh44doZmtdsCLoiO yDO6ZjEanbAzyqc/qQl4HHyeHdhNDUiZoziijC5xToS5ElgGa/JY3/CUmIDOCCGuUS NjJH97Se5hEcefSTujhPkcgz84vRRUkUAbLUQwo93nQyZI9lOIjINGfQR54uIEPHfW Fjjv+pLoO/fMg== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id e3LvpFVWiUgo; Tue, 4 Dec 2018 14:50:54 -0500 (EST) Received: from mail02.efficios.com (mail02.efficios.com [167.114.142.138]) by mail.efficios.com (Postfix) with ESMTP id BF7F89ED9B; Tue, 4 Dec 2018 14:50:54 -0500 (EST) Date: Tue, 4 Dec 2018 14:50:54 -0500 (EST) From: Mathieu Desnoyers To: Florian Weimer Cc: carlos , Joseph Myers , Szabolcs Nagy , libc-alpha , Thomas Gleixner , Ben Maurer , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Will Deacon , Dave Watson , Paul Turner , Rich Felker , linux-kernel , linux-api Message-ID: <2002498237.18908.1543953054629.JavaMail.zimbra@efficios.com> In-Reply-To: <8736rd13i7.fsf@oldenburg2.str.redhat.com> References: <20181204192141.4684-1-mathieu.desnoyers@efficios.com> <8736rd13i7.fsf@oldenburg2.str.redhat.com> Subject: Re: [RFC PATCH glibc 1/4] glibc: Perform rseq(2) registration at nptl init and thread creation (v4) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.142.138] X-Mailer: Zimbra 8.8.10_GA_3047 (ZimbraWebClient - FF52 (Linux)/8.8.10_GA_3041) Thread-Topic: glibc: Perform rseq(2) registration at nptl init and thread creation (v4) Thread-Index: vbBiugdrML49y0rh0l25/HG+rBfz5A== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On Dec 4, 2018, at 2:44 PM, Florian Weimer fweimer@redhat.com wrote: > * Mathieu Desnoyers: > >> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist >> b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist >> index c370fda73d..9da78d59d2 100644 >> --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist >> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist >> @@ -235,3 +235,4 @@ GLIBC_2.28 tss_create F >> GLIBC_2.28 tss_delete F >> GLIBC_2.28 tss_get F >> GLIBC_2.28 tss_set F >> +GLIBC_2.29 __rseq_refcount T 0x4 > > This part looks buggy. > > It's unclear based on this patch whether you actually want to get rid of > the __rseq_refcount symbol. I want to keep the __rseq_refcount symbol so out-of-libc users can register rseq if they are linked against a pre-2.29 libc. Why does it look buggy ? Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com