Files
linux/arch/s390
Martin Schwidefsky aa70f06710 s390: limit brk randomization to 32MB
[ Upstream commit cd479eccd2 ]

For a 64-bit process the randomization of the program break is quite
large with 1GB. That is as big as the randomization of the anonymous
mapping base, for a test case started with '/lib/ld64.so.1 <exec>'
it can happen that the heap is placed after the stack. To avoid
this limit the program break randomization to 32MB for 64-bit and
keep 8MB for 31-bit.

Reported-by: Stefan Liebler <stli@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
2019-05-04 08:49:06 +02:00
..
2015-08-03 18:40:25 +02:00
2018-04-29 11:32:00 +02:00