From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757129AbZLKOCj (ORCPT ); Fri, 11 Dec 2009 09:02:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754385AbZLKOCf (ORCPT ); Fri, 11 Dec 2009 09:02:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25048 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754217AbZLKOCf (ORCPT ); Fri, 11 Dec 2009 09:02:35 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20091210004703.348209762@linutronix.de> References: <20091210004703.348209762@linutronix.de> <20091210001308.247025548@linutronix.de> To: Thomas Gleixner Cc: dhowells@redhat.com, LKML , "Paul E. McKenney" , Dipankar Sarma , Ingo Molnar , Peter Zijlstra , Oleg Nesterov , Al Viro , James Morris , Andrew Morton , Linus Torvalds , linux-security-module@vger.kernel.org Subject: Re: [patch 9/9] security: Fix invalid rcu assumptions in comments Date: Fri, 11 Dec 2009 14:01:22 +0000 Message-ID: <13740.1260540082@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas Gleixner wrote: > 1) held spinlocks are not equivalent to rcu_read_lock > > 2) access to current_cred() is safe as only current can modify its > own credentials. > > Signed-off-by: Thomas Gleixner Acked-by: David Howells