-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firefox profile fix for 0.9.38 (Ubuntu 16.04) in etc-fixes/
Seccomp filter lifted from 0.9.54 version. Cosmetic errors occur for unrecognised options (such as @clock) but do not affect sandbox.
- Loading branch information
1 parent
24a33d7
commit 1f45aa8
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Firejail profile for Mozilla Firefox (Iceweasel in Debian) | ||
noblacklist ${HOME}/.mozilla | ||
include /etc/firejail/disable-mgmt.inc | ||
include /etc/firejail/disable-secret.inc | ||
include /etc/firejail/disable-common.inc | ||
include /etc/firejail/disable-devel.inc | ||
caps.drop all | ||
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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Fred-Barclay
Author
Collaborator
|
||
protocol unix,inet,inet6,netlink | ||
netfilter | ||
# tracelog | ||
noroot | ||
whitelist ${DOWNLOADS} | ||
whitelist ~/.mozilla | ||
whitelist ~/.cache/mozilla/firefox | ||
whitelist ~/dwhelper | ||
whitelist ~/.zotero | ||
whitelist ~/.lastpass | ||
whitelist ~/.vimperatorrc | ||
whitelist ~/.vimperator | ||
whitelist ~/.pentadactylrc | ||
whitelist ~/.pentadactyl | ||
whitelist ~/.keysnail.js | ||
whitelist ~/.config/gnome-mplayer | ||
whitelist ~/.cache/gnome-mplayer/plugin | ||
include /etc/firejail/whitelist-common.inc | ||
|
||
# experimental features | ||
#private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse |
@Fred-Barclay Doesn't this seccomp.drop list violate the "LTS spirit"? How about the one from unbound.profile, which is still at the level of 0.9.38? That one would be guaranteed to be free from new bugs or regressions.