aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-10-17 15:33:24 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-10-17 15:33:24 +0000
commit32282abceaebbe574fa83c074aa8dbff19f937bb (patch)
tree103144b0cf817ff3bec12f1a1ab897dfe7faf344 /src/libstore/globals.cc
parent15ff877438a57936d620622cee8fb98cea607d08 (diff)
* Beginning of secure multi-user Nix stores. If Nix is started as
root (or setuid root), then builds will be performed under one of the users listed in the `build-users' configuration variables. This is to make it impossible to influence build results externally, allowing locally built derivations to be shared safely between users (see ASE-2005 paper). To do: only one builder should be active per build user.
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r--src/libstore/globals.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index ef87e3ba8..a69bc0c30 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -17,8 +17,6 @@ bool tryFallback = false;
Verbosity buildVerbosity = lvlInfo;
unsigned int maxBuildJobs = 1;
bool readOnlyMode = false;
-bool buildAllowRoot = true;
-list<string> buildUsers;
static bool settingsRead = false;
@@ -79,8 +77,6 @@ Strings querySetting(const string & name, const Strings & def)
bool queryBoolSetting(const string & name, bool def)
{
- debug("X");
-
Strings defs;
if (def) defs.push_back("true"); else defs.push_back("false");