aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-04-13 17:39:20 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-04-13 17:39:20 +0200
commit2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b (patch)
tree3b61d1a87a2e89a3a301167d58c39080e47630e4
parentmisc fixes (diff)
downloadfirejail-2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b.tar.gz
firejail-2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b.tar.zst
firejail-2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b.zip
add sthortwave (#1139) and remove gjs from firecf…
…g.config (#3333).
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/shortwave.profile50
-rw-r--r--etc/templates/profile.template2
-rw-r--r--src/firecfg/firecfg.config3
4 files changed, 55 insertions, 2 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index a0670df80..6a50f8561 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -501,6 +501,7 @@ blacklist ${HOME}/.local/share/QGIS
501blacklist ${HOME}/.local/share/QMediathekView 501blacklist ${HOME}/.local/share/QMediathekView
502blacklist ${HOME}/.local/share/QuiteRss 502blacklist ${HOME}/.local/share/QuiteRss
503blacklist ${HOME}/.local/share/Ricochet 503blacklist ${HOME}/.local/share/Ricochet
504blacklist ${HOME}/.local/share/Shortwave
504blacklist ${HOME}/.local/share/Steam 505blacklist ${HOME}/.local/share/Steam
505blacklist ${HOME}/.local/share/SuperHexagon 506blacklist ${HOME}/.local/share/SuperHexagon
506blacklist ${HOME}/.local/share/TelegramDesktop 507blacklist ${HOME}/.local/share/TelegramDesktop
@@ -758,6 +759,7 @@ blacklist ${HOME}/.cache/Franz
758blacklist ${HOME}/.cache/INRIA 759blacklist ${HOME}/.cache/INRIA
759blacklist ${HOME}/.cache/MusicBrainz 760blacklist ${HOME}/.cache/MusicBrainz
760blacklist ${HOME}/.cache/QuiteRss 761blacklist ${HOME}/.cache/QuiteRss
762blacklist ${HOME}/.cache/Shortwave
761blacklist ${HOME}/.cache/Tox 763blacklist ${HOME}/.cache/Tox
762blacklist ${HOME}/.cache/Zeal 764blacklist ${HOME}/.cache/Zeal
763blacklist ${HOME}/.cache/agenda 765blacklist ${HOME}/.cache/agenda
diff --git a/etc/shortwave.profile b/etc/shortwave.profile
new file mode 100644
index 000000000..ee2314833
--- /dev/null
+++ b/etc/shortwave.profile
@@ -0,0 +1,50 @@
1# Firejail profile for shortwave
2# Description: Listen to internet radio
3# This file is overwritten after every install/update
4# Persistent local customizations
5include shortwave.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/Shortwave
10noblacklist ${HOME}/.local/share/Shortwave
11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-passwdmgr.inc
17include disable-programs.inc
18include disable-xdg.inc
19
20mkdir ${HOME}/.cache/Shortwave
21mkdir ${HOME}/.local/share/Shortwave
22whitelist ${HOME}/.cache/Shortwave
23whitelist ${HOME}/.local/share/Shortwave
24whitelist /usr/share/shortwave
25include whitelist-common.inc
26include whitelist-runuser-common.inc
27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc
29
30apparmor
31caps.drop all
32netfilter
33nodvd
34nogroups
35nonewprivs
36noroot
37notv
38nou2f
39novideo
40protocol unix,inet,inet6
41seccomp
42shell none
43tracelog
44
45disable-mnt
46private-bin shortwave
47private-cache
48private-dev
49private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gconf,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,ssl,X11,xdg
50private-tmp
diff --git a/etc/templates/profile.template b/etc/templates/profile.template
index b3ebd4996..d339ce476 100644
--- a/etc/templates/profile.template
+++ b/etc/templates/profile.template
@@ -119,7 +119,7 @@ include globals.local
119##mkfile PATH 119##mkfile PATH
120#whitelist PATH 120#whitelist PATH
121#include whitelist-common.inc 121#include whitelist-common.inc
122#GTK3 only: include whitelist-runuser-common.inc 122#include whitelist-runuser-common.inc
123#include whitelist-usr-share-common.inc 123#include whitelist-usr-share-common.inc
124#include whitelist-var-common.inc 124#include whitelist-var-common.inc
125 125
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 2e8e05f8f..a19819552 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -258,7 +258,7 @@ gist-paste
258gitg 258gitg
259github-desktop 259github-desktop
260gitter 260gitter
261gjs 261# gjs -- https://github.com/netblue30/firejail/issues/3333#issuecomment-612601102
262globaltime 262globaltime
263gmpc 263gmpc
264gnome-2048 264gnome-2048
@@ -601,6 +601,7 @@ seamonkey
601seamonkey-bin 601seamonkey-bin
602secret-tool 602secret-tool
603shellcheck 603shellcheck
604shortwave
604shotcut 605shotcut
605signal-cli 606signal-cli
606signal-desktop 607signal-desktop