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/mount_portal/mount_portal.c | |
parent | eaea12ff4f8a5979f9851fdd77caf066fec82cb6 (diff) |
mark signal races i cannot fix at the moment
Diffstat (limited to 'sbin/mount_portal/mount_portal.c')
-rw-r--r-- | sbin/mount_portal/mount_portal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/mount_portal/mount_portal.c b/sbin/mount_portal/mount_portal.c index af96e341bf3..9f460777094 100644 --- a/sbin/mount_portal/mount_portal.c +++ b/sbin/mount_portal/mount_portal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_portal.c,v 1.13 1997/08/20 05:10:25 millert Exp $ */ +/* $OpenBSD: mount_portal.c,v 1.14 2001/01/19 17:57:39 deraadt Exp $ */ /* $NetBSD: mount_portal.c,v 1.8 1996/04/13 01:31:54 jtc Exp $ */ /* @@ -47,7 +47,7 @@ char copyright[] = #if 0 static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95"; #else -static char rcsid[] = "$OpenBSD: mount_portal.c,v 1.13 1997/08/20 05:10:25 millert Exp $"; +static char rcsid[] = "$OpenBSD: mount_portal.c,v 1.14 2001/01/19 17:57:39 deraadt Exp $"; #endif #endif /* not lint */ @@ -93,7 +93,7 @@ sigchld(sig) while ((pid = waitpid((pid_t) -1, NULL, WNOHANG)) > 0) ; if (pid < 0 && errno != ECHILD) - syslog(LOG_WARNING, "waitpid: %m"); + syslog(LOG_WARNING, "waitpid: %m"); /* XXX signal race */ errno = save_errno; } @@ -109,7 +109,7 @@ static void sigterm(sig) int sig; { - + /* XXX signal races */ if (unmount(mountpt, MNT_FORCE) < 0) syslog(LOG_WARNING, "sigterm: unmounting %s failed: %m", mountpt); |