summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-11 14:37:46 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-11 14:37:46 +0000
commitb9be6d388375763b84b7893208b290aac981d958 (patch)
tree246d441168559b6b4388904ee4e58e0c366acdbe /omusrmsg.c
parent0d39d623e785e442da668ea55bcd3731065e7b8f (diff)
downloadrsyslog-b9be6d388375763b84b7893208b290aac981d958.tar.gz
rsyslog-b9be6d388375763b84b7893208b290aac981d958.tar.xz
rsyslog-b9be6d388375763b84b7893208b290aac981d958.zip
comments addedv1-19-6
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index 63ef5588..aa8fc8ce 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -183,6 +183,7 @@ static rsRetVal wallmsg(uchar* pMsg, instanceData *pData)
sigAct.sa_handler = SIG_DFL;
sigaction(SIGTERM, &sigAct, NULL);
# endif
+ /* It is save to call sigprocmask here, as we are now executing the child (no threads) */
sigprocmask(SIG_SETMASK, &sigAct.sa_mask, NULL);
/* TODO: find a way to limit the max size of the message. hint: this
* should go into the template!