[webkit-changes] [WebKit/WebKit] e57afc: Remove notify option NOTIFY_OPT_LOOPBACK in WebKit

Per Arne Vollan noreply at github.com
Fri May 10 16:25:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e57afcae14d0fb780c8a2d8e74c63b2c8a8a7c6c
      https://github.com/WebKit/WebKit/commit/e57afcae14d0fb780c8a2d8e74c63b2c8a8a7c6c
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M Source/WebKit/Shared/AuxiliaryProcess.h
    M Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm
    M Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm
    M Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

  Log Message:
  -----------
  Remove notify option NOTIFY_OPT_LOOPBACK in WebKit
https://bugs.webkit.org/show_bug.cgi?id=272977
rdar://126484077

Reviewed by Sihui Liu.

Remove notify option NOTIFY_OPT_LOOPBACK in WebKit, since this feature is now enabled with an
entitlement. This patch effectively reverts <https://commits.webkit.org/275186@main>. The
NOTIFY_OPT_DISPATCH applies regardless of whether NOTIFY_BLOCKING is enabled.

* Source/WebKit/Shared/AuxiliaryProcess.h:
* Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm:
(WebKit::AuxiliaryProcess::setNotifyOptions):
* Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm:
(WebKit::XPCServiceEventHandler):
(WebKit::XPCServiceMain):
(WebKit::shouldRestrictNotifyd): Deleted.
(WebKit::setNotifyOptions): Deleted.
* Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::applySandbox):
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:

Canonical link: https://commits.webkit.org/278639@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