Re: truss(1) locked in kernel with 8.0-BETA2

From: Ed Schouten <ed_at_80386.nl>
Date: Sun, 23 Aug 2009 22:48:20 +0200
* Nathan Lay <nslay_at_comcast.net> wrote:
> Actually, your snipit there fixes it. You can disregard my previous
> message, though I am curious about what you specifically meant by
> propagating the end-of-file condition.

When script(1) receives an end-of-file on the outside, it should somehow
send an end-of-file to the process running on the inside. This isn't
possible with pseudo-terminals. There isn't a function like shutdown(2)
that can be called on a pseudo-terminal master to stop the flow of data
in one direction. Normally you would just call close(2), but this means
you can't receive any output from processes on the inside.

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Sun Aug 23 2009 - 18:48:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC