nix/tests
Théophane Hufschmitt 64d7f56eaa Run the builds in a daemon-controled directory
Instead of running the builds under
`$TMPDIR/{unique-build-directory-owned-by-the-build-user}`, run them
under `$TMPDIR/{unique-build-directory-owned-by-the-daemon}/{subdir-owned-by-the-build-user}`
where the build directory is only readable and traversable by the daemon user.

This achieves two things:

1. It prevents builders from making their build directory world-readable
   (or even writeable), which would allow the outside world to interact
   with them.
2. It prevents external processes running as the build user (either
   because that somehow leaked, maybe as a consequence of 1., or because
   `build-users` isn't in use) from gaining access to the build
   directory.
2024-04-22 15:30:50 +02:00
..
functional nix shell: Test that store paths cannot link outside of the store 2024-04-17 13:25:06 +00:00
installer updated store ping to store info in files 2023-10-18 00:14:11 +05:30
nixos Run the builds in a daemon-controled directory 2024-04-22 15:30:50 +02:00
unit use byte indexed locations for PosIdx 2024-03-06 23:48:42 +01:00