Re: [PATCH 1/2] No-exec support for ppc64
From: Alan Modra
Date: Tue Mar 15 2005 - 17:56:56 EST
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.
IBM OzLabs - Linux Technology Centre
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/