summaryrefslogtreecommitdiff
path: root/sbin/pflogd/pflogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pflogd/pflogd.c')
-rw-r--r--sbin/pflogd/pflogd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c
index 93abc75881e..42b99bec812 100644
--- a/sbin/pflogd/pflogd.c
+++ b/sbin/pflogd/pflogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pflogd.c,v 1.7 2001/08/29 17:42:28 deraadt Exp $ */
+/* $OpenBSD: pflogd.c,v 1.8 2001/10/10 14:30:08 mpech Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -318,6 +318,8 @@ main(int argc, char **argv)
}
}
+ (void)umask(S_IRWXG | S_IRWXO);
+
signal(SIGTERM, sig_close);
signal(SIGINT, sig_close);
signal(SIGQUIT, sig_close);