summaryrefslogtreecommitdiff
path: root/libexec?id=6a6b7b5769ff69a2282a5505ad3ca3bcea10a345
diff options
context:
space:
mode:
authorBen Gras <ben@minix3.org>2012-06-22 11:55:11 +0200
committerBen Gras <ben@minix3.org>2012-06-25 14:13:07 +0200
commit6a6b7b5769ff69a2282a5505ad3ca3bcea10a345 (patch)
tree5bdfc578cde6eadd226a6871b333de0b6f8a78ff /libexec?id=6a6b7b5769ff69a2282a5505ad3ca3bcea10a345
parent3f40eb35111ec3ef9140346fd78de2b7e726cb6f (diff)
ld.so: be more mmap()-behaviour-independent
. if the layout of virtual address regions as returned by mmap() without a location hint changes, ld.so could trip itself up (under minix). this change allocates the full size it needs for every object that's loaded so that if that succeeds, it's sure there's virtual address space for the whole thing no matter what other bits happen to be there already. . this fix exposed a bug in the test; at atexit() execution time the loaded object is unmapped, so that part of the test is removed.
Diffstat (limited to 'libexec?id=6a6b7b5769ff69a2282a5505ad3ca3bcea10a345')
0 files changed, 0 insertions, 0 deletions