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)
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>

No differences found