[PATCH v2] powerpc: Handle error in mark_rodata_ro() and mark_initmem_nx()

Michael Ellerman patch-notifications at ellerman.id.au
Sat Mar 23 11:45:57 AEDT 2024


On Sat, 16 Mar 2024 12:18:21 +0100, Christophe Leroy wrote:
> mark_rodata_ro() and mark_initmem_nx() use functions that can
> fail like set_memory_nx() and set_memory_ro(), leading to a not
> protected kernel.
> 
> In case of failure, panic.
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Handle error in mark_rodata_ro() and mark_initmem_nx()
      https://git.kernel.org/powerpc/c/78cb0945f7141961781f815168f6873ad2b7ed29

cheers


More information about the Linuxppc-dev mailing list