diff options
author | Mike Rapoport (IBM) <rppt@kernel.org> | 2024-05-05 19:06:23 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2024-05-14 00:31:43 -0700 |
commit | 1b750c2fbf82fd704255d1975db39d9b429922f0 (patch) | |
tree | 0217540a017970e8ce97d5910540878e1eebc554 /arch/arm | |
parent | e2effa2235d9c7d0e9410637a2602bc69ee4f800 (diff) |
powerpc: extend execmem_params for kprobes allocations
powerpc overrides kprobes::alloc_insn_page() to remove writable
permissions when STRICT_MODULE_RWX is on.
Add definition of EXECMEM_KRPOBES to execmem_params to allow using the
generic kprobes::alloc_insn_page() with the desired permissions.
As powerpc uses breakpoint instructions to inject kprobes, it does not
need to constrain kprobe allocations to the modules area and can use the
entire vmalloc address space.
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions