| 1 |
# Firejail profile for atril |
| 2 |
# Description: MATE document viewer |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include atril.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.cache/atril |
| 10 |
noblacklist ${HOME}/.config/atril |
| 11 |
noblacklist ${DOCUMENTS} |
| 12 |
|
| 13 |
#noblacklist ${HOME}/.local/share |
| 14 |
# it seems to use only ${HOME}/.local/share/webkitgtk |
| 15 |
|
| 16 |
include disable-common.inc |
| 17 |
include disable-devel.inc |
| 18 |
include disable-exec.inc |
| 19 |
include disable-interpreters.inc |
| 20 |
include disable-programs.inc |
| 21 |
include disable-xdg.inc |
| 22 |
|
| 23 |
include whitelist-var-common.inc |
| 24 |
|
| 25 |
#apparmor |
| 26 |
caps.drop all |
| 27 |
machine-id |
| 28 |
no3d |
| 29 |
nodvd |
| 30 |
nogroups |
| 31 |
noinput |
| 32 |
nonewprivs |
| 33 |
noroot |
| 34 |
nosound |
| 35 |
notv |
| 36 |
nou2f |
| 37 |
novideo |
| 38 |
protocol unix |
| 39 |
seccomp |
| 40 |
tracelog |
| 41 |
|
| 42 |
private-bin 7z,7za,7zr,atril,atril-previewer,atril-thumbnailer,sh,tar,unrar,unzip,zipnote |
| 43 |
private-dev |
| 44 |
private-etc |
| 45 |
# atril uses webkit gtk to display epub files |
| 46 |
# waiting for globbing support in private-lib; for now hardcoding it to webkit2gtk-4.0 |
| 47 |
#private-lib webkit2gtk-4.0 # problems on Arch with the new version of WebKit |
| 48 |
private-tmp |
| 49 |
|
| 50 |
# webkit gtk killed by memory-deny-write-execute |
| 51 |
#memory-deny-write-execute |
| 52 |
restrict-namespaces |