Skip to content

Commit

Permalink
Fix adattributiond sandbox violation
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268039
<rdar://119100810>

Reviewed by Per Arne Vollan.

In Bug 263274 we added user-specific DarwinDirectoryDataStore to the adattributiond
sandbox, but neglected the system fallback location. This triggers sandbox telemetry
and prevents the expected fallback behavior.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.adattributiond.sb.in:

Canonical link: https://commits.webkit.org/273471@main
  • Loading branch information
brentfulgham authored and Brent Fulgham committed Jan 25, 2024
1 parent dbe36ee commit 67a191a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
(allow file-read*
(literal "/dev/urandom")
(literal "/private/etc/master.passwd")
(literal "/System/Library/DarwinDirectory/system/recordStore.data")
(literal "/private/var/db/DarwinDirectory/local/recordStore.data")
(subpath "/private/var/preferences/Logging")
(subpath "/Library/Keychains")
Expand Down

0 comments on commit 67a191a

Please sign in to comment.