summaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-19 17:57:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-19 17:57:44 +0000
commit14ed877776dcefece53d3ac792a4ed18ba7dd630 (patch)
treefcf291d1c7d9372b55a7c7ea822fd7af5d252b5d /sbin/dump
parenteaea12ff4f8a5979f9851fdd77caf066fec82cb6 (diff)
mark signal races i cannot fix at the moment
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dumprmt.c4
-rw-r--r--sbin/dump/optr.c5
-rw-r--r--sbin/dump/tape.c5
3 files changed, 8 insertions, 6 deletions
diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c
index 3b659391c4a..aebb2a392db 100644
--- a/sbin/dump/dumprmt.c
+++ b/sbin/dump/dumprmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dumprmt.c,v 1.13 2000/01/22 20:24:54 deraadt Exp $ */
+/* $OpenBSD: dumprmt.c,v 1.14 2001/01/19 17:57:34 deraadt Exp $ */
/* $NetBSD: dumprmt.c,v 1.17 1997/06/05 16:10:47 mrg Exp $ */
/*-
@@ -113,7 +113,7 @@ rmthost(host)
static void
rmtconnaborted()
{
-
+ /* XXX signal race */
errx(X_ABORT, "Lost connection to remote host.");
}
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index 275d7afa22f..f8a33ea68df 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: optr.c,v 1.16 1997/08/05 23:17:11 angelos Exp $ */
+/* $OpenBSD: optr.c,v 1.17 2001/01/19 17:57:34 deraadt Exp $ */
/* $NetBSD: optr.c,v 1.11 1997/05/27 08:34:36 mrg Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94";
#else
-static char rcsid[] = "$OpenBSD: optr.c,v 1.16 1997/08/05 23:17:11 angelos Exp $";
+static char rcsid[] = "$OpenBSD: optr.c,v 1.17 2001/01/19 17:57:34 deraadt Exp $";
#endif
#endif /* not lint */
@@ -142,6 +142,7 @@ char lastmsg[BUFSIZ];
/*
* Alert the console operator, and enable the alarm clock to
* sleep for 2 minutes in case nobody comes to satisfy dump
+ * XXX not safe
*/
void
alarmcatch()
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c
index a9b1914f745..bfeb9509ae9 100644
--- a/sbin/dump/tape.c
+++ b/sbin/dump/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.10 1999/02/28 06:50:14 deraadt Exp $ */
+/* $OpenBSD: tape.c,v 1.11 2001/01/19 17:57:35 deraadt Exp $ */
/* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94";
#else
-static char rcsid[] = "$OpenBSD: tape.c,v 1.10 1999/02/28 06:50:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: tape.c,v 1.11 2001/01/19 17:57:35 deraadt Exp $";
#endif
#endif /* not lint */
@@ -272,6 +272,7 @@ do_stats()
* statussig --
* information message upon receipt of SIGINFO
* (derived from optr.c::timeest())
+ * XXX not safe
*/
void
statussig(notused)