Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 292397 Details for
Bug 429560
selinux reveals ssh is leaking a file descriptor
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
This socket needs cloexec instead.
openssh-4.7p1-cloexec.patch (text/plain), 534 bytes, created by
Tomas Mraz
on 2008-01-21 19:14:30 UTC
(
hide
)
Description:
This socket needs cloexec instead.
Filename:
MIME Type:
Creator:
Tomas Mraz
Created:
2008-01-21 19:14:30 UTC
Size:
534 bytes
patch
obsolete
>diff -up openssh-4.7p1/sshconnect.c.cloexec openssh-4.7p1/sshconnect.c >--- openssh-4.7p1/sshconnect.c.cloexec 2006-10-23 19:02:24.000000000 +0200 >+++ openssh-4.7p1/sshconnect.c 2008-01-21 20:11:19.000000000 +0100 >@@ -191,6 +191,7 @@ ssh_create_socket(int privileged, struct > sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); > if (sock < 0) > error("socket: %.100s", strerror(errno)); >+ fcntl(sock, F_SETFD, FD_CLOEXEC); > > /* Bind the socket to an alternative local IP address */ > if (options.bind_address == NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 429560
:
292388
| 292397