WebKit Bugzilla
Attachment 343652 Details for
Bug 187067
: Add a sandbox profile for com.google.o1dbrowserplugin plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-187067-20180626155832.patch (text/plain), 7.23 KB, created by
youenn fablet
on 2018-06-26 15:58:33 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
youenn fablet
Created:
2018-06-26 15:58:33 PDT
Size:
7.23 KB
patch
obsolete
>Subversion Revision: 233203 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 67aa524d4a01cf1a3c410fc0f9c14da2792b81e7..81a2564d6a395581dbb747a8b8243301a112abf6 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,13 @@ >+2018-06-26 Youenn Fablet <youenn@apple.com> >+ >+ Add a sandbox profile for com.google.o1dbrowserplugin plugin >+ https://bugs.webkit.org/show_bug.cgi?id=187067 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Resources/PlugInSandboxProfiles/com.google.o1dbrowserplugin.sb: Added. >+ * WebKit.xcodeproj/project.pbxproj: >+ > 2018-06-26 Eric Carlson <eric.carlson@apple.com> > > Enable mock capture devices on the iOS simulator >diff --git a/Source/WebKit/Resources/PlugInSandboxProfiles/com.google.o1dbrowserplugin.sb b/Source/WebKit/Resources/PlugInSandboxProfiles/com.google.o1dbrowserplugin.sb >new file mode 100644 >index 0000000000000000000000000000000000000000..d7bbd7490271054275af99060a04c8ac3492c5f2 >--- /dev/null >+++ b/Source/WebKit/Resources/PlugInSandboxProfiles/com.google.o1dbrowserplugin.sb >@@ -0,0 +1,50 @@ >+; Copyright (C) 2018 Apple Inc. All rights reserved. >+; >+; Redistribution and use in source and binary forms, with or without >+; modification, are permitted provided that the following conditions >+; are met: >+; 1. Redistributions of source code must retain the above copyright >+; notice, this list of conditions and the following disclaimer. >+; 2. Redistributions in binary form must reproduce the above copyright >+; notice, this list of conditions and the following disclaimer in the >+; documentation and/or other materials provided with the distribution. >+; >+; THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' >+; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >+; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >+; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS >+; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR >+; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF >+; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS >+; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN >+; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) >+; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF >+; THE POSSIBILITY OF SUCH DAMAGE. >+ >+(define (home-subpath home-relative-subpath) >+ (subpath (string-append (param "HOME_DIR") home-relative-subpath))) >+ >+(allow file-read* file-write* >+ (home-subpath "/Library/Application Support/Google/Google Talk Plugin")) >+ >+(allow file-read* file-write* >+ (subpath "/Library/Application Support/Google")) >+ >+(allow file* >+ (prefix "/private/tmp")) >+ >+(allow network-bind (prefix "/private/tmp")) >+ >+(allow job-creation) >+(allow signal) >+(allow mach-lookup) >+ >+(webkit-powerbox) >+(webkit-printing) >+(webkit-camera) >+(webkit-microphone) >+ >+(allow network-bind (local ip)) >+ >+(allow network-outbound) >+(allow network-inbound (local ip)) >diff --git a/Source/WebKit/WebKit.xcodeproj/project.pbxproj b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >index f10b1b8b972489310a86d95aad2a1713ecc5f035..8db9e4fbe66b3d35ca57da4cef0a2bce1b02f615 100644 >--- a/Source/WebKit/WebKit.xcodeproj/project.pbxproj >+++ b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >@@ -936,6 +936,7 @@ > 414DD37A20BF49A5006959FB /* com.cisco.webex.plugin.gpc64.sb in Copy Plug-in Sandbox Profiles */ = {isa = PBXBuildFile; fileRef = 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */; }; > 414DEDD71F9EDDE50047C40D /* ServiceWorkerProcessProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 414DEDD51F9EDDDF0047C40D /* ServiceWorkerProcessProxy.h */; }; > 414DEDD81F9EDDE50047C40D /* ServiceWorkerProcessProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 414DEDD61F9EDDE00047C40D /* ServiceWorkerProcessProxy.cpp */; }; >+ 4157E4B020E2ECDF00A6C0D7 /* com.google.o1dbrowserplugin.sb in Copy Plug-in Sandbox Profiles */ = {isa = PBXBuildFile; fileRef = 4157E4AF20E2EC9800A6C0D7 /* com.google.o1dbrowserplugin.sb */; }; > 41897ECF1F415D620016FA42 /* WebCacheStorageConnection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41897ECE1F415D5C0016FA42 /* WebCacheStorageConnection.cpp */; }; > 41897ED01F415D650016FA42 /* WebCacheStorageProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41897ECC1F415D5C0016FA42 /* WebCacheStorageProvider.cpp */; }; > 41897ED11F415D680016FA42 /* WebCacheStorageConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 41897ECD1F415D5C0016FA42 /* WebCacheStorageConnection.h */; }; >@@ -2341,6 +2342,7 @@ > 7A772C8D1DDD4A25000F34F1 /* com.apple.WebKit.plugin-common.sb in Copy Plug-in Sandbox Profiles */, > 414DD37A20BF49A5006959FB /* com.cisco.webex.plugin.gpc64.sb in Copy Plug-in Sandbox Profiles */, > 413CCD5020DEBC740065A21A /* com.google.googletalkbrowserplugin.sb in Copy Plug-in Sandbox Profiles */, >+ 4157E4B020E2ECDF00A6C0D7 /* com.google.o1dbrowserplugin.sb in Copy Plug-in Sandbox Profiles */, > A102A7081EC0EEE900D81D82 /* com.macromedia.Flash Player ESR.plugin.sb in Copy Plug-in Sandbox Profiles */, > 7CB16FF21724BA28007A0A95 /* com.macromedia.Flash Player.plugin.sb in Copy Plug-in Sandbox Profiles */, > 7CB16FF31724BA2F007A0A95 /* com.microsoft.SilverlightPlugin.sb in Copy Plug-in Sandbox Profiles */, >@@ -3333,6 +3335,7 @@ > 414DEDD51F9EDDDF0047C40D /* ServiceWorkerProcessProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ServiceWorkerProcessProxy.h; sourceTree = "<group>"; }; > 414DEDD61F9EDDE00047C40D /* ServiceWorkerProcessProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ServiceWorkerProcessProxy.cpp; sourceTree = "<group>"; }; > 4151E5C31FBB90A900E47E2D /* FormDataReference.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FormDataReference.h; sourceTree = "<group>"; }; >+ 4157E4AF20E2EC9800A6C0D7 /* com.google.o1dbrowserplugin.sb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = com.google.o1dbrowserplugin.sb; sourceTree = "<group>"; }; > 41897ECB1F415D5C0016FA42 /* WebCacheStorageConnection.messages.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebCacheStorageConnection.messages.in; sourceTree = "<group>"; }; > 41897ECC1F415D5C0016FA42 /* WebCacheStorageProvider.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebCacheStorageProvider.cpp; sourceTree = "<group>"; }; > 41897ECD1F415D5C0016FA42 /* WebCacheStorageConnection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebCacheStorageConnection.h; sourceTree = "<group>"; }; >@@ -6951,6 +6954,7 @@ > 7CB16FE31724B9B5007A0A95 /* com.apple.QuickTime Plugin.plugin.sb */, > 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */, > 413CCD4F20DEBC2F0065A21A /* com.google.googletalkbrowserplugin.sb */, >+ 4157E4AF20E2EC9800A6C0D7 /* com.google.o1dbrowserplugin.sb */, > 7A5E39491D5BD8A700B4B7CE /* com.macromedia.Flash Player ESR.plugin.sb */, > 7CB16FE51724B9B5007A0A95 /* com.macromedia.Flash Player.plugin.sb */, > 7CB16FE61724B9B5007A0A95 /* com.microsoft.SilverlightPlugin.sb */,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 187067
: 343652