WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154036
All 32-bit plug-ins should use the XPC service
https://bugs.webkit.org/show_bug.cgi?id=154036
Summary
All 32-bit plug-ins should use the XPC service
Anders Carlsson
Reported
2016-02-09 09:47:18 PST
All 32-bit plug-ins should use the XPC service
Attachments
Patch
(17.15 KB, patch)
2016-02-09 09:52 PST
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(17.28 KB, patch)
2016-02-09 10:10 PST
,
Anders Carlsson
mitz: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2016-02-09 09:52:55 PST
Created
attachment 270937
[details]
Patch
mitz
Comment 2
2016-02-09 10:02:20 PST
Comment on
attachment 270937
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=270937&action=review
> Source/WebKit2/ChangeLog:14 > + 1. Shimming mach_vm_map and make sure to add the VM_PROT_EXECUTABLE bit to any memory in the tiny zone.
“making sure” or “to make sure”
> Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm:209 > +static bool isMallocMemoryTag(int tag)
Should this be called isMallocTinyMemoryTag, since it only checks for that, while there are other malloc tags?
> Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm:220 > +static bool shouldMapMallocMemoryExecutable = false;
We don’t initialize statics to their default values.
> Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm:494 > + const char* pathSnippet = "/Silverlight.plugin/Contents/MacOS/CoreCLR.bundle/Contents/MacOS/coreclr";
s/Snippet/Suffix/ ?
> Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm:496 > + int pathSnippetLength = strlen(pathSnippet);
Here too.
> Source/WebKit2/PluginProcess/mac/PluginProcessShim.h:32 > +#include <mach/mach_vm.h>
This can go into the implementation file.
Anders Carlsson
Comment 3
2016-02-09 10:10:56 PST
Created
attachment 270938
[details]
Patch
Anders Carlsson
Comment 4
2016-02-09 10:57:06 PST
Committed
r196321
: <
http://trac.webkit.org/changeset/196321
>
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