lix/src/libstore/build
Eelco Dolstra 16db8dc96f Open slave pseudoterminal before CLONE_NEWUSER
Otherwise, when running as root and user namespaces are enabled,
opening the slave fails with EPERM.

Fixes "opening pseudoterminal slave: Permission denied" followed by a
hang (https://hydra.nixos.org/build/213104244), and "error: getting
sandbox mount namespace: No such file or directory" (#8072), which
happens when the child fails very quickly and consequently reading
/proc/<child>/ns fails.
2023-03-20 17:58:36 +01:00
..
derivation-goal.cc Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
derivation-goal.hh Split OutputsSpec and ExtendedOutputsSpec, use the former more 2023-01-11 18:57:18 -05:00
drv-output-substitution-goal.cc Fix crash/hang with CA derivations 2023-03-08 11:09:15 +01:00
drv-output-substitution-goal.hh Fix crash/hang with CA derivations 2023-03-08 11:09:15 +01:00
entry-points.cc Remove default constructor from OutputsSpec 2023-01-11 19:08:19 -05:00
goal.cc Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
goal.hh Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
hook-instance.cc Simplify commonChildInit() 2023-03-14 18:58:12 +01:00
hook-instance.hh Trim hook-instance.hh 2020-10-12 17:16:13 +00:00
local-derivation-goal.cc Open slave pseudoterminal before CLONE_NEWUSER 2023-03-20 17:58:36 +01:00
local-derivation-goal.hh Open slave pseudoterminal before CLONE_NEWUSER 2023-03-20 17:58:36 +01:00
personality.cc nix develop: Set personality 2022-12-23 16:33:55 +01:00
personality.hh nix develop: Set personality 2022-12-23 16:33:55 +01:00
sandbox-defaults.sb Move macOS sandbox files to sr/libstore/build 2023-01-04 04:50:45 -08:00
sandbox-minimal.sb Move macOS sandbox files to sr/libstore/build 2023-01-04 04:50:45 -08:00
sandbox-network.sb Move macOS sandbox files to sr/libstore/build 2023-01-04 04:50:45 -08:00
substitution-goal.cc Fix typo 2022-06-23 14:22:11 +02:00
substitution-goal.hh Fix empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
worker.cc Merge pull request #7203 from graham33/feature/cpp20 2023-02-01 15:41:04 +01:00
worker.hh Split OutputsSpec and ExtendedOutputsSpec, use the former more 2023-01-11 18:57:18 -05:00