aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-03-08 01:42:30 +0000
committerLibravatar GitHub <noreply@github.com>2019-03-08 01:42:30 +0000
commitec37579a8313cf9850f0117790419c07c10ce966 (patch)
tree959fb4f63ecfb483020c179369c79439f727f486
parentAdd a profile for pragha (diff)
downloadfirejail-ec37579a8313cf9850f0117790419c07c10ce966.tar.gz
firejail-ec37579a8313cf9850f0117790419c07c10ce966.tar.zst
firejail-ec37579a8313cf9850f0117790419c07c10ce966.zip
Add comments to firefox-common.profile (#2541)
-rw-r--r--etc/firefox-common.profile18
1 files changed, 10 insertions, 8 deletions
diff --git a/etc/firefox-common.profile b/etc/firefox-common.profile
index 69920aa5f..3089b7ce8 100644
--- a/etc/firefox-common.profile
+++ b/etc/firefox-common.profile
@@ -6,7 +6,7 @@ include firefox-common.local
6# already included by caller profile 6# already included by caller profile
7#include globals.local 7#include globals.local
8 8
9# uncomment the following line to allow access to common programs/addons/plugins 9# Uncomment the following line to allow access to common programs/addons/plugins.
10#include firefox-common-addons.inc 10#include firefox-common-addons.inc
11 11
12noblacklist ${HOME}/.pki 12noblacklist ${HOME}/.pki
@@ -27,25 +27,27 @@ include whitelist-var-common.inc
27 27
28apparmor 28apparmor
29caps.drop all 29caps.drop all
30# machine-id breaks pulse audio; it should work fine in setups where sound is not required 30# machine-id breaks pulse audio; it should work fine in setups where sound is not required.
31#machine-id 31#machine-id
32netfilter 32netfilter
33# Breaks Gnome connector and KDE Connect 33# Breaks Gnome connector and KDE Connect.
34# Also seems to break Ubuntu titlebar menu 34# Also seems to break Ubuntu titlebar menu.
35# Also breaks enigmail apparently? 35# Also breaks enigmail apparently?
36# During a stream on Plasma it prevents the mechanism to temporarily bypass the power management, i.e. to keep the screen on 36# During a stream on Plasma it prevents the mechanism to temporarily bypass the power management, i.e. to keep the screen on.
37# Therefore disable if you use that 37# Therefore disable if you use that.
38nodbus 38nodbus
39nodvd 39nodvd
40nogroups 40nogroups
41nonewprivs 41nonewprivs
42# noroot breaks GTK_USE_PORTAL=1 usage, see https://github.com/netblue30/firejail/issues/2506.
42noroot 43noroot
43notv 44notv
44?BROWSER_DISABLE_U2F: nou2f 45?BROWSER_DISABLE_U2F: nou2f
45protocol unix,inet,inet6,netlink 46protocol unix,inet,inet6,netlink
47# The below seccomp configuration still permits chroot syscall. See https://github.com/netblue30/firejail/issues/2506 for possible workarounds.
46seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice 48seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
47shell none 49shell none
48#disable tracelog, it breaks or causes major issues with many firefox based browsers, see github issue #1930 50# Disable tracelog, it breaks or causes major issues with many firefox based browsers, see https://github.com/netblue30/firejail/issues/1930.
49#tracelog 51#tracelog
50 52
51disable-mnt 53disable-mnt
@@ -54,6 +56,6 @@ private-dev
54#private-etc alternatives,ca-certificates,ssl,machine-id,dconf,selinux,passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,mime.types,mailcap,asound.conf,pulse,pki,crypto-policies,ld.so.cache 56#private-etc alternatives,ca-certificates,ssl,machine-id,dconf,selinux,passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,mime.types,mailcap,asound.conf,pulse,pki,crypto-policies,ld.so.cache
55private-tmp 57private-tmp
56 58
57# breaks DRM binaries 59# Breaks DRM binaries.
58#noexec ${HOME} 60#noexec ${HOME}
59noexec /tmp 61noexec /tmp