summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 4c136f638b..e4dd661ea5 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -635,6 +635,11 @@ static void usage(char *pname)
BlockSignals(True,SIGFPE);
#endif
+#if defined(SIGUSR2)
+ /* We are no longer interested in USR2 */
+ BlockSignals(True,SIGUSR2);
+#endif
+
/* we want total control over the permissions on created files,
so set our umask to 0 */
umask(0);