aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/steam.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/steam.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/steam.profile')
-rw-r--r--etc/profile-m-z/steam.profile112
1 files changed, 112 insertions, 0 deletions
diff --git a/etc/profile-m-z/steam.profile b/etc/profile-m-z/steam.profile
new file mode 100644
index 000000000..2463764a7
--- /dev/null
+++ b/etc/profile-m-z/steam.profile
@@ -0,0 +1,112 @@
1# Firejail profile for steam
2# Description: Valve's Steam digital software delivery system
3# This file is overwritten after every install/update
4# Persistent local customizations
5include steam.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.killingfloor
10noblacklist ${HOME}/.local/share/3909/PapersPlease
11noblacklist ${HOME}/.local/share/aspyr-media
12noblacklist ${HOME}/.local/share/cdprojektred
13noblacklist ${HOME}/.local/share/feral-interactive
14noblacklist ${HOME}/.local/share/Steam
15noblacklist ${HOME}/.local/share/SuperHexagon
16noblacklist ${HOME}/.local/share/Terraria
17noblacklist ${HOME}/.local/share/vpltd
18noblacklist ${HOME}/.local/share/vulkan
19noblacklist ${HOME}/.steam
20noblacklist ${HOME}/.steampath
21noblacklist ${HOME}/.steampid
22# needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work
23noblacklist /sbin
24noblacklist /usr/sbin
25
26# Allow java (blacklisted by disable-devel.inc)
27include allow-java.inc
28
29# Allow python (blacklisted by disable-interpreters.inc)
30include allow-python2.inc
31include allow-python3.inc
32
33include disable-common.inc
34include disable-devel.inc
35include disable-interpreters.inc
36include disable-passwdmgr.inc
37include disable-programs.inc
38
39mkdir ${HOME}/.config/unity3d
40mkdir ${HOME}/.killingfloor
41mkdir ${HOME}/.local/share/3909/PapersPlease
42mkdir ${HOME}/.local/share/aspyr-media
43mkdir ${HOME}/.local/share/cdprojektred
44mkdir ${HOME}/.local/share/feral-interactive
45mkdir ${HOME}/.local/share/Paradox Interactive
46mkdir ${HOME}/.local/share/Steam
47mkdir ${HOME}/.local/share/SuperHexagon
48mkdir ${HOME}/.local/share/Terraria
49mkdir ${HOME}/.local/share/vpltd
50mkdir ${HOME}/.local/share/vulkan
51mkdir ${HOME}/.mbwarband
52mkdir ${HOME}/.paradoxinteractive
53mkdir ${HOME}/.steam
54mkfile ${HOME}/.steampath
55mkfile ${HOME}/.steampid
56whitelist ${HOME}/.config/unity3d
57whitelist ${HOME}/.killingfloor
58whitelist ${HOME}/.local/share/3909/PapersPlease
59whitelist ${HOME}/.local/share/aspyr-media
60whitelist ${HOME}/.local/share/cdprojektred
61whitelist ${HOME}/.local/share/feral-interactive
62whitelist ${HOME}/.local/share/Paradox Interactive
63whitelist ${HOME}/.local/share/Steam
64whitelist ${HOME}/.local/share/SuperHexagon
65whitelist ${HOME}/.local/share/Terraria
66whitelist ${HOME}/.local/share/vpltd
67whitelist ${HOME}/.local/share/vulkan
68whitelist ${HOME}/.mbwarband
69whitelist ${HOME}/.paradoxinteractive
70whitelist ${HOME}/.steam
71whitelist ${HOME}/.steampath
72whitelist ${HOME}/.steampid
73whitelist ${HOME}/.steampid
74include whitelist-common.inc
75include whitelist-var-common.inc
76
77caps.drop all
78#ipc-namespace
79netfilter
80nodvd
81# nVidia user may need to comment / ignore nogroups and noroot
82nogroups
83nonewprivs
84noroot
85notv
86nou2f
87# novideo should be commented for VR
88novideo
89protocol unix,inet,inet6,netlink
90# seccomp cause sometimes issues (see #2951, #3267),
91# comment it or add 'ignore seccomp' to steam.local if so.
92seccomp !kcmp,!ptrace
93shell none
94# tracelog disabled as it breaks integrated browser
95#tracelog
96
97# private-bin is disabled while in testing, but has been tested working with multiple games
98#private-bin awk,basename,bash,bsdtar,bzip2,cat,chmod,cksum,cmp,comm,compress,cp,curl,cut,date,dbus-launch,dbus-send,desktop-file-edit,desktop-file-install,desktop-file-validate,dirname,echo,env,expr,file,find,getopt,grep,gtar,gzip,head,hostname,id,lbzip2,ldconfig,ldd,ln,ls,lsb_release,lsof,lspci,lz4,lzip,lzma,lzop,md5sum,mkdir,mktemp,mv,netstat,ps,pulseaudio,python*,readlink,realpath,rm,sed,sh,sha1sum,sha256sum,sha512sum,sleep,sort,steam,steamdeps,steam-native,steam-runtime,sum,tail,tar,tclsh,test,touch,tr,umask,uname,update-desktop-database,wc,wget,which,whoami,xterm,xz,zenity
99# extra programs are available which might be needed for select games
100#private-bin java,java-config,mono
101# picture viewers are needed for viewing screenshots
102#private-bin eog,eom,gthumb,pix,viewnior,xviewer
103
104# private-dev should be commented for controllers
105private-dev
106# private-etc breaks a small selection of games on some systems, comment to support those
107private-etc alternatives,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,lsb-release,machine-id,mime.types,nvidia,os-release,passwd,pki,pulse,resolv.conf,services,ssl
108private-tmp
109
110# breaks appindicator support
111# dbus-user none
112# dbus-system none