mirror of
https://github.com/sheumann/hush.git
synced 2025-08-08 02:25:05 +00:00
fb9b298ca42863f540607ba07920bc96df0cbfd0
We do this by maintaining a mask (for each pid) giving the fds to be closed on exec. We wrap functions that close fds so that their close-on-exec bits can be cleared at that point. This implementation may close the fds even if the execve operation ultimately fails.
Description
Languages
C
98.6%
Makefile
0.7%
Shell
0.6%
C++
0.1%