commit | da58a1617343e345d435953a0f32024997a95164 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@sw.ru> | Sun Jul 15 23:40:21 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Jul 16 09:05:44 2007 -0700 |
tree | 12a0ad4a92221d38dd8846f63063a8414c44655d | |
parent | 7126dd0562c78fa393a53120155e9b265cc68f9d [diff] |
/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 <adobriyan@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>