Files
systemd/src/basic
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-06-11 13:55:35 +01:00
2024-04-29 16:33:17 +08:00
2024-01-16 10:49:26 -07:00
2024-07-24 18:58:41 +02:00
2024-07-24 18:58:41 +02:00
2024-06-28 18:55:31 +02:00
2024-06-28 18:55:31 +02:00
2024-03-18 11:04:42 +00:00
2024-03-18 11:04:42 +00:00
2023-12-05 23:50:25 +09:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2024-05-10 10:11:06 +09:00
2024-08-20 11:11:53 +02:00