summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/imudp/imudp.c2
-rw-r--r--runtime/rsconf.c6
-rw-r--r--tcpsrv.c1
3 files changed, 6 insertions, 3 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index 8a463320..4a3560aa 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -6,7 +6,7 @@
*
* File begun on 2007-12-21 by RGerhards (extracted from syslogd.c)
*
- * Copyright 2007-2009 Rainer Gerhards and Adiscon GmbH.
+ * Copyright 2007-2011 Rainer Gerhards and Adiscon GmbH.
*
* This file is part of rsyslog.
*
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();
diff --git a/tcpsrv.c b/tcpsrv.c
index 39cba5d1..f1be1f87 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -898,6 +898,7 @@ tcpsrvConstructFinalize(tcpsrv_t *pThis)
/* set up listeners */
CHKmalloc(pThis->ppLstn = calloc(pThis->iLstnMax, sizeof(netstrm_t*)));
CHKmalloc(pThis->ppLstnPort = calloc(pThis->iLstnMax, sizeof(tcpLstnPortList_t*)));
+dbgprintf("XXXX: open sockets (tcpsrv)\n");
iRet = pThis->OpenLstnSocks(pThis);
finalize_it: