diff options
author | Tetsuo Handa | 2010-02-25 09:19:25 +0100 |
---|---|---|
committer | James Morris | 2010-02-25 23:20:11 +0100 |
commit | 1fcdc7c527010b144d3951f9ce25faedf264933c (patch) | |
tree | 5ab23281aae1de41079f2b4962fe17ab6d59be6d /security/selinux/hooks.c | |
parent | Security: add static to security_ops and default_security_ops variable (diff) | |
download | kernel-qcow2-linux-1fcdc7c527010b144d3951f9ce25faedf264933c.tar.gz kernel-qcow2-linux-1fcdc7c527010b144d3951f9ce25faedf264933c.tar.xz kernel-qcow2-linux-1fcdc7c527010b144d3951f9ce25faedf264933c.zip |
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>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions