summaryrefslogtreecommitdiff
path: root/libk/stack_protector.c
diff options
context:
space:
mode:
Diffstat (limited to 'libk/stack_protector.c')
-rw-r--r--libk/stack_protector.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libk/stack_protector.c b/libk/stack_protector.c
deleted file mode 100644
index a929ae0..0000000
--- a/libk/stack_protector.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#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);
-}