f7aa718596
`cmp::min` -> `cmp::max` Want to make sure we set the `min_mmap_addr` to the top of the executable. `update_min_mmap_addr(STACK_TOP - STACK_SIZE, STACK_SIZE);` needs to be removed since we cannot allocate above that. Reverts to the old behaviour. In future may want to consider loading the executeable here instead of the dynamic linker (and before the dynamic linker) to avoid any further conflicts. Fixes `gcc` crashing at "failed to map /usr/libexec/gcc/x86_64-unknown-redox/13.2.0/cc1. errno: 17" (where 17 -> EEXIST). Co-authored-by: @bjorn3 Signed-off-by: Anhad Singh <andypython@protonmail.com>