aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2022-10-01 19:23:19 +0000
committerLibravatar GitHub <noreply@github.com>2022-10-01 19:23:19 +0000
commit2297257745fd568b1f042139b7e3bfa2830eb500 (patch)
treee03a393051ede5203ecc5374f91f7c41d64c78ce /etc/profile-m-z
parentmpv: whitelist mpv-mpris (#5386) (diff)
downloadfirejail-2297257745fd568b1f042139b7e3bfa2830eb500.tar.gz
firejail-2297257745fd568b1f042139b7e3bfa2830eb500.tar.zst
firejail-2297257745fd568b1f042139b7e3bfa2830eb500.zip
Harden qutebrowser profile
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/qutebrowser.profile18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/profile-m-z/qutebrowser.profile b/etc/profile-m-z/qutebrowser.profile
index fc910b589..e15db2ea5 100644
--- a/etc/profile-m-z/qutebrowser.profile
+++ b/etc/profile-m-z/qutebrowser.profile
@@ -16,6 +16,7 @@ include allow-python3.inc
16 16
17include disable-common.inc 17include disable-common.inc
18include disable-devel.inc 18include disable-devel.inc
19include disable-exec.inc
19include disable-interpreters.inc 20include disable-interpreters.inc
20include disable-programs.inc 21include disable-programs.inc
21 22
@@ -28,6 +29,7 @@ whitelist ${HOME}/.config/qutebrowser
28whitelist ${HOME}/.local/share/qutebrowser 29whitelist ${HOME}/.local/share/qutebrowser
29include whitelist-common.inc 30include whitelist-common.inc
30 31
32apparmor
31caps.drop all 33caps.drop all
32netfilter 34netfilter
33nodvd 35nodvd
@@ -38,3 +40,19 @@ protocol unix,inet,inet6,netlink
38# blacklisting of chroot system calls breaks qt webengine 40# blacklisting of chroot system calls breaks qt webengine
39seccomp !chroot,!name_to_handle_at 41seccomp !chroot,!name_to_handle_at
40# tracelog 42# tracelog
43
44disable-mnt
45private-cache
46private-dev
47private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.preload,localtime,machine-id,pki,pulse,resolv.conf,ssl
48private-tmp
49
50dbus-user filter
51dbus-user.talk org.freedesktop.Notifications
52dbus-user.talk org.mpris.MediaPlayer2.*
53# Add the next line to your qutebrowser.local to allow screen sharing under wayland.
54#dbus-user.talk org.freedesktop.portal.Desktop
55# Add the next line to your qutebrowser.local if screen sharing sharing still does not work
56# with the above lines (might depend on the portal implementation).
57#ignore noroot
58dbus-system none