summaryrefslogtreecommitdiff
path: root/libk/stack_protector.c
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-01-12 01:17:36 -0600
committerDanny Holman <dholman@gymli.org>2025-01-12 01:19:11 -0600
commit95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch)
treec8c35347b50477929727fa5be9f5d0f55cbe18fd /libk/stack_protector.c
parent5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff)
PROJECT RESTRUCTURING
Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman <dholman@gymli.org>
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);
-}