[PATCH v2 2/2] arm64/module: Use text-poke API for late relocations.
Song Liu
song at kernel.org
Mon Apr 21 23:25:04 PDT 2025
On Mon, Apr 21, 2025 at 5:35 PM Song Liu <song at kernel.org> wrote:
>
> 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>
Could you please share how you test this?
Thanks,
Song
> Acked-by: Song Liu <song at kernel.org>
More information about the linux-arm-kernel
mailing list