Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metal] Fix regression causing early crash in __new_page( ) (#900)
There was a glitch in the refactoring of __map_phdrs( ) in commit ec480f5, which caused it to try to map the PT_NOTE program segment into virtual memory, which in turn caused the memory page at BANE to be wrongly remapped to the start of the program image (0x100000) rather than physical address 0. This affected subsequent page allocation operations because the `struct mman` was located at BANE + 0x0500. Co-authored-by: tkchia <[email protected]>
- Loading branch information