Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8500737imu; Thu, 15 Nov 2018 12:36:54 -0800 (PST) X-Google-Smtp-Source: AJdET5fzOLeof0lX669bo9dGI3QjSnEaF0F3dCBulwNQINDjm5uNf5hnWhgsY01oJyeFCdqwYHZ6 X-Received: by 2002:a63:525e:: with SMTP id s30-v6mr7266824pgl.436.1542314214836; Thu, 15 Nov 2018 12:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542314214; cv=none; d=google.com; s=arc-20160816; b=BZ5pkOHYlTxXQ2j7QiYunrvMurDlNeQLQGMfvrA4CM/wg8DwfjRxfuhpV/vSeZ7Qn3 XcSeoJgHNlIX5WPvO6CjjhKTgB729eOb/y6DYgk7z90Yu5ZNrbxdpYZ6ltFMzU3xtZya 9QS5c+lNtlmuS2epSyoSQhsYzNbK4J6Bj+wwSBwTfZz1mJNV9OAh9D6MAVLs3qq0tUkk yXEI0rys2vQ45S0LdLmvDMuNnu5c+mZVjkSygftLLuC1ugYDzjV6NXFJQ/wWnIqVsT5K BEXWecMPTLLcRXnc0dn1XaKKZyTDAeRjXa7m1JX7bEUSD1teA/sV72T6XuUBiL8WHjzd hYVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:openpgp:from:references:cc:to:subject; bh=TTyPnkNEqZFrgHmg0jDUPsOGygrlMJCrZDLyT7Gr54g=; b=RjvSROkRrtrAcVK0e/evQEoqPgGu3/Pimm3majMEv+8A+O/8clHVtogq5Tcq09qVIG 6Sa/gGdTe75tyEmEuyQchsZoiMFl1g0HWRadXRpeWBE4RsmocnbdfM6L7hhHR5b8rnET 9Era9Qfb1ywatKXF8qdEDi7YGZeKAtb6WqCL1Fk+6hCXWTw/eCXXfJySxh4CMEBEtkoQ N5INXj9Hw81r+C6sRBR4ggcykk8NLDGme4FsR3ksLuQvsCpTArHMyw79TPYTkEXNAY/o bm4ur2Khugh8gIHBk9FHXF8wLCi5HNbti+98U5qNM2BQ0uVj0V39it9db0qh2HbV7n8j 2/0g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si25068440pgc.448.2018.11.15.12.36.40; Thu, 15 Nov 2018 12:36:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388992AbeKPGnj (ORCPT + 99 others); Fri, 16 Nov 2018 01:43:39 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40844 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbeKPGnj (ORCPT ); Fri, 16 Nov 2018 01:43:39 -0500 Received: by mail-qk1-f193.google.com with SMTP id y16so33962034qki.7 for ; Thu, 15 Nov 2018 12:34:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TTyPnkNEqZFrgHmg0jDUPsOGygrlMJCrZDLyT7Gr54g=; b=PMNNo9OqYfLU3WmUoZlT+iABx+Z9BBeWlRFB1sqHrRiKwJxtSQbuZZnspePjTiVwGT jTVxOcHPyM4tEBduMcoxQGJmDCEirkDIPMHrbRhCNKSy4vPGyyE9JE5rVcKpGvn9V3wW gN7LAlnV8Q9KaijulZ4p5yyxkG6QSDGDueojm91y/YjNQLbmwz63O6eXfl09y/jbV20X T9qrjDrLWs3rTFAuiar4gK4GFudSu/l9wvmxl0YqoW95brC451f3cwvKsWhe0Sr7ppqR 63WSfKodMAVEL4NKmi1WQXwBEou6Bg77641NPsQiz1w0pGkQCEll7ms2k9MSjQYzLwFS XNxQ== X-Gm-Message-State: AGRZ1gLZrsVdi+zAU9bi9RFDhFZanCboXqZiVUiEHy0h7ZHiysp7r73W WqNk3o+uJUcJ57Tzw4lsL5TL+g== X-Received: by 2002:ac8:3b42:: with SMTP id r2mr7584739qtf.364.1542314058406; Thu, 15 Nov 2018 12:34:18 -0800 (PST) Received: from [10.150.73.190] (161.sub-174-227-144.myvzw.com. [174.227.144.161]) by smtp.gmail.com with ESMTPSA id v32sm11875849qta.37.2018.11.15.12.34.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 12:34:17 -0800 (PST) Subject: Re: Official Linux system wrapper library? To: Joseph Myers , 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 , "libc-alpha@sourceware.org" 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> From: Carlos O'Donell Openpgp: preference=signencrypt Organization: Red Hat Message-ID: <8189c55f-8869-8d54-bb23-1234bc6728b8@redhat.com> Date: Thu, 15 Nov 2018 15:34:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/14/18 1:47 PM, Joseph Myers wrote: > 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. I agree. Documentation is important. -- Cheers, Carlos.