diff options
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/terasology.profile | 42 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 44 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 7e44d582e..ff750ecd9 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -318,6 +318,7 @@ blacklist ${HOME}/.local/share/spotify | |||
318 | blacklist ${HOME}/.local/share/steam | 318 | blacklist ${HOME}/.local/share/steam |
319 | blacklist ${HOME}/.local/share/supertux2 | 319 | blacklist ${HOME}/.local/share/supertux2 |
320 | blacklist ${HOME}/.local/share/telepathy | 320 | blacklist ${HOME}/.local/share/telepathy |
321 | blacklist ${HOME}/.local/share/terasology | ||
321 | blacklist ${HOME}/.local/share/torbrowser | 322 | blacklist ${HOME}/.local/share/torbrowser |
322 | blacklist ${HOME}/.local/share/totem | 323 | blacklist ${HOME}/.local/share/totem |
323 | blacklist ${HOME}/.local/share/vpltd | 324 | blacklist ${HOME}/.local/share/vpltd |
diff --git a/etc/terasology.profile b/etc/terasology.profile new file mode 100644 index 000000000..ca580c0d0 --- /dev/null +++ b/etc/terasology.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for terasology | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/default.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | |||
9 | noblacklist ${HOME}/.java | ||
10 | noblacklist ${HOME}/.local/share/terasology | ||
11 | |||
12 | include /etc/firejail/disable-common.inc | ||
13 | include /etc/firejail/disable-devel.inc | ||
14 | include /etc/firejail/disable-passwdmgr.inc | ||
15 | include /etc/firejail/disable-programs.inc | ||
16 | |||
17 | mkdir ${HOME}/.java | ||
18 | mkdir ${HOME}/.local/share/terasology | ||
19 | whitelist ${HOME}/.java | ||
20 | whitelist ${HOME}/.local/share/terasology | ||
21 | include /etc/firejail/whitelist-common.inc | ||
22 | |||
23 | caps.drop all | ||
24 | ipc-namespace | ||
25 | net none | ||
26 | netfilter | ||
27 | nodvd | ||
28 | nogroups | ||
29 | nonewprivs | ||
30 | noroot | ||
31 | notv | ||
32 | novideo | ||
33 | protocol unix,inet,inet6 | ||
34 | seccomp | ||
35 | shell none | ||
36 | |||
37 | disable-mnt | ||
38 | private-dev | ||
39 | private-etc asound.conf,ca-certificates,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,lsb-release,machine-id,mime.types,passwd,pulse,resolv.conf,ssl,java-8-openjdk,java-7-openjdk | ||
40 | private-tmp | ||
41 | |||
42 | noexec ${HOME} | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 79b263823..3f73ac635 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -263,6 +263,7 @@ supertux2 | |||
263 | synfigstudio | 263 | synfigstudio |
264 | telegram | 264 | telegram |
265 | telegram-desktop | 265 | telegram-desktop |
266 | terasology | ||
266 | thunderbird | 267 | thunderbird |
267 | totem | 268 | totem |
268 | tracker | 269 | tracker |