aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/youtube-viewers-common.profile
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <>2023-04-16 00:06:28 +0200
committerLibravatar pirate486743186 <>2023-04-16 00:06:28 +0200
commit99898db8fc47b951ba0e8efdc61299be72aaa3c6 (patch)
treea7861f7a18b6ca8ff498f426ac3f129fe394c6be /etc/profile-m-z/youtube-viewers-common.profile
parentMerge pull request #5777 from hotcapy/patch-1 (diff)
downloadfirejail-99898db8fc47b951ba0e8efdc61299be72aaa3c6.tar.gz
firejail-99898db8fc47b951ba0e8efdc61299be72aaa3c6.tar.zst
firejail-99898db8fc47b951ba0e8efdc61299be72aaa3c6.zip
youtube-viewers: refactor and add gtk-youtube-viewers-common
Diffstat (limited to 'etc/profile-m-z/youtube-viewers-common.profile')
-rw-r--r--etc/profile-m-z/youtube-viewers-common.profile15
1 files changed, 4 insertions, 11 deletions
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile
index d2b73ec4c..c9d2ea53b 100644
--- a/etc/profile-m-z/youtube-viewers-common.profile
+++ b/etc/profile-m-z/youtube-viewers-common.profile
@@ -8,6 +8,7 @@ include youtube-viewers-common.local
8#include globals.local 8#include globals.local
9 9
10noblacklist ${HOME}/.cache/youtube-dl 10noblacklist ${HOME}/.cache/youtube-dl
11noblacklist ${HOME}/.config/mpv
11 12
12# Allow lua (blacklisted by disable-interpreters.inc) 13# Allow lua (blacklisted by disable-interpreters.inc)
13include allow-lua.inc 14include allow-lua.inc
@@ -19,12 +20,6 @@ include allow-perl.inc
19include allow-python2.inc 20include allow-python2.inc
20include allow-python3.inc 21include allow-python3.inc
21 22
22# The lines below are needed to find the default Firefox profile name, to allow
23# opening links in an existing instance of Firefox (note that it still fails if
24# there isn't a Firefox instance running with the default profile; see #5352)
25noblacklist ${HOME}/.mozilla
26whitelist ${HOME}/.mozilla/firefox/profiles.ini
27
28include disable-common.inc 23include disable-common.inc
29include disable-devel.inc 24include disable-devel.inc
30include disable-exec.inc 25include disable-exec.inc
@@ -34,7 +29,9 @@ include disable-xdg.inc
34 29
35whitelist ${DOWNLOADS} 30whitelist ${DOWNLOADS}
36whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs 31whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
32whitelist ${HOME}/.config/mpv
37include whitelist-common.inc 33include whitelist-common.inc
34include whitelist-run-common.inc
38include whitelist-runuser-common.inc 35include whitelist-runuser-common.inc
39include whitelist-usr-share-common.inc 36include whitelist-usr-share-common.inc
40include whitelist-var-common.inc 37include whitelist-var-common.inc
@@ -55,16 +52,12 @@ seccomp
55tracelog 52tracelog
56 53
57disable-mnt 54disable-mnt
58private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,wget2,which,xterm,youtube-dl,yt-dlp 55private-bin bash,ffmpeg,ffprobe,mpv,perl,python*,sh,smplayer,stty,wget,wget2,which,youtube-dl,yt-dlp
59private-cache 56private-cache
60private-dev 57private-dev
61private-etc @tls-ca,@x11,host.conf,mime.types 58private-etc @tls-ca,@x11,host.conf,mime.types
62private-tmp 59private-tmp
63 60
64dbus-user filter
65# allow D-Bus communication with firefox for opening links
66dbus-user.talk org.mozilla.*
67
68dbus-system none 61dbus-system none
69 62
70restrict-namespaces 63restrict-namespaces