summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index b50b4fb6..2e2eaab6 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -280,10 +280,14 @@ dropPrivileges(rsconf_t *cnf)
*/
if(cnf->globals.gidDropPriv != 0) {
doDropPrivGid(ourConf->globals.gidDropPriv);
+ DBGPRINTF("group privileges have been dropped to gid %u\n", (unsigned)
+ ourConf->globals.gidDropPriv);
}
if(cnf->globals.uidDropPriv != 0) {
doDropPrivUid(ourConf->globals.uidDropPriv);
+ DBGPRINTF("user privileges have been dropped to uid %u\n", (unsigned)
+ ourConf->globals.uidDropPriv);
}
RETiRet;
@@ -300,7 +304,6 @@ runInputModules(void)
int bNeedsCancel;
BEGINfunc
- /* loop through all modules and activate them (brr...) */
pMod = module.GetNxtCnfType(runConf, NULL, eMOD_IN);
while(pMod != NULL) {
if(pMod->mod.im.bCanRun) {
@@ -325,7 +328,6 @@ startInputModules(void)
DEFiRet;
modInfo_t *pMod;
- /* loop through all modules and activate them (brr...) */
pMod = module.GetNxtCnfType(runConf, NULL, eMOD_IN);
while(pMod != NULL) {
iRet = pMod->mod.im.willRun();