diff options
author | dzwdz | 2023-01-25 19:22:18 +0100 |
---|---|---|
committer | dzwdz | 2023-01-25 19:22:18 +0100 |
commit | 2ad6ee8ed15d1bf898645a16dbc06991a3c1425e (patch) | |
tree | 9e9d50d7447da03a0ff898bf9b268d26ef343702 /src/user/lib/elfload.c | |
parent | 2a2fc4dffe0117ce874a6cf1dcc34321ed8add77 (diff) |
user: process titles, /bin/ps
Diffstat (limited to 'src/user/lib/elfload.c')
-rw-r--r-- | src/user/lib/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/elfload.c b/src/user/lib/elfload.c index 7cad10f..a4ee91e 100644 --- a/src/user/lib/elfload.c +++ b/src/user/lib/elfload.c @@ -160,7 +160,7 @@ void elf_exec(void *base, char **argv, char **envp) { void *exebase = elf_loadmem(ehdr); if (!exebase) return; - void *newstack = _syscall_memflag((void*)0x1000, 0x1000, MEMFLAG_FINDFREE | MEMFLAG_PRESENT); + void *newstack = _syscall_memflag((void*)0x11000, 0x1000, MEMFLAG_FINDFREE | MEMFLAG_PRESENT); if (!newstack) return; _freejmp_chstack(exebase + ehdr->e_entry, exebase, elf_spread(ehdr) + 0x1000, (const char**)argv, envp, newstack); |