Re: [PATCH 03/16] elf, uapi: Add definition for DT_GNU_HASH
From: Kees Cook
Date: Tue Feb 04 2025 - 10:33:06 EST
On Mon, Feb 03, 2025 at 10:05:04AM +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 define to the kernels own UAPI headers.
>
> Link: https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/libc-ddefs.html
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook