Re: [patch 0/9] Fix various __task_cred related invalid RCU assumptions

From: David Howells
Date: Fri Dec 11 2009 - 08:40:31 EST


Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> While auditing the read_lock(&tasklist_lock) sites for a possible
> conversion to rcu-read_lock() I stumbled over an unprotected user of
> __task_cred in kernel/sys.c

I'm sure last time I looked, spinlock primitives implied RCU read locks.
Maybe I was mistaken or maybe it's changed. Whatever, good catch, Thomas!

Thanks,
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/