Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3819044pxy; Mon, 26 Apr 2021 10:27:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF1HcP26bhFhFFCJ/N7S1ge8Ab+0elGbQbnuAfNxPCFtuW7JOScPNXUmuuoYSLUBIxRiwg X-Received: by 2002:a17:906:110a:: with SMTP id h10mr2025814eja.410.1619458071607; Mon, 26 Apr 2021 10:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619458071; cv=none; d=google.com; s=arc-20160816; b=Yg+y7dR2r1orQwJ0P7YsbNDbNV0rR9WBaQ0liWHd53TmfpxLCDZAgjNooFyr+7apn+ pvMYp0L4RlGxOJnYYr6ZKE+OSNa1Xhz/z9nSk8OykFQD/EsGLEwUjcx9oyOnhpWanP5V uU5H0JPRBh+qYEj9AtFOmFeBuNnd1Gos5SP+6cdsSCMnMgpBRqL8sBB5ebQNYD9cdgAl 1y+gQExNh+rMXnCLyZsBCcx2heebqVVAwDoapwifDS6CnYlP/GisvoxQVeXE4zIkEs6E aMwVoa2LIFw4wpJ2RMio9a5TCG6vVTyLklTdDDhaqA5i6vo1ZClyrCFW7lUN5IFTA6nY wKnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:ironport-sdr:ironport-sdr; bh=r0zwNRlx5gxB+fo3liwqvdK3/m5QlZE1203Yl+XDgQk=; b=qAR9QzEqcNZ2d36CpEHZ1WIkB6HH1LaVR2oYSvd0ejbI+Bmu3PUc4JJ7slNXexB7xA 9m/hY2WmoFrXkmTOjFSNiHw563rLUYd2+PP/PGCA/i0IXLTaoAKvDhgc9BOYoL6iZ3KP FMpFTGyBUdbgnYN8sOO0q8HA6ZGCu1W2/9JN1vbnkC41h+P7P2EOi6DjL3YwtsoOrr+s JFf1rEGR4JE6/iPK/LeVfayVA28zytcfb9lSliQGgyiVr6e8Afr0NaPBZw0LqvtcDvsz rYRHwJpJ2xfzz36REI2s+vw4mKT6byUt/EnWik3EhdM23EaAdxwOaiZBsqBK0RvN8z17 npxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc19si327342edb.354.2021.04.26.10.27.27; Mon, 26 Apr 2021 10:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235550AbhDZR1G (ORCPT + 99 others); Mon, 26 Apr 2021 13:27:06 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:62824 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235241AbhDZR1G (ORCPT ); Mon, 26 Apr 2021 13:27:06 -0400 X-Greylist: delayed 430 seconds by postgrey-1.27 at vger.kernel.org; Mon, 26 Apr 2021 13:27:06 EDT IronPort-SDR: IWuO6eyjHRki6A3pxfdsGIsVmsPKnqlifC8wplSzx/+qP5I3zxq4uAwRWcSo7g9CTbV5hdofFE aTcO2AkC26BF0NYxz/Y8XQoeCD3BhdQzd5CSSxj+gZ8FYWwgmXouhhQzyc/C0g/R/jHCyjjDGj QCzEQAMwFIaDp5Ec1KiD9IC9H/eR79YBUSS5LJ9O9KvrfmQpzUYVZGbHtwC6iR1FzgSUeueu+K o0faHhCdDbQoDR73sBVyge7xzecRTeUPTFJj+i8xrkVYwLN8vMIuoZg8oQ6JN6GEJ7uqhsYOQC MPM= X-IronPort-AV: E=Sophos;i="5.82,252,1613462400"; d="scan'208";a="60674745" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 26 Apr 2021 09:19:13 -0800 IronPort-SDR: hVNETrJmdsECZoHvqs0DjVbjjB4D+FVH8Iv6VkjYfdaIaO8I/fMfTeTxmZEaYWZK0+0oZOslIy rkFFwcx5JLTZjNDafr0h5Xm3ROGNwoPTkQWvFFSOnsmAxgTzeUq8I7qGK6va6YNLzIEIzpPEuD NHU/lnukVsVThxiM3eWNlBTFE5KOo2TrqOiDyrgklcDyyTty4gAbsGd0jnHUYhllbOOAayZuGx 181tpRt3FgW8A46M5RsNr3LEMnyOgk1XGLT1oaxWdpjoJsROj7yUWR9rSaCN5q2FxnSw3eecrf OOU= Date: Mon, 26 Apr 2021 17:19:07 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Alejandro Colomar CC: , , , , Subject: Re: [RFC] bpf.2: Use standard types and attributes In-Reply-To: <20210423230609.13519-1-alx.manpages@gmail.com> Message-ID: References: <20210423230609.13519-1-alx.manpages@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Apr 2021, Alejandro Colomar via Libc-alpha wrote: > Some pages also document attributes, using GNU syntax > '__attribute__((xxx))'. Update those to use the shorter and more > portable C2x syntax, which hasn't been standardized yet, but is > already implemented in GCC, and available through either --std=c2x > or any of the --std=gnu... options. If you mention alignment in the manpage at all, the same reasoning would say you should use _Alignas(8) not [[gnu::aligned(8)]], in any context where _Alignas is valid. -- Joseph S. Myers joseph@codesourcery.com