mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
riscv: alternative: Also patch the CFI vDSO
The dedicated vDSO for CFI-enabled userspace can also contain
alternative entries.
Patch those, too.
Fixes: ccad8c1336 ("arch/riscv: add dual vdso creation logic and select vdso based on hw")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20260504-riscv-cfi-vdso-alternative-v1-4-bcdf3d37f62e@linutronix.de
Signed-off-by: Paul Walmsley <pjw@kernel.org>
This commit is contained in:
parent
6386161abb
commit
d3e0634787
|
|
@ -205,6 +205,9 @@ void __init apply_boot_alternatives(void)
|
|||
|
||||
if (IS_ENABLED(CONFIG_MMU))
|
||||
apply_vdso_alternatives(vdso_start);
|
||||
|
||||
if (IS_ENABLED(CONFIG_RISCV_USER_CFI))
|
||||
apply_vdso_alternatives(vdso_cfi_start);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user