diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-02-04 02:06:27 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 17:50:09 +0100 |
commit | ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 (patch) | |
tree | 4b391937fe744d7261b670002b1e67c7dff73a8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02b7b2844c2ffd3b614ec2b9293e8c7f041d60da (diff) |
staging: android: ashmem: Fix a race condition in pin ioctls
ashmem_pin_unpin() reads asma->file and asma->size before taking the
ashmem_mutex, so it can race with other operations that modify them.
Build-tested only.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions