| 1 |
# Firejail profile for artha |
| 2 |
# Description: A free cross-platform English thesaurus based on WordNet |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include artha.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/artha.conf |
| 10 |
noblacklist ${HOME}/.config/artha.log |
| 11 |
noblacklist ${HOME}/.config/enchant |
| 12 |
|
| 13 |
blacklist ${RUNUSER}/wayland-* |
| 14 |
|
| 15 |
include disable-common.inc |
| 16 |
include disable-devel.inc |
| 17 |
include disable-exec.inc |
| 18 |
include disable-interpreters.inc |
| 19 |
include disable-programs.inc |
| 20 |
include disable-shell.inc |
| 21 |
include disable-xdg.inc |
| 22 |
|
| 23 |
# whitelisting in ${HOME} makes settings immutable, see #3112 |
| 24 |
#mkfile ${HOME}/.config/artha.conf |
| 25 |
#mkdir ${HOME}/.config/enchant |
| 26 |
#whitelist ${HOME}/.config/artha.conf |
| 27 |
#whitelist ${HOME}/.config/artha.log |
| 28 |
#whitelist ${HOME}/.config/enchant |
| 29 |
whitelist /usr/share/artha |
| 30 |
whitelist /usr/share/wordnet |
| 31 |
#include whitelist-common.inc |
| 32 |
include whitelist-usr-share-common.inc |
| 33 |
include whitelist-var-common.inc |
| 34 |
|
| 35 |
apparmor |
| 36 |
caps.drop all |
| 37 |
ipc-namespace |
| 38 |
#net none # breaks on Ubuntu |
| 39 |
no3d |
| 40 |
nodvd |
| 41 |
nogroups |
| 42 |
noinput |
| 43 |
nonewprivs |
| 44 |
noroot |
| 45 |
nosound |
| 46 |
notv |
| 47 |
nou2f |
| 48 |
novideo |
| 49 |
protocol unix |
| 50 |
seccomp |
| 51 |
tracelog |
| 52 |
|
| 53 |
disable-mnt |
| 54 |
private-bin artha,enchant,notify-send |
| 55 |
private-cache |
| 56 |
private-dev |
| 57 |
private-etc |
| 58 |
private-lib libnotify.so.* |
| 59 |
private-tmp |
| 60 |
|
| 61 |
dbus-user filter |
| 62 |
dbus-user.own org.artha.unique.* |
| 63 |
dbus-user.talk org.freedesktop.Notifications |
| 64 |
?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher |
| 65 |
dbus-system none |
| 66 |
|
| 67 |
memory-deny-write-execute |
| 68 |
restrict-namespaces |