aboutsummaryrefslogtreecommitdiff
path: root/src/process/posix_spawn_file_actions_addclose.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fail posix_spawn file_actions operations with negative fds•••these functions are specified to fail with EBADF on negative fd arguments. apart from close, they are also specified to fail if the value exceeds OPEN_MAX, but as written it is not clear that this imposes any requirement when OPEN_MAX is not defined, and it's undesirable to impose a dynamic limit (via setrlimit) here since the limit at the time of posix_spawn may be different from the limit at the time of setting up the file actions. this may require revisiting later. Rich Felker2021-01-301-0/+1
* fix backwards posix_spawn file action orderRich Felker2011-05-291-1/+2
* add file actions support to posix_spawnRich Felker2011-05-281-0/+15