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

Changeset 280620 in webkit


Ignore:
Timestamp:
Aug 3, 2021, 3:52:11 PM (5 years ago)
Author:
Brent Fulgham
Message:

[iOS] Allow check for nvram "emu" state on internal OS builds
https://bugs.webkit.org/show_bug.cgi?id=228745
<rdar://problem/78363040>

Reviewed by Per Arne Vollan.

Allow access to the 'emu' nvram variable when running on an Apple Internal OS build. This
reduces spurious sandbox violation reports, and improves the performance of test systems.

  • Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r280611 r280620  
     12021-08-03  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [iOS] Allow check for nvram "emu" state on internal OS builds
     4        https://bugs.webkit.org/show_bug.cgi?id=228745
     5        <rdar://problem/78363040>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        Allow access to the 'emu' nvram variable when running on an Apple Internal OS build. This
     10        reduces spurious sandbox violation reports, and improves the performance of test systems.
     11
     12        * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
     13        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
     14
    1152021-08-03  Tim Horton  <timothy_horton@apple.com>
    216
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb

    r280606 r280620  
    601601(with-filter (system-attribute apple-internal)
    602602    (allow sysctl-read sysctl-write
    603            (sysctl-name "vm.footprint_suspend")))
     603           (sysctl-name "vm.footprint_suspend"))
     604    (allow nvram-get (nvram-variable "emu")) ;; <rdar://problem/78363040>
     605)
    604606
    605607(allow mach-lookup (with report) (with telemetry)
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in

    r280114 r280620  
    383383        (allow file-read* file-write-data file-ioctl
    384384            (literal "/dev/dtracehelper"))
     385        (allow nvram-get (nvram-variable "emu")) ;; <rdar://problem/78363040>
    385386    )
    386387
Note: See TracChangeset for help on using the changeset viewer.