1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

Kernel: Randomize the stack canary on startup

This commit is contained in:
Andreas Kling 2020-01-06 13:05:40 +01:00
parent 0614c3dd3c
commit 99f71a9a2c
2 changed files with 6 additions and 3 deletions

View file

@ -213,9 +213,6 @@ void free(void* p)
return kfree(p);
}
extern u32 __stack_chk_guard;
u32 __stack_chk_guard = (u32)0xc0000c13;
[[noreturn]] void __stack_chk_fail()
{
ASSERT_NOT_REACHED();