platform_system_core/fs_mgr/libdm
Nikita Ioffe 3b39a9ef6a Don't SIGABORT if device-mapper doesn't generate uevent for DeleteDevice
It looks like in some rare scenarios device-mapper won't create an
uevent while handling DM_DEV_REMOVE ioctl.

Since failure to generate uevent will result in ueventd not cleaning up
/dev paths in user space, it should be ok to just fail DeleteDevice call
without aborting the entire process.

Test: presubmit
Bug: 171266986
Change-Id: Iece28e6e02c35ac4bf33b9be74dfe1bbbb466bd4
2020-11-06 22:38:23 +00:00
..
include/libdm libdm: dm-user target creation takes an additional argument 2020-10-16 18:16:55 +00:00
Android.bp Remove vts10 related configs 2020-10-06 13:52:44 -07:00
dm.cpp Don't SIGABORT if device-mapper doesn't generate uevent for DeleteDevice 2020-11-06 22:38:23 +00:00
dm_linear_fuzzer.cpp Fix fuzzer name and sizeof(array) 2019-10-21 11:44:08 +00:00
dm_table.cpp libdm: Fix DmTable::num_sectors 2019-10-01 19:43:33 -07:00
dm_target.cpp libdm: dm-user target creation takes an additional argument 2020-10-16 18:16:55 +00:00
dm_test.cpp Abolish DmTargetDefaultKey::IsLegacy 2020-04-05 19:51:14 -07:00
loop_control.cpp Fix fds libdm_test 2019-10-01 19:43:33 -07:00
loop_control_test.cpp libdm: Fix race conditions in LoopControl::Attach. 2019-07-11 15:39:53 -07:00
test_util.cpp libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00
test_util.h Move TempDevice to test_util.h 2019-10-10 20:59:33 +01:00
utility.cpp libdm: Fix WaitForFile early-returning on failed accesses. 2020-02-26 15:21:53 -08:00
utility.h libdm: add an overload of DeleteDevice accepting a timeout_ms 2019-12-05 10:37:47 +00:00