summaryrefslogtreecommitdiff
path: root/kernel/includes
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-26 15:42:01 +0200
committerAnton Kling <anton@kling.gg>2024-04-26 15:44:26 +0200
commit15bc439577c49e97c24a074fe6d9e9464f917054 (patch)
tree8a60437726c70f5e046da785db3ea904b282cd66 /kernel/includes
parentea653dc177eca18291f3081348d6104ac817f763 (diff)
Kernel: Handle userspace memory errors instead of crashing.
The kernel should kill the process if it has memory issues.
Diffstat (limited to 'kernel/includes')
-rw-r--r--kernel/includes/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/includes/signal.h b/kernel/includes/signal.h
index b9ab4a7..6bc9f67 100644
--- a/kernel/includes/signal.h
+++ b/kernel/includes/signal.h
@@ -6,6 +6,7 @@
#define SIGWINCH 2
#define SIGQUIT 3
#define SIG_IGN 4
+#define SIGSEGV 5
#define SIGTERM 15
typedef int sigset_t;