aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-04-19 18:59:11 +0000
committerLibravatar GitHub <noreply@github.com>2023-04-19 18:59:11 +0000
commit0e8fcda85cbec0aae5b846323632120a8a22055f (patch)
tree3f1e5c3faa22ab3fe12c32e395de26b1dfd7a1bb /etc/profile-m-z
parentNew profile: url-eater (#5780) (diff)
parentyoutube-viewers: refactor and add gtk-youtube-viewers-common (diff)
downloadfirejail-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')
-rw-r--r--etc/profile-m-z/pipe-viewer.profile2
-rw-r--r--etc/profile-m-z/straw-viewer.profile2
-rw-r--r--etc/profile-m-z/youtube-viewer.profile2
-rw-r--r--etc/profile-m-z/youtube-viewers-common.profile15
4 files changed, 7 insertions, 14 deletions
diff --git a/etc/profile-m-z/pipe-viewer.profile b/etc/profile-m-z/pipe-viewer.profile
index 3de064311..77393274e 100644
--- a/etc/profile-m-z/pipe-viewer.profile
+++ b/etc/profile-m-z/pipe-viewer.profile
@@ -15,7 +15,7 @@ mkdir ${HOME}/.cache/pipe-viewer
15whitelist ${HOME}/.cache/pipe-viewer 15whitelist ${HOME}/.cache/pipe-viewer
16whitelist ${HOME}/.config/pipe-viewer 16whitelist ${HOME}/.config/pipe-viewer
17 17
18private-bin gtk-pipe-viewer,pipe-viewer 18private-bin pipe-viewer
19 19
20# Redirect 20# Redirect
21include youtube-viewers-common.profile 21include youtube-viewers-common.profile
diff --git a/etc/profile-m-z/straw-viewer.profile b/etc/profile-m-z/straw-viewer.profile
index 513abc21b..48f83fabc 100644
--- a/etc/profile-m-z/straw-viewer.profile
+++ b/etc/profile-m-z/straw-viewer.profile
@@ -15,7 +15,7 @@ mkdir ${HOME}/.cache/straw-viewer
15whitelist ${HOME}/.cache/straw-viewer 15whitelist ${HOME}/.cache/straw-viewer
16whitelist ${HOME}/.config/straw-viewer 16whitelist ${HOME}/.config/straw-viewer
17 17
18private-bin gtk-straw-viewer,straw-viewer 18private-bin straw-viewer
19 19
20# Redirect 20# Redirect
21include youtube-viewers-common.profile 21include youtube-viewers-common.profile
diff --git a/etc/profile-m-z/youtube-viewer.profile b/etc/profile-m-z/youtube-viewer.profile
index 825599fcc..4a0e26540 100644
--- a/etc/profile-m-z/youtube-viewer.profile
+++ b/etc/profile-m-z/youtube-viewer.profile
@@ -15,7 +15,7 @@ mkdir ${HOME}/.config/youtube-viewer
15whitelist ${HOME}/.cache/youtube-viewer 15whitelist ${HOME}/.cache/youtube-viewer
16whitelist ${HOME}/.config/youtube-viewer 16whitelist ${HOME}/.config/youtube-viewer
17 17
18private-bin gtk-youtube-viewer,gtk2-youtube-viewer,gtk3-youtube-viewer,youtube-viewer 18private-bin youtube-viewer
19 19
20# Redirect 20# Redirect
21include youtube-viewers-common.profile 21include youtube-viewers-common.profile
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