[PATCH] fix task_struct leak in ptrace
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Nov 2005 00:06:33 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:11 +0000 (18:14 -0800)
commit005f18dfd0ed86c39716277b61dfb4bd2af91059
tree8425228dc52bb38a5fe85d52afaecacca2f3a6fd
parentab767201881fec073157986c314485ab26caa4a0
[PATCH] fix task_struct leak in ptrace

When ptrace_attach fails we need to drop the task_struct reference.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/ptrace.c