diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-24 21:18:55 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-24 21:18:55 +0300 |
| commit | e033569910aecb4d8fb437a622e542b8803834ec (patch) | |
| tree | b7e31d1b266dfbd3b1aa79ae4db47d584541c8bc /common/proc.c | |
| parent | 12be40e22aae582cca9abbd151031edaab800cae (diff) | |
| download | kmi-e033569910aecb4d8fb437a622e542b8803834ec.tar.gz kmi-e033569910aecb4d8fb437a622e542b8803834ec.zip | |
initial musings about exec
Diffstat (limited to 'common/proc.c')
| -rw-r--r-- | common/proc.c | 2 |
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; |
