lix/src/libstore
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
..
build.cc * Put building in the store API. 2006-11-30 18:02:04 +00:00
db.cc * A helpful message. 2006-10-13 11:49:55 +00:00
db.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
derivations-ast.def * Automatically upgrade <= 0.7 Nix stores to the new schema (so that 2005-02-09 09:50:29 +00:00
derivations.cc * Refactoring. There is now an abstract interface class StoreAPI 2006-11-30 17:43:04 +00:00
derivations.hh * Remove unnecessary inclusions of aterm2.h. 2006-09-04 22:08:40 +00:00
gc.cc * Refactoring. There is now an abstract interface class StoreAPI 2006-11-30 17:43:04 +00:00
gc.hh * Fix a huge gaping hole in nix-env w.r.t. the garbage collector. 2006-09-14 22:30:33 +00:00
globals.cc * Use a proper namespace. 2006-09-04 21:06:23 +00:00
globals.hh * Put building in the store API. 2006-11-30 18:02:04 +00:00
local-store.cc * Skeleton of the privileged worker program. 2006-11-30 19:19:59 +00:00
local-store.hh * Put building in the store API. 2006-11-30 18:02:04 +00:00
Makefile.am * Skeleton of remote store implementation. 2006-11-30 18:35:36 +00:00
misc.cc * Put building in the store API. 2006-11-30 18:02:04 +00:00
misc.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
pathlocks.cc * Use a proper namespace. 2006-09-04 21:06:23 +00:00
pathlocks.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
references.cc * Use a bounded amount of memory in scanForReferences() by not reading 2006-09-22 13:10:30 +00:00
references.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
remote-store.cc * When NIX_REMOTE is set to "slave", fork off nix-worker in slave 2006-11-30 19:54:43 +00:00
remote-store.hh * When NIX_REMOTE is set to "slave", fork off nix-worker in slave 2006-11-30 19:54:43 +00:00
store-api.cc * When NIX_REMOTE is set to "slave", fork off nix-worker in slave 2006-11-30 19:54:43 +00:00
store-api.hh * Put building in the store API. 2006-11-30 18:02:04 +00:00