WebKit Bugzilla
Attachment 341789 Details for
Bug 186110
: Add a sandbox profile for com.cisco.webex.plugin.gpc64 plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-186110-20180601150431.patch (text/plain), 9.00 KB, created by
youenn fablet
on 2018-06-01 15:04:31 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
youenn fablet
Created:
2018-06-01 15:04:31 PDT
Size:
9.00 KB
patch
obsolete
>Subversion Revision: 232404 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 84c7e4418b610f40b871bab463d95bfb248b6dc5..dd6572869652adc1017adf2226f990ced39f577a 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,13 @@ >+2018-06-01 Youenn Fablet <youenn@apple.com> >+ >+ Add a sandbox profile for com.cisco.webex.plugin.gpc64 plugin >+ https://bugs.webkit.org/show_bug.cgi?id=186110 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb: Added. >+ * WebKit.xcodeproj/project.pbxproj: >+ > 2018-06-01 Michael Catanzaro <mcatanzaro@igalia.com> > > [GTK] Crash in WebKitFaviconDatabase when pageURL is unset >diff --git a/Source/WebKit/Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb b/Source/WebKit/Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb >new file mode 100644 >index 0000000000000000000000000000000000000000..aecae63394cb9b0e4c552b5c431fc0709c87b2b8 >--- /dev/null >+++ b/Source/WebKit/Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb >@@ -0,0 +1,81 @@ >+; 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))) >+(define (home-literal home-relative-literal) >+ (literal (string-append (param "HOME_DIR") home-relative-literal))) >+ >+(allow file-read* file-write* >+ (home-literal "/Library/Preferences/com.cisco.webex.fuzzyWindowConfig.plist")) >+ >+(allow file-read* file-write* >+ (home-literal "/Library/Preferences/com.webex.meetingmanager.plist")) >+ >+(allow file-read* file-write* file-write-create >+ (home-subpath "/Library/Application Support/WebEx Folder")) >+ >+(allow file* >+ (prefix "/private/tmp")) >+ >+(allow file-read-data file-write-data >+ (path "/dev/tty")) >+ >+(allow process-exec) >+(allow process-fork) >+(allow distributed-notification-post) >+ >+(allow mach-lookup >+ (global-name "com.apple.PerformanceAnalysis.animationperfd") >+ (global-name "com.apple.dock.fullscreen") >+ (global-name "com.apple.quicklook.ui.helper.active") >+ (global-name "com.apple.quicklook.ui.helper") >+ (global-name "com.apple.inputmethodkit.launchagent") >+ (global-name "com.apple.inputmethodkit.launcher") >+ (global-name "com.apple.inputmethodkit.getxpcendpoint")) >+ >+(allow iokit-get-properties >+ (iokit-property "PowerControlSupported") >+ (iokit-property "SupportTapToWake") >+ (iokit-property "ResetOnLockMs") >+ (iokit-property "ResetOnUnlockMs") >+ (iokit-property "ShouldResetOnButton") >+ (iokit-property "WirelessChargingNotificationSupported") >+ (iokit-property "SupportsSilentClick") >+ (iokit-property "MinDigitizerPressureValue") >+ (iokit-property "AccurateMaxDigitizerPressureValue") >+ (iokit-property "ExtendedMaxDigitizerPressureValue") >+ (iokit-property "AnimationThresholds") >+ (iokit-property "ActivationThresholds") >+ (iokit-property "mt-device-id")) >+ >+;; Not sure we need all of these >+(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 50be83fcb5b4ebfb3191a715e4c96254853a7857..9db6e4842493f30015db999912b6fce869208e5d 100644 >--- a/Source/WebKit/WebKit.xcodeproj/project.pbxproj >+++ b/Source/WebKit/WebKit.xcodeproj/project.pbxproj >@@ -928,6 +928,8 @@ > 4131F3D11F96BCCC0059995A /* ServiceWorkerClientFetch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4131F3D01F96BCC80059995A /* ServiceWorkerClientFetch.cpp */; }; > 4131F3E21F9880840059995A /* WebServiceWorkerFetchTaskClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4131F3E01F98712C0059995A /* WebServiceWorkerFetchTaskClient.cpp */; }; > 4135FBD11F4FB8090074C47B /* CacheStorageEngineCaches.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4135FBCF1F4FB7F20074C47B /* CacheStorageEngineCaches.cpp */; }; >+ 414DD37920BF43F5006959FB /* com.cisco.webex.plugin.gpc64.sb in Resources */ = {isa = PBXBuildFile; fileRef = 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */; }; >+ 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 */; }; > 41897ECF1F415D620016FA42 /* WebCacheStorageConnection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41897ECE1F415D5C0016FA42 /* WebCacheStorageConnection.cpp */; }; >@@ -2329,6 +2331,7 @@ > dstPath = PlugInSandboxProfiles; > dstSubfolderSpec = 7; > files = ( >+ 414DD37A20BF49A5006959FB /* com.cisco.webex.plugin.gpc64.sb in Copy Plug-in Sandbox Profiles */, > E19BDA86193665E300B97F57 /* com.apple.appstore.CodeRedeemerNetscapePlugin.sb in Copy Plug-in Sandbox Profiles */, > 7CB16FEF1724BA23007A0A95 /* com.apple.ist.ds.appleconnect.webplugin.sb in Copy Plug-in Sandbox Profiles */, > 7CB16FF01724BA24007A0A95 /* com.apple.QuickTime Plugin.plugin.sb in Copy Plug-in Sandbox Profiles */, >@@ -3314,6 +3317,7 @@ > 4131F3E01F98712C0059995A /* WebServiceWorkerFetchTaskClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebServiceWorkerFetchTaskClient.cpp; sourceTree = "<group>"; }; > 4135FBCF1F4FB7F20074C47B /* CacheStorageEngineCaches.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CacheStorageEngineCaches.cpp; sourceTree = "<group>"; }; > 4135FBD01F4FB7F20074C47B /* CacheStorageEngineCaches.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CacheStorageEngineCaches.h; sourceTree = "<group>"; }; >+ 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = com.cisco.webex.plugin.gpc64.sb; sourceTree = "<group>"; }; > 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>"; }; >@@ -6933,6 +6937,7 @@ > 7CB16FE51724B9B5007A0A95 /* com.macromedia.Flash Player.plugin.sb */, > 7CB16FE61724B9B5007A0A95 /* com.microsoft.SilverlightPlugin.sb */, > 7CB16FE71724B9B5007A0A95 /* com.oracle.java.JavaAppletPlugin.sb */, >+ 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */, > ); > name = PlugInSandboxProfiles; > path = Resources/PlugInSandboxProfiles; >@@ -10084,6 +10089,7 @@ > E115C716190F8A2500ECC516 /* com.apple.WebKit.Storage.sb in Resources */, > E11D35AE16B63D1B006D23D7 /* com.apple.WebProcess.sb in Resources */, > 6BE969C11E54D452008B7483 /* corePrediction_model in Resources */, >+ 414DD37920BF43F5006959FB /* com.cisco.webex.plugin.gpc64.sb in Resources */, > 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, > 3FB08E431F60B240005E5312 /* iOS.xcassets in Resources */, > 93A2A3461D246125002B59D3 /* mediaIcon.pdf in Resources */,
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 186110
:
341625
|
341789
|
341798
|
341799
|
341809
|
341828