Bug 1706 - Set FD_CLOEXEC on accepted socket
Summary: Set FD_CLOEXEC on accepted socket
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 5.3p1
Hardware: Other Linux
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_4
  Show dependency treegraph
 
Reported: 2010-01-28 23:20 AEDT by jchadima
Modified: 2010-03-26 10:51 AEDT (History)
1 user (show)

See Also:


Attachments
patch solving the problem (605 bytes, patch)
2010-01-28 23:21 AEDT, jchadima
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jchadima 2010-01-28 23:20:58 AEDT
Set FD_CLOEXEC on sockets from accept(2) so they are not leaked to child
processes
Comment 1 jchadima 2010-01-28 23:21:57 AEDT
Created attachment 1785 [details]
patch solving the problem
Comment 2 Damien Miller 2010-01-29 11:21:12 AEDT
patch applied, this will be in openssh-5.4 shortly.
Comment 3 Darren Tucker 2010-03-26 10:51:59 AEDT
With the release of 5.4p1, this bug is now considered closed.