Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f3ce6028 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[res] Make IdmapDaemon more robust

- Try to protect against the system shutdown when
  starting/stopping a service is impossible

- Fix the refcount for the service member in corner cases

- Don't access uninitialized connection object if its creation
  fails in the FRRO list function

- Get rid of the unneeded atomic int as it's always accessed
  under a lock

- Rename the start/stop service methods to explicitly point
  they're only called under a lock

Overall this makes the deadlocks much less probable, but not
gets rid of them completely

Fixes: 362083145
Fixes: 385464198
Test: build + boot
Flag: EXEMPT bugfix
Change-Id: Ib26f7317aec4dbb90616b630999e70ddcc5b884c
parent 556a10be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment