aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-02 19:04:53 +0100
committerMarvin Borner2021-03-02 19:04:53 +0100
commitacc4b7ccc133b64312e7ab1da3225b7945b1e13d (patch)
tree933d772ec33472cdcc3015d04d2afefab3ab5014 /kernel/features/syscall.c
parent20b1a8e22301877a0cc311efa069eb3f491f7a42 (diff)
very good this is
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r--kernel/features/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index 61c7479..b3e69e0 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -62,7 +62,7 @@ static void syscall_handler(struct regs *r)
}
case SYS_EXEC: {
char *path = (char *)r->ebx;
- struct proc *proc = proc_make();
+ struct proc *proc = proc_make(PROC_PRIV_NONE);
r->eax = (u32)bin_load(path, proc);
u32 argc = 3; // TODO: Add argc evaluator
char **argv = malloc(sizeof(*argv) * (argc + 1));