summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2019-03-04 12:33:28 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-03-06 09:34:03 +0100
commitcd479eccd2e057116d504852814402a1e68ead80 (patch)
tree4907bc92b607d86fe8b86a21657d85d7186b3f7d /drivers/s390
parent3717f613f48df0222311f974cf8a06c8a6c97bae (diff)
s390: limit brk randomization to 32MB
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions