diff options
| author | Christophe Leroy <[email protected]> | 2024-03-16 11:18:21 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-03-17 02:33:21 +0000 |
| commit | 78cb0945f7141961781f815168f6873ad2b7ed29 (patch) | |
| tree | b6855d3d005eb6f15e6d30dd563a526899efaf4f /scripts/generate_rust_target.rs | |
| parent | Merge tag 'powerpc-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po... (diff) | |
| download | kernel-78cb0945f7141961781f815168f6873ad2b7ed29.tar.gz kernel-78cb0945f7141961781f815168f6873ad2b7ed29.zip | |
powerpc: Handle error in mark_rodata_ro() and mark_initmem_nx()
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.
Link: https://github.com/KSPP/linux/issues/7
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/b16329611deb89e1af505d43f0e2a91310584d26.1710587887.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
