s390/mm: limit STACK_RND_MASK for compat tasks
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 13 Mar 2015 10:19:09 +0000 (11:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 13 Mar 2015 11:15:45 +0000 (12:15 +0100)
commite143fa93c28669a7f0851e6850b1da5b1945fd53
tree3666450af8b0e344439215271ad981767ae69040
parent20e76ee184a7cea155268377c4e414eea1dab6fd
s390/mm: limit STACK_RND_MASK for compat tasks

For compat tasks the mmap randomization does not use the maximum
randomization value from mmap_rnd_mask but the fixed value of 0x7ff.
This needs to be respected in the definition of STACK_RND_MASK as
well.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/elf.h