diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-11-06 20:25:45 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-11-06 20:25:45 -0400 |
commit | 82df70eff06e7b44ee84283070d7f801f7fc1d92 (patch) | |
tree | d17ea9cc6e012b16ff0cdeffcf4a97b5e5cd2d11 /.config/firejail |
initial commit
Diffstat (limited to '.config/firejail')
-rw-r--r-- | .config/firejail/steam.profile | 95 |
1 files changed, 95 insertions, 0 deletions
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 @@ | |||
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 | ||
5 | include steam.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.local/share/aspyr-media | ||
10 | noblacklist ${HOME}/.local/share/feral-interactive | ||
11 | noblacklist ${HOME}/.local/share/Paradox Interactive | ||
12 | noblacklist ${HOME}/.local/share/Steam | ||
13 | noblacklist ${HOME}/.local/share/vulkan | ||
14 | noblacklist ${HOME}/.paradoxinteractive | ||
15 | noblacklist ${HOME}/.paradoxlauncher | ||
16 | noblacklist ${HOME}/.steam | ||
17 | noblacklist ${HOME}/.steampath | ||
18 | noblacklist ${HOME}/.steampid | ||
19 | # needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work | ||
20 | noblacklist /sbin | ||
21 | noblacklist /usr/sbin | ||
22 | |||
23 | # Allow java (blacklisted by disable-devel.inc) | ||
24 | include allow-java.inc | ||
25 | |||
26 | # Allow python (blacklisted by disable-interpreters.inc) | ||
27 | include allow-python2.inc | ||
28 | include allow-python3.inc | ||
29 | |||
30 | include disable-common.inc | ||
31 | include disable-devel.inc | ||
32 | include disable-interpreters.inc | ||
33 | include disable-passwdmgr.inc | ||
34 | include disable-programs.inc | ||
35 | |||
36 | mkdir ${HOME}/.local/share/aspyr-media | ||
37 | mkdir ${HOME}/.local/share/feral-interactive | ||
38 | mkdir ${HOME}/.local/share/Paradox Interactive | ||
39 | mkdir ${HOME}/.local/share/Steam | ||
40 | mkdir ${HOME}/.local/share/vulkan | ||
41 | mkdir ${HOME}/.paradoxinteractive | ||
42 | mkdir ${HOME}/.paradoxlauncher | ||
43 | mkdir ${HOME}/.steam | ||
44 | mkfile ${HOME}/.steampath | ||
45 | mkfile ${HOME}/.steampid | ||
46 | whitelist ${HOME}/.local/share/aspyr-media | ||
47 | whitelist ${HOME}/.local/share/feral-interactive | ||
48 | whitelist ${HOME}/.local/share/Paradox Interactive | ||
49 | whitelist ${HOME}/.local/share/Steam | ||
50 | whitelist ${HOME}/.local/share/vulkan | ||
51 | whitelist ${HOME}/.paradoxinteractive | ||
52 | whitelist ${HOME}/.paradoxlauncher | ||
53 | whitelist ${HOME}/.steam | ||
54 | whitelist ${HOME}/.steampath | ||
55 | whitelist ${HOME}/.steampid | ||
56 | include whitelist-common.inc | ||
57 | include whitelist-var-common.inc | ||
58 | |||
59 | caps.drop all | ||
60 | #ipc-namespace | ||
61 | netfilter | ||
62 | nodvd | ||
63 | # nVidia users may need to comment / ignore nogroups and noroot | ||
64 | nogroups | ||
65 | nonewprivs | ||
66 | noroot | ||
67 | notv | ||
68 | nou2f | ||
69 | # novideo should be commented for VR | ||
70 | novideo | ||
71 | net none | ||
72 | #protocol unix,inet,inet6,netlink | ||
73 | # seccomp sometimes causes issues (see #2951, #3267), | ||
74 | # comment it or add 'ignore seccomp' to steam.local if so. | ||
75 | # seccomp | ||
76 | shell none | ||
77 | # tracelog breaks integrated browser | ||
78 | #tracelog | ||
79 | |||
80 | # private-bin is disabled while in testing, but has been tested working with multiple games | ||
81 | 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 | ||
82 | # extra programs are available which might be needed for select games | ||
83 | #private-bin java,java-config,mono | ||
84 | # picture viewers are needed for viewing screenshots | ||
85 | #private-bin eog,eom,gthumb,pix,viewnior,xviewer | ||
86 | |||
87 | # comment the following line if you need controller support | ||
88 | private-dev | ||
89 | # private-etc breaks a small selection of games on some systems, comment to support those | ||
90 | 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 | ||
91 | private-tmp | ||
92 | |||
93 | # breaks appindicator support | ||
94 | dbus-user none | ||
95 | dbus-system none | ||