[PATCH] elf: add remaining SHF_ flag macros

Kees Cook kees at kernel.org
Fri Mar 7 12:23:58 PST 2025


On Fri, 07 Mar 2025 11:14:17 -0600, Timur Tabi wrote:
> Add the remaining SHF_ flags, as listed in the "Executable and
> Linkable Format" Wikipedia page.  This allows drivers to load and
> parse ELF images that use some of those flags.
> 
> In particular, an upcoming change to the Nouveau GPU driver will
> use some of the flags.
> 
> [...]

I added a reference to:
https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.sheader.html#sh_flags

Applied to for-next/topic/execve/core, thanks!

[1/1] elf: add remaining SHF_ flag macros
      https://git.kernel.org/kees/c/b0db1ed17645

Take care,

-- 
Kees Cook




More information about the kexec mailing list