diff options
author | Vasya Novikov <n1dr+cm3513git@ya.ru> | 2016-02-19 20:32:30 +0300 |
---|---|---|
committer | Vasya Novikov <n1dr+cm3513git@ya.ru> | 2016-02-19 20:32:30 +0300 |
commit | 3cdd052e231ac38213b985a1a8e1b38d2b93e665 (patch) | |
tree | d562269a911d02059071c330e6ddb30436877983 | |
parent | added mkdir in all whitelisted profiles (diff) | |
download | firejail-3cdd052e231ac38213b985a1a8e1b38d2b93e665.tar.gz firejail-3cdd052e231ac38213b985a1a8e1b38d2b93e665.tar.zst firejail-3cdd052e231ac38213b985a1a8e1b38d2b93e665.zip |
profile for wesnoth
The profile is a _white_list (in contrast to blacklist).
All standard game actions work:
create-save-load games,
multiplayer (online) game, downloading addons and using them.
-rw-r--r-- | etc/wesnoth.profile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/wesnoth.profile b/etc/wesnoth.profile new file mode 100644 index 000000000..484c614e4 --- /dev/null +++ b/etc/wesnoth.profile | |||
@@ -0,0 +1,21 @@ | |||
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 | whitelist ${HOME}/.local/share/wesnoth | ||
21 | whitelist ${HOME}/.config/wesnoth | ||