diff options
| author | Ben Hutchings <[email protected]> | 2018-02-04 02:06:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-16 17:50:09 +0100 |
| commit | ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 (patch) | |
| tree | 4b391937fe744d7261b670002b1e67c7dff73a8c /scripts/gcc-plugins/sancov_plugin.c | |
| 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: [email protected]
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions