mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Merge pull request #5360 from glitsj16/ff-dbus
Streamline Firefoxes D-Bus filtering
This commit is contained in:
commit
445d6b525d
4 changed files with 5 additions and 12 deletions
|
|
@ -7,9 +7,5 @@ include firefox-developer-edition.local
|
|||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
# Edition-specific DBus filters
|
||||
dbus-user.own org.mozilla.FirefoxDeveloperEdition.*
|
||||
dbus-user.own org.mozilla.firefoxdeveloperedition.*
|
||||
|
||||
# Redirect
|
||||
include firefox.profile
|
||||
|
|
|
|||
|
|
@ -49,8 +49,7 @@ include whitelist-usr-share-common.inc
|
|||
#private-etc firefox
|
||||
|
||||
dbus-user filter
|
||||
dbus-user.own org.mozilla.Firefox.*
|
||||
dbus-user.own org.mozilla.firefox.*
|
||||
dbus-user.own org.mozilla.*
|
||||
dbus-user.own org.mpris.MediaPlayer2.firefox.*
|
||||
# Add the next line to your firefox.local to enable native notifications.
|
||||
#dbus-user.talk org.freedesktop.Notifications
|
||||
|
|
|
|||
|
|
@ -26,9 +26,8 @@ dbus-user filter
|
|||
# allow D-Bus notifications
|
||||
dbus-user.talk org.freedesktop.Notifications
|
||||
|
||||
# allow D-Bus communication with firefox for opening links
|
||||
dbus-user.talk org.mozilla.Firefox.*
|
||||
dbus-user.talk org.mozilla.firefox.*
|
||||
# allow D-Bus communication with Firefox browsers for opening links
|
||||
dbus-user.talk org.mozilla.*
|
||||
|
||||
ignore dbus-user none
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ include disable-programs.inc
|
|||
include disable-shell.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
# Allow zeal to open links in Firefox.
|
||||
# Allow zeal to open links in Firefox browsers.
|
||||
# This also requires dbus-user filtering (see below).
|
||||
noblacklist ${HOME}/.mozilla
|
||||
whitelist ${HOME}/.mozilla/firefox/profiles.ini
|
||||
|
|
@ -64,8 +64,7 @@ private-etc alternatives,ca-certificates,crypto-policies,fonts,host.conf,hostnam
|
|||
private-tmp
|
||||
|
||||
dbus-user filter
|
||||
dbus-user.talk org.mozilla.Firefox.*
|
||||
dbus-user.talk org.mozilla.firefox.*
|
||||
dbus-user.talk org.mozilla.*
|
||||
?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
|
||||
dbus-system none
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue