[PATCH v5 02/24] x86/elf, um/x86/elf: Move relocation constants to UAPI

Christophe Leroy (CS GROUP) chleroy at kernel.org
Tue Sep 8 07:32:59 PDT 2026



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



More information about the linux-riscv mailing list