diff options
Diffstat (limited to 'etc/supertux2.profile')
-rw-r--r-- | etc/supertux2.profile | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/etc/supertux2.profile b/etc/supertux2.profile index 276e91b05..87ad8da7f 100644 --- a/etc/supertux2.profile +++ b/etc/supertux2.profile | |||
@@ -1,41 +1,34 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for supertux2 |
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/supertux2.local | ||
5 | # Persistent global definitions | ||
2 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
3 | 7 | ||
4 | # This file is overwritten during software install. | 8 | noblacklist ~/.local/share/supertux2 |
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/supertux2.local | ||
7 | 9 | ||
8 | ################################ | 10 | include /etc/firejail/disable-common.inc |
9 | # SuperTux profile | 11 | include /etc/firejail/disable-passwdmgr.inc |
10 | ################################ | 12 | include /etc/firejail/disable-programs.inc |
11 | 13 | ||
12 | noblacklist ~/.local/share/supertux2 | ||
13 | mkdir ~/.local/share/supertux2 | 14 | mkdir ~/.local/share/supertux2 |
14 | whitelist ~/.local/share/supertux2 | 15 | whitelist ~/.local/share/supertux2 |
15 | include /etc/firejail/whitelist-common.inc | 16 | include /etc/firejail/whitelist-common.inc |
16 | 17 | ||
17 | include /etc/firejail/disable-common.inc | ||
18 | include /etc/firejail/disable-programs.inc | ||
19 | include /etc/firejail/disable-passwdmgr.inc | ||
20 | |||
21 | caps.drop all | 18 | caps.drop all |
19 | net none | ||
20 | nogroups | ||
22 | nonewprivs | 21 | nonewprivs |
23 | noroot | 22 | noroot |
24 | protocol unix,netlink | 23 | protocol unix,netlink |
25 | seccomp | 24 | seccomp |
26 | |||
27 | # | ||
28 | # depending on your usage, you can enable some of the commands below: | ||
29 | # | ||
30 | net none | ||
31 | nogroups | ||
32 | shell none | 25 | shell none |
33 | #private-bin supertux2 | 26 | |
34 | # private-etc none | 27 | # private-bin supertux2 |
35 | private-dev | 28 | private-dev |
29 | # private-etc none | ||
36 | private-tmp | 30 | private-tmp |
37 | # nosound | ||
38 | |||
39 | |||
40 | |||
41 | 31 | ||
32 | # CLOBBERED COMMENTS | ||
33 | # depending on your usage, you can enable some of the commands below: | ||
34 | # nosound | ||