Messages in this thread | | | Subject | Re: [ASLR] Better control on Randomization | From | Nix <> | Date | Mon, 30 Jan 2006 22:38:10 +0000 |
| |
On 30 Jan 2006, Emmanuel Fleury prattled cheerily: > Would it be possible to tweak them independently from each other ? > (still via procfs)
If you prelink your system, shared library randomization (of those libraries that were prelinked) ceases: but the stack is still randomized. If you prelink with -R, prelink uses random addresses, which is pretty much as good as using ASLR, but faster and more memory-efficient :)
I don't know of any specific knob, nor of a way to turn off stack randomization but leave mmap(PROT_EXEC) randomization on.
-- `I won't make a secret of the fact that your statement/question sent a wave of shock and horror through us.' --- David Anderson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |