diff options
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/otter-browser.profile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/etc/profile-m-z/otter-browser.profile b/etc/profile-m-z/otter-browser.profile new file mode 100644 index 000000000..652b6b7cb --- /dev/null +++ b/etc/profile-m-z/otter-browser.profile | |||
@@ -0,0 +1,59 @@ | |||
1 | # Firejail profile for otter-browser | ||
2 | # Description: Lightweight web browser based on Qt5 | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include otter-browser.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} | ||
10 | |||
11 | noblacklist ${HOME}/.cache/Otter | ||
12 | noblacklist ${HOME}/.config/otter | ||
13 | noblacklist ${HOME}/.pki | ||
14 | noblacklist ${HOME}/.local/share/pki | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-interpreters.inc | ||
20 | include disable-passwdmgr.inc | ||
21 | include disable-programs.inc | ||
22 | include disable-xdg.inc | ||
23 | |||
24 | mkdir ${HOME}/.cache/Otter | ||
25 | mkdir ${HOME}/.config/otter | ||
26 | mkdir ${HOME}/.pki | ||
27 | mkdir ${HOME}/.local/share/pki | ||
28 | whitelist ${DOWNLOADS} | ||
29 | whitelist ${HOME}/.cache/Otter | ||
30 | whitelist ${HOME}/.config/otter | ||
31 | whitelist ${HOME}/.pki | ||
32 | whitelist ${HOME}/.local/share/pki | ||
33 | whitelist /usr/share/otter-browser | ||
34 | include whitelist-common.inc | ||
35 | include whitelist-runuser-common.inc | ||
36 | include whitelist-usr-share-common.inc | ||
37 | include whitelist-var-common.inc | ||
38 | |||
39 | apparmor | ||
40 | caps.drop all | ||
41 | netfilter | ||
42 | nodvd | ||
43 | nogroups | ||
44 | nonewprivs | ||
45 | noroot | ||
46 | notv | ||
47 | ?BROWSER_DISABLE_U2F: nou2f | ||
48 | protocol unix,inet,inet6,netlink | ||
49 | seccomp !chroot | ||
50 | shell none | ||
51 | |||
52 | disable-mnt | ||
53 | private-bin bash,otter-browser,sh,which | ||
54 | private-cache | ||
55 | ?BROWSER_DISABLE_U2F: private-dev | ||
56 | 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 | ||
57 | private-tmp | ||
58 | |||
59 | dbus-system none | ||