This commit is contained in:
Eelco Dolstra 2006-12-03 20:41:22 +00:00
parent f4279bcde0
commit 9322b399f3
2 changed files with 4 additions and 1 deletions

View File

@ -207,6 +207,9 @@ static void initAndRun(int argc, char * * argv)
}
bool setuidMode = false;
static void setuidInit()
{
/* Don't do anything if this is not a setuid binary. */

View File

@ -25,7 +25,7 @@ Path makeRootName(const Path & gcRoot, int & counter);
void printGCWarning();
/* Whether we're running setuid. */
bool setuidMode = false;
extern bool setuidMode;
}