Re: revert PIE randomization?

From: Linus Torvalds
Date: Sat Jan 06 2007 - 16:04:50 EST




On Sat, 6 Jan 2007, Hugh Dickins wrote:
>
> Isn't that randomization, anywhere from 0x10000 to ELF_ET_DYN_BASE,
> sure to place the ET_DYN from time to time just where the comment says
> it's trying to avoid? I assume that somehow results in the error reported.

Hmm.. It's certainly the case that it would appear that the randomization
might put the binary just under the heap, and cause conflicts with brk
and the mmap heap.

You're right. I'm inclined to just revert it, modulo some comments from
others. Marcus?

Linus
-
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/