aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/actions/sys_exec.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 00:39:24 +0200
committerMarvin Borner2020-04-29 00:39:24 +0200
commit50858d043cbd6f61cc091c6772f981ca2d6cca6b (patch)
tree82afcc2daf9c4b67d29832923283654913490d06 /src/kernel/syscall/actions/sys_exec.c
parent34c752f6fe4f71169172f1b3e46b1eddf69eba6e (diff)
Added basic exec calls for init and started libc
Diffstat (limited to 'src/kernel/syscall/actions/sys_exec.c')
-rw-r--r--src/kernel/syscall/actions/sys_exec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_exec.c b/src/kernel/syscall/actions/sys_exec.c
new file mode 100644
index 0000000..dc1e9c6
--- /dev/null
+++ b/src/kernel/syscall/actions/sys_exec.c
@@ -0,0 +1,7 @@
+#include <stdint.h>
+#include <kernel/tasks/process.h>
+
+uint32_t sys_exec(char *path)
+{
+ return uexec(path);
+}