Files
linux/arch/riscv/kernel
Richard Patel 15b4155138 riscv: cfi: reject unknown flags in PR_SET_CFI
prctl(PR_SET_CFI,PR_CFI_BRANCH_LANDING_PADS) silently ignored
unknown control values. Only PR_CFI_{ENABLE,DISABLE,LOCK} should
be permitted.

This changes the behavior of the uABI (fails previously accepted bits
with EINVAL).

Fixes: 08ee155905 ("prctl: cfi: change the branch landing pad prctl()s to be more descriptive")
Signed-off-by: Richard Patel <ripatel@wii.dev>
Link: https://patch.msgid.link/20260518183918.322545-1-ripatel@wii.dev
[pjw@kernel.org: change the patch description to note that although this is a uABI change, it does not break the uABI]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2026-06-06 20:17:05 -06:00
..
2025-01-18 12:33:39 -08:00
2025-05-21 16:46:37 +02:00
2026-04-04 18:42:44 -06:00
2026-04-04 18:42:44 -06:00
2025-06-26 16:06:40 +02:00
2022-05-19 19:30:30 +02:00
2024-09-03 07:57:55 -07:00
2026-04-04 18:42:44 -06:00