* Daniel P. Berrangé:
Though as Florian suggests, the better solution is to not have
the personality() call in main - have it called by malloc(), or
possibly a constructor function that's part of the object
providing the malloc replacement.
The latter does not work because the ELF dependency information is
misleading in case of symbol interposition, which is exactly what
happens when you replace the malloc implementation.
Thanks,
Florian