Title: [274736] trunk/Source/WebKit
Revision
274736
Author
[email protected]
Date
2021-03-19 13:19:29 -0700 (Fri, 19 Mar 2021)

Log Message

[macOS] Allow opendirectoryd access in base system
https://bugs.webkit.org/show_bug.cgi?id=223527
<rdar://problem/75492699>

Reviewed by Per Arne Vollan.

Allow the WebContent process to communicate with opendirectoryd when running in the base system.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (274735 => 274736)


--- trunk/Source/WebKit/ChangeLog	2021-03-19 20:18:05 UTC (rev 274735)
+++ trunk/Source/WebKit/ChangeLog	2021-03-19 20:19:29 UTC (rev 274736)
@@ -1,3 +1,15 @@
+2021-03-19  Brent Fulgham  <[email protected]>
+
+        [macOS] Allow opendirectoryd access in base system
+        https://bugs.webkit.org/show_bug.cgi?id=223527
+        <rdar://problem/75492699>
+
+        Reviewed by Per Arne Vollan.
+
+        Allow the WebContent process to communicate with opendirectoryd when running in the base system.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-03-19  BJ Burg  <[email protected]>
 
         Web Inspector: remove unnecessary inspectorBaseURL() and assumed read access

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-03-19 20:18:05 UTC (rev 274735)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-03-19 20:19:29 UTC (rev 274736)
@@ -1199,6 +1199,9 @@
     (allow file-write*
         (with report) (with telemetry-backtrace)
         (subpath "/private/var/db/mds/system")) ;; FIXME: This should be removed when <rdar://problem/9538414> is fixed.
+    (allow mach-lookup
+       (global-name "com.apple.system.opendirectoryd.libinfo")
+       (global-name "com.apple.system.opendirectoryd.membership"))
 )
 #else
 (allow file-read* file-write* (subpath "/private/var/db/mds/system")) ;; FIXME: This should be removed when <rdar://problem/9538414> is fixed.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to