commit | 031af165b1cd295ef04d2bfbcae9bc3cb9180735 | [log] [tgz] |
---|---|---|
author | Mandeep Singh Baines <msb@chromium.org> | Thu Dec 08 14:34:44 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Dec 09 07:50:29 2011 -0800 |
tree | fc5abaa84eb1135cae41e8ab0d3356171fc0a760 | |
parent | 1cee22b7f385b6c4f716846203a96e1f302132aa [diff] |
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>