Changeset 229345 in webkit


Ignore:
Timestamp:
Mar 6, 2018 3:19:56 PM (6 years ago)
Author:
Kocsen Chung
Message:

Revert r229093. rdar://problem/38197270

Location:
tags/Safari-606.1.7/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-606.1.7/Source/WebKit/ChangeLog

    r229206 r229345  
     12018-03-06  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Revert r229093. rdar://problem/38197270
     4
    152018-03-02  Brian Burg  <bburg@apple.com>
    26
  • tags/Safari-606.1.7/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r229173 r229345  
    230230    (home-literal "/Library/Caches/com.apple.DictionaryServices"))
    231231
     232(allow-network-common)
     233
    232234; <rdar://problem/8548856> Sub-TLF: Sandbox change for apps for read-only access to the dictionary directory/data
    233235(allow file-read*
     
    381383(awd-log-directory "com.apple.WebKit.WebContent")
    382384
     385(network-client (remote tcp) (remote udp))
     386
    383387;; Allow ManagedPreference access
    384388(allow file-read* (literal "/private/var/Managed Preferences/mobile/com.apple.webcontentfilter.plist"))
  • tags/Safari-606.1.7/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r229175 r229345  
    1 ; Copyright (C) 2010-2018 Apple Inc. All rights reserved.
     1; Copyright (C) 2010-2017 Apple Inc. All rights reserved.
    22;
    33; Redistribution and use in source and binary forms, with or without
     
    7979    (literal "/dev/dtracehelper"))
    8080
    81 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
    8281(allow network-outbound
    8382    (literal "/private/var/run/asl_input")
    8483    (literal "/private/var/run/syslog"))
    85 #endif
     84
    8685
    8786;;; Allow creation of core dumps.
     
    141140        (iokit-property "ggcs")
    142141        (iokit-property "bgcs")))))
     142
     143
     144;;; (system-network) - Allow access to the network.
     145(define (system-network)
     146    (allow file-read*
     147        (literal "/Library/Preferences/com.apple.networkd.plist"))
     148    (allow mach-lookup
     149        (global-name "com.apple.SystemConfiguration.PPPController")
     150        (global-name "com.apple.SystemConfiguration.SCNetworkReachability")
     151        (global-name "com.apple.nehelper")
     152        (global-name "com.apple.networkd")
     153        (global-name "com.apple.nsurlstorage-cache")
     154        (global-name "com.apple.symptomsd")
     155        (global-name "com.apple.usymptomsd"))
     156    (allow network-outbound
     157        (control-name "com.apple.netsrc")
     158        (control-name "com.apple.network.statistics"))
     159    (allow system-socket
     160        (require-all (socket-domain AF_SYSTEM)
     161        (socket-protocol 2)) ; SYSPROTO_CONTROL
     162    (socket-domain AF_ROUTE)))
    143163
    144164;;;
     
    627647
    628648;; Networking
    629 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
    630649(system-network)
    631650(allow network-outbound
     
    633652       (literal "/private/var/run/mDNSResponder")
    634653       (remote tcp))
    635 #endif
    636654
    637655#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
     
    646664       (global-name "com.apple.system.logger")
    647665       (global-name "com.apple.system.notification_center"))
    648 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101300
    649666(allow network-outbound
    650667       (remote udp))
    651 #endif
    652668(allow user-preference-read
    653669    (preference-domain
Note: See TracChangeset for help on using the changeset viewer.