Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9167490750e5180cf2ec4b9e1ba82881b6979da4
https://github.com/WebKit/WebKit/commit/9167490750e5180cf2ec4b9e1ba82881b6979da4
Author: Per Arne Vollan <[email protected]>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M Source/WTF/wtf/cocoa/Entitlements.h
M Source/WTF/wtf/cocoa/Entitlements.mm
M
Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
M Source/WebKit/Scripts/process-entitlements.sh
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
M Tools/MobileMiniBrowser/Configurations/MobileMiniBrowser.xcconfig
M Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj
A Tools/MobileMiniBrowser/MobileMiniBrowser/MobileMiniBrowser.entitlements
Log Message:
-----------
Use sandbox state flag to enable syscall telemetry
https://bugs.webkit.org/show_bug.cgi?id=272046
rdar://125796089
Reviewed by Sihui Liu.
Use sandbox state flag to enable syscall telemetry related to QuickLook. If the
parent process
is able to set the state flag EnableQuickLookSandboxResources in the WebContent
process, and
this state flag is not set, telemetry is enabled. This will enable us to
determine which
rarely used syscalls are being used when not loading QuickLook documents. This
will give us
information on which syscalls can be blocked in that scenario.
* Source/WTF/wtf/cocoa/Entitlements.h:
* Source/WTF/wtf/cocoa/Entitlements.mm:
(WTF::hasEntitlementValue):
(WTF::hasEntitlementValueInArray):
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForResponseShared):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):
* Tools/MobileMiniBrowser/Configurations/MobileMiniBrowser.xcconfig:
* Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
* Tools/MobileMiniBrowser/MobileMiniBrowser/MobileMiniBrowser.entitlements:
Added.
Canonical link: https://commits.webkit.org/277118@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes