aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-10-12 19:55:55 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2018-10-12 19:55:55 +0200
commitbcf53870f3dab1d1a813337886bd0965976875bd (patch)
treebb6017c2bf2574690ceae4fd6da3238632261810 /etc
parentclean homedir pathname (diff)
downloadfirejail-bcf53870f3dab1d1a813337886bd0965976875bd.tar.gz
firejail-bcf53870f3dab1d1a813337886bd0965976875bd.tar.zst
firejail-bcf53870f3dab1d1a813337886bd0965976875bd.zip
consolidate cloud blacklisting, alphabetize, other nitpicks
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-common.inc18
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/krunner.profile4
3 files changed, 13 insertions, 11 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index 0f6e6bd19..ceca17826 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -317,9 +317,11 @@ blacklist /var/backup
317# cloud provider configuration 317# cloud provider configuration
318blacklist ${HOME}/.aws 318blacklist ${HOME}/.aws
319blacklist ${HOME}/.boto 319blacklist ${HOME}/.boto
320blacklist /etc/boto.cfg
321blacklist ${HOME}/.config/gcloud 320blacklist ${HOME}/.config/gcloud
322blacklist ${HOME}/.kube 321blacklist ${HOME}/.kube
322blacklist ${HOME}/.passwd-s3fs
323blacklist ${HOME}/.s3cmd
324blacklist /etc/boto.cfg
323 325
324# system directories 326# system directories
325blacklist /sbin 327blacklist /sbin
@@ -391,14 +393,14 @@ blacklist /vmlinuz*
391# snapshot files 393# snapshot files
392blacklist /.snapshots 394blacklist /.snapshots
393 395
394# complement noexec ${HOME} and noexec /tmp
395noexec /tmp/.X11-unix
396
397# flatpak 396# flatpak
398blacklist ${HOME}/*.config/flatpak 397blacklist ${HOME}/.config/flatpak
399blacklist ${HOME}/*.var 398blacklist ${HOME}/.local/share/flatpak
400blacklist ${HOME}/*.local/share/flatpak 399blacklist ${HOME}/.var
401blacklist /var/lib/flatpak
402blacklist /usr/share/flatpak 400blacklist /usr/share/flatpak
401blacklist /var/lib/flatpak
403# most of the time bwrap is SUID binary 402# most of the time bwrap is SUID binary
404blacklist ${PATH}/bwrap 403blacklist ${PATH}/bwrap
404
405# complement noexec ${HOME} and noexec /tmp
406noexec /tmp/.X11-unix
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 6fa0eed26..251362b77 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -478,7 +478,6 @@ blacklist ${HOME}/.openshot
478blacklist ${HOME}/.openshot_qt 478blacklist ${HOME}/.openshot_qt
479blacklist ${HOME}/.opera 479blacklist ${HOME}/.opera
480blacklist ${HOME}/.opera-beta 480blacklist ${HOME}/.opera-beta
481blacklist ${HOME}/.passwd-s3fs
482blacklist ${HOME}/.pingus 481blacklist ${HOME}/.pingus
483blacklist ${HOME}/.purple 482blacklist ${HOME}/.purple
484blacklist ${HOME}/.qemu-launcher 483blacklist ${HOME}/.qemu-launcher
@@ -488,7 +487,6 @@ blacklist ${HOME}/.remmina
488blacklist ${HOME}/.repo_.gitconfig.json 487blacklist ${HOME}/.repo_.gitconfig.json
489blacklist ${HOME}/.repoconfig 488blacklist ${HOME}/.repoconfig
490blacklist ${HOME}/.retroshare 489blacklist ${HOME}/.retroshare
491blacklist ${HOME}/.s3cmd
492blacklist ${HOME}/.scribus 490blacklist ${HOME}/.scribus
493blacklist ${HOME}/.scribusrc 491blacklist ${HOME}/.scribusrc
494blacklist ${HOME}/.simutrans 492blacklist ${HOME}/.simutrans
diff --git a/etc/krunner.profile b/etc/krunner.profile
index 6b84e2c7c..0b1b9e5de 100644
--- a/etc/krunner.profile
+++ b/etc/krunner.profile
@@ -11,7 +11,7 @@ include /etc/firejail/globals.local
11# with its own profile, if it is sandboxed automatically. 11# with its own profile, if it is sandboxed automatically.
12 12
13# noblacklist ${HOME}/.cache/krunner 13# noblacklist ${HOME}/.cache/krunner
14# noblacklist ${HOME}/.cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite 14# noblacklist ${HOME}/.cache/krunnerbookmarkrunnerfirefoxdbfile.sqlite*
15# noblacklist ${HOME}/.config/chromium 15# noblacklist ${HOME}/.config/chromium
16noblacklist ${HOME}/.config/krunnerrc 16noblacklist ${HOME}/.config/krunnerrc
17noblacklist ${HOME}/.kde/share/config/krunnerrc 17noblacklist ${HOME}/.kde/share/config/krunnerrc
@@ -34,3 +34,5 @@ nonewprivs
34noroot 34noroot
35protocol unix,inet,inet6 35protocol unix,inet,inet6
36seccomp 36seccomp
37
38# private-cache