[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7146.1240998403@redhat.com>
Date: Wed, 29 Apr 2009 10:46:43 +0100
From: David Howells <dhowells@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: dhowells@...hat.com, kpm@...hat.com,
Roland McGrath <roland@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] elf_core_dump: use rcu_read_lock() to access ->real_parent
Oleg Nesterov <oleg@...hat.com> wrote:
> (on top of ptrace-s-parent-real_parent-in-binfmt_elf_fdpicc.patch)
>
> In theory it is not safe to dereference ->parent/real_parent without
> tasklist or rcu lock, we can race with re-parenting.
>
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
Acked-by: David Howells <dhowells@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists