changing UID/GID after startup of pluto/charon

added --with-uid/--with-gid configure option
This commit is contained in:
Martin Willi
2007-05-07 12:38:46 +00:00
parent a4a3884c83
commit 6874bf698c
16 changed files with 113 additions and 57 deletions
@@ -24,6 +24,7 @@
#include <dirent.h>
#include <string.h>
#include <pthread.h>
#include <errno.h>
#include <library.h>
#include <utils/lexparser.h>
@@ -1382,7 +1383,8 @@ error:
}
else
{
DBG1(DBG_CFG, "could not open file '%s'", SECRETS_FILE);
DBG1(DBG_CFG, "could not open file '%s': %s", SECRETS_FILE,
strerror(errno));
}
}