aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2020-11-23 16:51:27 -0500
committerLibravatar Tad <tad@spotco.us>2020-11-23 16:54:37 -0500
commit096b27c6b34801feb89748639e9588a0cf478aa7 (patch)
treefa7dc852522818abc5522640f39f3e9c2bef9ab8
parentreorder disable-write-mnt.inc (diff)
downloadfirejail-096b27c6b34801feb89748639e9588a0cf478aa7.tar.gz
firejail-096b27c6b34801feb89748639e9588a0cf478aa7.tar.zst
firejail-096b27c6b34801feb89748639e9588a0cf478aa7.zip
Add a profile for Lutris
- Lutris isn't added to firecfg just yet, needs more testing - aria2c profile has a comment regarding Lutris/Winetricks, but it shouldn't matter since it can't be nested - Add commented wusc to wine.profile - Add vulkan and zenity to wusc.inc
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/inc/whitelist-usr-share-common.inc2
-rw-r--r--etc/profile-a-l/lutris.profile74
-rw-r--r--etc/profile-m-z/wine.profile3
6 files changed, 85 insertions, 2 deletions
diff --git a/README.md b/README.md
index a9a89a63c..9df16da7e 100644
--- a/README.md
+++ b/README.md
@@ -194,4 +194,4 @@ Stats:
194 194
195### New profiles: 195### New profiles:
196 196
197spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer 197spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris
diff --git a/RELNOTES b/RELNOTES
index 8662125f5..3d6fa5adb 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -4,7 +4,7 @@ firejail (0.9.65) baseline; urgency=low
4 * allow AF_BLUETOOTH via --protocol=bluetooth 4 * allow AF_BLUETOOTH via --protocol=bluetooth
5 * new profiles: spectacle, chromium-browser-privacy, gtk-straw-viewer 5 * new profiles: spectacle, chromium-browser-privacy, gtk-straw-viewer
6 * new profiles: gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer 6 * new profiles: gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer
7 * new profiles: straw-viewer 7 * new profiles: straw-viewer, lutris
8 8
9 -- netblue30 <netblue30@yahoo.com> Wed, 21 Oct 2020 09:00:00 -0500 9 -- netblue30 <netblue30@yahoo.com> Wed, 21 Oct 2020 09:00:00 -0500
10 10
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 976f988b2..942dbb2bc 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -293,6 +293,7 @@ blacklist ${HOME}/.config/libreoffice
293blacklist ${HOME}/.config/liferea 293blacklist ${HOME}/.config/liferea
294blacklist ${HOME}/.config/linphone 294blacklist ${HOME}/.config/linphone
295blacklist ${HOME}/.config/lugaru 295blacklist ${HOME}/.config/lugaru
296blacklist ${HOME}/.config/lutris
296blacklist ${HOME}/.config/lximage-qt 297blacklist ${HOME}/.config/lximage-qt
297blacklist ${HOME}/.config/mailtransports 298blacklist ${HOME}/.config/mailtransports
298blacklist ${HOME}/.local/share/man 299blacklist ${HOME}/.local/share/man
@@ -662,6 +663,7 @@ blacklist ${HOME}/.local/share/local-mail
662blacklist ${HOME}/.local/share/lollypop 663blacklist ${HOME}/.local/share/lollypop
663blacklist ${HOME}/.local/share/love 664blacklist ${HOME}/.local/share/love
664blacklist ${HOME}/.local/share/lugaru 665blacklist ${HOME}/.local/share/lugaru
666blacklist ${HOME}/.local/share/lutris
665blacklist ${HOME}/.local/share/mana 667blacklist ${HOME}/.local/share/mana
666blacklist ${HOME}/.local/share/maps-places.json 668blacklist ${HOME}/.local/share/maps-places.json
667blacklist ${HOME}/.local/share/meld 669blacklist ${HOME}/.local/share/meld
@@ -933,6 +935,7 @@ blacklist ${HOME}/.cache/kube
933blacklist ${HOME}/.cache/kwin 935blacklist ${HOME}/.cache/kwin
934blacklist ${HOME}/.cache/libgweather 936blacklist ${HOME}/.cache/libgweather
935blacklist ${HOME}/.cache/liferea 937blacklist ${HOME}/.cache/liferea
938blacklist ${HOME}/.cache/lutris
936blacklist ${HOME}/.cache/Mendeley Ltd. 939blacklist ${HOME}/.cache/Mendeley Ltd.
937blacklist ${HOME}/.cache/midori 940blacklist ${HOME}/.cache/midori
938blacklist ${HOME}/.cache/minetest 941blacklist ${HOME}/.cache/minetest
@@ -988,6 +991,7 @@ blacklist ${HOME}/.cache/vmware
988blacklist ${HOME}/.cache/warsow-2.1 991blacklist ${HOME}/.cache/warsow-2.1
989blacklist ${HOME}/.cache/waterfox 992blacklist ${HOME}/.cache/waterfox
990blacklist ${HOME}/.cache/wesnoth 993blacklist ${HOME}/.cache/wesnoth
994blacklist ${HOME}/.cache/winetricks
991blacklist ${HOME}/.cache/xmms2 995blacklist ${HOME}/.cache/xmms2
992blacklist ${HOME}/.cache/xreader 996blacklist ${HOME}/.cache/xreader
993blacklist ${HOME}/.cache/yandex-browser 997blacklist ${HOME}/.cache/yandex-browser
diff --git a/etc/inc/whitelist-usr-share-common.inc b/etc/inc/whitelist-usr-share-common.inc
index de4ae2101..785a1d7d4 100644
--- a/etc/inc/whitelist-usr-share-common.inc
+++ b/etc/inc/whitelist-usr-share-common.inc
@@ -60,6 +60,8 @@ whitelist /usr/share/texlive
60whitelist /usr/share/texmf 60whitelist /usr/share/texmf
61whitelist /usr/share/themes 61whitelist /usr/share/themes
62whitelist /usr/share/thumbnail.so 62whitelist /usr/share/thumbnail.so
63whitelist /usr/share/vulkan
63whitelist /usr/share/X11 64whitelist /usr/share/X11
64whitelist /usr/share/xml 65whitelist /usr/share/xml
66whitelist /usr/share/zenity
65whitelist /usr/share/zoneinfo 67whitelist /usr/share/zoneinfo
diff --git a/etc/profile-a-l/lutris.profile b/etc/profile-a-l/lutris.profile
new file mode 100644
index 000000000..fabf57861
--- /dev/null
+++ b/etc/profile-a-l/lutris.profile
@@ -0,0 +1,74 @@
1# Firejail profile for lutris
2# Description: Multi-library game handler with special support for Wine
3# This file is overwritten after every install/update
4# Persistent local customizations
5include lutris.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${PATH}/llvm*
10noblacklist ${HOME}/Games
11noblacklist ${HOME}/.cache/lutris
12noblacklist ${HOME}/.cache/winetricks
13noblacklist ${HOME}/.config/lutris
14noblacklist ${HOME}/.local/share/lutris
15# noblacklist ${HOME}/.wine
16noblacklist /tmp/.wine-*
17
18ignore noexec ${HOME}
19
20# Allow python (blacklisted by disable-interpreters.inc)
21include allow-python2.inc
22include allow-python3.inc
23
24include disable-common.inc
25include disable-devel.inc
26include disable-exec.inc
27include disable-interpreters.inc
28include disable-passwdmgr.inc
29include disable-programs.inc
30include disable-xdg.inc
31
32mkdir ${HOME}/Games
33mkdir ${HOME}/.cache/lutris
34mkdir ${HOME}/.cache/winetricks
35mkdir ${HOME}/.config/lutris
36mkdir ${HOME}/.local/share/lutris
37# mkdir ${HOME}/.wine
38whitelist ${HOME}/Downloads
39whitelist ${HOME}/Games
40whitelist ${HOME}/.cache/lutris
41whitelist ${HOME}/.cache/winetricks
42whitelist ${HOME}/.config/lutris
43whitelist ${HOME}/.local/share/lutris
44# whitelist ${HOME}/.wine
45whitelist /usr/share/lutris
46whitelist /usr/share/wine
47include whitelist-common.inc
48include whitelist-usr-share-common.inc
49include whitelist-runuser-common.inc
50include whitelist-var-common.inc
51
52# allow-debuggers
53# apparmor
54caps.drop all
55ipc-namespace
56# net none
57netfilter
58nodvd
59nogroups
60nonewprivs
61noroot
62notv
63nou2f
64novideo
65protocol unix,inet,inet6,netlink
66seccomp
67shell none
68
69# comment the following line if you don't need controller support
70# private-dev
71private-tmp
72
73dbus-user none
74dbus-system none
diff --git a/etc/profile-m-z/wine.profile b/etc/profile-m-z/wine.profile
index 901340052..6ac74b9da 100644
--- a/etc/profile-m-z/wine.profile
+++ b/etc/profile-m-z/wine.profile
@@ -6,6 +6,7 @@ include wine.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.cache/winetricks
9noblacklist ${HOME}/.Steam 10noblacklist ${HOME}/.Steam
10noblacklist ${HOME}/.local/share/Steam 11noblacklist ${HOME}/.local/share/Steam
11noblacklist ${HOME}/.local/share/steam 12noblacklist ${HOME}/.local/share/steam
@@ -19,6 +20,8 @@ include disable-interpreters.inc
19include disable-passwdmgr.inc 20include disable-passwdmgr.inc
20include disable-programs.inc 21include disable-programs.inc
21 22
23# whitelist /usr/share/wine
24# include whitelist-usr-share-common.inc
22include whitelist-var-common.inc 25include whitelist-var-common.inc
23 26
24# some applications don't need allow-debuggers, comment the next line 27# some applications don't need allow-debuggers, comment the next line