[PATCH] posix: Handle negative fds in spawn's addfchdir
Andreas Schwab
schwab@linux-m68k.org
Wed Mar 25 22:07:23 GMT 2026
On Mär 25 2026, Adhemerval Zanella Netto wrote:
> However, the POSIX requirements seems conflicting. It states that
>
> [EBADF]
> The value specified by fildes is negative or greater than or equal to {OPEN_MAX}.
https://pubs.opengroup.org/onlinepubs/9799919799/functions/posix_spawn_file_actions_addfchdir.html
does not say anything about OPEN_MAX.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list