From 50858d043cbd6f61cc091c6772f981ca2d6cca6b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 00:39:24 +0200 Subject: Added basic exec calls for init and started libc --- src/userspace/programs/init.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/userspace/programs/init.c') diff --git a/src/userspace/programs/init.c b/src/userspace/programs/init.c index bf3c7f4..3011530 100644 --- a/src/userspace/programs/init.c +++ b/src/userspace/programs/init.c @@ -1,6 +1,9 @@ +#include + void main() { - // TODO: Exec shell + syscall_exec("/bin/sh"); + while (1) { }; -} \ No newline at end of file +} -- cgit v1.2.3