diff options
author | 2001-01-19 17:57:34 +0000 | |
---|---|---|
committer | 2001-01-19 17:57:34 +0000 | |
commit | f72e66a0720e303ad44c682c7a2fcf62dd88799b (patch) | |
tree | acf9c630d3050ba1a9bd85a234daf394f552dde2 /sbin/fsck_ext2fs/utilities.c | |
parent | mark remaining signal races which are difficult to fix (diff) | |
download | wireguard-openbsd-f72e66a0720e303ad44c682c7a2fcf62dd88799b.tar.xz wireguard-openbsd-f72e66a0720e303ad44c682c7a2fcf62dd88799b.zip |
mark signal races i cannot fix at the moment
Diffstat (limited to 'sbin/fsck_ext2fs/utilities.c')
-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); |