Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cocoa] Silence some spurious telemetry about reading the "kern.willshutdown" sysctl #28809

Merged
merged 1 commit into from
May 21, 2024

Conversation

brentfulgham
Copy link
Contributor

@brentfulgham brentfulgham commented May 20, 2024

15eafe8

[Cocoa] Silence some spurious telemetry about reading the "kern.willshutdown" sysctl
https://bugs.webkit.org/show_bug.cgi?id=274422
<rdar://122511261>

Reviewed by Per Arne Vollan.

Telemetry confirms we benefit form allowing systcl-read for "kern.willshutdown" under more conditions,
and should allow it.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb.in:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

Canonical link: https://commits.webkit.org/279072@main

927e123

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2 βœ… πŸ§ͺ wincairo-tests
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac ❌ πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ›  wpe-cairo
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ›  gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress βœ… πŸ§ͺ api-gtk
βœ… πŸ›  watch
βœ… πŸ›  πŸ§ͺ unsafe-merge βœ… πŸ›  watch-sim

@brentfulgham brentfulgham self-assigned this May 20, 2024
@brentfulgham brentfulgham added the WebKit2 Bugs relating to the WebKit2 API layer label May 20, 2024
@@ -448,7 +448,7 @@
"kern.osversion"
"kern.safeboot"
"kern.version"
"kern.willshutdown" ;; Silence after <rdar://125745970> is resolved.
"kern.willshutdown" ;; <rdar://122511261>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If possible, I think it would be good to silence this in the WebContent processes.

Copy link
Contributor

@pvollan pvollan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R=me.

@brentfulgham brentfulgham added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 21, 2024
…hutdown" sysctl

https://bugs.webkit.org/show_bug.cgi?id=274422
<rdar://122511261>

Reviewed by Per Arne Vollan.

Telemetry confirms we benefit form allowing systcl-read for "kern.willshutdown" under more conditions,
and should allow it.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb.in:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

Canonical link: https://commits.webkit.org/279072@main
@webkit-commit-queue
Copy link
Collaborator

Committed 279072@main (15eafe8): https://commits.webkit.org/279072@main

Reviewed commits have been landed. Closing PR #28809 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 15eafe8 into WebKit:main May 21, 2024
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit2 Bugs relating to the WebKit2 API layer
Projects
None yet
4 participants