lix/src
Eelco Dolstra df716c98d2 In chroot builds, use a private network namespace
On Linux it's possible to run a process in its own network namespace,
meaning that it gets its own set of network interfaces, disjunct from
the rest of the system.  We use this to completely remove network
access to chroot builds, except that they get a private loopback
interface.  This means that:

- Builders cannot connect to the outside network or to other processes
  on the same machine, except processes within the same build.

- Vice versa, other processes cannot connect to processes in a chroot
  build, and open ports/connections do not show up in "netstat".

- If two concurrent builders try to listen on the same port (e.g. as
  part of a test), they no longer conflict with each other.

This was inspired by the "PrivateNetwork" flag in systemd.
2012-06-23 00:28:35 -04:00
..
bin2c * Sync with the trunk. 2010-04-20 09:20:29 +00:00
boost * Install some headers in the right location. 2009-03-05 14:57:50 +00:00
bsdiff-4.3 Drop the externals directory 2012-03-18 23:54:57 +01:00
libexpr Use Bison 2.5 2012-04-13 14:28:26 +02:00
libmain Ensure that Perl processes delete their entry in the temproots directory 2012-03-13 17:07:49 +01:00
libstore In chroot builds, use a private network namespace 2012-06-23 00:28:35 -04:00
libutil Drop the externals directory 2012-03-18 23:54:57 +01:00
nix-env Remove unnecessary "system" argument 2012-04-14 18:48:11 +02:00
nix-hash * Move parseHash16or32 into libutil, and use in nix-hash. 2011-12-02 11:47:06 +00:00
nix-instantiate nix-instantiate: default to "default.nix" if no arguments are given 2012-04-17 17:19:43 +02:00
nix-log2xml * Emit warning='1' or error='1' attributes for lines marked as 2010-03-05 12:54:58 +00:00
nix-setuid-helper * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
nix-store "nix-store -l": support compressed logs 2012-05-30 00:00:02 -04:00
nix-worker Support socket-based, on-demand activation of the Nix daemon with systemd 2012-06-18 23:01:46 -04:00
Makefile.am * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00