Re: [PATCH 02/16] elf, uapi: Add definition for STN_UNDEF

From: Kees Cook
Date: Tue Feb 04 2025 - 10:32:49 EST


On Mon, Feb 03, 2025 at 10:05:03AM +0100, Thomas Weißschuh wrote:
> The definition is used by tools/testing/selftests/vDSO/parse_vdso.c.
> To be able to build the vDSO selftests without a libc dependency,
> add the definition to the kernels own UAPI headers.
>
> Link: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.symtab.html
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>

Reviewed-by: Kees Cook <kees@xxxxxxxxxx>

--
Kees Cook