summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2005-03-04 17:25:27 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-04 17:25:27 -0800
commit2fd350176e16d49d64b4131b20ee3e686402d8ba (patch)
tree49606a2814ed32a671c0623c8c3883e01de6efde /include/linux/kernel.h
parentccc875c1d2fe18b50020d501f1005ef46fc55fed (diff)
[PATCH] Randomisation: mmap randomisation
The patch below randomizes the starting point of the mmap area. This has the effect that all non-prelinked shared libaries and all bigger malloc()s will be randomized between various invocations of the binary. Prelinked binaries get a address-hint from ld.so in their mmap and are thus exempt from this randomisation, in order to not break the prelink advantage. The randomisation range is 1 megabyte (this is bigger than the stack randomisation since the stack randomisation only needs 16 bytes alignment while the mmap needs page alignment, a 64kb range would not have given enough entropy to be effective) Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions