aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
authorMarvin Borner2021-04-06 22:20:58 +0200
committerMarvin Borner2021-04-06 22:35:13 +0200
commit64ec8aa157e5d5d09372def37cbab00628e1e5f5 (patch)
tree13d0c864780a62506d40266fa6f2ab9571cbd216 /kernel/drivers
parent9326d3970fe6eedbcb042ac68aca3074aacef32f (diff)
Made exec syscall relative using app name
My plan is to implement a mobile-OS-like sandboxing using manifests and permission middlewares. Let's see if I can manage to do this without sacrificing too much performance. I'm also wondering whether I should implement open/close syscalls which would result in a cleaner block/unblock mechanism. I need to think. Hmmm.. Naa
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/cpu.c b/kernel/drivers/cpu.c
index 86ae2be..f751d33 100644
--- a/kernel/drivers/cpu.c
+++ b/kernel/drivers/cpu.c
@@ -145,7 +145,7 @@ CLEAR void cpu_enable_features(void)
panic("No FPU support!\n");
}
- // Enable NX (IA32_EFER.NXE)
+ // Enable NX (IA32_EFER.NXE) // TODO: Use NX Bit? (only possible in PAE 64 bit paging?)
if (cpu_extended_information.edx & CPUID_EXT_INFO_EDX_NX) {
__asm__ volatile("movl $0xc0000080, %ecx\n"
"rdmsr\n"