From: Alexey Dobriyan Date: Mon, 16 Jul 2007 06:40:21 +0000 (-0700) Subject: /proc/*/environ: wrong placing of ptrace_may_attach() check X-Git-Tag: v2.6.23-rc1~906 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da58a1617343e345d435953a0f32024997a95164;p=pandora-kernel.git /proc/*/environ: wrong placing of ptrace_may_attach() check It's a bit dopey-looking and can permit a task to cause a pagefault in an mm which it doesn't have permission to read from. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed