diff options
author | 2019-05-22 14:09:29 +0100 | |
---|---|---|
committer | 2019-05-29 22:32:05 +0100 | |
commit | 7936d16df9a56c993c23385ea9c2785127f81711 (patch) | |
tree | d86542e699dc8b41a70c214369dda8f6bbdd8063 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | keys: sparse: Fix key_fs[ug]id_changed() (diff) | |
download | wireguard-linux-7936d16df9a56c993c23385ea9c2785127f81711.tar.xz wireguard-linux-7936d16df9a56c993c23385ea9c2785127f81711.zip |
keys: sparse: Fix incorrect RCU accesses
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions