Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7044841imu; Wed, 14 Nov 2018 10:48:53 -0800 (PST) X-Google-Smtp-Source: AJdET5ferXV2d5wQD+Bj5YV3fQ54BP7lTLj8n7Bh3oxayQMss1bTvUHaHzBdgJDyyySd3Xx9cVtr X-Received: by 2002:a63:dc0c:: with SMTP id s12mr2857034pgg.398.1542221333616; Wed, 14 Nov 2018 10:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542221333; cv=none; d=google.com; s=arc-20160816; b=jk6s1Ns4sFRvn9ce7wXs1w2e2pC8LHErRmI8JPuLQqRIvDz30fjewRuUw864n301ZR 6S+NTrgdeuTmqgiLYcccEKv64q2HC0Gj+33KRrAmkGat+ro0/hnEPP5AWEvPL0cbpSop vGhuVSn5N1fqb4lSZK5Da6pluYdsWFxeWVrU9yxhrWUasxxJijmDHQzHbuxyBeRp/Fbn y3s1+QdYFDAr9hcz0gcEbG5xTU/b7XkfNTRiFOfSrHTxpKyxk1GcP761a95Z38yBDjOb KK/eGZvL3cgzg3+9jynsbTTkwy4uZGzmac25fD9P1rYVrspVNf/opAxvsgO+RkUWXL9G JXOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Yb56RPBTN6/7dVxEE+U6Fp1Y9pcknI5DyjO3jaNeJbc=; b=xK2UueSrCj8UV/hlb9HyxSRejSTWf+lKRxvbMgR5xWNOhX6hdf3u7+kBFRlgwEFHHw fUTVYA0qk9y0cPeCQrUhIoNaXFFLNt0y1bTMPgEPB0skdBw3uDiih4DDiYgzKJ9CsDPF EfKM4VNgRPN/RCZRPhkAGc4l52f7OVt1lab24z5uRbbr0YLRTLivwOGLqYlcC0HkCt4j LXPV/Vhvuuij5wvjBAIoaCwGMVSNiTo9inECENRNiUisa03Wd7zprSOCT27zVCSSreGy 8gcdq82xhvF6EVS0/alFaRbsqaIpQI4UkOD+h/U5i3fPpXQES1zZVGWZGoNfi6qKEn1X ShgA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si7111573pgb.489.2018.11.14.10.48.38; Wed, 14 Nov 2018 10:48:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731710AbeKOEw0 (ORCPT + 99 others); Wed, 14 Nov 2018 23:52:26 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:53589 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728351AbeKOEw0 (ORCPT ); Wed, 14 Nov 2018 23:52:26 -0500 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-03.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gN0Cn-0005DP-0w from joseph_myers@mentor.com ; Wed, 14 Nov 2018 10:48:01 -0800 Received: from digraph.polyomino.org.uk (137.202.0.90) by SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 14 Nov 2018 18:47:57 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.90_1) (envelope-from ) id 1gN0Cj-0005hl-5M; Wed, 14 Nov 2018 18:47:57 +0000 Date: Wed, 14 Nov 2018 18:47:57 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Daniel Colascione CC: Szabolcs Nagy , Dave P Martin , nd , Florian Weimer , "Michael Kerrisk (man-pages)" , linux-kernel , Joel Fernandes , Linux API , Willy Tarreau , Vlastimil Babka , Carlos O'Donell , "libc-alpha@sourceware.org" Subject: Re: Official Linux system wrapper library? In-Reply-To: Message-ID: References: <877ehjx447.fsf@oldenburg.str.redhat.com> <875zx2vhpd.fsf@oldenburg.str.redhat.com> <20181113193859.GJ3505@e103592.cambridge.arm.com> <5853c297-9d84-86e5-dede-aa2957562c6b@arm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Nov 2018, Daniel Colascione wrote: > A good demonstration of a new commitment to pragmatism would be > merging the trivial wrappers for gettid(2). I support the addition of gettid (for use with those syscalls that take tids, and with appropriate documentation explaining the properties of tids) - and, generally, wrappers for all non-obsolescent architecture-independent Linux kernel syscalls, including ones that are very Linux-specific, except maybe for a few interfaces fundamentally inconsistent with glibc managing TLS etc. - they are, at least, no worse as a source of APIs than all the old BSD / SVID interfaces we have from when those were used as sources of APIs. -- Joseph S. Myers joseph@codesourcery.com