Summary: | [GTK] Use glib API instead of fork + execl in ProcessLauncherGtk | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | alex, mrobinson | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Bug Depends on: | 49791 | ||||||||
Bug Blocks: | 57540 | ||||||||
Attachments: |
|
Description
Carlos Garcia Campos
2011-03-28 07:57:07 PDT
Created attachment 87144 [details]
Patch
Created attachment 87688 [details]
Updated patch
I have updated the patch to call prctl(PR_SET_PDEATHSIG, SIGKILL), (Linux only) to kill the child process when the parent dies like the qt port does.
Comment on attachment 87688 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=87688&action=review Great stuff. > Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:48 > +static void childSetupFunc(gpointer userData) Perhaps rename this to childSetupFunction or childSetupCallback. Committed r83277: <http://trac.webkit.org/changeset/83277> |