| 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-programs.inc |
| 18 |
|
| 19 |
mkdir ${HOME}/.itch |
| 20 |
mkdir ${HOME}/.config/itch |
| 21 |
whitelist ${HOME}/.itch |
| 22 |
whitelist ${HOME}/.config/itch |
| 23 |
include whitelist-common.inc |
| 24 |
|
| 25 |
caps.drop all |
| 26 |
netfilter |
| 27 |
nodvd |
| 28 |
nogroups |
| 29 |
noinput |
| 30 |
nonewprivs |
| 31 |
noroot |
| 32 |
notv |
| 33 |
nou2f |
| 34 |
novideo |
| 35 |
protocol unix,inet,inet6,netlink |
| 36 |
seccomp |
| 37 |
|
| 38 |
private-dev |
| 39 |
private-tmp |
| 40 |
|
| 41 |
noexec /tmp |
| 42 |
restrict-namespaces |