Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | check for fd exhaustion in forkpty | Rich Felker | 2011-07-22 | 1 | -2/+15 |
| | | | | | | | we cannot report failure after forking, so the idea is to ensure prior to fork that fd 0,1,2 exist. this will prevent dup2 from possibly hitting a resource limit and failing in the child process. fcntl rather than dup2 is used prior to forking to avoid race conditions. | ||||
* | properly create new session/controlling terminal in forkpty | Rich Felker | 2011-04-20 | 1 | -1/+4 |
| | |||||
* | implement (nonstandard) forkpty | Rich Felker | 2011-04-20 | 1 | -0/+22 |