lix/src/libutil
Eelco Dolstra 765bdfe542 * When NIX_REMOTE is set to "slave", fork off nix-worker in slave
mode.  Presumably nix-worker would be setuid to the Nix store user.
  The worker performs all operations on the Nix store and database, so
  the caller can be completely unprivileged.

  This is already much more secure than the old setuid scheme, since
  the worker doesn't need to do Nix expression evaluation and so on.
  Most importantly, this means that it doesn't need to access any user
  files, with all resulting security risks; it only performs pure
  store operations.

  Once this works, it is easy to move to a daemon model that forks off
  a worker for connections established through a Unix domain socket.
  That would be even more secure.
2006-11-30 19:54:43 +00:00
..
archive.cc * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00:00
archive.hh * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00:00
aterm-map.cc * Remove unnecessary inclusions of aterm2.h. 2006-09-04 22:08:40 +00:00
aterm-map.hh * Remove unnecessary inclusions of aterm2.h. 2006-09-04 22:08:40 +00:00
aterm.cc * Big cleanup of the semantics of paths, strings, contexts, string 2006-10-16 15:55:34 +00:00
aterm.hh * Big cleanup of the semantics of paths, strings, contexts, string 2006-10-16 15:55:34 +00:00
hash.cc * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00:00
hash.hh * Print a better error message for wrong hashes (NIX-49). 2006-09-20 16:15:32 +00:00
Makefile.am * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00: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 * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00:00
serialise.hh * When NIX_REMOTE is set to "slave", fork off nix-worker in slave 2006-11-30 19:54:43 +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 * Use a proper namespace. 2006-09-04 21:06:23 +00:00
util.cc * Don't spam. 2006-11-29 22:07:49 +00:00
util.hh * Doh! Path sizes need to be computed recursively of course. 2006-11-24 20:24:14 +00:00
xml-writer.cc * Use a proper namespace. 2006-09-04 21:06:23 +00:00
xml-writer.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00