⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245817 in webkit


Ignore:
Timestamp:
May 28, 2019, 10:33:58 AM (7 years ago)
Author:
Brent Fulgham
Message:

Update sandbox rules for more News use cases
​https://bugs.webkit.org/show_bug.cgi?id=198236
<rdar://problem/50054027>

Reviewed by Alexey Proskuryakov.

Update the WebContent and Network process sandboxes so that News has the same set of allowed
service access as regular WebKit views.

  • NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
  • WebProcess/com.apple.WebProcess.sb.in:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r245807 r245817  
     12019-05-28  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Update sandbox rules for more News use cases
     4        https://bugs.webkit.org/show_bug.cgi?id=198236
     5        <rdar://problem/50054027>
     6
     7        Reviewed by Alexey Proskuryakov.
     8
     9        Update the WebContent and Network process sandboxes so that News has the same set of allowed
     10        service access as regular WebKit views.
     11
     12        * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
     13        * WebProcess/com.apple.WebProcess.sb.in:
     14
    1152019-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in

    r243531 r245817  
    1 ; Copyright (C) 2013-2017 Apple Inc. All rights reserved.
     1; Copyright (C) 2013-2019 Apple Inc. All rights reserved.
    22;
    33; Redistribution and use in source and binary forms, with or without
    … …  
    4444(deny iokit-get-properties)
    4545
    46 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
     46#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 || PLATFORM(IOSMAC)
    4747(deny mach-lookup (xpc-service-name-prefix ""))
    4848#endif
    … …  
    5858    (literal (string-append (param "HOME_DIR") home-relative-literal)))
    5959
    60 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
     60#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 || PLATFORM(IOSMAC)
    6161;; CFNetwork
    6262(allow file-read-data (path "/private/var/db/nsurlstoraged/dafsaData.bin"))
    … …  
    153153    (global-name "com.apple.PowerManagement.control")
    154154    (global-name "com.apple.SystemConfiguration.configd")
    155 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
     155#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 || PLATFORM(IOSMAC)
    156156    (global-name "com.apple.analyticsd")
    157157#endif
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r245599 r245817  
    1 ; Copyright (C) 2010-2018 Apple Inc. All rights reserved.
     1; Copyright (C) 2010-2019 Apple Inc. All rights reserved.
    22;
    33; Redistribution and use in source and binary forms, with or without
    … …  
    115115    (allow mach-lookup
    116116        (global-name "com.apple.cvmsServ"))
    117 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
     117#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(IOSMAC)
    118118    (allow file-read*
    119119        (prefix "/private/var/db/CVMS/cvmsCodeSignObj"))
    … …  
    637637       (global-name "com.apple.tccd.system")
    638638       (global-name "com.apple.trustd.agent")
    639 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
     639#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(IOSMAC)
    640640       (global-name "com.apple.CARenderServer") ; Needed for [CAContext remoteContextWithOptions]
    641641#else
    … …  
    649649#endif
    650650
    651 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
     651#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(IOSMAC)
    652652(deny mach-lookup (with no-log)
    653653    (global-name "com.apple.ViewBridgeAuxiliary")
Note: See TracChangeset for help on using the changeset viewer.