linux/arch/arm64/kernel/probes
Yang Shi 195a1b7d83 arm64: kprobes: call set_memory_rox() for kprobe page
The kprobe page is allocated by execmem allocator with ROX permission.
It needs to call set_memory_rox() to set proper permission for the
direct map too. It was missed.

Fixes: 10d5e97c1b ("arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page")
Cc: <stable@vger.kernel.org>
Signed-off-by: Yang Shi <yang@os.amperecomputing.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
2025-09-25 13:56:48 +01:00
..
Makefile
decode-insn.c arm64: probes: Break ret out from bl/blr 2025-09-16 20:31:44 +01:00
decode-insn.h arm64: probes: Remove probe_opcode_t 2024-10-15 18:16:20 +01:00
kprobes.c arm64: kprobes: call set_memory_rox() for kprobe page 2025-09-25 13:56:48 +01:00
kprobes_trampoline.S arm64: debug: call software breakpoint handlers statically 2025-07-08 13:27:41 +01:00
simulate-insn.c arm64: probes: Fix incorrect bl/blr address and register usage 2025-09-18 21:06:59 +01:00
simulate-insn.h arm64: probes: Break ret out from bl/blr 2025-09-16 20:31:44 +01:00
uprobes.c arm64: uprobes: Add GCS support to uretprobes 2025-09-16 21:34:06 +01:00