Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3453709ybi; Tue, 18 Jun 2019 00:45:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLBaQ1zX9W7bJkk+Yl33/FldEENrPzWZxAMGs7OtTlQrxqTKI1A/sB2h2tHgj1FI+CI9/X X-Received: by 2002:aa7:8502:: with SMTP id v2mr42061071pfn.98.1560843908773; Tue, 18 Jun 2019 00:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560843908; cv=none; d=google.com; s=arc-20160816; b=ibmMEfUJoBGemomeFRq9pYbOD5W03+fy1rRHMdOJD2T0tl53QYq0fPBKWFC8Sziz8l US2cainPkBCeAcf8vXGwif7q96jjukiBXKxX0A2hwENwouRt+vDgUES1ESmN/OrV1ISy 21sPq35RlFCeUBTHLhCYIadAa8FcV9qwNFcH47gpvyLDJN8OnWa5bVH7AAmyYXUMtk4n ca8DWrTwVjutJRWJZyzr2moWO/I1g9jufsNC9yk29NwFpCaHhoCfjGKRoinwW3CErx+p detpsBLS16SoDiKyXYKXs6AiKQW7PeuWsiEQgz5upQyrMwb9ebR+xt2ITEmRULQbo1Ai qfGg== 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:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=KqVSGmqfbJH3Faq9pdWF2QkWY8GH7Fj3CW7HCcN5CF4=; b=Al8T6NchxFEOs9qaeF7LKjnC5hwM7Sz8dRlieB/NtJf/0R8aZ0gJOxyDe3HytBEab5 JfG+Hlrz5cfJFoQMSTkUbRDUSI4a9znGXI1IPnaePG8d0liXROvVMpc4rF7Uvy+pFMAE Vc4zrLr8d7hJmVtUsUpFefKs5eZpT2K6cuqqP+Gwti42bMqrsL6Hajajr/eg1+zfb16p XPGNNrETUOEtxXj60sExbqB4fNzDqUcouTXOBXVHI3+tzgaKfNK7V2aXvS6+DyFyS/Q1 iNn6onxZJWY1+GNjGEzxwyNbAKxekC1QPZ9ppls23noVO8lUM1xnBudrlRxeJgjNHlUA FBDA== 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 65si12842954ple.240.2019.06.18.00.44.53; Tue, 18 Jun 2019 00:45:08 -0700 (PDT) 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 S1727016AbfFRHon convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Jun 2019 03:44:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52730 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbfFRHon (ORCPT ); Tue, 18 Jun 2019 03:44:43 -0400 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 C3D193092663; Tue, 18 Jun 2019 07:44:42 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-116-148.ams2.redhat.com [10.36.116.148]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2BCA636FA; Tue, 18 Jun 2019 07:44:39 +0000 (UTC) From: Florian Weimer To: Linus Torvalds Cc: Joseph Myers , Arnd Bergmann , Linux API , linux-arch , Netdev , Laura Abbott , Paul Burton , Deepa Dinamani , Linux List Kernel Mailing Subject: Re: [PATCH] uapi: avoid namespace conflict in linux/posix_types.h References: <20190319165123.3967889-1-arnd@arndb.de> <87tvd2j9ye.fsf@oldenburg2.str.redhat.com> <871s05fd8o.fsf@oldenburg2.str.redhat.com> <87sgs8igfj.fsf@oldenburg2.str.redhat.com> <87k1dkdr9c.fsf@oldenburg2.str.redhat.com> <87a7egdqgr.fsf@oldenburg2.str.redhat.com> Date: Tue, 18 Jun 2019 09:44:38 +0200 In-Reply-To: (Linus Torvalds's message of "Mon, 17 Jun 2019 11:48:47 -0700") Message-ID: <87lfxzbamx.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT 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.43]); Tue, 18 Jun 2019 07:44:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds: > On Mon, Jun 17, 2019 at 11:19 AM Florian Weimer wrote: >> > >> > Unlike the "val[]" thing, I don't think anybody is supposed to access >> > those fields directly. >> >> Well, glibc already calls it __val … > > Hmm. If user space already doesn't see the "val[]" array anyway, I > guess we could just do that in the kernel too. > > Looking at the glibc headers I have for fds_bits, glibc seems to do > *both* fds_bits[] and __fds_bits[] depending on __USE_XOPEN or not. > > Anyway, that all implies to me that we might as well just go the truly > mindless way, and just do the double underscores and not bother with > renaming any files. > > I thought people actually might care about the "val[]" name because I > find that in documentation, but since apparently it's already not > visible to user space anyway, that can't be true. > > I guess that makes the original patch acceptable, and we should just > do the same thing to fds_bits.. Hah. I think Arnd's original patch already had both. So it's ready to go in after all? Thanks, Florian