diff options
| author | David Anderson <dvander@google.com> | 2020-02-26 14:59:08 -0800 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2020-03-03 18:59:10 -0800 |
| commit | 44ae546061a07a0664a942b22c560413414b5e3f (patch) | |
| tree | bbfc1ab41e760a0281192f33306c9ffa41624473 /libpackagelistparser/packagelistparser_test.cpp | |
| parent | 7e5f2aa4784087a51a86f64033b9aebe706f0ba4 (diff) | |
libdm: Fix WaitForFile early-returning on failed accesses.
WaitForFile/WaitForDeletedFile both early return true if an error like
EPERM occurs. This was intentional because the code was modeled off
earlier fs_mgr code, but it makes libdm inherently racy if sepolicy is
not configured correctly. It's better to have these result in explicit
and consistent failures.
Bug: 148103327
Test: fastboot flashall
Change-Id: I0c78818962e1db91b556e523c418db28f7d78fae
Merged-In: I0c78818962e1db91b556e523c418db28f7d78fae
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions
