Messages in this thread | | | Subject | Re: file descritor 255 is always associated with /dev/tty[?] ? | Date | Tue, 26 Oct 1999 15:11:25 +0100 (BST) | From | Alan Cox <> |
| |
> the process i.e /dev/tty[?] (current->files->fd[255] 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 majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |