[Bug 3] sshd fails to close open file descriptors when forking
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Oct 23 05:48:04 EST 2001
http://bugzilla.mindrot.org/show_bug.cgi?id=3
ralston at pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From ralston at pobox.com 2001-10-23 05:48 -------
It doesn't matter whether or not daemon() or some other helper function does it,
but sshd MUST close all fds from 3 to sysconf(_SC_OPEN_MAX) after forking.
If the hang-on-exit bug is with fds 0/1/2, then indeed, this bug isn't related
to the hang-on-exit bug. But it's still a bug.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list