| 1 |
# Firejail profile for kdiff3 |
| 2 |
# Description: KDiff3 is a file and folder diff and merge tool. |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include kdiff3.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/kdiff3fileitemactionrc |
| 10 |
noblacklist ${HOME}/.config/kdiff3rc |
| 11 |
|
| 12 |
# Add the next line to your kdiff3.local if you don't need to compare files in disable-common.inc. |
| 13 |
# By default we deny access only to .ssh and .gnupg. |
| 14 |
#include disable-common.inc |
| 15 |
blacklist ${HOME}/.gnupg |
| 16 |
blacklist ${HOME}/.ssh |
| 17 |
|
| 18 |
include disable-devel.inc |
| 19 |
include disable-exec.inc |
| 20 |
include disable-interpreters.inc |
| 21 |
# Add the next line to your kdiff3.local if you don't need to compare files in disable-programs.inc. |
| 22 |
#include disable-programs.inc |
| 23 |
include disable-shell.inc |
| 24 |
include disable-xdg.inc |
| 25 |
|
| 26 |
# Add the next line to your kdiff3.local if you don't need to compare files in /run. |
| 27 |
#include whitelist-run-common.inc |
| 28 |
include whitelist-runuser-common.inc |
| 29 |
# Add the next line to your kdiff3.local if you don't need to compare files in /usr/share. |
| 30 |
#include whitelist-usr-share-common.inc |
| 31 |
# Add the next line to your kdiff3.local if you don't need to compare files in /var. |
| 32 |
#include whitelist-var-common.inc |
| 33 |
|
| 34 |
apparmor |
| 35 |
caps.drop all |
| 36 |
machine-id |
| 37 |
net none |
| 38 |
nodvd |
| 39 |
nogroups |
| 40 |
noinput |
| 41 |
nonewprivs |
| 42 |
noroot |
| 43 |
nosound |
| 44 |
notv |
| 45 |
nou2f |
| 46 |
novideo |
| 47 |
seccomp |
| 48 |
seccomp.block-secondary |
| 49 |
tracelog |
| 50 |
|
| 51 |
disable-mnt |
| 52 |
private-bin kdiff3 |
| 53 |
private-cache |
| 54 |
private-dev |
| 55 |
private-etc @x11 |
| 56 |
|
| 57 |
dbus-user none |
| 58 |
dbus-system none |
| 59 |
|
| 60 |
restrict-namespaces |