diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-19 17:57:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-19 17:57:44 +0000 |
commit | 14ed877776dcefece53d3ac792a4ed18ba7dd630 (patch) | |
tree | fcf291d1c7d9372b55a7c7ea822fd7af5d252b5d /sbin/fsck_ext2fs | |
parent | eaea12ff4f8a5979f9851fdd77caf066fec82cb6 (diff) |
mark signal races i cannot fix at the moment
Diffstat (limited to 'sbin/fsck_ext2fs')
-rw-r--r-- | sbin/fsck_ext2fs/utilities.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/fsck_ext2fs/utilities.c b/sbin/fsck_ext2fs/utilities.c index 80b784e044a..d2a6befb88c 100644 --- a/sbin/fsck_ext2fs/utilities.c +++ b/sbin/fsck_ext2fs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.6 2000/09/30 16:06:34 aaron Exp $ */ +/* $OpenBSD: utilities.c,v 1.7 2001/01/19 17:57:36 deraadt Exp $ */ /* $NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $ */ /* @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)utilities.c 8.1 (Berkeley) 6/5/93"; #if 0 static char rcsid[] = "$NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $"; #else -static char rcsid[] = "$OpenBSD: utilities.c,v 1.6 2000/09/30 16:06:34 aaron Exp $"; +static char rcsid[] = "$OpenBSD: utilities.c,v 1.7 2001/01/19 17:57:36 deraadt Exp $"; #endif #endif #endif /* not lint */ @@ -466,6 +466,7 @@ void catch(n) int n; { + /* XXX signal race */ ckfini(0); exit(12); } @@ -481,6 +482,7 @@ catchquit(n) { extern returntosingle; + /* XXX signal race */ printf("returning to single-user after filesystem check\n"); returntosingle = 1; (void)signal(SIGQUIT, SIG_DFL); @@ -495,6 +497,7 @@ voidquit(n) int n; { + /* XXX signal race */ sleep(1); (void)signal(SIGQUIT, SIG_IGN); (void)signal(SIGQUIT, SIG_DFL); |