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

2025-05-22 Thread Dylan Hatch
On Thu, May 22, 2025 at 11:43 AM Dylan Hatch wrote: > -static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int > len) > +static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int > len, > + struct module *me) > { > s64 sval = do_relo

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

2025-05-22 Thread Dylan Hatch
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 partially based off commit 88fc078a7a8f6 ("x86/module: Use text_poke() f