aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/firefox-common.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-a-l/firefox-common.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-a-l/firefox-common.profile')
-rw-r--r--etc/profile-a-l/firefox-common.profile60
1 files changed, 60 insertions, 0 deletions
diff --git a/etc/profile-a-l/firefox-common.profile b/etc/profile-a-l/firefox-common.profile
new file mode 100644
index 000000000..7c343c26d
--- /dev/null
+++ b/etc/profile-a-l/firefox-common.profile
@@ -0,0 +1,60 @@
1# Firejail profile for firefox-common
2# This file is overwritten after every install/update
3# Persistent local customizations
4include firefox-common.local
5# Persistent global definitions
6# added by caller profile
7#include globals.local
8
9# noexec ${HOME} breaks DRM binaries.
10?BROWSER_ALLOW_DRM: ignore noexec ${HOME}
11
12# Uncomment the following line (or put it in your firefox-common.local) to allow access to common programs/addons/plugins.
13#include firefox-common-addons.inc
14
15noblacklist ${HOME}/.pki
16noblacklist ${HOME}/.local/share/pki
17
18include disable-common.inc
19include disable-devel.inc
20include disable-exec.inc
21include disable-interpreters.inc
22include disable-programs.inc
23
24mkdir ${HOME}/.pki
25mkdir ${HOME}/.local/share/pki
26whitelist ${DOWNLOADS}
27whitelist ${HOME}/.pki
28whitelist ${HOME}/.local/share/pki
29include whitelist-common.inc
30include whitelist-var-common.inc
31
32apparmor
33caps.drop all
34# machine-id breaks pulse audio; it should work fine in setups where sound is not required.
35#machine-id
36netfilter
37nodvd
38nogroups
39nonewprivs
40# noroot breaks GTK_USE_PORTAL=1 usage, see https://github.com/netblue30/firejail/issues/2506.
41noroot
42notv
43?BROWSER_DISABLE_U2F: nou2f
44protocol unix,inet,inet6,netlink
45# The below seccomp configuration still permits chroot syscall. See https://github.com/netblue30/firejail/issues/2506 for possible workarounds.
46seccomp !chroot
47shell none
48# Disable tracelog, it breaks or causes major issues with many firefox based browsers, see https://github.com/netblue30/firejail/issues/1930.
49#tracelog
50
51disable-mnt
52?BROWSER_DISABLE_U2F: private-dev
53# private-etc below works fine on most distributions. There are some problems on CentOS.
54#private-etc alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,group,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id,mailcap,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
55private-tmp
56
57# breaks various desktop integration features
58# among other things global menus, native notifications, Gnome connector, KDE connect and power management on KDE Plasma
59dbus-user none
60dbus-system none