Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6567548imu; Wed, 14 Nov 2018 03:41:35 -0800 (PST) X-Google-Smtp-Source: AJdET5dtrH2As3N6hqpZSg+0rHLFj4IxvIAG5XMtZHJUJh09IXc0mmr6eYcGQ3SqlbExvhLnQqfp X-Received: by 2002:a63:7b06:: with SMTP id w6mr1430332pgc.288.1542195695487; Wed, 14 Nov 2018 03:41:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542195695; cv=none; d=google.com; s=arc-20160816; b=OtbSCLSEHzPNgh5h1Ob9LDM7rkOp2pO5tjkiUBx+ivPgelupZegTpT09gl5xrSdd64 VCAGeFLd/Y+PpLE3lxjwpuB/LuHBacxxwnDKvyIAB5ZYNzRNc7h1uwl+oBQXPV/3WOTG a8vBoSD7Pnh+K2UAh7K+3Oi7cfrzDNnAj4dteHgYC0QLZQl7ERuhnt3p8InM5zdhNK4k s+KbRbpCqxoSeKO19epvYykbWh1JmFC/KrSL29cN9b9ODdsp3J67WNU006FsSgqIYVYy DZl02YveyOZtC8Fh46J/0LW+O2fVRKUjt69L5kZS34cpf7zIE/TQQlOaUcJ/ijgBPj6g Vp7w== 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:message-id :in-reply-to:date:references:subject:cc:to:from; bh=I9IVgwzSFMu+DJBI80pvuOFfHbRoCV7xPPImY5670Zk=; b=Z6fa4yL+tdp0TffRHIuI4vYuax2UopAL8NT8mHUtxSmeyMKjiSw1k52DV66q8zkCTF /Q7ntYIl0iKcUIv+g7HPVc2PTMkWxioamG7V3QCa+ppvuRHOvlgm+Ol+9GOPx6vOCmJX CVS9SZ3oA9L4AWRjZSI90D/PMtdJZN970ExwLl9b9JtoM8XpksBKhyTsx8mZh4opgwu0 AwVxLv2WjJCXQ8buZBIXCI3iFiLyNKKKJLmMUJchUfkWOVJFNWz24JATFn+emvG83snP ZMxVB1Pg7411bSB9cCpVX/88voccdKW4i4yrxgPeKs/wNyymWixncYdrKinPOeW6fFkn AgjA== 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 1-v6si25111979pln.299.2018.11.14.03.41.17; Wed, 14 Nov 2018 03:41:35 -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 S1728141AbeKNVnu (ORCPT + 99 others); Wed, 14 Nov 2018 16:43:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51658 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbeKNVnu (ORCPT ); Wed, 14 Nov 2018 16:43:50 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AFB93306B62A; Wed, 14 Nov 2018 11:40:56 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-117-210.ams2.redhat.com [10.36.117.210]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 50B915D9CC; Wed, 14 Nov 2018 11:40:51 +0000 (UTC) From: Florian Weimer To: Dave Martin Cc: Andy Lutomirski , Daniel Colascione , "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? References: <877ehjx447.fsf@oldenburg.str.redhat.com> <875zx2vhpd.fsf@oldenburg.str.redhat.com> <20181113193859.GJ3505@e103592.cambridge.arm.com> <69B07026-5E8B-47FC-9313-E51E899FAFB0@amacapital.net> <20181114105449.GK3505@e103592.cambridge.arm.com> Date: Wed, 14 Nov 2018 12:40:44 +0100 In-Reply-To: <20181114105449.GK3505@e103592.cambridge.arm.com> (Dave Martin's message of "Wed, 14 Nov 2018 10:54:51 +0000") Message-ID: <877ehfdgzn.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 14 Nov 2018 11:40:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Dave Martin: > Fair points, though this is rather what I meant by "sane essentials". > Because there are strict limits on what can be done in the vDSO, it may > be more bloat-resistant and more conservatively maintained. > > This might provide a way to push some dumb compatibility kludge code > that receives little ongoing maintenance outside the privilege wall, > whereas it has to sit in the kernel proper today. > > In theory we could opt to advertise new syscalls only via vDSO entry > points, and not maintain __NR_xxx values for them (which may or may > not upset ptrace users.) Anyway, I digress... Is the vDSO available across all architectures? (I don't think we use it on all architectures in glibc.) If not, a vDSO-based approach would merely lead to even more variance between architectures, which can't be a good thing. Thanks, Florian