lix/src/libstore/build
Eelco Dolstra fb2f7f5dcc Fix auto-uid-allocation in Docker containers
This didn't work because sandboxing doesn't work in Docker. However,
the sandboxing check is done lazily - after clone(CLONE_NEWNS) fails,
we retry with sandboxing disabled. But at that point, we've already
done UID allocation under the assumption that user namespaces are
enabled.

So let's get rid of the "goto fallback" logic and just detect early
whether user / mount namespaces are enabled.

This commit also gets rid of a compatibility hack for some ancient
Linux kernels (<2.13).
2023-02-07 22:51:53 +01:00
..
derivation-goal.cc Split OutputsSpec::merge into OuputsSpec::{union_, isSubsetOf} 2023-01-12 20:20:27 -05: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 empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
drv-output-substitution-goal.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
entry-points.cc Remove default constructor from OutputsSpec 2023-01-11 19:08:19 -05:00
goal.cc Random cleanup 2022-03-24 23:24:10 +01:00
goal.hh Random cleanup 2022-03-24 23:09:43 +01:00
hook-instance.cc Pass the right argv when calling the build hook 2022-10-27 11:53:04 +02:00
hook-instance.hh Trim hook-instance.hh 2020-10-12 17:16:13 +00:00
local-derivation-goal.cc Fix auto-uid-allocation in Docker containers 2023-02-07 22:51:53 +01:00
local-derivation-goal.hh Get CPU stats from the cgroup 2022-11-18 13:40:59 +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