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

From: Christophe Leroy (CS GROUP)

Date: Tue Sep 08 2026 - 10:33:52 EST




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