Debian Codegraph @

etc/profile-a-l/0ad.profile

raw
1 # Firejail profile for 0ad
2 # Description: Real-time strategy game of ancient warfare
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include 0ad.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.cache/0ad
10 noblacklist ${HOME}/.config/0ad
11 noblacklist ${HOME}/.local/share/0ad
12
13 # Allow gjs (blacklisted by disable-interpreters.inc)
14 include allow-gjs.inc
15
16 # uses libgdk-pixbuf and/or glycin - see #6906
17 # blacklist /usr/libexec
18
19 include disable-common.inc
20 include disable-devel.inc
21 include disable-exec.inc
22 include disable-interpreters.inc
23 include disable-programs.inc
24 include disable-xdg.inc
25
26 mkdir ${HOME}/.cache/0ad
27 mkdir ${HOME}/.config/0ad
28 mkdir ${HOME}/.local/share/0ad
29 whitelist ${HOME}/.cache/0ad
30 whitelist ${HOME}/.config/0ad
31 whitelist ${HOME}/.local/share/0ad
32 whitelist /usr/share/0ad
33 whitelist /usr/share/games
34 include whitelist-common.inc
35 include whitelist-usr-share-common.inc
36 include whitelist-var-common.inc
37
38 caps.drop all
39 netfilter
40 nodvd
41 nogroups
42 noinput
43 nonewprivs
44 noroot
45 notv
46 nou2f
47 novideo
48 protocol unix,inet,inet6
49 seccomp
50 seccomp.block-secondary
51 tracelog
52
53 disable-mnt
54 private-bin 0ad,pyrogenesis,sh,which
55 private-cache
56 private-dev
57 private-etc @games,@sound,@x11,ldap
58 private-tmp
59
60 dbus-user none
61 dbus-system none
62
63 restrict-namespaces