Re: [PATCH] CRED: Holding a spinlock does not imply the holding ofRCU read lock

From: James Morris
Date: Mon Apr 26 2010 - 18:50:37 EST


On Mon, 26 Apr 2010, David Howells wrote:

> From: Serge E. Hallyn <serue@xxxxxxxxxx>
>
> Change the credentials documentation to make it clear that the RCU read lock
> must be explicitly held when accessing credentials pointers in some other task
> than current. Holding a spinlock does not implicitly hold the RCU read lock.
>
> Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next


--
James Morris
<jmorris@xxxxxxxxx>
--
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/