diff options
author | Mandeep Singh Baines <msb@chromium.org> | 2011-12-08 14:34:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-09 07:50:29 -0800 |
commit | 031af165b1cd295ef04d2bfbcae9bc3cb9180735 (patch) | |
tree | fc5abaa84eb1135cae41e8ab0d3356171fc0a760 /tools | |
parent | 1cee22b7f385b6c4f716846203a96e1f302132aa (diff) | |
download | op-kernel-dev-031af165b1cd295ef04d2bfbcae9bc3cb9180735.zip op-kernel-dev-031af165b1cd295ef04d2bfbcae9bc3cb9180735.tar.gz |
sys_getppid: add missing rcu_dereference
In order to safely dereference current->real_parent inside an
rcu_read_lock, we need an rcu_dereference.
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions