diff options
author | 2021-03-15 14:30:07 -0400 | |
---|---|---|
committer | 2021-03-15 14:30:07 -0400 | |
commit | e5aab2aa6f2423af9dd2f7830c6311995965204e (patch) | |
tree | 5a70ceb99d95a5cd04f6a82d9ffc8285e3ed4469 /etc/profile-m-z | |
parent | Add a profile for Jami (diff) | |
download | firejail-e5aab2aa6f2423af9dd2f7830c6311995965204e.tar.gz firejail-e5aab2aa6f2423af9dd2f7830c6311995965204e.tar.zst firejail-e5aab2aa6f2423af9dd2f7830c6311995965204e.zip |
Add a profile for openmw
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/openmw-launcher.profile | 7 | ||||
-rw-r--r-- | etc/profile-m-z/openmw.profile | 60 |
2 files changed, 67 insertions, 0 deletions
diff --git a/etc/profile-m-z/openmw-launcher.profile b/etc/profile-m-z/openmw-launcher.profile new file mode 100644 index 000000000..c9cc144e4 --- /dev/null +++ b/etc/profile-m-z/openmw-launcher.profile | |||
@@ -0,0 +1,7 @@ | |||
1 | # Firejail profile for openmw-launcher | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include openmw-launcher.local | ||
5 | |||
6 | # Redirect | ||
7 | include openmw.profile | ||
diff --git a/etc/profile-m-z/openmw.profile b/etc/profile-m-z/openmw.profile new file mode 100644 index 000000000..49819f117 --- /dev/null +++ b/etc/profile-m-z/openmw.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # Firejail profile for openmw | ||
2 | # Description: Open source engine re-implementation for Morrowind | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include openmw.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/openmw | ||
10 | noblacklist ${HOME}/.local/share/openmw | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-shell.inc | ||
19 | include disable-write-mnt.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkdir ${HOME}/.config/openmw | ||
23 | mkdir ${HOME}/.local/share/openmw | ||
24 | whitelist ${HOME}/Downloads/Morrowind | ||
25 | whitelist ${HOME}/.config/openmw | ||
26 | whitelist ${HOME}/.local/share/openmw | ||
27 | whitelist /usr/share/openmw | ||
28 | include whitelist-common.inc | ||
29 | include whitelist-runuser-common.inc | ||
30 | include whitelist-usr-share-common.inc | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | apparmor | ||
34 | caps.drop all | ||
35 | ipc-namespace | ||
36 | net none | ||
37 | netfilter | ||
38 | # Uncomment the following line if installing from disc | ||
39 | nodvd | ||
40 | nogroups | ||
41 | nonewprivs | ||
42 | noroot | ||
43 | notv | ||
44 | nou2f | ||
45 | novideo | ||
46 | protocol unix,netlink | ||
47 | seccomp | ||
48 | seccomp.block-secondary | ||
49 | shell none | ||
50 | tracelog | ||
51 | |||
52 | private-bin bsatool,esmtool,niftest,openmw* | ||
53 | private-cache | ||
54 | private-dev | ||
55 | private-etc alsa,alternatives,asound.conf,bumblebee,drirc,fonts,glvnd,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nvidia,openmw,pango,pulse,Trolltech.conf,X11,xdg | ||
56 | private-opt none | ||
57 | private-tmp | ||
58 | |||
59 | dbus-user none | ||
60 | dbus-system none | ||