diff options
author | 2017-09-15 19:25:28 -0500 | |
---|---|---|
committer | 2017-09-15 19:25:28 -0500 | |
commit | 498bc172b6666cf1928143370f64683723ecf9e4 (patch) | |
tree | 7915be764c5aa1e0b465d5ad86e32f2b7b7d6e15 /etc | |
parent | Merge pull request #1551 from smitsohu/KDEapps (diff) | |
parent | Add a profile for Terasology (diff) | |
download | firejail-498bc172b6666cf1928143370f64683723ecf9e4.tar.gz firejail-498bc172b6666cf1928143370f64683723ecf9e4.tar.zst firejail-498bc172b6666cf1928143370f64683723ecf9e4.zip |
Merge pull request #1552 from SpotComms/mf
Add a profile for Terasology
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/terasology.profile | 42 |
2 files changed, 43 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} | ||