blob: a929ae0d75c7dfc71e18d54d8e152e77a68adeed (
plain)
1
2
3
4
5
6
7
8
9
|
#include <kernel/panic.h>
#include <stdint.h>
uintptr_t __stack_chk_guard;
__attribute__((noreturn)) void __stack_chk_fail(void) {
panic("Detected attempted stack manipulation in kernel");
while(1);
}
|