Files
erofs-linux/kernel/module
Mike Rapoport (Microsoft) c287c07233 module: switch to execmem API for remapping as RW and restoring ROX
Instead of using writable copy for module text sections, temporarily remap
the memory allocated from execmem's ROX cache as writable and restore its
ROX permissions after the module is formed.

This will allow removing nasty games with writable copy in alternatives
patching on x86.

Signed-off-by: "Mike Rapoport (Microsoft)" <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2025-02-03 11:46:02 +01:00
..
2023-03-09 11:08:24 +01:00
2024-08-08 17:36:35 +02:00
…
2023-11-01 13:07:08 -07:00