Messages in this thread | | | Date | Sat, 25 May 2019 13:57:02 +1000 (AEST) | From | James Morris <> | Subject | Re: [PATCH 2/7] keys: sparse: Fix incorrect RCU accesses |
| |
On Wed, 22 May 2019, David Howells wrote:
> Fix a pair of accesses that should be using RCU protection. > > rcu_dereference_protected() is needed to access task_struct::real_parent. > > current_cred() should be used to access current->cred. > > Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jamorris@linux.microsoft.com>
-- James Morris <jmorris@namei.org>
| |