git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191805a
)
Staging: android: task_get_unused_fd_flags: fix the wrong usage of tsk->signal
author
Oleg Nesterov
<oleg@redhat.com>
Sun, 18 Jan 2009 17:17:20 +0000
(18:17 +0100)
committer
Greg Kroah-Hartman
<gregkh@kvm.kroah.org>
Wed, 28 Jan 2009 23:49:05 +0000
(15:49 -0800)
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 <oleg@redhat.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found