| 1 |
# Firejail profile for freecol |
| 2 |
# Description: Turn-based multi-player strategy game |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include freecol.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.freecol |
| 10 |
noblacklist ${HOME}/.cache/freecol |
| 11 |
noblacklist ${HOME}/.config/freecol |
| 12 |
noblacklist ${HOME}/.local/share/freecol |
| 13 |
|
| 14 |
# Allow java (blacklisted by disable-devel.inc) |
| 15 |
include allow-java.inc |
| 16 |
|
| 17 |
include disable-common.inc |
| 18 |
include disable-devel.inc |
| 19 |
include disable-exec.inc |
| 20 |
include disable-interpreters.inc |
| 21 |
include disable-programs.inc |
| 22 |
include disable-xdg.inc |
| 23 |
|
| 24 |
mkdir ${HOME}/.java |
| 25 |
mkdir ${HOME}/.cache/freecol |
| 26 |
mkdir ${HOME}/.config/freecol |
| 27 |
mkdir ${HOME}/.local/share/freecol |
| 28 |
whitelist ${HOME}/.freecol |
| 29 |
whitelist ${HOME}/.java |
| 30 |
whitelist ${HOME}/.cache/freecol |
| 31 |
whitelist ${HOME}/.config/freecol |
| 32 |
whitelist ${HOME}/.local/share/freecol |
| 33 |
include whitelist-common.inc |
| 34 |
include whitelist-var-common.inc |
| 35 |
|
| 36 |
caps.drop all |
| 37 |
ipc-namespace |
| 38 |
netfilter |
| 39 |
nodvd |
| 40 |
nogroups |
| 41 |
noinput |
| 42 |
nonewprivs |
| 43 |
noroot |
| 44 |
notv |
| 45 |
nou2f |
| 46 |
novideo |
| 47 |
protocol unix,inet,inet6 |
| 48 |
seccomp |
| 49 |
tracelog |
| 50 |
|
| 51 |
disable-mnt |
| 52 |
private-cache |
| 53 |
private-dev |
| 54 |
private-tmp |
| 55 |
|
| 56 |
dbus-user none |
| 57 |
dbus-system none |
| 58 |
|
| 59 |
restrict-namespaces |