[Bug 791616] gst-uninstalled.py: Don't close parent file descriptors

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 12 19:27:08 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=791616

--- Comment #3 from Alicia Boya GarcĂ­a <aboya at igalia.com> ---
When gst-uninstalled is used as a wrapper for an executable that relies on file
descriptor inheritance.

For instance, before calling fork(), WebKit creates a socket which shares to
its WebProcess children as an open file descriptor. The socket is not closed in
the child process before calling execv(), so they can still use it to
communicate with the browser.

Therefore, if the WebProcess is swapped by a wrapper, e.g. gst-uninstall, it's
necessary that such wrapper also does not close the socket file descriptor
before calling execv() to execute the actual WebProcess.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list