From: Oleg Nesterov Date: Sun, 18 Jan 2009 17:17:20 +0000 (+0100) Subject: Staging: android: task_get_unused_fd_flags: fix the wrong usage of tsk->signal X-Git-Tag: v2.6.29-rc4~99^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1176e83aff6f15b6ae4d1b53c16124884ad29363;p=pandora-kernel.git Staging: android: task_get_unused_fd_flags: fix the wrong usage of tsk->signal Compile tested. task_struct->signal is not protected by RCU, the code is bogus. Change the code to take ->siglock to pin ->signal. Signed-off-by: Oleg Nesterov Cc: Arve Hjønnevåg Cc: Brian Swetland Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed