diff options
Diffstat (limited to 'etc/profile-a-l/itch.profile')
-rw-r--r-- | etc/profile-a-l/itch.profile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/profile-a-l/itch.profile b/etc/profile-a-l/itch.profile new file mode 100644 index 000000000..b3c78c810 --- /dev/null +++ b/etc/profile-a-l/itch.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for itch | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include itch.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | # itch.io has native firejail/sandboxing support bundled in | ||
9 | # See https://itch.io/docs/itch/using/sandbox/linux.html | ||
10 | |||
11 | noblacklist ${HOME}/.itch | ||
12 | noblacklist ${HOME}/.config/itch | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | |||
20 | mkdir ${HOME}/.itch | ||
21 | mkdir ${HOME}/.config/itch | ||
22 | whitelist ${HOME}/.itch | ||
23 | whitelist ${HOME}/.config/itch | ||
24 | include whitelist-common.inc | ||
25 | |||
26 | caps.drop all | ||
27 | netfilter | ||
28 | nodvd | ||
29 | nogroups | ||
30 | nonewprivs | ||
31 | noroot | ||
32 | notv | ||
33 | nou2f | ||
34 | novideo | ||
35 | protocol unix,inet,inet6,netlink | ||
36 | seccomp | ||
37 | shell none | ||
38 | |||
39 | private-dev | ||
40 | private-tmp | ||
41 | |||
42 | noexec /tmp | ||