Thread (6 messages) 6 messages, 2 authors, 2011-10-17

Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout

From: David Miller <davem@davemloft.net>
Date: 2011-10-17 22:56:09
Also in: lkml

From: Dan McGee <redacted>
Date: Mon, 17 Oct 2011 17:43:11 -0500
Aha, I wasn't aware this was also being done elsewhere as there was no
comment to tip me off. I found the one in
arch/sparc/kernel/sys_sparc_64.c (mmap_rnd) and have fixed that
locally and will resend, but I'm not seeing get_random_int() in use
anywhere else in that architecture so I'm not quite sure where your
second mentioned location is- or did you just mean the two calls 2
lines apart in mmap_rnd()?
My bad, I thought we had implemented address randomization on 32-bit
sparc as well, unfortunately we haven't even though sparc64 has it
for 32-bit compat tasks.

That should be fixed at some point, but is outside of the scope of
what you're doing.

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