Rework mmap_heap_malloc.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 4 Jul 2012 23:05:37 +0000 (23:05 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 4 Jul 2012 23:05:37 +0000 (23:05 +0000)
commitf2c0ba58dbf793652c955d338e4aebe513994e5e
treed2a0bc021946f113ac563a21390b7b6b34919feb
parentcdfe8233af2e5b480e38f3e98e395a8e2f9c3c55
Rework mmap_heap_malloc.

Don't do mmap(MAP_FIXED) unless we know the address space is free.
Otherwise it will clobber whatever else was there, including, say,
the text segment of the microcode!
src/microcode/ux.c