pagemap: close races with suid execve, CVE-2011-1020
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 13:13:42 +0000 (14:13 +0100)
committerHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Mon, 29 Aug 2011 19:23:06 +0000 (16:23 -0300)
commitaae4d434bb6130bf292e00a405d8fa29b10bf799
tree49d794dbb811b1152ee2b71957aa947a82bbb6b1
parent8953034e6cb4b4f7cca0c1bf617ee37b5aa1ed77
pagemap: close races with suid execve, CVE-2011-1020

just use mm_for_maps()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
(cherry picked from commit ca6b0bf0e086513b9ee5efc0aa5770ecb57778af)
CVE-2011-1020
BugLink: http://bugs.launchpad.net/bugs/813026
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/proc/base.c
fs/proc/task_mmu.c