Files
flatpak/app
Sebastian Wick 5c549cd5d0 kill: Do not kill pid 0 and embrace races
There are a number of races, and failure conditions which can lead to a
pid of 0 being returned from flatpak_instance_get_child_pid. This would
lead to a whole bunch of things getting killed.

We will skip the instance in those cases now, and retry a few times. We
also notice when the instance just goes away by itself now.

This should make killing more robust, and especially not SIGKILL pid 0.

(cherry picked from commit 8354ee56cf)
2025-12-03 19:34:17 -05:00
..
2019-02-25 18:12:30 +00:00
2021-03-10 10:33:51 +01:00