Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Sep 2002 15:57:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Sep 2002 15:57:42 -0400 Received: from mx2.elte.hu ([157.181.151.9]:28811 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 5 Sep 2002 15:57:41 -0400 Date: Thu, 5 Sep 2002 22:06:36 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Daniel Jacobowitz Cc: OGAWA Hirofumi , Linus Torvalds , Subject: Re: [patch] ptrace-fix-2.5.33-A1 In-Reply-To: <20020905183609.GA26898@nevyn.them.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 22 On Thu, 5 Sep 2002, Daniel Jacobowitz wrote: > You're right, we just need to clear p->ptrace. And there was a problem > with debugged detached tasks. Ingo, does this look right to you? It > passes my testing. Handle unlinking in release_task instead of at both > call sites, since they both need it. your patch works for me - in fact it works better than the one i sent. I had another (largely unrelated) patch which i suspected to cause hung unkillable zombies while stracing an application - it turned out that your patch fixes this artifact as well. (Linus, please apply Daniel's patch, not mine.) Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/