mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
this is only used to close non-stdio files in derivation sandboxes. we
may as well encode that in its name, drop the unnecessary integer set,
and use close_range to deal with the actual closing of files. not only
is this clearer, it also makes sandbox setup on linux fast by 1ms each
(cherry-picked and adapted from
|
||
---|---|---|
.. | ||
environment-variables.cc | ||
file-descriptor.cc | ||
file-path.cc | ||
file-system.cc | ||
meson.build | ||
monitor-fd.hh | ||
muxable-pipe.cc | ||
os-string.cc | ||
processes.cc | ||
signals-impl.hh | ||
signals.cc | ||
users.cc |