diff options
author | 2018-10-11 08:26:01 -0500 | |
---|---|---|
committer | 2018-10-11 08:26:01 -0500 | |
commit | 527b6664aa4e5ca36401501192ddb83f4a0ab675 (patch) | |
tree | b6cb4091199090b91d371c2b148da90e0766237f | |
parent | Merge pull request #2161 from glitsj16/file (diff) | |
parent | Rename QMediathekView to QMediathekView.profile (diff) | |
download | firejail-527b6664aa4e5ca36401501192ddb83f4a0ab675.tar.gz firejail-527b6664aa4e5ca36401501192ddb83f4a0ab675.tar.zst firejail-527b6664aa4e5ca36401501192ddb83f4a0ab675.zip |
Merge pull request #2162 from glitsj16/QMediathekView
new profile QMediathekView
-rw-r--r-- | etc/QMediathekView.profile | 54 | ||||
-rw-r--r-- | etc/disable-programs.inc | 2 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 57 insertions, 0 deletions
diff --git a/etc/QMediathekView.profile b/etc/QMediathekView.profile new file mode 100644 index 000000000..558f62f0e --- /dev/null +++ b/etc/QMediathekView.profile | |||
@@ -0,0 +1,54 @@ | |||
1 | # Firejail profile for QMediathekView | ||
2 | # Description: Search, download or stream files from mediathek.de | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include /etc/firejail/QMediathekView.local | ||
6 | # Persistent global definitions | ||
7 | include /etc/firejail/globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/QMediathekView | ||
10 | noblacklist ${HOME}/.local/share/QMediathekView | ||
11 | |||
12 | noblacklist ${HOME}/.config/mpv | ||
13 | noblacklist ${HOME}/.config/smplayer | ||
14 | noblacklist ${HOME}/.config/totem | ||
15 | noblacklist ${HOME}/.config/vlc | ||
16 | noblacklist ${HOME}/.config/xplayer | ||
17 | noblacklist ${HOME}/.local/share/totem | ||
18 | noblacklist ${HOME}/.local/share/xplayer | ||
19 | noblacklist ${HOME}/.mplayer | ||
20 | |||
21 | include /etc/firejail/disable-common.inc | ||
22 | include /etc/firejail/disable-devel.inc | ||
23 | include /etc/firejail/disable-interpreters.inc | ||
24 | include /etc/firejail/disable-passwdmgr.inc | ||
25 | include /etc/firejail/disable-programs.inc | ||
26 | |||
27 | include /etc/firejail/whitelist-var-common.inc | ||
28 | |||
29 | caps.drop all | ||
30 | netfilter | ||
31 | # no3d | ||
32 | # nodbus | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | notv | ||
38 | nou2f | ||
39 | protocol unix,inet,inet6 | ||
40 | seccomp | ||
41 | shell none | ||
42 | tracelog | ||
43 | |||
44 | disable-mnt | ||
45 | private-bin QMediathekView,mplayer,mpv,smplayer,totem,vlc,xplayer | ||
46 | private-cache | ||
47 | private-dev | ||
48 | # private-etc none | ||
49 | # private-lib | ||
50 | private-tmp | ||
51 | |||
52 | # memory-deny-write-execute - breaks on Arch | ||
53 | noexec ${HOME} | ||
54 | noexec /tmp | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 1213e4f24..15499930d 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -70,6 +70,7 @@ blacklist ${HOME}/.config/MuseScore | |||
70 | blacklist ${HOME}/.config/MusicBrainz | 70 | blacklist ${HOME}/.config/MusicBrainz |
71 | blacklist ${HOME}/.config/Nylas Mail | 71 | blacklist ${HOME}/.config/Nylas Mail |
72 | blacklist ${HOME}/.config/Qlipper | 72 | blacklist ${HOME}/.config/Qlipper |
73 | blacklist ${HOME}/.config/QMediathekView | ||
73 | blacklist ${HOME}/.config/QuiteRss | 74 | blacklist ${HOME}/.config/QuiteRss |
74 | blacklist ${HOME}/.config/QuiteRssrc | 75 | blacklist ${HOME}/.config/QuiteRssrc |
75 | blacklist ${HOME}/.config/Rambox | 76 | blacklist ${HOME}/.config/Rambox |
@@ -360,6 +361,7 @@ blacklist ${HOME}/.local/share/3909/PapersPlease | |||
360 | blacklist ${HOME}/.local/share/Empathy | 361 | blacklist ${HOME}/.local/share/Empathy |
361 | blacklist ${HOME}/.local/share/JetBrains | 362 | blacklist ${HOME}/.local/share/JetBrains |
362 | blacklist ${HOME}/.local/share/Mumble | 363 | blacklist ${HOME}/.local/share/Mumble |
364 | blacklist ${HOME}/.local/share/QMediathekView | ||
363 | blacklist ${HOME}/.local/share/QuiteRss | 365 | blacklist ${HOME}/.local/share/QuiteRss |
364 | blacklist ${HOME}/.local/share/Ricochet | 366 | blacklist ${HOME}/.local/share/Ricochet |
365 | blacklist ${HOME}/.local/share/Steam | 367 | blacklist ${HOME}/.local/share/Steam |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 746c70c53..1146e2d13 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -13,6 +13,7 @@ Fritzing | |||
13 | JDownloader | 13 | JDownloader |
14 | Mathematica | 14 | Mathematica |
15 | Natron | 15 | Natron |
16 | QMediathekView | ||
16 | Telegram | 17 | Telegram |
17 | Viber | 18 | Viber |
18 | VirtualBox | 19 | VirtualBox |