This patch corrects the following: - Fixes a problem that causes the system to "assert_wait" panic and the stack contains streams modules. - A problem where a remote user will kill rlogin or telnet and the server host will have an orphanned login process and rlogind or telnetd process in sleep state indefinitely. This is seen only with Asian tty (atty) or any other host which is running c-list rather than STREAMS tty's. - Fixes a panic caused by freeing a pty on a reopen of the controlling tty.