aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-09-07 17:30:47 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-09-07 17:38:07 +0200
commit5d3e0e812bbdb45958031955bb2ed9b961e7f329 (patch)
tree07cc0a8390652dc450ea4d278cb64649e6f75983 /etc/profile-a-l
parentBlacklist ~/.minisign in disable-common (diff)
downloadfirejail-5d3e0e812bbdb45958031955bb2ed9b961e7f329.tar.gz
firejail-5d3e0e812bbdb45958031955bb2ed9b961e7f329.tar.zst
firejail-5d3e0e812bbdb45958031955bb2ed9b961e7f329.zip
Rework pipewire/wayland
- closes #4483 -- mpv requires whitelisting /usr/share/pipewire - wruc: whitelist pipewire-?, pipewire is becoming more popular and was developed with isolation (container/sandbox) in mind. - wruc: whitelist wayland-? instead of only -0 and -1 - wusc: whitelist /usr/share/pipewire - remove these wruc/wusc lines from other profiles - firefox-common-addons: Make ignore wruc work again (#4512) - firefox: org.freedesktop.portal.Desktop should be enough
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/chromium-common.profile4
-rw-r--r--etc/profile-a-l/firefox-common-addons.profile1
-rw-r--r--etc/profile-a-l/firefox.profile6
-rw-r--r--etc/profile-a-l/librewolf.profile6
4 files changed, 5 insertions, 12 deletions
diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile
index b35b6ae80..c42243e02 100644
--- a/etc/profile-a-l/chromium-common.profile
+++ b/etc/profile-a-l/chromium-common.profile
@@ -37,10 +37,6 @@ include whitelist-var-common.inc
37# Add the next line to your chromium-common.local if your kernel allows unprivileged userns clone. 37# Add the next line to your chromium-common.local if your kernel allows unprivileged userns clone.
38#include chromium-common-hardened.inc.profile 38#include chromium-common-hardened.inc.profile
39 39
40# Add the next two lines to your chromium-common.local to allow screen sharing under wayland.
41#whitelist ${RUNUSER}/pipewire-0
42#whitelist /usr/share/pipewire/client.conf
43
44apparmor 40apparmor
45caps.keep sys_admin,sys_chroot 41caps.keep sys_admin,sys_chroot
46netfilter 42netfilter
diff --git a/etc/profile-a-l/firefox-common-addons.profile b/etc/profile-a-l/firefox-common-addons.profile
index d282f9a60..b2b7c362a 100644
--- a/etc/profile-a-l/firefox-common-addons.profile
+++ b/etc/profile-a-l/firefox-common-addons.profile
@@ -2,6 +2,7 @@
2# Persistent customizations should go in a .local file. 2# Persistent customizations should go in a .local file.
3include firefox-common-addons.local 3include firefox-common-addons.local
4 4
5ignore whitelist ${RUNUSER}/*firefox*
5ignore include whitelist-runuser-common.inc 6ignore include whitelist-runuser-common.inc
6ignore private-cache 7ignore private-cache
7 8
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index 5a123d081..9138fed90 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -58,10 +58,8 @@ dbus-user.own org.mpris.MediaPlayer2.firefox.*
58#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration 58#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
59#dbus-user.talk org.kde.JobViewServer 59#dbus-user.talk org.kde.JobViewServer
60#dbus-user.talk org.kde.kuiserver 60#dbus-user.talk org.kde.kuiserver
61# Add the next three lines to your firefox.local to allow screen sharing under wayland. 61# Add the next line to your firefox.local to allow screen sharing under wayland.
62#whitelist ${RUNUSER}/pipewire-0 62#dbus-user.talk org.freedesktop.portal.Desktop
63#whitelist /usr/share/pipewire/client.conf
64#dbus-user.talk org.freedesktop.portal.*
65# Add the next line to your firefox.local if screen sharing sharing still does not work 63# Add the next line to your firefox.local if screen sharing sharing still does not work
66# with the above lines (might depend on the portal implementation). 64# with the above lines (might depend on the portal implementation).
67#ignore noroot 65#ignore noroot
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile
index da047357a..c9f5221f7 100644
--- a/etc/profile-a-l/librewolf.profile
+++ b/etc/profile-a-l/librewolf.profile
@@ -44,10 +44,8 @@ dbus-user filter
44#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration 44#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
45#dbus-user.talk org.kde.JobViewServer 45#dbus-user.talk org.kde.JobViewServer
46#dbus-user.talk org.kde.kuiserver 46#dbus-user.talk org.kde.kuiserver
47# Add the next three lines to your librewolf.local to allow screensharing under Wayland. 47# Add the next line to your librewolf.local to allow screensharing under Wayland.
48#whitelist ${RUNUSER}/pipewire-0 48#dbus-user.talk org.freedesktop.portal.Desktop
49#whitelist /usr/share/pipewire/client.conf
50#dbus-user.talk org.freedesktop.portal.*
51# Also add the next line to your librewolf.local if screensharing does not work with 49# Also add the next line to your librewolf.local if screensharing does not work with
52# the above lines (depends on the portal implementation). 50# the above lines (depends on the portal implementation).
53#ignore noroot 51#ignore noroot