| 1 | #include <enforce.h> |
|---|---|
| 2 | #include <stdint.h> |
| 3 | |
| 4 | #pragma GCC diagnostic ignored "-Wmissing-prototypes" |
| 5 | |
| 6 | uintptr_t __stack_chk_guard = 0x595e9fbd94fda766ULL; |
| 7 | |
| 8 | cc_noreturn void __stack_chk_fail(void) { |
| 9 | panic("Kernel stack smashing detected!"); |
| 10 | } |
| 11 |