]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc-fix-races-against-execve-of-proc-pid-fd-fix
authorVasiliy Kulikov <segooon@gmail.com>
Wed, 5 Oct 2011 00:43:53 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Oct 2011 07:56:09 +0000 (18:56 +1100)
commit65971244302339de1c122e4606144021ab607276
tree945c93cd4bab070bea07e7669fdeed75baf05f4d
parent071541429a4128c0d6e84cb82959925c88afb386
proc-fix-races-against-execve-of-proc-pid-fd-fix

In the patch "proc: fix races against execve() of /proc/PID/fd**"
proc_pid_fd_link_getattr() leaked task_struct if ptrace check fails.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/base.c