diff options
author | 2016-02-20 10:29:12 -0500 | |
---|---|---|
committer | 2016-02-20 10:29:12 -0500 | |
commit | 5b2f3e5bae2ca85a6ff0c389e5162624482dc214 (patch) | |
tree | e5c85324e1e6c71d1c88f45df974b569f80781e8 | |
parent | testing (diff) | |
parent | edit wesnoth profile: add .cache directory (diff) | |
download | firejail-5b2f3e5bae2ca85a6ff0c389e5162624482dc214.tar.gz firejail-5b2f3e5bae2ca85a6ff0c389e5162624482dc214.tar.zst firejail-5b2f3e5bae2ca85a6ff0c389e5162624482dc214.zip |
Merge pull request #304 from vn971/master
profile for wesnoth
-rw-r--r-- | etc/wesnoth.profile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/wesnoth.profile b/etc/wesnoth.profile new file mode 100644 index 000000000..697b81bcb --- /dev/null +++ b/etc/wesnoth.profile | |||
@@ -0,0 +1,23 @@ | |||
1 | # Whitelist-based profile for "Battle of Wesnoth" (game). | ||
2 | |||
3 | include /etc/firejail/disable-common.inc | ||
4 | include /etc/firejail/disable-devel.inc | ||
5 | include /etc/firejail/disable-mgmt.inc | ||
6 | include /etc/firejail/disable-secret.inc | ||
7 | include /etc/firejail/disable-terminals.inc | ||
8 | |||
9 | caps.drop all | ||
10 | seccomp | ||
11 | protocol unix,inet,inet6 | ||
12 | noroot | ||
13 | |||
14 | private-dev | ||
15 | |||
16 | private-tmp | ||
17 | |||
18 | mkdir ${HOME}/.local/share/wesnoth | ||
19 | mkdir ${HOME}/.config/wesnoth | ||
20 | mkdir ${HOME}/.cache/wesnoth | ||
21 | whitelist ${HOME}/.local/share/wesnoth | ||
22 | whitelist ${HOME}/.config/wesnoth | ||
23 | whitelist ${HOME}/.cache/wesnoth | ||