| 1 |
# Firejail profile for kwrite |
| 2 |
# Description: Simple text editor |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include kwrite.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/katepartrc |
| 10 |
noblacklist ${HOME}/.config/katerc |
| 11 |
noblacklist ${HOME}/.config/kateschemarc |
| 12 |
noblacklist ${HOME}/.config/katesyntaxhighlightingrc |
| 13 |
noblacklist ${HOME}/.config/katevirc |
| 14 |
noblacklist ${HOME}/.config/kwriterc |
| 15 |
noblacklist ${HOME}/.local/share/kwrite |
| 16 |
noblacklist ${HOME}/.local/share/kxmlgui5/kwrite |
| 17 |
noblacklist ${DOCUMENTS} |
| 18 |
|
| 19 |
include disable-common.inc |
| 20 |
include disable-devel.inc |
| 21 |
include disable-exec.inc |
| 22 |
include disable-interpreters.inc |
| 23 |
include disable-programs.inc |
| 24 |
include disable-shell.inc |
| 25 |
include disable-xdg.inc |
| 26 |
|
| 27 |
include whitelist-run-common.inc |
| 28 |
include whitelist-var-common.inc |
| 29 |
|
| 30 |
apparmor |
| 31 |
caps.drop all |
| 32 |
#net none |
| 33 |
netfilter |
| 34 |
nodvd |
| 35 |
nogroups |
| 36 |
noinput |
| 37 |
nonewprivs |
| 38 |
noroot |
| 39 |
#nosound # KWrite is using ALSA! |
| 40 |
notv |
| 41 |
nou2f |
| 42 |
novideo |
| 43 |
protocol unix |
| 44 |
seccomp |
| 45 |
tracelog |
| 46 |
|
| 47 |
private-bin kbuildsycoca4,kdeinit4,kwrite |
| 48 |
private-dev |
| 49 |
private-etc @x11 |
| 50 |
private-tmp |
| 51 |
|
| 52 |
#dbus-user none |
| 53 |
#dbus-system none |
| 54 |
|
| 55 |
restrict-namespaces |
| 56 |
join-or-start kwrite |