[PATCH v2 2/2] arm64/module: Use text-poke API for late relocations.

Song Liu song at kernel.org
Mon Apr 21 17:35:26 PDT 2025


On Fri, Apr 11, 2025 at 6:10 PM Dylan Hatch <dylanbhatch at google.com> wrote:
>
> To enable late module patching, livepatch modules need to be able to
> apply some of their relocations well after being loaded. In this
> scenario, use the text-poking API to allow this, even with
> STRICT_MODULE_RWX.
>
> This patch is largely based off commit 88fc078a7a8f6 ("x86/module: Use
> text_poke() for late relocations").
>
> Signed-off-by: Dylan Hatch <dylanbhatch at google.com>

Acked-by: Song Liu <song at kernel.org>



More information about the linux-arm-kernel mailing list