diff options
author | 2009-12-10 00:53:21 +0000 | |
---|---|---|
committer | 2009-12-10 23:04:11 +0100 | |
commit | 7cf7db8df0b78076eafa4ead47559344ca7b7a43 (patch) | |
tree | 5e536389e23d6c00fc93e51a4e4b90cfeac3fbc6 /kernel/sys.c | |
parent | signal: Fix racy access to __task_cred in kill_pid_info_as_uid() (diff) | |
download | linux-rng-7cf7db8df0b78076eafa4ead47559344ca7b7a43.tar.xz linux-rng-7cf7db8df0b78076eafa4ead47559344ca7b7a43.zip |
signals: Fix more rcu assumptions
1) Remove the misleading comment in __sigqueue_alloc() which claims
that holding a spinlock is equivalent to rcu_read_lock().
2) Add a rcu_read_lock/unlock around the __task_cred() access
in __sigqueue_alloc()
This needs to be revisited to remove the remaining users of
read_lock(&tasklist_lock) but that's outside the scope of this patch.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <20091210004703.269843657@linutronix.de>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions