]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
elf, uapi: Add definition for STN_UNDEF
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 26 Feb 2025 11:44:41 +0000 (12:44 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Mar 2025 19:00:11 +0000 (20:00 +0100)
commitc4131140961b93883e69a01b09f8ed4bcebefaf1
tree9fc66f2ae123918773fca14ae05ec71e5a9da9d4
parentba2e35644d09af730880bb404bb6dd84685dcd7e
elf, uapi: Add definition for STN_UNDEF

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.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.symtab.html
Link: https://lore.kernel.org/all/20250226-parse_vdso-nolibc-v2-2-28e14e031ed8@linutronix.de
include/uapi/linux/elf.h