Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d324a1c159cd01bd075f3b06081288a3b1ac25e
      
https://github.com/WebKit/WebKit/commit/5d324a1c159cd01bd075f3b06081288a3b1ac25e
  Author: Michael Catanzaro <[email protected]>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp

  Log Message:
  -----------
  [WPE][GTK] Bubblewrap sandbox should not kill auxiliary process when UI 
process terminates
https://bugs.webkit.org/show_bug.cgi?id=275485

Reviewed by Carlos Garcia Campos.

The bubblewrap sandbox should not kill auxiliary processes when the UI
process terminates. Instead, let the child process terminate cleanly.
The idea  here is to match the behavior of unsandboxed WebKit and
flatpaked WebKit and reduce the odds of bugs going unnoticed. This will
allow exit handlers to run; notably, EGL termination has historically
been a source of crashes. This will also avoid subverting the purpose of
the watchdog thread that crashes the web porecss 10 seconds after the UI
process exits.

The problem is bwrap will SIGKILL the child process immediately,
preventing it from doing usual cleanup.

* Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
(WebKit::bubblewrapSpawn):

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

Reply via email to