[PATCH 1/2] No-exec support for ppc64

Alan Modra amodra at bigpond.net.au
Wed Mar 16 09:48:36 EST 2005


On Tue, Mar 15, 2005 at 03:51:35PM -0600, Jake Moilanen wrote:
> I believe the problem is that the last PT_LOAD entry does not have the
> correct size, and we only mmap up to the sbss.  The .sbss, .plt, and
> .bss do not get mmapped with the section.

Huh?  .sbss, .plt and .bss have no file contents, so of course p_filesz
doesn't cover them.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Linuxppc64-dev mailing list