]> Gentwo Git Trees - linux/.git/commit
elf, uapi: Add definitions for VER_FLG_BASE and VER_FLG_WEAK
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 26 Feb 2025 11:44:43 +0000 (12:44 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Mar 2025 19:00:11 +0000 (20:00 +0100)
commit049d19bb3807e10902d41125c9d511025389718f
tree02559115da98d3b7fd606c9629e49556bb257f7c
parent50881d1469cf35eec690d863276cf257c391eec5
elf, uapi: Add definitions for VER_FLG_BASE and VER_FLG_WEAK

The definitions are used by tools/testing/selftests/vDSO/parse_vdso.c.

To be able to build the vDSO selftests without a libc dependency,
add the definitions 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://docs.oracle.com/cd/E19683-01/816-1386/chapter6-80869/index.html
Link: https://lore.kernel.org/all/20250226-parse_vdso-nolibc-v2-4-28e14e031ed8@linutronix.de
include/uapi/linux/elf.h