summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-07-06 23:35:40 +0000
committerLibravatar GitHub <noreply@github.com>2019-07-06 23:35:40 +0000
commit0dffeb15b650a113643aa0d632ffae59379fe12e (patch)
treefa7351d5de0f3fe6ce86a9b565b628ef411de5a5
parentmpg123 (diff)
downloadfirejail-0dffeb15b650a113643aa0d632ffae59379fe12e.tar.gz
firejail-0dffeb15b650a113643aa0d632ffae59379fe12e.tar.zst
firejail-0dffeb15b650a113643aa0d632ffae59379fe12e.zip
Add youtube-dl config handling (#2836)
* Add youtube-dl config to disable-programs.inc * Add config handling to youtube-dl * Add youtube-dl config handling to celluloid.profile * Add youtube-dl config handling to mpv.profile * Add youtube-dl config handling to smplayer.profile * Add youtube-dl config handling to mpsyt.profile
-rw-r--r--etc/celluloid.profile3
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/mpsyt.profile3
-rw-r--r--etc/mpv.profile1
-rw-r--r--etc/smplayer.profile1
-rw-r--r--etc/youtube-dl.profile1
6 files changed, 9 insertions, 1 deletions
diff --git a/etc/celluloid.profile b/etc/celluloid.profile
index 89543d6cc..6b7db6b44 100644
--- a/etc/celluloid.profile
+++ b/etc/celluloid.profile
@@ -6,8 +6,9 @@ include celluloid.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.config/gnome-mpv
10noblacklist ${HOME}/.config/celluloid 9noblacklist ${HOME}/.config/celluloid
10noblacklist ${HOME}/.config/gnome-mpv
11noblacklist ${HOME}/.config/youtube-dl
11noblacklist ${MUSIC} 12noblacklist ${MUSIC}
12noblacklist ${VIDEOS} 13noblacklist ${VIDEOS}
13 14
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 3e6706101..c061e94a2 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -319,6 +319,7 @@ blacklist ${HOME}/.config/xviewer
319blacklist ${HOME}/.config/yandex-browser 319blacklist ${HOME}/.config/yandex-browser
320blacklist ${HOME}/.config/yandex-browser-beta 320blacklist ${HOME}/.config/yandex-browser-beta
321blacklist ${HOME}/.config/yelp 321blacklist ${HOME}/.config/yelp
322blacklist ${HOME}/.config/youtube-dl
322blacklist ${HOME}/.config/zathura 323blacklist ${HOME}/.config/zathura
323blacklist ${HOME}/.config/zoomus.conf 324blacklist ${HOME}/.config/zoomus.conf
324blacklist ${HOME}/.conkeror.mozdev.org 325blacklist ${HOME}/.conkeror.mozdev.org
diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile
index f0309da9a..878a5f654 100644
--- a/etc/mpsyt.profile
+++ b/etc/mpsyt.profile
@@ -8,6 +8,7 @@ include globals.local
8 8
9noblacklist ${HOME}/.config/mps-youtube 9noblacklist ${HOME}/.config/mps-youtube
10noblacklist ${HOME}/.config/mpv 10noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.config/youtube-dl
11noblacklist ${HOME}/.mplayer 12noblacklist ${HOME}/.mplayer
12noblacklist ${HOME}/.netrc 13noblacklist ${HOME}/.netrc
13noblacklist ${HOME}/mps 14noblacklist ${HOME}/mps
@@ -29,10 +30,12 @@ include disable-xdg.inc
29 30
30mkdir ${HOME}/.config/mps-youtube 31mkdir ${HOME}/.config/mps-youtube
31mkdir ${HOME}/.config/mpv 32mkdir ${HOME}/.config/mpv
33mkdir ${HOME}/.config/youtube-dl
32mkdir ${HOME}/.mplayer 34mkdir ${HOME}/.mplayer
33mkdir ${HOME}/mps 35mkdir ${HOME}/mps
34whitelist ${HOME}/.config/mps-youtube 36whitelist ${HOME}/.config/mps-youtube
35whitelist ${HOME}/.config/mpv 37whitelist ${HOME}/.config/mpv
38whitelist ${HOME}/.config/youtube-dl
36whitelist ${HOME}/.mplayer 39whitelist ${HOME}/.mplayer
37whitelist ${HOME}/.netrc 40whitelist ${HOME}/.netrc
38whitelist ${HOME}/mps 41whitelist ${HOME}/mps
diff --git a/etc/mpv.profile b/etc/mpv.profile
index 07a6ba42b..25769085c 100644
--- a/etc/mpv.profile
+++ b/etc/mpv.profile
@@ -8,6 +8,7 @@ include mpv.local
8include globals.local 8include globals.local
9 9
10noblacklist ${HOME}/.config/mpv 10noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.config/youtube-dl
11noblacklist ${HOME}/.netrc 12noblacklist ${HOME}/.netrc
12 13
13# Allow python (blacklisted by disable-interpreters.inc) 14# Allow python (blacklisted by disable-interpreters.inc)
diff --git a/etc/smplayer.profile b/etc/smplayer.profile
index f83caee8a..c7324e6ca 100644
--- a/etc/smplayer.profile
+++ b/etc/smplayer.profile
@@ -7,6 +7,7 @@ include smplayer.local
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.config/smplayer 9noblacklist ${HOME}/.config/smplayer
10noblacklist ${HOME}/.config/youtube-dl
10noblacklist ${HOME}/.mplayer 11noblacklist ${HOME}/.mplayer
11 12
12# Allow python (blacklisted by disable-interpreters.inc) 13# Allow python (blacklisted by disable-interpreters.inc)
diff --git a/etc/youtube-dl.profile b/etc/youtube-dl.profile
index 28b5f2376..a9acd4583 100644
--- a/etc/youtube-dl.profile
+++ b/etc/youtube-dl.profile
@@ -10,6 +10,7 @@ include globals.local
10# breaks when installed via pip 10# breaks when installed via pip
11ignore noexec ${HOME} 11ignore noexec ${HOME}
12 12
13noblacklist ${HOME}/.config/youtube-dl
13noblacklist ${HOME}/.netrc 14noblacklist ${HOME}/.netrc
14noblacklist ${MUSIC} 15noblacklist ${MUSIC}
15noblacklist ${VIDEOS} 16noblacklist ${VIDEOS}