diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-01-29 10:48:09 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-02-07 11:57:01 +0100 |
commit | a0308c1315e72b6fdce7b419c4546dad568b3a83 (patch) | |
tree | a0394e6ad255922ab96a2895d9e759b530b992fd /arch/s390/pci | |
parent | d4192437d75ae4f401aac5d54229756829015e1d (diff) | |
download | linux-a0308c1315e72b6fdce7b419c4546dad568b3a83.tar.bz2 |
s390/mmap: take stack_guard_gap into account for mmap_base
The s390 version of the mmap_base function is ignorant of stack_guard_gap
which can lead to a placement of the stack vs. the mmap base that does not
leave enough space for the stack rlimit.
Add the stack_guard_gap to the calculation and while we are at it the
check for gap+pad overflows as well.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci')
0 files changed, 0 insertions, 0 deletions