[klibc] klibc loader crash...
pluto at agmk.net
Wed Oct 12 06:54:09 PDT 2005
This is not a klibc bug. It is a kernel issue.
Fixed in 2.6.14rc4-git1: [PATCH] binfmt_elf bss padding fix
Nir Tzachar <tzachar at cs.bgu.ac.il> points out that if an ELF file specifies a
zero-length bss at a whacky address, we cannot load that binary because
padzero() tries to zero out the end of the page at the whacky address, and
that may not be writeable.
See also http://bugzilla.kernel.org/show_bug.cgi?id=5411
So teach load_elf_binary() to skip the bss settng altogether if the elf file
has a zero-length bss segment.
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
More information about the klibc