aboutsummaryrefslogtreecommitdiffstats
path: root/etc/wesnoth.profile
diff options
context:
space:
mode:
authorLibravatar Vasya Novikov <n1dr+cm3513git@ya.ru>2016-02-19 20:32:30 +0300
committerLibravatar Vasya Novikov <n1dr+cm3513git@ya.ru>2016-02-19 20:32:30 +0300
commit3cdd052e231ac38213b985a1a8e1b38d2b93e665 (patch)
treed562269a911d02059071c330e6ddb30436877983 /etc/wesnoth.profile
parentadded mkdir in all whitelisted profiles (diff)
downloadfirejail-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.
Diffstat (limited to 'etc/wesnoth.profile')
-rw-r--r--etc/wesnoth.profile21
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
3include /etc/firejail/disable-common.inc
4include /etc/firejail/disable-devel.inc
5include /etc/firejail/disable-mgmt.inc
6include /etc/firejail/disable-secret.inc
7include /etc/firejail/disable-terminals.inc
8
9caps.drop all
10seccomp
11protocol unix,inet,inet6
12noroot
13
14private-dev
15
16private-tmp
17
18mkdir ${HOME}/.local/share/wesnoth
19mkdir ${HOME}/.config/wesnoth
20whitelist ${HOME}/.local/share/wesnoth
21whitelist ${HOME}/.config/wesnoth