diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/0ad.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/0ad.profile')
-rw-r--r-- | etc/0ad.profile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/etc/0ad.profile b/etc/0ad.profile index 9f33af806..af6e32947 100644 --- a/etc/0ad.profile +++ b/etc/0ad.profile | |||
@@ -1,28 +1,26 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for 0ad |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/0ad.local | 4 | include /etc/firejail/0ad.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Firejail profile for 0ad. | ||
9 | noblacklist ~/.cache/0ad | 8 | noblacklist ~/.cache/0ad |
10 | noblacklist ~/.config/0ad | 9 | noblacklist ~/.config/0ad |
11 | noblacklist ~/.local/share/0ad | 10 | noblacklist ~/.local/share/0ad |
11 | |||
12 | include /etc/firejail/disable-common.inc | 12 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-devel.inc | 13 | include /etc/firejail/disable-devel.inc |
14 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | 15 | include /etc/firejail/disable-programs.inc |
16 | 16 | ||
17 | # Whitelists | 17 | mkdir ~/.cache/0ad |
18 | mkdir ~/.config/0ad | 18 | mkdir ~/.config/0ad |
19 | whitelist ~/.config/0ad | ||
20 | |||
21 | mkdir ~/.local/share/0ad | 19 | mkdir ~/.local/share/0ad |
22 | whitelist ~/.local/share/0ad | ||
23 | |||
24 | mkdir ~/.cache/0ad | ||
25 | whitelist ~/.cache/0ad | 20 | whitelist ~/.cache/0ad |
21 | whitelist ~/.config/0ad | ||
22 | whitelist ~/.local/share/0ad | ||
23 | include /etc/firejail/whitelist-common.inc | ||
26 | 24 | ||
27 | caps.drop all | 25 | caps.drop all |
28 | netfilter | 26 | netfilter |
@@ -35,9 +33,9 @@ seccomp | |||
35 | shell none | 33 | shell none |
36 | tracelog | 34 | tracelog |
37 | 35 | ||
36 | disable-mnt | ||
38 | private-dev | 37 | private-dev |
39 | private-tmp | 38 | private-tmp |
40 | disable-mnt | ||
41 | 39 | ||
42 | noexec ${HOME} | 40 | noexec ${HOME} |
43 | noexec /tmp | 41 | noexec /tmp |