Thread (5 messages) 5 messages, 2 authors, 2014-11-18

Re: [PATCH] [powerpc] Fix Text randomization

flat view

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2014-11-18 10:26:25
Also in: lkml

On Tue, 2014-11-18 at 12:50 +0530, Vineeth Vijayan wrote:
On Mon, Nov 17, 2014 at 12:23 PM, Michael Ellerman [off-list ref] wrote:
quoted
On Fri, 2014-11-14 at 14:42 +0530, Vineeth Vijayan wrote:
quoted
Now there is no way to disable TEXT randomization on a PPC32/PPC64
machine. Text randomization happens even in the case of "echo 0 >
/proc/sys/kernel/randomize_va_space"

This happens due to the incorrect definition of ELF_ET_DYN_BASE
at arch/powerpc/include/asm/elf.h

The function randomize_et_dyn is redundant and is removed.
The patch looks OK, but for the change log I was thinking something more like
this:


powerpc: Use generic PIE randomization
Ok. Thats better.
Do you want me to send a new patch with updated change log as mentioned ?
 
No that's OK, I've already merged it.

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