mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 10:16:15 +02:00
Reduce # of UIDs per build to 65536
2^18 was overkill. The idea was to enable multiple containers to run inside a build. However, those containers can use the same UID range - we don't really care about perfect isolation between containers inside a build.
This commit is contained in:
parent
f5fa3de759
commit
ca2f64bcda
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ public:
|
||||||
"The Unix group that contains the build users."};
|
"The Unix group that contains the build users."};
|
||||||
|
|
||||||
#if __linux__
|
#if __linux__
|
||||||
const uint32_t idsPerBuild = 1 << 18;
|
const uint32_t idsPerBuild = 1 << 16;
|
||||||
|
|
||||||
Setting<uint32_t> startId{this, 872415232, "start-id",
|
Setting<uint32_t> startId{this, 872415232, "start-id",
|
||||||
"The first UID and GID to use for dynamic ID allocation. (0 means disable.)"};
|
"The first UID and GID to use for dynamic ID allocation. (0 means disable.)"};
|
||||||
|
|
Loading…
Reference in a new issue