diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-19 18:59:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 18:59:11 +0000 |
commit | 0e8fcda85cbec0aae5b846323632120a8a22055f (patch) | |
tree | 3f1e5c3faa22ab3fe12c32e395de26b1dfd7a1bb /etc/profile-m-z/youtube-viewers-common.profile | |
parent | New profile: url-eater (#5780) (diff) | |
parent | youtube-viewers: refactor and add gtk-youtube-viewers-common (diff) | |
download | firejail-0e8fcda85cbec0aae5b846323632120a8a22055f.tar.gz firejail-0e8fcda85cbec0aae5b846323632120a8a22055f.tar.zst firejail-0e8fcda85cbec0aae5b846323632120a8a22055f.zip |
Merge pull request #5722 from pirate486743186/youtube-viewers
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.profile | 15 |
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 | ||
10 | noblacklist ${HOME}/.cache/youtube-dl | 10 | noblacklist ${HOME}/.cache/youtube-dl |
11 | noblacklist ${HOME}/.config/mpv | ||
11 | 12 | ||
12 | # Allow lua (blacklisted by disable-interpreters.inc) | 13 | # Allow lua (blacklisted by disable-interpreters.inc) |
13 | include allow-lua.inc | 14 | include allow-lua.inc |
@@ -19,12 +20,6 @@ include allow-perl.inc | |||
19 | include allow-python2.inc | 20 | include allow-python2.inc |
20 | include allow-python3.inc | 21 | include 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) | ||
25 | noblacklist ${HOME}/.mozilla | ||
26 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
27 | |||
28 | include disable-common.inc | 23 | include disable-common.inc |
29 | include disable-devel.inc | 24 | include disable-devel.inc |
30 | include disable-exec.inc | 25 | include disable-exec.inc |
@@ -34,7 +29,9 @@ include disable-xdg.inc | |||
34 | 29 | ||
35 | whitelist ${DOWNLOADS} | 30 | whitelist ${DOWNLOADS} |
36 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs | 31 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs |
32 | whitelist ${HOME}/.config/mpv | ||
37 | include whitelist-common.inc | 33 | include whitelist-common.inc |
34 | include whitelist-run-common.inc | ||
38 | include whitelist-runuser-common.inc | 35 | include whitelist-runuser-common.inc |
39 | include whitelist-usr-share-common.inc | 36 | include whitelist-usr-share-common.inc |
40 | include whitelist-var-common.inc | 37 | include whitelist-var-common.inc |
@@ -55,16 +52,12 @@ seccomp | |||
55 | tracelog | 52 | tracelog |
56 | 53 | ||
57 | disable-mnt | 54 | disable-mnt |
58 | private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,wget2,which,xterm,youtube-dl,yt-dlp | 55 | private-bin bash,ffmpeg,ffprobe,mpv,perl,python*,sh,smplayer,stty,wget,wget2,which,youtube-dl,yt-dlp |
59 | private-cache | 56 | private-cache |
60 | private-dev | 57 | private-dev |
61 | private-etc @tls-ca,@x11,host.conf,mime.types | 58 | private-etc @tls-ca,@x11,host.conf,mime.types |
62 | private-tmp | 59 | private-tmp |
63 | 60 | ||
64 | dbus-user filter | ||
65 | # allow D-Bus communication with firefox for opening links | ||
66 | dbus-user.talk org.mozilla.* | ||
67 | |||
68 | dbus-system none | 61 | dbus-system none |
69 | 62 | ||
70 | restrict-namespaces | 63 | restrict-namespaces |