From 82df70eff06e7b44ee84283070d7f801f7fc1d92 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sat, 6 Nov 2021 20:25:45 -0400 Subject: initial commit --- .config/firejail/steam.profile | 95 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 .config/firejail/steam.profile (limited to '.config/firejail') diff --git a/.config/firejail/steam.profile b/.config/firejail/steam.profile new file mode 100644 index 0000000..b29c801 --- /dev/null +++ b/.config/firejail/steam.profile @@ -0,0 +1,95 @@ +# Firejail profile for steam +# Description: Valve's Steam digital software delivery system +# This file is overwritten after every install/update +# Persistent local customizations +include steam.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.local/share/aspyr-media +noblacklist ${HOME}/.local/share/feral-interactive +noblacklist ${HOME}/.local/share/Paradox Interactive +noblacklist ${HOME}/.local/share/Steam +noblacklist ${HOME}/.local/share/vulkan +noblacklist ${HOME}/.paradoxinteractive +noblacklist ${HOME}/.paradoxlauncher +noblacklist ${HOME}/.steam +noblacklist ${HOME}/.steampath +noblacklist ${HOME}/.steampid +# needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work +noblacklist /sbin +noblacklist /usr/sbin + +# Allow java (blacklisted by disable-devel.inc) +include allow-java.inc + +# Allow python (blacklisted by disable-interpreters.inc) +include allow-python2.inc +include allow-python3.inc + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc + +mkdir ${HOME}/.local/share/aspyr-media +mkdir ${HOME}/.local/share/feral-interactive +mkdir ${HOME}/.local/share/Paradox Interactive +mkdir ${HOME}/.local/share/Steam +mkdir ${HOME}/.local/share/vulkan +mkdir ${HOME}/.paradoxinteractive +mkdir ${HOME}/.paradoxlauncher +mkdir ${HOME}/.steam +mkfile ${HOME}/.steampath +mkfile ${HOME}/.steampid +whitelist ${HOME}/.local/share/aspyr-media +whitelist ${HOME}/.local/share/feral-interactive +whitelist ${HOME}/.local/share/Paradox Interactive +whitelist ${HOME}/.local/share/Steam +whitelist ${HOME}/.local/share/vulkan +whitelist ${HOME}/.paradoxinteractive +whitelist ${HOME}/.paradoxlauncher +whitelist ${HOME}/.steam +whitelist ${HOME}/.steampath +whitelist ${HOME}/.steampid +include whitelist-common.inc +include whitelist-var-common.inc + +caps.drop all +#ipc-namespace +netfilter +nodvd +# nVidia users may need to comment / ignore nogroups and noroot +nogroups +nonewprivs +noroot +notv +nou2f +# novideo should be commented for VR +novideo +net none +#protocol unix,inet,inet6,netlink +# seccomp sometimes causes issues (see #2951, #3267), +# comment it or add 'ignore seccomp' to steam.local if so. +# seccomp +shell none +# tracelog breaks integrated browser +#tracelog + +# private-bin is disabled while in testing, but has been tested working with multiple games +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 +# extra programs are available which might be needed for select games +#private-bin java,java-config,mono +# picture viewers are needed for viewing screenshots +#private-bin eog,eom,gthumb,pix,viewnior,xviewer + +# comment the following line if you need controller support +private-dev +# private-etc breaks a small selection of games on some systems, comment to support those +private-etc alsa,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 +private-tmp + +# breaks appindicator support +dbus-user none +dbus-system none -- cgit v1.2.3