fs/binfmt_elf: fix memory map for PIE applications
Quoted 4 lines
Hmm, that's really unfortunate. Applications really should be prepared for failing
brk(), as there is no guarantee provided by anyobody whatsoever about the space allocated for the program break.
Quoted 8 lines
Heck, even my manpage tells me:
"Avoid using
brk()andsbrk(): the malloc(3) memory allocation package is
the portable and comfortable way of allocating memory."--
Jiri Kosina
SUSE Labs
Hello Jiri,
I slightly looked at patch, does it have any drawbacks?
If I understand correctly, this simply fix could avoid bloat from musl-libc and should be better way than actual status. Is there any reason to not include this patch?
Thank you
David