mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: change base load addresses of pie elves and mmap
This commit is contained in:
@@ -154,7 +154,7 @@ int elf_load(vnode_t *vnode, void *base, void **entry, char **interpreter, auxv6
|
||||
return ENOEXEC;
|
||||
|
||||
if (!base && header.type == ELF_SHARED) {
|
||||
base = (void *)0x400000;
|
||||
base = (void *)0x40000000000;
|
||||
}
|
||||
|
||||
auxv64->null.type = AT_NULL;
|
||||
|
||||
Reference in New Issue
Block a user