close race in /proc/*/environ
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Feb 2011 03:26:01 +0000 (22:26 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Mar 2011 20:36:51 +0000 (16:36 -0400)
commitd6f64b89d7ff22ce05896ab4a93a653e8d0b123d
tree21bc9a103dade9b22ced58455dde7cd00e01cd28
parentec6fd8a4355cda81cd9f06bebc048e83eb514ac7
close race in /proc/*/environ

Switch to mm_for_maps().  Maybe we ought to make it r--r--r--,
since we do checks on IO anyway...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/base.c