diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-23 21:22:06 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-23 22:12:58 -0800 |
| commit | 0d6a1d3fdb93ee5444a2f998e085266ad443442a (patch) | |
| tree | 81ada16017618e9bbe76e7b4739af741e61cff3f /nix/zigCacheHash.nix | |
| parent | c0eb6985ee6adaeb031751fddb0d0448533d68c6 (diff) | |
Prevent fd leaks to the running shell or command
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.
Diffstat (limited to 'nix/zigCacheHash.nix')
| -rw-r--r-- | nix/zigCacheHash.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/zigCacheHash.nix b/nix/zigCacheHash.nix index dfc2e5f7f..c687a5a79 100644 --- a/nix/zigCacheHash.nix +++ b/nix/zigCacheHash.nix @@ -1,3 +1,3 @@ # This file is auto-generated! check build-support/check-zig-cache-hash.sh for # more details. -"sha256-H6o4Y09ATIylMUWuL9Y1fHwpuxSWyJ3Pl8fn4VeoDZo=" +"sha256-AvfYl8vLxxsRnf/ERpw5jQIro5rVd98q63hwFsgQOvo=" |
