diff options
author | 2021-01-25 08:55:46 -0500 | |
---|---|---|
committer | 2021-01-25 08:55:46 -0500 | |
commit | 653432ab60d0624a85d76fcadadd0ef6dfecb3ee (patch) | |
tree | 7b8652b2ba790328e4d7738ec10d23f9dfcd939f | |
parent | fix #3914 (diff) | |
parent | Update kdiff3.profile (diff) | |
download | firejail-653432ab60d0624a85d76fcadadd0ef6dfecb3ee.tar.gz firejail-653432ab60d0624a85d76fcadadd0ef6dfecb3ee.tar.zst firejail-653432ab60d0624a85d76fcadadd0ef6dfecb3ee.zip |
Merge pull request #3918 from Neo00001/master
Add profile for kdiff3
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/kdiff3.profile | 52 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 55 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 1d1de6044..d24713fe5 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -275,6 +275,8 @@ blacklist ${HOME}/.config/katevirc | |||
275 | blacklist ${HOME}/.config/kazam | 275 | blacklist ${HOME}/.config/kazam |
276 | blacklist ${HOME}/.config/kdeconnect | 276 | blacklist ${HOME}/.config/kdeconnect |
277 | blacklist ${HOME}/.config/kdenliverc | 277 | blacklist ${HOME}/.config/kdenliverc |
278 | blacklist ${HOME}/.config/kdiff3fileitemactionrc | ||
279 | blacklist ${HOME}/.config/kdiff3rc | ||
278 | blacklist ${HOME}/.config/kfindrc | 280 | blacklist ${HOME}/.config/kfindrc |
279 | blacklist ${HOME}/.config/kgetrc | 281 | blacklist ${HOME}/.config/kgetrc |
280 | blacklist ${HOME}/.config/kid3rc | 282 | blacklist ${HOME}/.config/kid3rc |
diff --git a/etc/profile-a-l/kdiff3.profile b/etc/profile-a-l/kdiff3.profile new file mode 100644 index 000000000..8290e07f2 --- /dev/null +++ b/etc/profile-a-l/kdiff3.profile | |||
@@ -0,0 +1,52 @@ | |||
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 | # Uncomment the next line (or put it into your kdiff3.local) if you don't need to compare files in disable-common.inc. | ||
13 | #include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | # Uncomment the next line (or put it into your kdiff3.local) if you don't need to compare files in disable-programs.inc. | ||
19 | #include disable-programs.inc | ||
20 | include disable-shell.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | include whitelist-runuser-common.inc | ||
24 | # Uncomment the next lines (or put it into your kdiff3.local) if you don't need to compare files in /usr/share. | ||
25 | #include whitelist-usr-share-common.inc | ||
26 | # Uncomment the next line (or put it into your kdiff3.local) if you don't need to compare files in /var. | ||
27 | #include whitelist-var-common.inc | ||
28 | |||
29 | apparmor | ||
30 | caps.drop all | ||
31 | machine-id | ||
32 | net none | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | seccomp | ||
42 | seccomp.block-secondary | ||
43 | shell none | ||
44 | tracelog | ||
45 | |||
46 | disable-mnt | ||
47 | private-bin kdiff3 | ||
48 | private-cache | ||
49 | private-dev | ||
50 | |||
51 | dbus-user none | ||
52 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 109f89f39..d6fcdb38f 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -390,6 +390,7 @@ kazam | |||
390 | kcalc | 390 | kcalc |
391 | # kdeinit4 | 391 | # kdeinit4 |
392 | kdenlive | 392 | kdenlive |
393 | kdiff3 | ||
393 | keepass | 394 | keepass |
394 | keepass2 | 395 | keepass2 |
395 | keepassx | 396 | keepassx |