summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/sc-debugfs.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2019-09-23 15:39:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-24 15:54:12 -0700
commitb5fb861790bf54486b68644fc27d6969bf772dd8 (patch)
treeba5f0fb7bdff1b907c51956caa6639e8df2ecd93 /arch/mips/mm/sc-debugfs.c
parentb1f61b5bde3a1f50392c97b4c8513d1b8efb1cf2 (diff)
downloadlinux-stable-b5fb861790bf54486b68644fc27d6969bf772dd8.tar.gz
linux-stable-b5fb861790bf54486b68644fc27d6969bf772dd8.tar.bz2
linux-stable-b5fb861790bf54486b68644fc27d6969bf772dd8.zip
mips: use STACK_TOP when computing mmap base address
mmap base address must be computed wrt stack top address, using TASK_SIZE is wrong since STACK_TOP and TASK_SIZE are not equivalent. Link: http://lkml.kernel.org/r/20190730055113.23635-11-alex@ghiti.fr Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Acked-by: Kees Cook <keescook@chromium.org> Acked-by: Paul Burton <paul.burton@mips.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Christoph Hellwig <hch@lst.de> Cc: James Hogan <jhogan@kernel.org> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Russell King <linux@armlinux.org.uk> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/mm/sc-debugfs.c')
0 files changed, 0 insertions, 0 deletions