-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick c284650. rdar://124356858
Restrict access to notifyd only when process has entitlement https://bugs.webkit.org/show_bug.cgi?id=271247 rdar://124356858 Reviewed by Sihui Liu. Restrict access to notifyd only when process has entitlement. This entitlement will only be set in the WebContent process for now. This change is fixing a regression from <https://commits.webkit.org/275186@main>, where notifications are not being received in the GPU process and Networking process, since notification changes are only being pushed to the WebContent process. * Source/WTF/wtf/spi/darwin/XPCSPI.h: * Source/WebKit/Scripts/process-entitlements.sh: * Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm: (WebKit::shouldRestrictNotifyd): (WebKit::setNotifyOptions): Canonical link: https://commits.webkit.org/276376@main Identifier: 276246.10@safari-7619.1.6-branch
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters