diff options
author | 2019-11-09 15:14:32 +0100 | |
---|---|---|
committer | 2019-11-09 15:14:32 +0100 | |
commit | 63ed58354e46d9333c0debe0a10ad1987d92e56d (patch) | |
tree | 83ca64fb32d455f12eaeaa0bbc5acf279e12c7f4 /etc | |
parent | fix nano support in git profile (diff) | |
download | firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.gz firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.zst firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.zip |
add kfind profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/kfind.profile | 45 |
2 files changed, 49 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index a5a38afda..47f7a6349 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -212,6 +212,7 @@ blacklist ${HOME}/.config/katesyntaxhighlightingrc | |||
212 | blacklist ${HOME}/.config/katevirc | 212 | blacklist ${HOME}/.config/katevirc |
213 | blacklist ${HOME}/.config/kdeconnect | 213 | blacklist ${HOME}/.config/kdeconnect |
214 | blacklist ${HOME}/.config/kdenliverc | 214 | blacklist ${HOME}/.config/kdenliverc |
215 | blacklist ${HOME}/.config/kfindrc | ||
215 | blacklist ${HOME}/.config/kgetrc | 216 | blacklist ${HOME}/.config/kgetrc |
216 | blacklist ${HOME}/.config/kid3rc | 217 | blacklist ${HOME}/.config/kid3rc |
217 | blacklist ${HOME}/.config/klavaro | 218 | blacklist ${HOME}/.config/klavaro |
@@ -402,6 +403,7 @@ blacklist ${HOME}/.kde/share/config/gwenviewrc | |||
402 | blacklist ${HOME}/.kde/share/config/k3brc | 403 | blacklist ${HOME}/.kde/share/config/k3brc |
403 | blacklist ${HOME}/.kde/share/config/kaffeinerc | 404 | blacklist ${HOME}/.kde/share/config/kaffeinerc |
404 | blacklist ${HOME}/.kde/share/config/kcookiejarrc | 405 | blacklist ${HOME}/.kde/share/config/kcookiejarrc |
406 | blacklist ${HOME}/.kde/share/config/kfindrc | ||
405 | blacklist ${HOME}/.kde/share/config/kgetrc | 407 | blacklist ${HOME}/.kde/share/config/kgetrc |
406 | blacklist ${HOME}/.kde/share/config/khtmlrc | 408 | blacklist ${HOME}/.kde/share/config/khtmlrc |
407 | blacklist ${HOME}/.kde/share/config/klipperrc | 409 | blacklist ${HOME}/.kde/share/config/klipperrc |
@@ -431,6 +433,7 @@ blacklist ${HOME}/.kde4/share/config/gwenviewrc | |||
431 | blacklist ${HOME}/.kde4/share/config/k3brc | 433 | blacklist ${HOME}/.kde4/share/config/k3brc |
432 | blacklist ${HOME}/.kde4/share/config/kaffeinerc | 434 | blacklist ${HOME}/.kde4/share/config/kaffeinerc |
433 | blacklist ${HOME}/.kde4/share/config/kcookiejarrc | 435 | blacklist ${HOME}/.kde4/share/config/kcookiejarrc |
436 | blacklist ${HOME}/.kde4/share/config/kfindrc | ||
434 | blacklist ${HOME}/.kde4/share/config/kgetrc | 437 | blacklist ${HOME}/.kde4/share/config/kgetrc |
435 | blacklist ${HOME}/.kde4/share/config/khtmlrc | 438 | blacklist ${HOME}/.kde4/share/config/khtmlrc |
436 | blacklist ${HOME}/.kde4/share/config/klipperrc | 439 | blacklist ${HOME}/.kde4/share/config/klipperrc |
@@ -736,6 +739,7 @@ blacklist ${HOME}/.cache/inox | |||
736 | blacklist ${HOME}/.cache/iridium | 739 | blacklist ${HOME}/.cache/iridium |
737 | blacklist ${HOME}/.cache/kcmshell5 | 740 | blacklist ${HOME}/.cache/kcmshell5 |
738 | blacklist ${HOME}/.cache/kdenlive | 741 | blacklist ${HOME}/.cache/kdenlive |
742 | blacklist ${HOME}/.cache/kfind | ||
739 | blacklist ${HOME}/.cache/kinfocenter | 743 | blacklist ${HOME}/.cache/kinfocenter |
740 | blacklist ${HOME}/.cache/kmail2 | 744 | blacklist ${HOME}/.cache/kmail2 |
741 | blacklist ${HOME}/.cache/krunner | 745 | blacklist ${HOME}/.cache/krunner |
diff --git a/etc/kfind.profile b/etc/kfind.profile new file mode 100644 index 000000000..ee4c35825 --- /dev/null +++ b/etc/kfind.profile | |||
@@ -0,0 +1,45 @@ | |||
1 | # Firejail profile for kfind | ||
2 | # Description: File search utility | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include kfind.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # searching in blacklisted or masked paths fails silently | ||
10 | # adjust filesystem restrictions as necessary | ||
11 | |||
12 | # noblacklist ${HOME}/.cache/kfind - disable-programs.inc is disabled, see below | ||
13 | # noblacklist ${HOME}/.config/kfindrc | ||
14 | # noblacklist ${HOME}/.kde/share/config/kfindrc | ||
15 | # noblacklist ${HOME}/.kde4/share/config/kfindrc | ||
16 | |||
17 | include disable-common.inc | ||
18 | include disable-devel.inc | ||
19 | include disable-exec.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-passwdmgr.inc | ||
22 | # include disable-programs.inc | ||
23 | |||
24 | apparmor | ||
25 | caps.drop all | ||
26 | machine-id | ||
27 | # net none | ||
28 | netfilter | ||
29 | no3d | ||
30 | # nodbus | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | nosound | ||
36 | notv | ||
37 | nou2f | ||
38 | novideo | ||
39 | protocol unix | ||
40 | seccomp | ||
41 | shell none | ||
42 | |||
43 | # private-bin kbuildsycoca4,kdeinit4,kfind | ||
44 | private-dev | ||
45 | private-tmp | ||