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

Alan Modra
2005-03-15T22:52:42Z

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