Aurelien Jarno 6fd215d6ae posix: fix system when a child cannot be created [BZ #32450]
POSIX states that "if a child process cannot be created, or if the
termination status for the command language interpreter cannot be
obtained, system() shall return -1 and set errno to indicate the error."

In the glibc implementation it could happen when posix_spawn fails,
which happens when the underlying fork, vfork, or clone call fails. They
could fail with EAGAIN and ENOMEM.

Resolves: BZ #32450
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024-12-20 22:57:06 +01:00
..
2024-11-28 14:03:25 -03:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-02-01 11:02:01 +00:00
2024-07-31 14:26:00 +08:00
2024-02-01 11:02:01 +00:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00