Mike Yuan
e06c5be29a
process-util: always retry with pidfd_spawn() w/o cgroup first
...
Follow-up for 7ac58157ca
With the mentioned commit, iff E2BIG we'd retry pidfd_spawn()
with POSIX_SPAWN_SETCGROUP disabled. However, the same strategy
should actually apply to EOPNOTSUPP/ENOSYS/EPERM too -
they can mean two things here: no clone3() or no CLONE_PIDFD.
Therefore, let's first try clone() + CLONE_PIDFD, and fall further back
to plain clone() (posix_spawn()) only as last resort. Plus, record
the fact so that we don't unnecessarily retry every single time
if CLONE_PIDFD is the one that's unavailable.
2024-08-21 15:27:57 +02:00
..
2024-08-04 14:55:32 +09:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-01-30 10:06:44 +01:00
2024-07-19 11:44:04 +02:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-01-24 21:21:57 +08:00
2024-04-30 18:11:10 +02:00
2024-02-21 09:25:46 +01:00
2024-07-19 11:44:04 +02:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-04-24 17:33:38 +02:00
2024-08-21 14:32:54 +02:00
2024-08-02 16:36:08 +02:00
2024-06-11 13:55:35 +01:00
2024-07-24 18:58:41 +02:00
2024-07-24 18:58:41 +02:00
2024-06-12 15:21:15 +02:00
2024-06-12 15:21:15 +02:00
2024-03-07 18:49:44 +01:00
2024-02-09 17:57:41 +01:00
2024-08-02 16:53:20 +01:00
2024-08-02 16:53:20 +01:00
2024-03-08 08:25:07 +01:00
2024-03-20 15:13:44 +01:00
2024-04-03 14:23:04 +01:00
2024-06-12 15:21:15 +02:00
2024-04-29 16:33:17 +08:00
2023-12-25 02:13:49 +09:00
2024-07-19 11:41:42 +02:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-04-25 12:43:21 +02:00
2024-03-07 00:46:21 +00:00
2024-01-16 10:49:26 -07:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-03-03 19:01:00 +08:00
2024-03-03 19:01:00 +08:00
2024-07-21 22:48:53 +02:00
2024-06-19 16:37:12 +02:00
2024-06-14 22:50:33 +01:00
2024-06-14 22:50:33 +01:00
2024-05-31 11:14:37 +09:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-07-24 18:58:41 +02:00
2024-07-24 18:58:41 +02:00
2024-06-12 15:21:15 +02:00
2024-06-12 15:21:15 +02:00
2024-04-29 14:34:22 +02:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2023-12-25 15:38:59 +09:00
2024-06-28 18:55:31 +02:00
2024-06-28 18:55:31 +02:00
2024-08-07 00:14:53 +02:00
2024-06-19 16:37:12 +02:00
2024-04-24 12:22:05 +09:00
2024-04-24 12:22:05 +09:00
2024-02-28 15:38:00 +01:00
2024-05-22 00:50:44 +08:00
2024-06-13 15:56:02 +01:00
2024-06-13 15:56:02 +01:00
2024-06-14 12:42:07 +01:00
2024-06-26 16:01:35 +02:00
2024-06-06 11:39:56 +01:00
2024-06-06 11:39:56 +01:00
2024-03-18 11:04:42 +00:00
2024-03-18 11:04:42 +00:00
2024-02-28 15:38:00 +01:00
2023-11-23 00:50:46 +09:00
2024-05-22 13:25:44 +01:00
2024-04-06 16:08:23 +02:00
2024-07-31 13:12:55 +02:00
2024-07-31 13:12:55 +02:00
2024-07-25 12:22:36 +01:00
2024-06-26 16:01:20 +02:00
2024-02-03 03:00:51 +09:00
2024-02-03 03:00:51 +09:00
2024-07-03 17:25:26 +02:00
2024-03-20 12:26:24 +01:00
2024-06-20 02:35:35 +09:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-07-01 15:45:15 +02:00
2024-04-06 16:08:23 +02:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-06-15 13:05:50 +02:00
2024-06-20 02:35:35 +09:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-06-12 00:14:08 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-06-26 20:54:53 +02:00
2024-07-21 22:50:58 +02:00
2023-12-05 23:50:25 +09:00
2024-06-26 20:54:53 +02:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-07-13 22:58:22 +02:00
2024-05-07 09:29:58 +02:00
2024-07-02 10:07:20 +02:00
2024-07-01 15:45:15 +02:00
2024-07-23 19:30:54 +02:00
2024-07-23 19:30:54 +02:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2024-01-26 00:37:59 +08:00
2024-07-04 12:49:28 +02:00
2024-06-19 16:28:28 +02:00
2024-08-20 02:21:21 +09:00
2024-08-20 02:21:21 +09:00
2024-03-20 15:18:21 +01:00
2024-03-07 02:01:57 +08:00
2024-07-23 18:48:15 +02:00
2024-07-23 18:48:15 +02:00
2024-07-21 22:48:53 +02:00
2024-07-21 22:48:53 +02:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-08-21 15:27:57 +02:00
2024-06-19 16:28:28 +02:00
2024-06-15 12:43:37 +01:00
2024-06-15 12:43:37 +01:00
2024-08-14 14:18:40 +02:00
2024-08-14 14:18:40 +02:00
2024-02-16 00:25:37 +09:00
2023-12-06 22:12:48 +01:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2023-12-14 08:31:29 +00:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:28:28 +02:00
2024-02-13 13:59:27 -05:00
2024-02-13 13:59:27 -05:00
2024-01-04 05:26:01 +09:00
2024-07-12 08:26:15 +02:00
2024-07-12 08:26:15 +02:00
2023-12-25 15:38:59 +09:00
2024-08-02 11:16:33 +09:00
2024-08-02 11:16:33 +09:00
2024-03-09 19:32:09 +00:00
2024-07-01 16:02:05 +02:00
2024-03-14 23:45:27 +08:00
2024-04-28 13:33:17 +02:00
2024-06-18 00:26:15 +09:00
2024-06-12 18:19:29 +09:00
2024-06-19 16:28:28 +02:00
2024-06-19 16:37:12 +02:00
2024-08-18 16:41:44 +02:00
2024-06-18 21:09:04 +01:00
2024-08-17 20:09:51 +02:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-08-04 14:47:30 +09:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-08-20 11:11:53 +02:00
2024-08-07 21:24:57 +02:00
2024-06-19 16:37:12 +02:00
2024-05-10 10:11:06 +09:00
2024-03-14 09:22:09 +01:00
2024-01-09 11:15:00 +01:00
2024-01-09 11:15:00 +01:00
2024-04-08 20:14:38 +08:00
2024-04-08 20:14:38 +08:00
2024-07-17 17:25:22 +02:00
2024-06-19 16:37:12 +02:00
2024-06-11 23:17:21 +01:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-08-20 11:11:53 +02:00
2024-01-22 17:55:07 +01:00
2024-06-19 16:37:12 +02:00
2024-06-19 16:37:12 +02:00
2024-08-16 10:11:29 +02:00
2024-06-19 16:28:28 +02:00