On 2/13/18 6:41 AM, Raphael Hertzog wrote:
> in Debian we wanted to build bash with PIE enabled , but we discovered that
> bash was broken under qemu-user when it was compiled that way .
> It turns out that it's broken only when it uses bash's malloc
> implementation. If we build bash with PIE and --without-bash-malloc then
> we don't have the problem.
> It would be nice if bash's malloc implementation could be fixed to also
> work under qemu-user.
Does sbrk(2) work in a PIE-enabled environment?
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/