| 1 |
# Firejail profile for kate |
| 2 |
# Description: Powerful text editor |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include kate.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
# Add the following to kate.local if you don't need network access: |
| 10 |
#ignore protocol |
| 11 |
#net none |
| 12 |
#protocol unix |
| 13 |
|
| 14 |
ignore noexec ${HOME} |
| 15 |
|
| 16 |
noblacklist ${HOME}/.config/katemetainfos |
| 17 |
noblacklist ${HOME}/.config/katepartrc |
| 18 |
noblacklist ${HOME}/.config/katerc |
| 19 |
noblacklist ${HOME}/.config/kateschemarc |
| 20 |
noblacklist ${HOME}/.config/katesyntaxhighlightingrc |
| 21 |
noblacklist ${HOME}/.config/katevirc |
| 22 |
noblacklist ${HOME}/.config/kwinrc |
| 23 |
noblacklist ${HOME}/.local/share/kate |
| 24 |
noblacklist ${HOME}/.local/share/kxmlgui5/kate |
| 25 |
noblacklist ${HOME}/.local/share/kxmlgui5/katefiletree |
| 26 |
noblacklist ${HOME}/.local/share/kxmlgui5/katekonsole |
| 27 |
noblacklist ${HOME}/.local/share/kxmlgui5/kateopenheaderplugin |
| 28 |
noblacklist ${HOME}/.local/share/kxmlgui5/katepart |
| 29 |
noblacklist ${HOME}/.local/share/kxmlgui5/kateproject |
| 30 |
noblacklist ${HOME}/.local/share/kxmlgui5/katesearch |
| 31 |
|
| 32 |
# Allows files commonly used by IDEs |
| 33 |
include allow-common-devel.inc |
| 34 |
|
| 35 |
include disable-common.inc |
| 36 |
#include disable-devel.inc |
| 37 |
include disable-exec.inc |
| 38 |
#include disable-interpreters.inc |
| 39 |
include disable-programs.inc |
| 40 |
|
| 41 |
include whitelist-run-common.inc |
| 42 |
include whitelist-var-common.inc |
| 43 |
|
| 44 |
#apparmor |
| 45 |
caps.drop all |
| 46 |
#net none |
| 47 |
netfilter |
| 48 |
nodvd |
| 49 |
nogroups |
| 50 |
noinput |
| 51 |
nonewprivs |
| 52 |
noroot |
| 53 |
nosound |
| 54 |
notv |
| 55 |
nou2f |
| 56 |
novideo |
| 57 |
protocol unix,inet,inet6 |
| 58 |
seccomp |
| 59 |
|
| 60 |
#private-bin kate,kbuildsycoca4,kdeinit4 |
| 61 |
private-dev |
| 62 |
#private-etc alternatives,fonts,kde4rc,kde5rc,ld.so.cache,machine-id,xdg |
| 63 |
private-tmp |
| 64 |
|
| 65 |
#dbus-user none |
| 66 |
#dbus-system none |
| 67 |
|
| 68 |
restrict-namespaces |
| 69 |
join-or-start kate |