# Firejail profile for profanity
# Description: profanity is an XMPP chat client for the terminal
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include profanity.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/profanity
noblacklist ${HOME}/.local/share/profanity

# Allow Python
include allow-python2.inc
include allow-python3.inc

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

include whitelist-usr-share-common.inc
include whitelist-var-common.inc

caps.drop all
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp

private-bin profanity
private-cache
private-dev
private-etc @tls-ca,mime.types
private-tmp

dbus-user filter
dbus-user.talk org.freedesktop.Notifications
dbus-system none

memory-deny-write-execute
restrict-namespaces
