[webkit-changes] [WebKit/WebKit] cafc9b: [GStreamer] BubblewrapLauncher sandbox lacks direc...

Philippe Normand noreply at github.com
Tue Feb 6 08:17:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cafc9b17f1fa35e33d19bb716987fa7abb454043
      https://github.com/WebKit/WebKit/commit/cafc9b17f1fa35e33d19bb716987fa7abb454043
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

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

  Log Message:
  -----------
  [GStreamer] BubblewrapLauncher sandbox lacks directory for the gstreamer user registry cache directory
https://bugs.webkit.org/show_bug.cgi?id=268759

Reviewed by Michael Catanzaro.

Grant read-write access in the default GStreamer registry path within the WebProcess sandbox. This
is safe because the GStreamer registry file format is binary and the file is not executable. The
internal GStreamer code responsible for loading this file is able to handle parsing errors.

For additional context, the registry file stores informations about the plugins available on the
system, so that the plugin scanner doesn't need to rescan plugins every time GStreamer is
initialized.

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

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




More information about the webkit-changes mailing list