mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01: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
|
||
|---|---|---|
| .. | ||
| build | ||
| meson.build | ||
| pathlocks.cc | ||
| user-lock.cc | ||
| user-lock.hh | ||