# Firejail profile for typespeed
# Persistent local customizations
include typespeed.local
# Persistent global definitions
include globals.local

# Note: This profile requires the current user to be a member of the games
# group.

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc

whitelist /usr/share/typespeed
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

writable-var # game scores are stored under /var/games

apparmor
caps.drop all
ipc-namespace
netfilter
nodvd
noinput
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp
tracelog

disable-mnt
private
private-cache
private-dev
private-etc @games,@sound,@x11
private-tmp

dbus-user none
dbus-system none

memory-deny-write-execute
restrict-namespaces
