WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Updated patch
(3.78 KB, patch)
2011-03-31 03:24 PDT
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2011-03-28 08:02:08 PDT
Created
attachment 87144
[details]
Patch
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
Committed
r83277
: <
http://trac.webkit.org/changeset/83277
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug