diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/supertux2.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/supertux2.profile')
-rw-r--r-- | etc/supertux2.profile | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/etc/supertux2.profile b/etc/supertux2.profile index 276e91b05..4e70f9e8c 100644 --- a/etc/supertux2.profile +++ b/etc/supertux2.profile | |||
@@ -1,41 +1,30 @@ | |||
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 | |||