TOMOYO: Protect find_task_by_vpid() with RCU.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Thu, 25 Feb 2010 08:19:25 +0000 (17:19 +0900)
committerJames Morris <jmorris@namei.org>
Thu, 25 Feb 2010 22:20:11 +0000 (09:20 +1100)
commit1fcdc7c527010b144d3951f9ce25faedf264933c
tree5ab23281aae1de41079f2b4962fe17ab6d59be6d
parent189b3b1c89761054fee3438f063d7f257306e2d8
TOMOYO: Protect find_task_by_vpid() with RCU.

Holding tasklist_lock is no longer sufficient for find_task_by_vpid().
Explicit rcu_read_lock() is required.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
--
 security/tomoyo/common.c |    4 ++++
 1 file changed, 4 insertions(+)
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c