commit | af64077f8366e9fcf1567c415ef167395ad2d71a | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Apr 28 13:26:59 2022 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Fri Apr 29 17:17:51 2022 +0000 |
tree | ecd38b8cdcec793216b9ebada2aba548fd401cac | |
parent | 4345f3f50adcea6f5e08842b7c949cd1770718e2 [diff] |
init: Purge empty process groups on zygote restart When system_server crashes or gets killed, it causes zygote to kill itself, which in turn leads to killing all processes in the same process group (all apps). This leaves empty process groups because system_server is not there to remove them. Purge empty process groups when init detects zygote death. Bug: 228160715 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I0ce27eea28f8713e52033bbec2d5363a7b8ff5db