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)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Jul 2011 20:08:08 +0000 (14:08 -0600)
commit1b8dfa65ca87610c096386fef299ade3ef3f7f65
tree5bf7fc15c63ec4d7c315ed876e5d0032c60ba780
parentd0bbec5d3f625825cff61f54e9d311d56a8309d1
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