Title: [275586] branches/safari-612.1.10-branch/Source/WebKit
Revision
275586
Author
[email protected]
Date
2021-04-06 21:44:02 -0700 (Tue, 06 Apr 2021)

Log Message

Cherry-pick r275539. rdar://problem/76289146

    [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:

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

Modified Paths

Diff

Modified: branches/safari-612.1.10-branch/Source/WebKit/ChangeLog (275585 => 275586)


--- branches/safari-612.1.10-branch/Source/WebKit/ChangeLog	2021-04-07 02:53:44 UTC (rev 275585)
+++ branches/safari-612.1.10-branch/Source/WebKit/ChangeLog	2021-04-07 04:44:02 UTC (rev 275586)
@@ -1,3 +1,38 @@
+2021-04-06  Ruben Turcios  <[email protected]>
+
+        Cherry-pick r275539. rdar://problem/76289146
+
+    [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:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-05  Ruben Turcios  <[email protected]>
 
         Cherry-pick r275451. rdar://problem/76244988

Modified: branches/safari-612.1.10-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (275585 => 275586)


--- branches/safari-612.1.10-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-04-07 02:53:44 UTC (rev 275585)
+++ branches/safari-612.1.10-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-04-07 04:44:02 UTC (rev 275586)
@@ -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