lix/src/libutil
Eelco Dolstra 1db38ae81b When using chroots, use a private PID namespace
In a private PID namespace, processes have PIDs that are separate from
the rest of the system.  The initial child gets PID 1.  Processes in
the chroot cannot see processes outside of the chroot.  This improves
isolation between builds.  However, processes on the outside can see
processes in the chroot and send signals to them (if they have
appropriate rights).

Since the builder gets PID 1, it serves as the reaper for zombies in
the chroot.  This might turn out to be a problem.  In that case we'll
need to have a small PID 1 process that sits in a loop calling wait().
2012-06-25 15:45:16 -04:00
..
archive.cc * Revert r15436. This was a workaround for a bug in btrfs which seems 2010-05-04 12:42:58 +00:00
archive.hh * Revert r15436. This was a workaround for a bug in btrfs which seems 2010-05-04 12:42:58 +00:00
hash.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
hash.hh * Refactoring: move sink/source buffering into separate classes. 2011-12-15 16:19:53 +00:00
immutable.cc On Linux, make the Nix store really read-only by using the immutable bit 2012-02-15 01:31:56 +01:00
immutable.hh On Linux, make the Nix store really read-only by using the immutable bit 2012-02-15 01:31:56 +01:00
Makefile.am Drop the externals directory 2012-03-18 23:54:57 +01:00
md5.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
md5.h * Some Cygwin fixes. 2006-05-24 13:23:20 +00:00
md32_common.h * Add SHA-256. 2005-01-14 12:03:04 +00:00
serialise.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
serialise.hh * importPath() -> importPaths(). Because of buffering of the input 2011-12-16 22:31:25 +00:00
sha1.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha1.h * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha256.c * Add SHA-256. 2005-01-14 12:03:04 +00:00
sha256.h * FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is 2005-05-04 16:32:54 +00:00
types.hh * Sync with the trunk. 2011-02-09 12:25:53 +00:00
util.cc When using chroots, use a private PID namespace 2012-06-25 15:45:16 -04:00
util.hh Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
xml-writer.cc Escape `>' signs in the XML output. 2010-03-31 08:29:01 +00:00
xml-writer.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00