parisc: Consider stack randomization for mmap base only when necessary
authorAlexandre Ghiti <alex@ghiti.fr>
Thu, 4 Apr 2019 06:26:22 +0000 (02:26 -0400)
committerHelge Deller <deller@gmx.de>
Fri, 3 May 2019 21:47:38 +0000 (23:47 +0200)
commit17d9822d4b4c1bfeb14971d9a2639698e7f5b1eb
treee7317d1feba8497929bb36676d3e435527033748
parent37624b58542fb9f2d9a70e6ea006ef8a5f66c30b
parisc: Consider stack randomization for mmap base only when necessary

Do not offset mmap base address because of stack randomization if
current task does not want randomization.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/sys_parisc.c