diff options
author | 2020-04-13 17:39:20 +0200 | |
---|---|---|
committer | 2020-04-13 17:39:20 +0200 | |
commit | 2cbdc4399a2a98ee6822ea2512eaaee0c39dac5b (patch) | |
tree | 3b61d1a87a2e89a3a301167d58c39080e47630e4 | |
parent | misc fixes (diff) | |
download | firejail-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.inc | 2 | ||||
-rw-r--r-- | etc/shortwave.profile | 50 | ||||
-rw-r--r-- | etc/templates/profile.template | 2 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 3 |
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 | |||
501 | blacklist ${HOME}/.local/share/QMediathekView | 501 | blacklist ${HOME}/.local/share/QMediathekView |
502 | blacklist ${HOME}/.local/share/QuiteRss | 502 | blacklist ${HOME}/.local/share/QuiteRss |
503 | blacklist ${HOME}/.local/share/Ricochet | 503 | blacklist ${HOME}/.local/share/Ricochet |
504 | blacklist ${HOME}/.local/share/Shortwave | ||
504 | blacklist ${HOME}/.local/share/Steam | 505 | blacklist ${HOME}/.local/share/Steam |
505 | blacklist ${HOME}/.local/share/SuperHexagon | 506 | blacklist ${HOME}/.local/share/SuperHexagon |
506 | blacklist ${HOME}/.local/share/TelegramDesktop | 507 | blacklist ${HOME}/.local/share/TelegramDesktop |
@@ -758,6 +759,7 @@ blacklist ${HOME}/.cache/Franz | |||
758 | blacklist ${HOME}/.cache/INRIA | 759 | blacklist ${HOME}/.cache/INRIA |
759 | blacklist ${HOME}/.cache/MusicBrainz | 760 | blacklist ${HOME}/.cache/MusicBrainz |
760 | blacklist ${HOME}/.cache/QuiteRss | 761 | blacklist ${HOME}/.cache/QuiteRss |
762 | blacklist ${HOME}/.cache/Shortwave | ||
761 | blacklist ${HOME}/.cache/Tox | 763 | blacklist ${HOME}/.cache/Tox |
762 | blacklist ${HOME}/.cache/Zeal | 764 | blacklist ${HOME}/.cache/Zeal |
763 | blacklist ${HOME}/.cache/agenda | 765 | blacklist ${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 | ||
5 | include shortwave.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/Shortwave | ||
10 | noblacklist ${HOME}/.local/share/Shortwave | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-xdg.inc | ||
19 | |||
20 | mkdir ${HOME}/.cache/Shortwave | ||
21 | mkdir ${HOME}/.local/share/Shortwave | ||
22 | whitelist ${HOME}/.cache/Shortwave | ||
23 | whitelist ${HOME}/.local/share/Shortwave | ||
24 | whitelist /usr/share/shortwave | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | netfilter | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | notv | ||
38 | nou2f | ||
39 | novideo | ||
40 | protocol unix,inet,inet6 | ||
41 | seccomp | ||
42 | shell none | ||
43 | tracelog | ||
44 | |||
45 | disable-mnt | ||
46 | private-bin shortwave | ||
47 | private-cache | ||
48 | private-dev | ||
49 | private-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 | ||
50 | private-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 | |||
258 | gitg | 258 | gitg |
259 | github-desktop | 259 | github-desktop |
260 | gitter | 260 | gitter |
261 | gjs | 261 | # gjs -- https://github.com/netblue30/firejail/issues/3333#issuecomment-612601102 |
262 | globaltime | 262 | globaltime |
263 | gmpc | 263 | gmpc |
264 | gnome-2048 | 264 | gnome-2048 |
@@ -601,6 +601,7 @@ seamonkey | |||
601 | seamonkey-bin | 601 | seamonkey-bin |
602 | secret-tool | 602 | secret-tool |
603 | shellcheck | 603 | shellcheck |
604 | shortwave | ||
604 | shotcut | 605 | shotcut |
605 | signal-cli | 606 | signal-cli |
606 | signal-desktop | 607 | signal-desktop |