From c77b0fa7916f79c099ee4a6a80a093334e9090ac Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 27 Jul 2022 13:59:52 +0200 Subject: user/libc: execve() supports passing argv now --- src/user/lib/elfload.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/user/lib/elfload.h') diff --git a/src/user/lib/elfload.h b/src/user/lib/elfload.h index d0fb29d..283efd8 100644 --- a/src/user/lib/elfload.h +++ b/src/user/lib/elfload.h @@ -1,8 +1,8 @@ #pragma once #include -void elf_execf(FILE *f); -void elf_exec(void *elf); +void elf_execf(FILE *f, char **argv, char **envp); +void elf_exec(void *base, char **argv, char **envp); void *elf_partialexec(void *elf); /* returns pointer to entry point */ void elf_selfreloc(void); // elfreloc.c -- cgit v1.2.3