[webkit-changes] [WebKit/WebKit] c28465: Restrict access to notifyd only when process has e...

Per Arne Vollan noreply at github.com
Tue Mar 19 17:06:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c28465076e27a0f7a100dc7ae77c2b3a8c1368a9
      https://github.com/WebKit/WebKit/commit/c28465076e27a0f7a100dc7ae77c2b3a8c1368a9
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/spi/darwin/XPCSPI.h
    M Source/WebKit/Scripts/process-entitlements.sh
    M Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm

  Log Message:
  -----------
  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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list