diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-03-08 01:42:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 01:42:30 +0000 |
commit | ec37579a8313cf9850f0117790419c07c10ce966 (patch) | |
tree | 959fb4f63ecfb483020c179369c79439f727f486 /etc | |
parent | Add a profile for pragha (diff) | |
download | firejail-ec37579a8313cf9850f0117790419c07c10ce966.tar.gz firejail-ec37579a8313cf9850f0117790419c07c10ce966.tar.zst firejail-ec37579a8313cf9850f0117790419c07c10ce966.zip |
Add comments to firefox-common.profile (#2541)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/firefox-common.profile | 18 |
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 | ||
12 | noblacklist ${HOME}/.pki | 12 | noblacklist ${HOME}/.pki |
@@ -27,25 +27,27 @@ include whitelist-var-common.inc | |||
27 | 27 | ||
28 | apparmor | 28 | apparmor |
29 | caps.drop all | 29 | caps.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 |
32 | netfilter | 32 | netfilter |
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. |
38 | nodbus | 38 | nodbus |
39 | nodvd | 39 | nodvd |
40 | nogroups | 40 | nogroups |
41 | nonewprivs | 41 | nonewprivs |
42 | # noroot breaks GTK_USE_PORTAL=1 usage, see https://github.com/netblue30/firejail/issues/2506. | ||
42 | noroot | 43 | noroot |
43 | notv | 44 | notv |
44 | ?BROWSER_DISABLE_U2F: nou2f | 45 | ?BROWSER_DISABLE_U2F: nou2f |
45 | protocol unix,inet,inet6,netlink | 46 | protocol unix,inet,inet6,netlink |
47 | # The below seccomp configuration still permits chroot syscall. See https://github.com/netblue30/firejail/issues/2506 for possible workarounds. | ||
46 | seccomp.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 | 48 | seccomp.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 |
47 | shell none | 49 | shell 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 | ||
51 | disable-mnt | 53 | disable-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 |
55 | private-tmp | 57 | private-tmp |
56 | 58 | ||
57 | # breaks DRM binaries | 59 | # Breaks DRM binaries. |
58 | #noexec ${HOME} | 60 | #noexec ${HOME} |
59 | noexec /tmp | 61 | noexec /tmp |