Title: [231585] branches/safari-605-branch/Source/WebKit

Diff

Modified: branches/safari-605-branch/Source/WebKit/ChangeLog (231584 => 231585)


--- branches/safari-605-branch/Source/WebKit/ChangeLog	2018-05-09 19:14:02 UTC (rev 231584)
+++ branches/safari-605-branch/Source/WebKit/ChangeLog	2018-05-09 19:46:26 UTC (rev 231585)
@@ -1,3 +1,20 @@
+2018-05-09  Jason Marcell  <[email protected]>
+
+        Apply patch. rdar://problem/39839226
+
+    2018-05-09  Brent Fulgham  <[email protected]>
+
+        Revise sandboxes to allow additional IOKit property access
+        https://bugs.webkit.org/show_bug.cgi?id=185095
+        <rdar://problem/39809455>
+
+        Reviewed by Eric Carlson.
+
+        Update the WebContent and Plugin processes to allow additional IOKit property access.
+
+        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2018-05-02  Jason Marcell  <[email protected]>
 
         Cherry-pick r231242. rdar://problem/39860939

Modified: branches/safari-605-branch/Source/WebKit/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in (231584 => 231585)


--- branches/safari-605-branch/Source/WebKit/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2018-05-09 19:14:02 UTC (rev 231584)
+++ branches/safari-605-branch/Source/WebKit/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2018-05-09 19:46:26 UTC (rev 231585)
@@ -1,4 +1,4 @@
-; Copyright (C) 2013-2017 Apple Inc. All rights reserved.
+; Copyright (C) 2013-2018 Apple Inc. All rights reserved.
 ;
 ; Redistribution and use in source and binary forms, with or without
 ; modification, are permitted provided that the following conditions
@@ -43,8 +43,10 @@
 
 (deny iokit-get-properties)
 (allow iokit-get-properties
-    (iokit-property-regex #"^AAPL,(DisplayPipe|boot-display|mux-switch-state)")
-    (iokit-property-regex #"^ATY,fb_(linebytes|offset|size)")
+    (iokit-property-regex #"^AAPL,(DisplayPipe|OpenCLdisabled|IOGraphics_LER(|_RegTag_1|_RegTag_0|_Busy_2)|alias-policy|boot-display|display-alias|mux-switch-state|ndrv-dev|primary-display|slot-name)")
+    (iokit-property "AGCInfo")
+    (iokit-property-regex #"^ATY,(cbits|fb_(linebytes|offset|size)|intrev)")
+    (iokit-property-regex #"^Accel(Caps|NativeDMARowByteAlignment)")
     (iokit-property "ActuationSupported")
     (iokit-property "AllowDisplaySleep")
     (iokit-property "AlwaysNeedsVelocityCalculated")
@@ -57,7 +59,10 @@
     (iokit-property "Endianness")
     (iokit-property "Family ID")
     (iokit-property "ForceSupported")
+    (iokit-property "GPUConfigurationVariable")
+    (iokit-property "GpuDebugPolicy")
     (iokit-property "HIDPointerAccelerationType")
+    (iokit-property-regex #"^IOAV(.*)(De|En)code$")
     (iokit-property-regex #"^IOAccel(Index|Revision|Types)")
     (iokit-property-regex #"^IOAudioControl(ChannelID|ID|SubType|Usage)")
     (iokit-property-regex #"^IOAudioDevice(CanBeDefaults|TransportType)")
@@ -68,6 +73,7 @@
     (iokit-property-regex #"^IOAudioEngineNum(ActiveUserClients|SampleFramesPerBuffer)")
     (iokit-property "IOAudioSampleRate")
     (iokit-property "IOAudioStreamSampleFormatByteOrder")
+    (iokit-property "IOBacklightHandlerID")
     (iokit-property "IOClassNameOverride")
     (iokit-property "IOCFPlugInTypes")
     (iokit-property "IOClass")
@@ -79,16 +85,19 @@
     (iokit-property "IOFramebufferOpenGLIndex")
     (iokit-property "IOGeneralInterest")
     (iokit-property "IOGLBundleName")
-    (iokit-property "IOGVACodec")
-    (iokit-property "IOI2CTransactionTypes")
+    (iokit-property-regex #"^IOGVA(BGRAEnc|Codec|EncoderRestricted|Scaler|VTCapabilities)")
     (iokit-property-regex "^IOGVA[A-Z]+(De|En)code")
+    (iokit-property "IOKitDebug")
     (iokit-property "IOMACAddress") ;; For some Flash players
     (iokit-property "IOMatchCategory")
     (iokit-property-regex #"^IOName(Match|Matched)")
+    (iokit-property "IOOCDBundleName")
+    (iokit-property-regex #"^IOPCI((Class|Primary|Property|)Match|Express(Capabilities|Link(Status|Capabilities))|MSIMode|Resourced|Tunnelled)")
     (iokit-property "IOPMStrictTreeOrder")
     (iokit-property-regex #"^IOPlatform(SerialNumber|UUID)") ;; Ditto
     (iokit-property "IOPowerManagement")
     (iokit-property "IOProbeScore")
+    (iokit-property "IOPropertyMatch")
     (iokit-property "IOProviderClass")
     (iokit-property "IOScreenRestoreState")
     (iokit-property "IOVARendererID")
@@ -96,10 +105,12 @@
     (iokit-property "MaintainPowerInUILock")
     (iokit-property "Max Packet Size")
     (iokit-property-regex #"^MetalPlugin(Name|ClassName)")
+    (iokit-property "MetalStatisticsName")
     (iokit-property-regex #"^Multitouch (ID|Serial Number|Subdevice ID)")
     (iokit-property "NXSystemInfo")
     (iokit-property "NoAutoRoute")
     (iokit-property "Protocol Characteristics")
+    (iokit-property "SafeEjectRequested")
     (iokit-property-regex #"^Sensor (Columns|Region (Descriptor|Param)|Rows|Surface (Descriptor|Height|Width))")
     (iokit-property "SupportAudioAUUC")
     (iokit-property "TimeStampFiltering")
@@ -111,8 +122,10 @@
     (iokit-property "bcdVersion")
     (iokit-property "boot-gamma-restored")
     (iokit-property "built-in")
+    (iokit-property "cail_properties")
     (iokit-property "connector-type")
     (iokit-property "device-colors")
+    (iokit-property "dpm")
     (iokit-property "graphic-options")
     (iokit-property "idProduct")
     (iokit-property "idVendor")

Modified: branches/safari-605-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (231584 => 231585)


--- branches/safari-605-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-05-09 19:14:02 UTC (rev 231584)
+++ branches/safari-605-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2018-05-09 19:46:26 UTC (rev 231585)
@@ -1,4 +1,4 @@
-; Copyright (C) 2010-2017 Apple Inc. All rights reserved.
+; Copyright (C) 2010-2018 Apple Inc. All rights reserved.
 ;
 ; Redistribution and use in source and binary forms, with or without
 ; modification, are permitted provided that the following conditions
@@ -204,7 +204,7 @@
 (deny iokit-get-properties)
 (allow iokit-get-properties
     (iokit-property "AGCInfo")
-    (iokit-property "AccelCaps")
+    (iokit-property-regex #"^Accel(Caps|NativeDMARowByteAlignment)")
     (iokit-property-regex #"^(Accurate|Extended)MaxDigitizerPressureValue")
     (iokit-property-regex #"^(Activation|Animation)Thresholds")
     (iokit-property "ActuationSupported")
@@ -212,7 +212,7 @@
     (iokit-property "AlwaysNeedsVelocityCalculated")
     (iokit-property-regex #"Apple(GVAKeyDoesNotExist|IntelMEVABundleName)")
     (iokit-property-regex #"^AAPL,(DisplayPipe|OpenCLdisabled|IOGraphics_LER(|_RegTag_1|_RegTag_0|_Busy_2)|alias-policy|boot-display|display-alias|mux-switch-state|ndrv-dev|primary-display|slot-name)")
-    (iokit-property-regex #"^ATY,fb_(linebytes|offset|size)")
+    (iokit-property-regex #"^ATY,(cbits|fb_(linebytes|offset|size)|intrev)")
     (iokit-property "BacklightHandle")
     (iokit-property "BlockSize")
     (iokit-property-regex #"^CEA(ModeID|PixelRepetition)")
@@ -228,6 +228,8 @@
     (iokit-property "Family ID")
     (iokit-property "ForceSupported")
     (iokit-property "Formats")
+    (iokit-property "GPUConfigurationVariable")
+    (iokit-property "GpuDebugPolicy")
     (iokit-property "HIDPointerAccelerationType")
     (iokit-property-regex #"^IOAccel(DisplayPipeCapabilities|Index|Types|Revision)")
     (iokit-property-regex #"^IO(Class|MatchCategory|NameMatch)")
@@ -258,20 +260,21 @@
     (iokit-property "IOFramebufferOpenGLIndex")
     (iokit-property "IOGeneralInterest")
     (iokit-property "IOGLBundleName")
+    (iokit-property-regex #"^IOGVA(BGRAEnc|Codec|EncoderRestricted|Scaler|VTCapabilities)")
+    (iokit-property-regex #"^IOGVA(.*)(De|En)code$")
     (iokit-property "IOHibernateState")
     (iokit-property "IOI2CTransactionTypes")
     (iokit-property-regex #"^IOInterrupt(Controllers|Specifiers)")
-    (iokit-property "IOGVAVTCapabilities")
-    (iokit-property-regex #"^IOGVA(Codec|EncoderRestricted)")
-    (iokit-property-regex #"^IOGVA(.*)(De|En)code$")
+    (iokit-property "IOKitDebug")
     (iokit-property "IOMatchCategory")
     (iokit-property "IONDRVFramebufferGeneration")
     (iokit-property "IONVRAMProperty")
     (iokit-property-regex #"^IOName(|Match(|ed))")
+    (iokit-property "IOOCDBundleName")
     (iokit-property "IOPCITunnelled")
     (iokit-property "IOPMStrictTreeOrder")
     (iokit-property "IOParentMatch")
-    (iokit-property-regex #"^IOPCI(Express(Capabilities|Link(Status|Capabilities))|MSIMode|Resourced|Tunnelled)")
+    (iokit-property-regex #"^IOPCI((Class|Primary|Property|)Match|Express(Capabilities|Link(Status|Capabilities))|MSIMode|Resourced|Tunnelled)")
     (iokit-property "IOPMIsPowerManaged")
     (iokit-property-regex #"^IOPlatform(SerialNumber|UUID)")
     (iokit-property "IOPowerManagement")
@@ -327,11 +330,13 @@
     (iokit-property-regex #"^(board|device|revision|subsystem|vendor)-id")
     (iokit-property "boot-gamma-restored")
     (iokit-property "built-in")
+    (iokit-property "cail_properties")
     (iokit-property "class-code")
     (iokit-property "compatible")
     (iokit-property "connector-type")
     (iokit-property-regex #"^(device|revision|subsystem-vendor|touch-size)-id")
     (iokit-property "device_type")
+    (iokit-property "dpm")
     (iokit-property "graphic-options")
     (iokit-property "hda-gfx")
     (iokit-property-regex #"^id(Product|Vendor)")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to