kernel: Show a more technical message on failure to remap kernel data sections
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-02-02 21:26:07 +01:00
parent c05a87c7ff
commit 89958fbc74
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -32,5 +32,6 @@ void Init::early_init()
MemoryManager::init();
InitRD::initialize();
MemoryManager::protect_kernel_sections().expect_release_value("We should succeed to protect sections");
MemoryManager::protect_kernel_sections().expect_release_value(
"Failed to remap kernel data sections as non-executable / read-only");
}