summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-06-17 16:27:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:03:52 -0700
commit3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266 (patch)
tree477b9a29135cc7b8815ce7ce19201bce371c56a1 /include
parent72a1de39f89325a834a8c70b2a0d8f71d919f640 (diff)
downloadlinux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.tar.gz
linux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.tar.bz2
linux-3.10-3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266.zip
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 <oleg@redhat.com> Acked-by: Roland McGrath <roland@redhat.com> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions