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:
@@ -106,7 +106,7 @@ syscallret_t syscall_mmap(context_t *context, void *hint, size_t len, int prot,
|
||||
}
|
||||
|
||||
if (hint < USERSPACE_START)
|
||||
hint = USERSPACE_START;
|
||||
hint = USERSPACE_MMAP_START;
|
||||
|
||||
ret.ret = (uint64_t)vmm_map(hint, len, vmmflags, mmuflags, &vfd);
|
||||
if (ret.ret == 0)
|
||||
|
||||
Reference in New Issue
Block a user