diff options
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 2927647..ed6b6f0 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -191,9 +191,11 @@ exit1(td, rv) * Reset any sigio structures pointing to us as a result of * F_SETOWN with our pid. */ + SIGIO_LOCK(); PROC_LOCK(p); funsetownlst(&p->p_sigiolst); PROC_UNLOCK(p); + SIGIO_UNLOCK(); /* * Close open files and release open-file table. |