Sergey Bugaev
431bbde6df
Kernel: Fix returning random children from waitid(WNOHANG)
...
In case WNOHANG was specified, we want to always set should_unblock to
true (which we do since commit 4402207b98 ), not
wait_finished -- the latter causes us to immediately return this child to our
caller, which is not what we want -- perhaps we should return another child
which has actually exited or stopped, or nobody at all.
To avoid confusion, also rename wait_finished to fits_the_spec.
This fixes service keepalive functionality in SystemServer.
2020-05-25 12:38:37 +02:00
..
2020-05-23 15:25:43 +02:00
2020-05-22 13:17:38 +02:00
2020-05-23 15:27:33 +02:00
2020-05-23 15:27:33 +02:00
2020-05-20 16:24:26 +02:00
2020-05-23 15:57:48 +02:00
2020-05-14 20:15:18 +02:00
2020-05-23 15:25:43 +02:00
2020-05-16 12:00:04 +02:00
2020-04-08 17:19:46 +02:00
2020-05-16 12:00:04 +02:00
2020-05-23 15:25:43 +02:00
2020-05-23 15:57:19 +02:00
2020-02-10 12:07:48 +01:00
2020-05-22 13:17:38 +02:00
2020-05-16 12:00:04 +02:00
2020-04-18 14:22:42 +02:00
2020-04-18 14:22:42 +02:00
2020-05-16 12:00:04 +02:00
2020-05-16 12:00:04 +02:00
2020-03-23 13:48:44 +01:00
2020-02-16 01:27:42 +01:00
2020-05-22 13:17:38 +02:00
2020-05-04 09:52:04 +02:00
2020-05-16 12:00:04 +02:00
2020-03-23 13:48:44 +01:00
2020-05-14 20:15:18 +02:00
2020-02-16 01:27:42 +01:00
2020-05-12 17:02:20 +02:00
2020-05-16 12:00:04 +02:00
2020-05-20 14:11:13 +02:00
2020-05-16 12:03:25 +02:00
2020-05-23 15:25:43 +02:00
2020-04-08 17:19:46 +02:00
2020-05-14 20:15:18 +02:00
2020-04-26 21:31:52 +02:00
2020-04-30 11:43:25 +02:00
2020-05-14 20:15:18 +02:00
2020-02-16 01:27:42 +01:00
2020-05-02 22:06:17 +02:00
2020-04-11 21:04:45 +02:00
2020-03-08 13:06:51 +01:00
2020-05-16 12:00:04 +02:00
2020-05-23 15:27:33 +02:00
2020-05-23 15:25:43 +02:00
2020-04-11 22:41:05 +02:00
2020-04-12 11:00:38 +02:00
2020-05-09 23:45:16 +02:00
2020-04-13 00:53:22 +02:00
2020-05-20 19:54:56 +02:00
2020-02-16 01:27:42 +01:00
2020-04-08 17:19:46 +02:00
2020-05-25 12:38:37 +02:00
2020-05-16 11:33:59 +02:00
2020-05-16 09:44:00 +02:00
2020-05-16 09:44:00 +02:00
2020-05-16 12:00:04 +02:00
2020-05-23 15:25:43 +02:00
2020-03-28 18:27:18 +01:00
2020-05-16 11:34:01 +02:00
2020-05-20 14:11:13 +02:00
2020-05-20 14:11:13 +02:00
2020-04-13 00:53:22 +02:00
2020-04-13 00:53:22 +02:00
2020-04-27 11:24:21 +02:00
2020-04-27 11:14:41 +02:00
2020-05-23 15:25:43 +02:00
2020-05-16 12:00:04 +02:00
2020-04-26 12:35:35 +02:00
2020-04-26 12:35:35 +02:00