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 295843 Details for
Bug 433313
rgmanager leaks file descriptors for /var/run/cluster/rgmanager.sk
[?]
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]
Fixed patch; previous one uses wrong fcntl
rgmanager-433313.patch (text/plain), 733 bytes, created by
Lon Hohberger
on 2008-02-25 21:06:19 UTC
(
hide
)
Description:
Fixed patch; previous one uses wrong fcntl
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2008-02-25 21:06:19 UTC
Size:
733 bytes
patch
obsolete
>Index: clulib/msg_socket.c >=================================================================== >RCS file: /cvs/cluster/cluster/rgmanager/src/clulib/msg_socket.c,v >retrieving revision 1.1.2.1 >diff -u -r1.1.2.1 msg_socket.c >--- clulib/msg_socket.c 29 Oct 2007 17:52:52 -0000 1.1.2.1 >+++ clulib/msg_socket.c 25 Feb 2008 21:03:40 -0000 >@@ -345,6 +345,7 @@ > sock_msg_listen(int me, void *portp, msgctx_t **listen_ctx) > { > int sock; >+ long sock_flags; > struct sockaddr_un su; > mode_t om; > msgctx_t *ctx = NULL; >@@ -359,6 +360,10 @@ > if (sock < 0) > return -1; > >+ sock_flags = fcntl(sock, F_GETFD); >+ sock_flags |= FD_CLOEXEC; >+ fcntl(sock, F_SETFD, sock_flags); >+ > unlink(RGMGR_SOCK); > om = umask(077); > su.sun_family = PF_LOCAL;
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 433313
:
295840
| 295843