summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>1998-11-11 10:04:13 +0000
committerDon Lewis <truckman@FreeBSD.org>1998-11-11 10:04:13 +0000
commit831d27a9f56da38cf007714c169d208e7b9739be (patch)
tree2bce7c99fd05ca07a117966c4c41f2f544ef20f3 /sys/kern/kern_exit.c
parent21ffb6774a08602e1208977da6c5a652d85d32b6 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 84ae1a1d2dd3..fd5e23ef7189 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
- * $Id: kern_exit.c,v 1.67 1998/06/05 21:44:20 dg Exp $
+ * $Id: kern_exit.c,v 1.68 1998/11/10 09:16:29 peter Exp $
*/
#include "opt_compat.h"
@@ -187,6 +187,12 @@ exit1(p, rv)
untimeout(realitexpire, (caddr_t)p, p->p_ithandle);
/*
+ * Reset any sigio structures pointing to us as a result of
+ * F_SETOWN with our pid.
+ */
+ funsetownlst(&p->p_sigiolst);
+
+ /*
* Close open files and release open-file table.
* This may block!
*/