Page MenuHomeFreeBSD

D41605.id126558.diff
No OneTemporary

D41605.id126558.diff

diff --git a/sys/kern/tty.c b/sys/kern/tty.c
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -403,6 +403,11 @@
cv_broadcast(&tp->t_bgwait);
cv_broadcast(&tp->t_dcdwait);
+ if (fflag & FREVOKE) {
+ knlist_delete(&tp->t_inpoll.si_note, curthread, 1);
+ knlist_delete(&tp->t_outpoll.si_note, curthread, 1);
+ }
+
ttydev_leave(tp);
return (0);

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 19, 6:50 AM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35224856
Default Alt Text
D41605.id126558.diff (352 B)

Event Timeline