From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF096C79F82 for ; Tue, 8 Sep 2026 14:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+Cz5ERVkEaR7M7w/Nfp8XjnpMbxd5qHpWGQvy+qtdf8=; b=GKPRfHOSHuZBEU05aFLb/Y3oFy hTJIAb4EPu/CBNcAPvzVYKQ/fBPghUbPAC/xEo8aJzcYbUluDMb9Jk1t/v4NWl8FAt/P0y2JllpKN znqk/AQ3RpXMAwgka5zZmvOhF0bLwqU16ZMNLDqGTOGD4/OOMqJWfsexYCY1JleptpB/N/bV9cDPO vgmQ8RAIUQZQfn6g6oHe2Dlh409ee0+l8qrJHH2KSbiVIbNlbx3fQtuZWTpEczt5ypHO5oxewE9ro D0sjRKFip8gZw+7CiNWF3+UZGJTTH96WwNOyveZXwJ4jkSQwntez5ZXHOSnaREnXsXnNV40PBKvae k9O22XyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3wt2-00000009Hg5-0EGR; Tue, 08 Sep 2026 14:33:24 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x3wt0-00000009HfR-0wwa; Tue, 08 Sep 2026 14:33:22 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 34C5B601DE; Tue, 8 Sep 2026 14:33:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF0701F00A3E; Tue, 8 Sep 2026 14:33:02 +0000 (UTC) Message-ID: <1ef2c31d-6ad5-46cd-98ca-0f31485cf8c1@kernel.org> Date: Tue, 8 Sep 2026 16:32:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 02/24] x86/elf, um/x86/elf: Move relocation constants to UAPI To: Borislav Petkov , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andy Lutomirski , Vincenzo Frascino , Kees Cook , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Russell King , Catalin Marinas , Will Deacon , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Huacai Chen , WANG Xuerui , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Bogendoerfer , Miguel Ojeda , Alex Gaynor , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Thomas Gleixner , Boqun Feng , Nicolas Schier , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-mm@kvack.org, linux-um@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-s390@vger.kernel.org, linux-mips@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Jan Stancek , Arnaldo Carvalho de Melo , Alexandre Ghiti References: <20260908-vdso-absolute-reloc-v5-0-3a93791af1cf@linutronix.de> <20260908-vdso-absolute-reloc-v5-2-3a93791af1cf@linutronix.de> <20260908135513.GAaqATwXHcQD7plnH-@fat_crate.local> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20260908135513.GAaqATwXHcQD7plnH-@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org Le 08/09/2026 à 15:55, Borislav Petkov a écrit : > On Tue, Sep 08, 2026 at 08:33:36AM +0200, Thomas Weißschuh wrote: >> These constants are useful for cross-platform userspace, for example to >> process ELF files during kernel cross-compilation. >> >> Move them from the kernel-private architecture-specific header to the UAPI. > > Why UAPI? > > Why not include/linux/ ? > I guess because on some architectures it is already in UAPI, see for instance powerpc in patch 5 ? Christophe