diff options
author | Marvin Borner | 2020-04-29 00:39:24 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-29 00:39:24 +0200 |
commit | 50858d043cbd6f61cc091c6772f981ca2d6cca6b (patch) | |
tree | 82afcc2daf9c4b67d29832923283654913490d06 /src/userspace/programs/init.c | |
parent | 34c752f6fe4f71169172f1b3e46b1eddf69eba6e (diff) |
Added basic exec calls for init and started libc
Diffstat (limited to 'src/userspace/programs/init.c')
-rw-r--r-- | src/userspace/programs/init.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 <syscall.h> + void main() { - // TODO: Exec shell + syscall_exec("/bin/sh"); + while (1) { }; -}
\ No newline at end of file +} |