[PATCH] arm64: kprobes: Drop ID map text from kprobes blacklist

Catalin Marinas catalin.marinas at arm.com
Tue Feb 7 10:54:10 PST 2023


On Sat, 04 Feb 2023 11:18:07 +0100, Ard Biesheuvel wrote:
> The ID mapped text region is never accessed via the normal kernel
> mapping of text, and so it was moved into .rodata instead. This means it
> is no longer considered as a suitable place for kprobes by default, and
> the explicit blacklist is unnecessary, and actually results in an error
> message at boot:
> 
>   kprobes: Failed to populate blacklist (error -22), kprobes not restricted, be careful using them!
> 
> [...]

Applied to arm64 (for-next/efi-boot-mmu-on), thanks!

[1/1] arm64: kprobes: Drop ID map text from kprobes blacklist
      https://git.kernel.org/arm64/c/a088cf8eee12

-- 
Catalin




More information about the linux-arm-kernel mailing list