diff options
author | smitsohu <smitsohu@gmail.com> | 2019-11-09 15:14:32 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2019-11-09 15:14:32 +0100 |
commit | 63ed58354e46d9333c0debe0a10ad1987d92e56d (patch) | |
tree | 83ca64fb32d455f12eaeaa0bbc5acf279e12c7f4 | |
parent | fix nano support in git profile (diff) | |
download | firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.gz firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.zst firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.zip |
add kfind profile
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | RELNOTES | 2 | ||||
-rw-r--r-- | etc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/kfind.profile | 45 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
5 files changed, 52 insertions, 2 deletions
@@ -122,4 +122,4 @@ gnome-sound-recorder, godot, jerry, keepassxc-cli, keepassxc-proxy, klatexformul | |||
122 | pandoc, qgis, rhythmbox-client, tcpdump, teams-for-linux, tshark, xlinks, zeal, mpg123, conplay, mpg123.bin, mpg123-alsa, mpg123-id3dump, | 122 | pandoc, qgis, rhythmbox-client, tcpdump, teams-for-linux, tshark, xlinks, zeal, mpg123, conplay, mpg123.bin, mpg123-alsa, mpg123-id3dump, |
123 | mpg123-jack, mpg123-nas, mpg123-openal, mpg123-oss, mpg123-portaudio, mpg123-pulse, mpg123-strip, out123, pavucontrol-qt, | 123 | mpg123-jack, mpg123-nas, mpg123-openal, mpg123-oss, mpg123-portaudio, mpg123-pulse, mpg123-strip, out123, pavucontrol-qt, |
124 | gnome-characters, gnome-character-map, rsync, Whalebird, tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, kiwix-desktop, ar, | 124 | gnome-characters, gnome-character-map, rsync, Whalebird, tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, kiwix-desktop, ar, |
125 | gnome-latex, pngquant, kalgebra, kalgebramobile, signal-cli, amuled | 125 | gnome-latex, pngquant, kalgebra, kalgebramobile, signal-cli, amuled, kfind |
@@ -21,7 +21,7 @@ firejail (0.9.61) baseline; urgency=low | |||
21 | * new profiles: tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, | 21 | * new profiles: tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, |
22 | * new profiles: kiwix-desktop, bzcat, zstd, pzstd, zstdcat, zstdgrep, zstdless | 22 | * new profiles: kiwix-desktop, bzcat, zstd, pzstd, zstdcat, zstdgrep, zstdless |
23 | * new profiles: zstdmt, unzstd, i2p, ar, gnome-latex, pngquant, kalgebra | 23 | * new profiles: zstdmt, unzstd, i2p, ar, gnome-latex, pngquant, kalgebra |
24 | * new profiles: kalgebramobile, signal-cli, amuled | 24 | * new profiles: kalgebramobile, signal-cli, amuled, kfind |
25 | -- netblue30 <netblue30@yahoo.com> Sat, 1 Jun 2019 08:00:00 -0500 | 25 | -- netblue30 <netblue30@yahoo.com> Sat, 1 Jun 2019 08:00:00 -0500 |
26 | 26 | ||
27 | firejail (0.9.60) baseline; urgency=low | 27 | firejail (0.9.60) baseline; urgency=low |
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 | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 21f10ebd2..9e6254ce6 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -315,6 +315,7 @@ keepassx2 | |||
315 | keepassxc | 315 | keepassxc |
316 | keepassxc-cli | 316 | keepassxc-cli |
317 | keepassxc-proxy | 317 | keepassxc-proxy |
318 | # kfind | ||
318 | kget | 319 | kget |
319 | kid3 | 320 | kid3 |
320 | kid3-cli | 321 | kid3-cli |