All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: dhowells@redhat.com, kpm@redhat.com,
	Roland McGrath <roland@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] elf_core_dump: use rcu_read_lock() to access ->real_parent
Date: Wed, 29 Apr 2009 10:46:43 +0100	[thread overview]
Message-ID: <7146.1240998403@redhat.com> (raw)
In-Reply-To: <20090429090654.GA8234@redhat.com>

Oleg Nesterov <oleg@redhat.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@redhat.com>

Acked-by: David Howells <dhowells@redhat.com>

  reply	other threads:[~2009-04-29  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29  9:06 [PATCH] elf_core_dump: use rcu_read_lock() to access ->real_parent Oleg Nesterov
2009-04-29  9:46 ` David Howells [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-29  9:07 Oleg Nesterov
2009-04-29 19:46 ` Roland McGrath

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=7146.1240998403@redhat.com \
    --to=dhowells@redhat.com \
    --cc=kpm@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=roland@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.