aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/youtube-viewers-common.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/youtube-viewers-common.profile')
-rw-r--r--etc/profile-m-z/youtube-viewers-common.profile16
1 files changed, 4 insertions, 12 deletions
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile
index 9ef90eb92..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,13 +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
27read-only ${HOME}/.mozilla/firefox/profiles.ini
28
29include disable-common.inc 23include disable-common.inc
30include disable-devel.inc 24include disable-devel.inc
31include disable-exec.inc 25include disable-exec.inc
@@ -35,7 +29,9 @@ include disable-xdg.inc
35 29
36whitelist ${DOWNLOADS} 30whitelist ${DOWNLOADS}
37whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs 31whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
32whitelist ${HOME}/.config/mpv
38include whitelist-common.inc 33include whitelist-common.inc
34include whitelist-run-common.inc
39include whitelist-runuser-common.inc 35include whitelist-runuser-common.inc
40include whitelist-usr-share-common.inc 36include whitelist-usr-share-common.inc
41include whitelist-var-common.inc 37include whitelist-var-common.inc
@@ -56,16 +52,12 @@ seccomp
56tracelog 52tracelog
57 53
58disable-mnt 54disable-mnt
59private-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
60private-cache 56private-cache
61private-dev 57private-dev
62private-etc @tls-ca,@x11,host.conf,mime.types 58private-etc @tls-ca,@x11,host.conf,mime.types
63private-tmp 59private-tmp
64 60
65dbus-user filter
66# allow D-Bus communication with firefox for opening links
67dbus-user.talk org.mozilla.*
68
69dbus-system none 61dbus-system none
70 62
71restrict-namespaces 63restrict-namespaces