Re: file descritor 255 is always associated with /dev/tty[?] ?
Dominik Kubla (firstname.lastname@example.org)
Tue, 26 Oct 1999 16:58:21 +0200
On Tue, Oct 26, 1999 at 03:11:25PM +0100, Alan Cox wrote:
> > the process i.e /dev/tty[?] (current->files->fd is not NULL). This is
> > the case with the shell (bash) process and since other processes are
> > forked by shell, this fd is inherited. I looked at the kernel sources and
> > bash source to see who sets this fd 255 but could not find. Can someone
> > please mail me (or give links to references) why this is set, who sets it,
> > and when?
> bash sets it, always. Not sure why
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/