From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 26FE81F4D7 for ; Fri, 17 Jun 2022 15:02:20 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="oATsqTy3"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="DEw9fjGn"; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 77B9B386F0D9 for ; Fri, 17 Jun 2022 15:02:15 +0000 (GMT) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 153113857B82 for ; Fri, 17 Jun 2022 15:02:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 153113857B82 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BB97321E1A; Fri, 17 Jun 2022 15:02:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655478122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pPx6aFu2+C8m/s4I7i764IkxIpymMdXz3MEbjj3vaT0=; b=oATsqTy3tWG8Ye+OffaNGYq3oEgZNgmCNzza7t3ngrO1yGVyypI7yt2ZirBjSr64rnPsZN MiHEKYDroCoqvAJrUhXooL3TtOE1FOvf+qTsMQM97PhAhUH7kWhk/5PUjdsHIbdN/odghh plZA8x1CptqK4GLO1FXyfzp6DaSp76s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655478122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pPx6aFu2+C8m/s4I7i764IkxIpymMdXz3MEbjj3vaT0=; b=DEw9fjGnI3YFS2Qar0UQ2i6XX8xUnKrGi548MpVPHdzQMbwoCyfx/htX8EycNF2hVzziS1 PkrETsjvUBzFRzDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A8A151348E; Fri, 17 Jun 2022 15:02:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7OoAKGqXrGLnPQAAMHmgww (envelope-from ); Fri, 17 Jun 2022 15:02:02 +0000 Date: Fri, 17 Jun 2022 17:04:12 +0200 From: Cyril Hrubis To: Alejandro Colomar Subject: Re: Ping: [PATCH] uapi: Make __{u, s}64 match {u, }int64_t in userspace Message-ID: References: <1618289.1637686052@warthog.procyon.org.uk> <913509.1638457313@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-arch@vger.kernel.org" , libc-alpha@sourceware.org, "linux-api@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Howells , David Laight , Zack Weinberg , "ltp@lists.linux.it" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Hi! > >>> I could be persuaded otherwise with an example of a program for which > >>> changing __s64 from 'long long' to 'long' would break *binary* backward > >>> compatibility, or similarly for __u64. > >> > >> C++ could break. > > > > Thinking of this again we can detect C++ as well so it can be safely > > enabled just for C with: > > > > #if !defined(__KERNEL__) && !defined(__cplusplus) && __BITSPERLONG == 64 > > # include > > #else > > # include > > #endif > > > > I'm very interested in seeing this merged, as that would allow > simplifying the man-pages by removing unnecessary kernel details such as > u64[1]. How is the state of this patch? I guess that it stalled because I haven't posted it as an actual patch, I should do so to get this back on a track. -- Cyril Hrubis chrubis@suse.cz