From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:38 +0000 (-0700) Subject: elf_core_dump: use rcu_read_lock() to access ->real_parent X-Git-Tag: v2.6.31-rc1~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266;p=pandora-kernel.git elf_core_dump: use rcu_read_lock() to access ->real_parent 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 Acked-by: Roland McGrath Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed