diff options
author | 2024-02-15 12:25:29 -0800 | |
---|---|---|
committer | 2024-03-04 19:05:30 -0800 | |
commit | 6c6a9c322d9ba3caa4a61ce906aa5cdb62756f01 (patch) | |
tree | caedab292b39b8e6e92ce6adce5fbdbaac2a785e /libs/hwui/RenderNode.cpp | |
parent | a77be890e217905ce354ed7e4b08499ff496cc0b (diff) |
SharedMemory: mark fdsan ownership
We noticed some internal test failures that were due to fdsan aborts
from SharedMemory.Closer getting its fd stomped on and then aborting
when it tried to close an fd owned by a unique_fd that got allocated in
its spot.
This immediately found a bug in our code where we were creating a
ParcelFileDescriptor from SharedMemory.getFileDescriptor, along with a
bug in ContentResolverTest.
Test: `atest android.os.cts.SharedMemoryTest android.content.ContentResolverTest`
Change-Id: I3fd4a5c5e478e0674021ffed3d624046e978dfdc
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions