Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp348404rwe; Thu, 25 Aug 2022 01:07:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR6puTCdzaa+Kn2gc9z+3kzqpQ2oaJvcbes6wTMYOv6QDZPUZL+F4DwTHzoYR1uCsx2Y7Wa+ X-Received: by 2002:a05:6402:524e:b0:446:9ebb:7134 with SMTP id t14-20020a056402524e00b004469ebb7134mr2133209edd.284.1661414859314; Thu, 25 Aug 2022 01:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661414859; cv=none; d=google.com; s=arc-20160816; b=tq6feowjB+iAorRhsHzRsc/OPNoideFXpJAWGqYAakmidiLUXwDR8yKM/i6t1cOfcr 8/v13rVhjr8a98NGatJV4jf0zHbsblBZ5fYlG/dHFlBdQDRIX9Hy6x1GCa6nY8P26sX4 7Wj79ehNofUVdNKZhOWqW+NEPCDP56wBPWsugV2Uy8s4m/BaUcDAC8+Wa/4B0y4dRlQp nKIq6M+HhYLDb/cqwJp7g/Zpf+TMnSENV5nW+qLx4mcref+YZWAroWsYhjxKDORsfFQB Baxi+GA+cdPP5snLzNbj+yl7sEgTB6bArfmEMra2Z3bMVLjD5OLaeM1vK0mYui+CAGkh PQUQ== 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 :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Cix41BCOFm+xrpqNs8GpKgM6bWtRw1vi7yQDqzNHw3o=; b=O2ADNELVpnXL0YMlxv/FCuSfFPb5CqBLEWeaYY91pxW+r8O8Do797RLIZPGisiFJ+M pl7oxs3Cm+it87YYlczya/fXm7I7e/4NFMYtcsH5ahL/6Z21ukiUr1EpZ/xX0FtRIrh+ fpPRTdXNzbeNX3LmzkpSoMBrTiMxN65+OM2KKr/N1Pcp9Spdxk3ANxWl1atdu25qj76L SMiCZBQs1+xSYldfo44J/T4lL7OnWLe1JYZtFweisA7jUVSXOuFLJMbm6WxTVqes4RMN qon3+Tts99RV9tEBwThH9qT57lbaJvofCfjE693dyU2D5VXvpc5I+Z5A0unDCw2tEmX2 2/Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=nmfnx0FO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a50d0d2000000b00446fdce2a62si5934797edf.420.2022.08.25.01.07.14; Thu, 25 Aug 2022 01:07:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=nmfnx0FO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238468AbiHYHry (ORCPT + 99 others); Thu, 25 Aug 2022 03:47:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiHYHru (ORCPT ); Thu, 25 Aug 2022 03:47:50 -0400 X-Greylist: delayed 596 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 25 Aug 2022 00:47:49 PDT Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B30C9C204; Thu, 25 Aug 2022 00:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1661412519; bh=9K2f0e10ZANjjOudPs4B7euHG9H2+iiRuaYv5ZJbA1k=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=nmfnx0FO7b7ckLx4wu28ch41hPeeFb8cw/Rec9LmSdOzvBzyZRKWr29E2ij+mZidq p+PyBUS94RPQ8ZVOQohv/ssSTzNWvFVIBOAK2oXYYvF8PxE+ncWh8Qc0BRBwiC+nYu 1x1J2Ybes6HSKUHLHDFj3IlLEWTGqKVW0tWQGC4U= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 1A8FD6684B; Thu, 25 Aug 2022 03:28:33 -0400 (EDT) Message-ID: <5a3ce36a284fe988694d2e75117aca5f9af66194.camel@xry111.site> Subject: Re: [PATCH v3] Many pages: Document fixed-width types with ISO C naming From: Xi Ruoyao To: Alejandro Colomar , Linus Torvalds Cc: linux-man , Rich Felker , Alexei Starovoitov , David Howells , Alexei Starovoitov , Joseph Myers , linux-arch , Zack Weinberg , Daniel Borkmann , Alex Colomar , Michael Kerrisk , Cyril Hrubis , Arnd Bergmann , GCC , LTP List , Florian Weimer , glibc , Greg Kroah-Hartman , LKML , David Laight , Linux API , bpf Date: Thu, 25 Aug 2022 15:28:32 +0800 In-Reply-To: <20d93962-538c-d2c9-1696-a1bdbffa87f8@gmail.com> References: <20210423230609.13519-1-alx.manpages@gmail.com> <20220824185505.56382-1-alx.manpages@gmail.com> <20d93962-538c-d2c9-1696-a1bdbffa87f8@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2022-08-25 at 09:20 +0200, Alejandro Colomar via Gcc-patches wrote: > I don't know for sure, and I never pretended to say otherwise.=C2=A0 But = what=20 > IMHO the kernel could do is to make the types compatible, by typedefing= =20 > to the same fundamental types (i.e., long or long long) that user-space= =20 > types do. In user-space things are already inconsistent as we have multiple libc implementations. Telling every libc implementation to sync their typedef w/o a WG14 decision will only cause "aggressive discussion" (far more aggressive than this thread, I'd say). If int64_t etc. were defined as builtin types since epoch, things would be a lot easier. But we can't change history. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University