aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
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));