Files
kernel/arch/s390/include/asm
Martin Schwidefsky a1e34e289e s390: limit brk randomization to 32MB
[ Upstream commit cd479eccd2e057116d504852814402a1e68ead80 ]

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 09:20:11 +02:00
..
2017-12-05 07:51:09 +01:00
2018-04-10 07:38:59 +02:00
2019-05-04 09:20:11 +02:00
2018-04-16 09:10:23 +02:00
2018-07-04 08:35:58 +02:00
2018-05-30 11:18:03 +02:00
2018-06-25 10:14:37 +02:00
2018-07-02 11:24:58 +02:00
2017-12-05 07:51:09 +01:00