[PATCH 0/4] riscv: alternative: Also patch the CFI vDSO
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Sun May 3 23:30:49 PDT 2026
The dedicated vDSO for CFI-enabled userspace can also contain
alternative entries.
It seems the vDSO alternative patching is actually dead code since
commit 0b1d60d6dd9e ("riscv: Fix build with
CONFIG_CC_OPTIMIZE_FOR_SIZE=y"). However new usages will be added
soonish.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (4):
riscv: vdso: Always declare vdso_start symbols
riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()
riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()
riscv: alternative: Also patch the CFI vDSO
arch/riscv/include/asm/vdso.h | 10 +++++-----
arch/riscv/kernel/alternative.c | 14 +++++++-------
2 files changed, 12 insertions(+), 12 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260428-riscv-cfi-vdso-alternative-7d8ad1a1c29c
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the linux-riscv
mailing list