kernel - Make pt's throw EOF on disconnect.
authorSamuel J. Greear <sjg@thesjg.com>
Sun, 1 Aug 2010 08:54:29 +0000 (08:54 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Sun, 1 Aug 2010 08:54:29 +0000 (08:54 +0000)
commit847ff8ce751358d6954bc9ea35d6513da665da3e
treef70710ecf5dc514b10425c8a5d77fbb20d2abf5f
parent44c6d5b420c0412ed7fb86401beb4832e6724236
kernel - Make pt's throw EOF on disconnect.

* Set TS_ZOMBIE when pts is closed (already set for ptc).

* Add TS_ZOMBIE filter checks which throw EOF.

* This fixes a problem with screen introduced with screen commit 33b7c9ca

Reported-by: YONETANI Tomokazu
sys/kern/tty_pty.c