aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 83e0b35..662bb57 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -65,6 +65,9 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
syscalls_install();
struct process *proc = elf_load("/bin/user");
+ proc->stdin = NULL;
+ proc->stdout = NULL;
+ proc->stderr = NULL;
process_init(proc);
halt_loop();