From: Badari Pulavarty <pbadari@us.ibm.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: akpm@osdl.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.15-rc1-mm1 panic in ptrace_check_attach()
Date: Fri, 18 Nov 2005 10:17:04 -0800 [thread overview]
Message-ID: <1132337824.24066.181.camel@localhost.localdomain> (raw)
In-Reply-To: <20051118180743.GA3708@infradead.org>
On Fri, 2005-11-18 at 18:07 +0000, Christoph Hellwig wrote:
> On Fri, Nov 18, 2005 at 09:56:40AM -0800, Badari Pulavarty wrote:
> > Hi Andrew,
> >
> > I am not sure if its already reported. I get panic in
> > ptrace_check_attach() while trying to run UML on 2.6.15-rc1-mm1.
> >
> > Going to try 2.6.15-rc1-mm2 now.
>
> Looks like 2.6.15-rc1-mm1 has total crap in ptrace_get_task_struct
> (and it looks like my fault because I sent out a wrong patch).
>
> The patch below should fix it:
>
> Index: linux-2.6/kernel/ptrace.c
> ===================================================================
> --- linux-2.6.orig/kernel/ptrace.c 2005-11-18 10:25:35.000000000 +0100
> +++ linux-2.6/kernel/ptrace.c 2005-11-18 10:25:54.000000000 +0100
> @@ -459,7 +459,7 @@
> read_unlock(&tasklist_lock);
> if (!child)
> return ERR_PTR(-ESRCH);
> - return 0;
> + return child;
> }
>
> #ifndef __ARCH_SYS_PTRACE
>
Fixed the problem. I guess we need this for 2.6.15-rc1-mm2 also.
Thanks,
Badari
prev parent reply other threads:[~2005-11-18 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 17:56 Badari Pulavarty
2005-11-18 18:07 ` Christoph Hellwig
2005-11-18 18:17 ` Badari Pulavarty [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1132337824.24066.181.camel@localhost.localdomain \
--to=pbadari@us.ibm.com \
--cc=akpm@osdl.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®