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 295430 Details for
Bug 391131
pulse cannot bind to port 539 after a restart, child processes still have it open
[?]
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]
Fixes part of the problem
piranha-cloexec.patch (text/plain), 594 bytes, created by
Lon Hohberger
on 2008-02-20 16:40:09 UTC
(
hide
)
Description:
Fixes part of the problem
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2008-02-20 16:40:09 UTC
Size:
594 bytes
patch
obsolete
>Index: pulse.c >=================================================================== >RCS file: /cvs/devel/piranha/pulse.c,v >retrieving revision 1.86 >diff -u -r1.86 pulse.c >--- pulse.c 28 Jul 2005 17:16:03 -0000 1.86 >+++ pulse.c 20 Feb 2008 16:27:42 -0000 >@@ -1459,6 +1459,7 @@ > { > > int sock; >+ long sock_flags; > struct sockaddr_in address; > > >@@ -1480,6 +1481,11 @@ > return -1; > } > >+ /* Set close on exec bit so children don't have the port bound */ >+ sock_flags = fcntl(sock, F_GETFL); >+ sock_flags |= FD_CLOEXEC; >+ fcntl(sock, F_SETFL, sock_flags); >+ > return sock; > } >
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 391131
: 295430