RESOLVED FIXED154036
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
Patch (17.28 KB, patch)
2016-02-09 10:10 PST, Anders Carlsson
mitz: review+
Anders Carlsson
Comment 1 2016-02-09 09:52:55 PST
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
Anders Carlsson
Comment 4 2016-02-09 10:57:06 PST
Note You need to log in before you can comment on or make changes to this bug.