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

Changeset 268833 in webkit


Ignore:
Timestamp:
Oct 21, 2020, 3:15:55 PM (6 years ago)
Author:
Alan Coon
Message:

Cherry-pick r268507. rdar://problem/70541950

[iOS] Allow additional sysctl reads needed by image decoding
https://bugs.webkit.org/show_bug.cgi?id=217733
<rdar://problem/68649171>

Reviewed by Per Arne Vollan.

Telemetry on iOS 14 shows that we are hitting some sandbox violations during image decoding. We should
grant access to hw.byteorder, hw.cachelinesize_compat, and hw.vectorunit. We should silence warnings
about hw.cpufrequency_compat since it is not needed in web-facing use cases.

  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-610-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610-branch/Source/WebKit/ChangeLog

    r268536 r268833  
     12020-10-21  Russell Epstein  <repstein@apple.com>
     2
     3        Cherry-pick r268507. rdar://problem/70541950
     4
     5    [iOS] Allow additional sysctl reads needed by image decoding
     6    https://bugs.webkit.org/show_bug.cgi?id=217733
     7    <rdar://problem/68649171>
     8   
     9    Reviewed by Per Arne Vollan.
     10   
     11    Telemetry on iOS 14 shows that we are hitting some sandbox violations during image decoding. We should
     12    grant access to hw.byteorder, hw.cachelinesize_compat, and hw.vectorunit. We should silence warnings
     13    about hw.cpufrequency_compat since it is not needed in web-facing use cases.
     14   
     15    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     16   
     17   
     18    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     19
     20    2020-10-14  Brent Fulgham  <bfulgham@apple.com>
     21
     22            [iOS] Allow additional sysctl reads needed by image decoding
     23            https://bugs.webkit.org/show_bug.cgi?id=217733
     24            <rdar://problem/68649171>
     25
     26            Reviewed by Per Arne Vollan.
     27
     28            Telemetry on iOS 14 shows that we are hitting some sandbox violations during image decoding. We should
     29            grant access to hw.byteorder, hw.cachelinesize_compat, and hw.vectorunit. We should silence warnings
     30            about hw.cpufrequency_compat since it is not needed in web-facing use cases.
     31
     32            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     33
    1342020-10-15  Russell Epstein  <repstein@apple.com>
    235
  • branches/safari-610-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r265572 r268833  
    613613
    614614(deny sysctl-read (with no-report)
    615       (sysctl-name "sysctl.proc_native"))
     615      (sysctl-name
     616          "hw.cpufrequency_compat"
     617          "sysctl.proc_native"))
    616618
    617619(with-filter (system-attribute apple-internal)
     
    811813        "hw.activecpu" ;; Needed by JSC engine.
    812814        "hw.availcpu"
     815        "hw.byteorder"
    813816        "hw.cachelinesize"
     817        "hw.cachelinesize_compat"
    814818        "hw.cpufamily" ;; <rdar://problem/58416475>
    815819        "hw.cputype"
     
    825829        "hw.physicalcpu_max"
    826830        "hw.product"
     831        "hw.vectorunit"
    827832        "kern.bootargs"
    828833        "kern.hostname"
Note: See TracChangeset for help on using the changeset viewer.