9e55dd6b8f7a2ddbbefbbdc5028a6c709ad97e4c
On Linux, SO_PEERGROUPS is an option introduced in 2017, that is, in Linux 4.13. Thankfully, Lix targets 5.10+ kernels minimum. It was chosen to allocate 128 gids by default and ramp up (2x) as needed rather than allocate a full 65k of integers as it seems wasteful. I bet the time to the 16 allocations should incur at most an additional millisecond on a modern system, don't quote me on that though. This is preparation to enable ability for the daemon to vet based on supplementary groups. Related to #968. Suggested-by: alois31 Suggested-by: eldritch horrors Change-Id: I26d698327db5d174bf70ca25b0afede132bd9169 Signed-off-by: Raito Bezarius <raito@lix.systems>
Lix
Lix is an implementation of Nix, a powerful package management system for Linux and other Unix systems that makes package management reliable and reproducible.
Read more about us at https://lix.systems.
Installation
On Linux and macOS the easiest way to install Lix is to run the following shell command (as a user other than root):
$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
For systems that already have a Nix implementation installed, such as NixOS systems, read our install page
Building And Developing
See our Hacking guide in our manual for instruction on how to set up a development environment and build Lix from source.
Additional Resources
- The Lix reference manual:
- Our wiki
- Matrix - #space:lix.systems
License
Lix is released under LGPL-2.1-or-later.
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
92 MiB
Languages
C++
74.9%
Python
11.7%
Nix
6.1%
Shell
3.6%
Meson
2%
Other
1.6%