Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2872131ybi; Mon, 17 Jun 2019 11:49:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWKg5jfVs5wa3wjT3t1hyIBhhI9tTfdgO/0mUtgOXNvzo/AK5yeEZ1nyQN0ZJtdfbMw1Di X-Received: by 2002:a62:1c92:: with SMTP id c140mr115339409pfc.258.1560797387140; Mon, 17 Jun 2019 11:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560797387; cv=none; d=google.com; s=arc-20160816; b=qBR4Ycu96V/d5YXI0E8wolmYFmEgy4ISW2bL1HD07Fu73oMuQQ9bLaenZq5dmARdyJ KlMQcKuLvSVPQIf6sx8qSDSLHzOQr5xk2GbnChdycwhoGF7hC3L7tZWiwvTW97hoqxRp XYvcwX/xwH+fl6GjCMN0TXttRStW4Pq0r5GqFxuswAP5tWyIaY83yrYTLDjuNaiobt/4 yArI+DRvYyDlZvsQ59dCLNeHcNQcXoUcdw0bmq1N1+eO8WyBHtXA2sduO8PdpumswTam VDmKRpgpQkAvwrkQ9Oiwm8i5E6gc9/R4OWu56iQHuC4Tal1DOh68AU//TQud2xMC23rH 0o/A== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nOSaXiJzVDj5IM4aW+0gcUHxkkLPWAqm3lSgcsh3l8M=; b=ORXEqCxOGmWa1HHVzbr7FJC27ZdV0FYVok40p1hkViZduY7Z1meaBsQ7i7Bai9okyc QgcGhYP0JbInZAbdlerY3d24G59o7BZy0sxf/Y2h8KF5JWzMS17C4wC/VGtSJYwJ25oB 6wocYtTxBOYDm/1N2KJFbmmm5FIOP9R2mF3OxWtuthUlsdxtfWg+sUP2Zzq+yk84L66M kshG9kX935Hi1+koVRxmMtbIpJGabYn4YoZlcu6f8p+NYl2/ee3xdHNmcCGM7u7b1Pi1 s5z/LWdDVAnx/2sK/StAceb5A7ZxUUPeX5Z8v8yQORd5+HtM4REQj5Pgude3ADrseUw3 T1GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="MvA2SRX/"; 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 f20si1856292pfn.166.2019.06.17.11.49.32; Mon, 17 Jun 2019 11:49:47 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b="MvA2SRX/"; 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 S1725772AbfFQStI (ORCPT + 99 others); Mon, 17 Jun 2019 14:49:08 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:32933 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbfFQStI (ORCPT ); Mon, 17 Jun 2019 14:49:08 -0400 Received: by mail-lj1-f196.google.com with SMTP id h10so10378118ljg.0 for ; Mon, 17 Jun 2019 11:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=nOSaXiJzVDj5IM4aW+0gcUHxkkLPWAqm3lSgcsh3l8M=; b=MvA2SRX/VcHcJ/x8ZeKMF1KFFgxP8vUPLAhIurER9lCvX2VZXMWPDioh1w1srq6rzn Zwoo9Xfyqg0l9Ax5Wz+NR2tDOku7ZmEn5fLqn1riZVzXmnUdqe43mDIsx1k087Au98Il q7u7RVM4b0VfVPtmQV1Q1W6OJiHBfodkWBImc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=nOSaXiJzVDj5IM4aW+0gcUHxkkLPWAqm3lSgcsh3l8M=; b=DQljl4P5uwp//PMeXQrueTzPl0D8/ZqETGq2Rc8GATxEyYRuUGXalMh0AOs0rDg7ME Div69PyE9yW2UNBBVHAnG5STw40uUoSHv8c4Bt2c4WhKI2JDuDFnTlf9nwu5wducnv/2 uAaERzTTyDUzmKh7/pOWg0STIsh6i781Nc+0qWQ8cUhcnKtfWCtPWzeNRxdfFwAsJFqP J7LdKdL2hn9vkHHti0hRBrh3ijDGeNPXOLBFSJrx1nt8qvthiVSUuVLPBg1fdRyzkGyT 6i7ZXCFcPF2G+Ba2qNIifyrFg6Ez1rAyeVuBk4KGno9pqeHmTJJUJ9qXC82wj8V5N3r3 mAhA== X-Gm-Message-State: APjAAAWUKjXdQLkQIMaCiMvHYLBf0G9mPZQxqjT0LdCL2d3B2k+kC8vu QrmACrsgEJqQV9mR57dO4R+5/sR/DJs= X-Received: by 2002:a2e:a318:: with SMTP id l24mr48472968lje.36.1560797345231; Mon, 17 Jun 2019 11:49:05 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id b9sm2220752ljj.92.2019.06.17.11.49.03 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 11:49:04 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id d11so7328544lfb.4 for ; Mon, 17 Jun 2019 11:49:03 -0700 (PDT) X-Received: by 2002:ac2:44c5:: with SMTP id d5mr6889528lfm.134.1560797343688; Mon, 17 Jun 2019 11:49:03 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <87a7egdqgr.fsf@oldenburg2.str.redhat.com> From: Linus Torvalds Date: Mon, 17 Jun 2019 11:48:47 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] uapi: avoid namespace conflict in linux/posix_types.h To: Florian Weimer Cc: Joseph Myers , Arnd Bergmann , Linux API , linux-arch , Netdev , Laura Abbott , Paul Burton , Deepa Dinamani , Linux List Kernel Mailing Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 =E2=80=A6 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.. Linus