Title: [275539] trunk/Source/WebKit
Revision
275539
Author
[email protected]
Date
2021-04-06 12:41:12 -0700 (Tue, 06 Apr 2021)

Log Message

[macOS] Allow access to 'com.apple.system.logger' in the Base System
https://bugs.webkit.org/show_bug.cgi?id=224241
<rdar://problem/75960194>

Reviewed by Alex Christensen.

Deeper testing has revealed that some test configurations used internally require access to 'com.apple.system.logger' in the base
system to support certain diagnostic operations outside the normal user release logging paths.

This patch restores access to the 'com.apple.system.logger' endpoint when running in the Base System.

* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (275538 => 275539)


--- trunk/Source/WebKit/ChangeLog	2021-04-06 19:38:33 UTC (rev 275538)
+++ trunk/Source/WebKit/ChangeLog	2021-04-06 19:41:12 UTC (rev 275539)
@@ -1,3 +1,18 @@
+2021-04-06  Brent Fulgham  <[email protected]>
+
+        [macOS] Allow access to 'com.apple.system.logger' in the Base System
+        https://bugs.webkit.org/show_bug.cgi?id=224241
+        <rdar://problem/75960194>
+
+        Reviewed by Alex Christensen.
+
+        Deeper testing has revealed that some test configurations used internally require access to 'com.apple.system.logger' in the base
+        system to support certain diagnostic operations outside the normal user release logging paths.
+
+        This patch restores access to the 'com.apple.system.logger' endpoint when running in the Base System.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-04-06  Eric Carlson  <[email protected]>
 
         [macOS] Add MediaSessionCoordinator API test

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (275538 => 275539)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-04-06 19:38:33 UTC (rev 275538)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-04-06 19:41:12 UTC (rev 275539)
@@ -1,4 +1,4 @@
-; Copyright (C) 2010-2020 Apple Inc. All rights reserved.
+; Copyright (C) 2010-2021 Apple Inc. All rights reserved.
 ;
 ; Redistribution and use in source and binary forms, with or without
 ; modification, are permitted provided that the following conditions
@@ -1433,6 +1433,10 @@
 (deny mach-lookup
     (global-name "com.apple.system.logger")
     (with no-report))
+(with-filter (uid 0)
+    (allow mach-lookup
+        (global-name "com.apple.system.logger"))
+)
 
 (if (defined? 'vnode-type)
         (deny file-write-create (vnode-type SYMLINK)))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to