diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-12-09 22:14:21 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-21 20:20:09 +0100 |
commit | ccb8c76757e3a3d20265965ab5d94ba66be2b116 (patch) | |
tree | f7ec0675d70e0c8cf210be8d1f09001ec9b1e15f /security | |
parent | 8f4200b312eb06ab405d2c6d0075ce4bebf738dd (diff) | |
download | lwn-ccb8c76757e3a3d20265965ab5d94ba66be2b116.tar.gz lwn-ccb8c76757e3a3d20265965ab5d94ba66be2b116.zip |
proc: Add missing rcu protection for __task_cred() in task_sig()
task_sig() accesses __task_cred() without being in a RCU read side
critical section. tasklist_lock is not protecting that when
CONFIG_TREE_PREEMPT_RCU=y.
Add a rcu_read_lock/unlock() section around the code which accesses
__task_cred().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: linux-security-module@vger.kernel.org
Cc: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions