aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorGravatar Mike Rapoport (IBM) <rppt@kernel.org> 2024-05-05 19:06:23 +0300
committerGravatar Luis Chamberlain <mcgrof@kernel.org> 2024-05-14 00:31:43 -0700
commit1b750c2fbf82fd704255d1975db39d9b429922f0 (patch)
tree0217540a017970e8ce97d5910540878e1eebc554 /arch/mips
parentarm64: extend execmem_info for generated code allocations (diff)
downloadlinux-1b750c2fbf82fd704255d1975db39d9b429922f0.tar.gz
linux-1b750c2fbf82fd704255d1975db39d9b429922f0.tar.bz2
linux-1b750c2fbf82fd704255d1975db39d9b429922f0.zip
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/mips')
0 files changed, 0 insertions, 0 deletions