summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-03-09 17:13:09 -0800
committerAdam Lesinski <adamlesinski@google.com>2016-03-09 17:17:19 -0800
commitb1911401e0008c2b12a3fe6c9dc34528bf7710a5 (patch)
treed8e94cf57d2740bb43f36a905e41fc792ac3b5c0 /libunwindstack/tests/MemoryLocalTest.cpp
parentdcdf300a1f5b0ad3fb517e53cfe09cc8eab05311 (diff)
libziparchive: ensure ReadAtOffset is atomic
ag/880725 modified ReadAtOffset to seek then read from the open file descriptor. Previously pread64 was used to provide atomic behaviour. This causes races when multiple threads are trying to access data from the file. This is supported, so this change reverts the relevant parts of the above CL to restore the old behaviour. Bug:27563413 Change-Id: I7bffd78da8c558745dfc3c072ba9691b1b15bb5b
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions