aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-02 23:26:28 +0200
committerMarvin Borner2021-04-02 23:26:28 +0200
commitce98400f8a9ebd4e62e76b9e292b7598d0d66cc0 (patch)
tree823f06c2c325ead611863eeb3ac974c1ae562878 /kernel/main.c
parentfe468b476d567b6aa0695a030c408ccf46278c7d (diff)
Added kernel section clear/protect after init
This is a huge security improvement as it prevents potential exploits of using or modifying internal kernel functions or data.
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 326bd5c..14a3555 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -50,5 +50,6 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info)
keyboard_reset();
syscall_init();
+
proc_init();
}