After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692544 - [PATCH] gfile: Ensure we create internal pipe with FD_CLOEXEC
[PATCH] gfile: Ensure we create internal pipe with FD_CLOEXEC
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-01-25 17:35 UTC by Colin Walters
Modified: 2013-01-25 18:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] gfile: Ensure we create internal pipe with FD_CLOEXEC (1.22 KB, patch)
2013-01-25 17:35 UTC, Colin Walters
committed Details | Review

Description Colin Walters 2013-01-25 17:35:01 UTC
Created attachment 234430 [details] [review]
[PATCH] gfile: Ensure we create internal pipe with FD_CLOEXEC

That way the descriptors aren't leaked to child processes.
---
 gio/gfile.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
Comment 1 Dan Winship 2013-01-25 18:02:12 UTC
Comment on attachment 234430 [details] [review]
[PATCH] gfile: Ensure we create internal pipe with FD_CLOEXEC

Yes.