aboutsummaryrefslogtreecommitdiff
path: root/common/proc.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-24 21:18:55 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-24 21:18:55 +0300
commite033569910aecb4d8fb437a622e542b8803834ec (patch)
treeb7e31d1b266dfbd3b1aa79ae4db47d584541c8bc /common/proc.c
parent12be40e22aae582cca9abbd151031edaab800cae (diff)
downloadkmi-e033569910aecb4d8fb437a622e542b8803834ec.tar.gz
kmi-e033569910aecb4d8fb437a622e542b8803834ec.zip
initial musings about exec
Diffstat (limited to 'common/proc.c')
-rw-r--r--common/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/proc.c b/common/proc.c
index e88d37d..f09e7c1 100644
--- a/common/proc.c
+++ b/common/proc.c
@@ -45,7 +45,7 @@ stat_t init_proc(void *fdt, struct vmem *b)
/* TODO: this stuff should be placed in __sys_exec */
/* the binary gets to choose first what memory regions it requires */
- t->entry = load_elf(t, get_init_base(fdt));
+ t->entry = load_elf(t, get_init_base(fdt), 0);
if (!t->entry)
return ERR_ADDR;