Re: [PATCH v13 3/8] powerpc/kprobes: Mark newly allocated probes as ROX

2021-05-13 Thread Christophe Leroy
Le 10/05/2021 à 03:18, Jordan Niethe a écrit : From: Russell Currey Add the arch specific insn page allocator for powerpc. This allocates ROX pages if STRICT_KERNEL_RWX is enabled. These pages are only written to with patch_instruction() which is able to write RO pages. Reviewed-by: Daniel

[PATCH v13 3/8] powerpc/kprobes: Mark newly allocated probes as ROX

2021-05-09 Thread Jordan Niethe
From: Russell Currey Add the arch specific insn page allocator for powerpc. This allocates ROX pages if STRICT_KERNEL_RWX is enabled. These pages are only written to with patch_instruction() which is able to write RO pages. Reviewed-by: Daniel Axtens Signed-off-by: Russell Currey