Thread (4 messages) flat view 4 messages, 2 authors, 2016-05-16

Re: ppc64 sbrk returns executable heap in 32-bit emulation mode

From: Florian Weimer <hidden>
Date: 2016-05-16 08:59:05

On 05/16/2016 10:49 AM, Andreas Schwab wrote:
quoted
 (If
I'm wrong about heap+stack needing the same protection then I can't
think of any reason to require an executable heap.)
The heap and the BSS initially share the same page.
But my test says that at least part of .bss in the main executable is 
*not* executable.

Any ideas why the kernel behaves the way it does?  Can we change the 
behavior at least for ELF binaries which use glibc (or something else 
which indicates a non-legacy binary)?

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help