Changeset 232436 in webkit


Ignore:
Timestamp:
Jun 2, 2018 8:59:53 AM (6 years ago)
Author:
youenn@apple.com
Message:

Add a sandbox profile for com.cisco.webex.plugin.gpc64 plugin
https://bugs.webkit.org/show_bug.cgi?id=186110

Reviewed by Brent Fulgham.

  • PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: Webex needs to create some symlinks.
  • Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb: Added.
  • WebKit.xcodeproj/project.pbxproj:
Location:
trunk/Source/WebKit
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r232435 r232436  
     12018-06-02  Youenn Fablet  <youenn@apple.com>
     2
     3        Add a sandbox profile for com.cisco.webex.plugin.gpc64 plugin
     4        https://bugs.webkit.org/show_bug.cgi?id=186110
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: Webex needs to create some symlinks.
     9        * Resources/PlugInSandboxProfiles/com.cisco.webex.plugin.gpc64.sb: Added.
     10        * WebKit.xcodeproj/project.pbxproj:
     11
    1122018-06-01  Wenson Hsieh  <wenson_hsieh@apple.com>
    213
  • trunk/Source/WebKit/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in

    r231135 r232436  
    529529    (webkit-%finalize
    530530        (lambda ()
    531             (if (defined? 'vnode-type)
    532                 (deny file-write-create
    533                       (vnode-type SYMLINK)))
     531            (if (not (defined? 'allow-symlinks))
     532                (if (defined? 'vnode-type)
     533                    (deny file-write-create
     534                        (vnode-type SYMLINK))))
    534535            ;; Reserve a namespace for additional protected extended attributes.
    535536            (deny file-read-xattr file-write-xattr (xattr #"^com\.apple\.security\.private\."))
  • trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj

    r232364 r232436  
    929929                4131F3E21F9880840059995A /* WebServiceWorkerFetchTaskClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4131F3E01F98712C0059995A /* WebServiceWorkerFetchTaskClient.cpp */; };
    930930                4135FBD11F4FB8090074C47B /* CacheStorageEngineCaches.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4135FBCF1F4FB7F20074C47B /* CacheStorageEngineCaches.cpp */; };
     931                414DD37920BF43F5006959FB /* com.cisco.webex.plugin.gpc64.sb in Resources */ = {isa = PBXBuildFile; fileRef = 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */; };
     932                414DD37A20BF49A5006959FB /* com.cisco.webex.plugin.gpc64.sb in Copy Plug-in Sandbox Profiles */ = {isa = PBXBuildFile; fileRef = 414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */; };
    931933                414DEDD71F9EDDE50047C40D /* ServiceWorkerProcessProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 414DEDD51F9EDDDF0047C40D /* ServiceWorkerProcessProxy.h */; };
    932934                414DEDD81F9EDDE50047C40D /* ServiceWorkerProcessProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 414DEDD61F9EDDE00047C40D /* ServiceWorkerProcessProxy.cpp */; };
     
    23342336                                7CB16FF01724BA24007A0A95 /* com.apple.QuickTime Plugin.plugin.sb in Copy Plug-in Sandbox Profiles */,
    23352337                                7A772C8D1DDD4A25000F34F1 /* com.apple.WebKit.plugin-common.sb in Copy Plug-in Sandbox Profiles */,
     2338                                414DD37A20BF49A5006959FB /* com.cisco.webex.plugin.gpc64.sb in Copy Plug-in Sandbox Profiles */,
    23362339                                A102A7081EC0EEE900D81D82 /* com.macromedia.Flash Player ESR.plugin.sb in Copy Plug-in Sandbox Profiles */,
    23372340                                7CB16FF21724BA28007A0A95 /* com.macromedia.Flash Player.plugin.sb in Copy Plug-in Sandbox Profiles */,
     
    33153318                4135FBCF1F4FB7F20074C47B /* CacheStorageEngineCaches.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CacheStorageEngineCaches.cpp; sourceTree = "<group>"; };
    33163319                4135FBD01F4FB7F20074C47B /* CacheStorageEngineCaches.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CacheStorageEngineCaches.h; sourceTree = "<group>"; };
     3320                414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = com.cisco.webex.plugin.gpc64.sb; sourceTree = "<group>"; };
    33173321                414DEDD51F9EDDDF0047C40D /* ServiceWorkerProcessProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ServiceWorkerProcessProxy.h; sourceTree = "<group>"; };
    33183322                414DEDD61F9EDDE00047C40D /* ServiceWorkerProcessProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ServiceWorkerProcessProxy.cpp; sourceTree = "<group>"; };
     
    69306934                                7CB16FE21724B9B5007A0A95 /* com.apple.ist.ds.appleconnect.webplugin.sb */,
    69316935                                7CB16FE31724B9B5007A0A95 /* com.apple.QuickTime Plugin.plugin.sb */,
     6936                                414DD37820BF43EA006959FB /* com.cisco.webex.plugin.gpc64.sb */,
    69326937                                7A5E39491D5BD8A700B4B7CE /* com.macromedia.Flash Player ESR.plugin.sb */,
    69336938                                7CB16FE51724B9B5007A0A95 /* com.macromedia.Flash Player.plugin.sb */,
     
    1008410089                                E115C716190F8A2500ECC516 /* com.apple.WebKit.Storage.sb in Resources */,
    1008510090                                E11D35AE16B63D1B006D23D7 /* com.apple.WebProcess.sb in Resources */,
     10091                                414DD37920BF43F5006959FB /* com.cisco.webex.plugin.gpc64.sb in Resources */,
    1008610092                                6BE969C11E54D452008B7483 /* corePrediction_model in Resources */,
    1008710093                                8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */,
Note: See TracChangeset for help on using the changeset viewer.