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:
parent
0614c3dd3c
commit
99f71a9a2c
2 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue