From ce98400f8a9ebd4e62e76b9e292b7598d0d66cc0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 2 Apr 2021 23:26:28 +0200 Subject: 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. --- kernel/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 392665d..8970c1b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -3,6 +3,7 @@ COBJS = main.o \ drivers/interrupts.o \ drivers/interrupts_asm.o \ + drivers/cpu.o \ drivers/serial.o \ drivers/keyboard.o \ drivers/mouse.o \ @@ -10,14 +11,12 @@ COBJS = main.o \ drivers/ide.o \ drivers/fb.o \ drivers/timer.o \ - drivers/rtl8139.o \ features/mm.o \ features/fs.o \ features/load.o \ features/proc.o \ features/proc_asm.o \ - features/syscall.o \ - features/net.o + features/syscall.o CC = ccache ../cross/opt/bin/i686-elf-gcc LD = ccache ../cross/opt/bin/i686-elf-ld OC = ccache ../cross/opt/bin/i686-elf-objcopy -- cgit v1.2.3