Thread (53 messages) 53 messages, 8 authors, 18d ago

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

From: Borislav Petkov <bp@alien8.de>
Date: 2026-09-08 15:13:54
Also in: linux-kbuild, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um, lkml, llvm, loongarch, rust-for-linux

On Tue, Sep 08, 2026 at 04:26:00PM +0200, Thomas Weißschuh wrote:
The existing, generic ELF definitions are there.
The ELF stuff in include/linux/ is highly specific to Linux.
And putting them in UAPI casts them in stone. I wouldn't want to maintain them
forever if not necessary.
Also later in the patchset I want to expose the definitions to the
tools/ build. Exposing generic UAPI definitions to tools/ is a much
easier sell than include/linux/.
tools/ *copies* kernel headers on a "they're needed" basis. No need to put
anything in UAPI for that.

It's even written down: tools/include/uapi/README

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help