diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/cyberfox.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/cyberfox.profile')
-rw-r--r-- | etc/cyberfox.profile | 90 |
1 files changed, 42 insertions, 48 deletions
diff --git a/etc/cyberfox.profile b/etc/cyberfox.profile index 45fc00d6f..3c18ef002 100644 --- a/etc/cyberfox.profile +++ b/etc/cyberfox.profile | |||
@@ -1,75 +1,69 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for cyberfox |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/cyberfox.local | 4 | include /etc/firejail/cyberfox.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Firejail profile for Cyberfox (based on Mozilla Firefox) | ||
9 | noblacklist ~/.8pecxstudios | 8 | noblacklist ~/.8pecxstudios |
10 | noblacklist ~/.cache/8pecxstudios | 9 | noblacklist ~/.cache/8pecxstudios |
10 | noblacklist ~/.config/okularpartrc | ||
11 | noblacklist ~/.config/okularrc | ||
11 | noblacklist ~/.config/qpdfview | 12 | noblacklist ~/.config/qpdfview |
12 | noblacklist ~/.local/share/qpdfview | ||
13 | noblacklist ~/.kde4/share/apps/okular | ||
14 | noblacklist ~/.kde/share/apps/okular | 13 | noblacklist ~/.kde/share/apps/okular |
14 | noblacklist ~/.kde4/share/apps/okular | ||
15 | noblacklist ~/.local/share/okular | 15 | noblacklist ~/.local/share/okular |
16 | noblacklist ~/.config/okularpartrc | 16 | noblacklist ~/.local/share/qpdfview |
17 | noblacklist ~/.config/okularrc | ||
18 | noblacklist ~/.pki | 17 | noblacklist ~/.pki |
19 | 18 | ||
20 | include /etc/firejail/disable-common.inc | 19 | include /etc/firejail/disable-common.inc |
21 | include /etc/firejail/disable-programs.inc | ||
22 | include /etc/firejail/disable-devel.inc | 20 | include /etc/firejail/disable-devel.inc |
21 | include /etc/firejail/disable-programs.inc | ||
23 | 22 | ||
24 | caps.drop all | ||
25 | # ipc-namespace crashes cyberfox on some setups | ||
26 | netfilter | ||
27 | nogroups | ||
28 | nonewprivs | ||
29 | noroot | ||
30 | protocol unix,inet,inet6,netlink | ||
31 | seccomp | ||
32 | shell none | ||
33 | tracelog | ||
34 | |||
35 | whitelist ${DOWNLOADS} | ||
36 | mkdir ~/.8pecxstudios | 23 | mkdir ~/.8pecxstudios |
37 | whitelist ~/.8pecxstudios | ||
38 | mkdir ~/.cache/8pecxstudios | 24 | mkdir ~/.cache/8pecxstudios |
25 | mkdir ~/.pki | ||
26 | whitelist ${DOWNLOADS} | ||
27 | whitelist ~/.8pecxstudios | ||
39 | whitelist ~/.cache/8pecxstudios | 28 | whitelist ~/.cache/8pecxstudios |
40 | whitelist ~/dwhelper | ||
41 | whitelist ~/.zotero | ||
42 | whitelist ~/.vimperatorrc | ||
43 | whitelist ~/.vimperator | ||
44 | whitelist ~/.pentadactylrc | ||
45 | whitelist ~/.pentadactyl | ||
46 | whitelist ~/.keysnail.js | ||
47 | whitelist ~/.config/gnome-mplayer | ||
48 | whitelist ~/.cache/gnome-mplayer/plugin | 29 | whitelist ~/.cache/gnome-mplayer/plugin |
49 | mkdir ~/.pki | 30 | whitelist ~/.config/gnome-mplayer |
50 | whitelist ~/.pki | ||
51 | whitelist ~/.lastpass | ||
52 | whitelist ~/.config/qpdfview | ||
53 | whitelist ~/.local/share/qpdfview | ||
54 | whitelist ~/.config/okularrc | ||
55 | whitelist ~/.config/okularpartrc | 31 | whitelist ~/.config/okularpartrc |
56 | whitelist ~/.kde4/share/apps/okular | 32 | whitelist ~/.config/okularrc |
33 | whitelist ~/.config/pipelight-silverlight5.1 | ||
34 | whitelist ~/.config/pipelight-widevine | ||
35 | whitelist ~/.config/qpdfview | ||
57 | whitelist ~/.kde/share/apps/okular | 36 | whitelist ~/.kde/share/apps/okular |
37 | whitelist ~/.kde4/share/apps/okular | ||
38 | whitelist ~/.keysnail.js | ||
39 | whitelist ~/.lastpass | ||
58 | whitelist ~/.local/share/okular | 40 | whitelist ~/.local/share/okular |
59 | 41 | whitelist ~/.local/share/qpdfview | |
60 | # silverlight | 42 | whitelist ~/.pentadactyl |
43 | whitelist ~/.pentadactylrc | ||
44 | whitelist ~/.pki | ||
45 | whitelist ~/.vimperator | ||
46 | whitelist ~/.vimperatorrc | ||
61 | whitelist ~/.wine-pipelight | 47 | whitelist ~/.wine-pipelight |
62 | whitelist ~/.wine-pipelight64 | 48 | whitelist ~/.wine-pipelight64 |
63 | whitelist ~/.config/pipelight-widevine | 49 | whitelist ~/.zotero |
64 | whitelist ~/.config/pipelight-silverlight5.1 | 50 | whitelist ~/dwhelper |
65 | |||
66 | include /etc/firejail/whitelist-common.inc | 51 | include /etc/firejail/whitelist-common.inc |
67 | 52 | ||
68 | # experimental features | 53 | caps.drop all |
69 | #private-bin cyberfox,which,sh,dbus-launch,dbus-send,env | 54 | netfilter |
70 | #private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,cyberfox,mime.types,mailcap,asound.conf,pulse | 55 | nogroups |
71 | # private-dev might prevent video calls going out | 56 | nonewprivs |
57 | noroot | ||
58 | protocol unix,inet,inet6,netlink | ||
59 | seccomp | ||
60 | shell none | ||
61 | tracelog | ||
62 | |||
63 | # private-bin cyberfox,which,sh,dbus-launch,dbus-send,env | ||
72 | private-dev | 64 | private-dev |
65 | # private-dev might prevent video calls going out | ||
66 | # private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,cyberfox,mime.types,mailcap,asound.conf,pulse | ||
73 | private-tmp | 67 | private-tmp |
74 | 68 | ||
75 | noexec ${HOME} | 69 | noexec ${HOME} |