aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-11-09 15:14:32 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2019-11-09 15:14:32 +0100
commit63ed58354e46d9333c0debe0a10ad1987d92e56d (patch)
tree83ca64fb32d455f12eaeaa0bbc5acf279e12c7f4
parentfix nano support in git profile (diff)
downloadfirejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.gz
firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.tar.zst
firejail-63ed58354e46d9333c0debe0a10ad1987d92e56d.zip
add kfind profile
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/disable-programs.inc4
-rw-r--r--etc/kfind.profile45
-rw-r--r--src/firecfg/firecfg.config1
5 files changed, 52 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4e8f1ff38..4ae9ef519 100644
--- a/README.md
+++ b/README.md
@@ -122,4 +122,4 @@ gnome-sound-recorder, godot, jerry, keepassxc-cli, keepassxc-proxy, klatexformul
122pandoc, qgis, rhythmbox-client, tcpdump, teams-for-linux, tshark, xlinks, zeal, mpg123, conplay, mpg123.bin, mpg123-alsa, mpg123-id3dump, 122pandoc, qgis, rhythmbox-client, tcpdump, teams-for-linux, tshark, xlinks, zeal, mpg123, conplay, mpg123.bin, mpg123-alsa, mpg123-id3dump,
123mpg123-jack, mpg123-nas, mpg123-openal, mpg123-oss, mpg123-portaudio, mpg123-pulse, mpg123-strip, out123, pavucontrol-qt, 123mpg123-jack, mpg123-nas, mpg123-openal, mpg123-oss, mpg123-portaudio, mpg123-pulse, mpg123-strip, out123, pavucontrol-qt,
124gnome-characters, gnome-character-map, rsync, Whalebird, tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, kiwix-desktop, ar, 124gnome-characters, gnome-character-map, rsync, Whalebird, tor-browser (AUR), Zulip, tb-starter-wrapper, bzcat, kiwix-desktop, ar,
125gnome-latex, pngquant, kalgebra, kalgebramobile, signal-cli, amuled 125gnome-latex, pngquant, kalgebra, kalgebramobile, signal-cli, amuled, kfind
diff --git a/RELNOTES b/RELNOTES
index 0ef05fd37..5cd59db3c 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -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
27firejail (0.9.60) baseline; urgency=low 27firejail (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
212blacklist ${HOME}/.config/katevirc 212blacklist ${HOME}/.config/katevirc
213blacklist ${HOME}/.config/kdeconnect 213blacklist ${HOME}/.config/kdeconnect
214blacklist ${HOME}/.config/kdenliverc 214blacklist ${HOME}/.config/kdenliverc
215blacklist ${HOME}/.config/kfindrc
215blacklist ${HOME}/.config/kgetrc 216blacklist ${HOME}/.config/kgetrc
216blacklist ${HOME}/.config/kid3rc 217blacklist ${HOME}/.config/kid3rc
217blacklist ${HOME}/.config/klavaro 218blacklist ${HOME}/.config/klavaro
@@ -402,6 +403,7 @@ blacklist ${HOME}/.kde/share/config/gwenviewrc
402blacklist ${HOME}/.kde/share/config/k3brc 403blacklist ${HOME}/.kde/share/config/k3brc
403blacklist ${HOME}/.kde/share/config/kaffeinerc 404blacklist ${HOME}/.kde/share/config/kaffeinerc
404blacklist ${HOME}/.kde/share/config/kcookiejarrc 405blacklist ${HOME}/.kde/share/config/kcookiejarrc
406blacklist ${HOME}/.kde/share/config/kfindrc
405blacklist ${HOME}/.kde/share/config/kgetrc 407blacklist ${HOME}/.kde/share/config/kgetrc
406blacklist ${HOME}/.kde/share/config/khtmlrc 408blacklist ${HOME}/.kde/share/config/khtmlrc
407blacklist ${HOME}/.kde/share/config/klipperrc 409blacklist ${HOME}/.kde/share/config/klipperrc
@@ -431,6 +433,7 @@ blacklist ${HOME}/.kde4/share/config/gwenviewrc
431blacklist ${HOME}/.kde4/share/config/k3brc 433blacklist ${HOME}/.kde4/share/config/k3brc
432blacklist ${HOME}/.kde4/share/config/kaffeinerc 434blacklist ${HOME}/.kde4/share/config/kaffeinerc
433blacklist ${HOME}/.kde4/share/config/kcookiejarrc 435blacklist ${HOME}/.kde4/share/config/kcookiejarrc
436blacklist ${HOME}/.kde4/share/config/kfindrc
434blacklist ${HOME}/.kde4/share/config/kgetrc 437blacklist ${HOME}/.kde4/share/config/kgetrc
435blacklist ${HOME}/.kde4/share/config/khtmlrc 438blacklist ${HOME}/.kde4/share/config/khtmlrc
436blacklist ${HOME}/.kde4/share/config/klipperrc 439blacklist ${HOME}/.kde4/share/config/klipperrc
@@ -736,6 +739,7 @@ blacklist ${HOME}/.cache/inox
736blacklist ${HOME}/.cache/iridium 739blacklist ${HOME}/.cache/iridium
737blacklist ${HOME}/.cache/kcmshell5 740blacklist ${HOME}/.cache/kcmshell5
738blacklist ${HOME}/.cache/kdenlive 741blacklist ${HOME}/.cache/kdenlive
742blacklist ${HOME}/.cache/kfind
739blacklist ${HOME}/.cache/kinfocenter 743blacklist ${HOME}/.cache/kinfocenter
740blacklist ${HOME}/.cache/kmail2 744blacklist ${HOME}/.cache/kmail2
741blacklist ${HOME}/.cache/krunner 745blacklist ${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
5include kfind.local
6# Persistent global definitions
7include 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
17include disable-common.inc
18include disable-devel.inc
19include disable-exec.inc
20include disable-interpreters.inc
21include disable-passwdmgr.inc
22# include disable-programs.inc
23
24apparmor
25caps.drop all
26machine-id
27# net none
28netfilter
29no3d
30# nodbus
31nodvd
32nogroups
33nonewprivs
34noroot
35nosound
36notv
37nou2f
38novideo
39protocol unix
40seccomp
41shell none
42
43# private-bin kbuildsycoca4,kdeinit4,kfind
44private-dev
45private-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
315keepassxc 315keepassxc
316keepassxc-cli 316keepassxc-cli
317keepassxc-proxy 317keepassxc-proxy
318# kfind
318kget 319kget
319kid3 320kid3
320kid3-cli 321kid3-cli