This repository has no description
Something went wrong. Try again.
Prevent fd leaks to the running shell or command master
Multiple fixes to prevent file descriptor leaks: - libxev eventfd now uses CLOEXEC - linux: cgroup clone now uses CLOEXEC for the cgroup fd - termio pipe uses pipe2 with CLOEXEC - pty master always sets CLOEXEC because the child doesn't need it - termio exec now closes pty slave fd after fork There still appear to be some fd leaks happening. They seem related to GTK, they aren't things we're accessig directly. I still want to investigate them but this at least cleans up the major sources of fd leakage.
Author Mitchell Hashimoto Date (Jan 24, 2025, 6:12 AM UTC) Commit 0d6a1d3f 0d6a1d3fdb93ee5444a2f998e085266ad443442a Parent c0eb6985 c0eb6985ee6adaeb031751fddb0d0448533d68c6