summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-01-19 17:53:12 +0000
committerderaadt <deraadt@openbsd.org>2001-01-19 17:53:12 +0000
commitb374e38b84fdbb1e80d3c51e7191ba8670267c2c (patch)
treed457b6863bae3356fd063a05ccefd29fe7fc1a5c /usr.sbin/syslogd/syslogd.c
parentclear and free digest, make consistent with other code (use dlen); from stevesk@ (diff)
downloadwireguard-openbsd-b374e38b84fdbb1e80d3c51e7191ba8670267c2c.tar.xz
wireguard-openbsd-b374e38b84fdbb1e80d3c51e7191ba8670267c2c.zip
mark remaining signal races which are difficult to fix
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r--usr.sbin/syslogd/syslogd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index b0a396636e4..35d698c3752 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.38 2001/01/16 23:58:00 deraadt Exp $ */
+/* $OpenBSD: syslogd.c,v 1.39 2001/01/19 17:53:19 deraadt Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-static char rcsid[] = "$OpenBSD: syslogd.c,v 1.38 2001/01/16 23:58:00 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: syslogd.c,v 1.39 2001/01/19 17:53:19 deraadt Exp $";
#endif
#endif /* not lint */
@@ -193,8 +193,9 @@ int Initialized = 0; /* set when we have initialized ourselves */
int MarkInterval = 20 * 60; /* interval between marks in seconds */
int MarkSeq = 0; /* mark sequence number */
-volatile int MarkSet;
-volatile int WantDie;
+
+sig_atomic_t MarkSet;
+sig_atomic_t WantDie;
int SecureMode = 1; /* when true, speak only unix domain socks */