RESOLVED FIXED 57234
[GTK] Use glib API instead of fork + execl in ProcessLauncherGtk
https://bugs.webkit.org/show_bug.cgi?id=57234
Summary [GTK] Use glib API instead of fork + execl in ProcessLauncherGtk
Carlos Garcia Campos
Reported 2011-03-28 07:57:07 PDT
The code will be simpler and easier to maintain.
Attachments
Patch (3.43 KB, patch)
2011-03-28 08:02 PDT, Carlos Garcia Campos
no flags
Updated patch (3.78 KB, patch)
2011-03-31 03:24 PDT, Carlos Garcia Campos
no flags
Carlos Garcia Campos
Comment 1 2011-03-28 08:02:08 PDT
Carlos Garcia Campos
Comment 2 2011-03-31 03:24:07 PDT
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.
Martin Robinson
Comment 3 2011-03-31 09:52:49 PDT
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.
Carlos Garcia Campos
Comment 4 2011-04-08 03:06:47 PDT
Note You need to log in before you can comment on or make changes to this bug.