aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/xonotic.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/xonotic.profile')
-rw-r--r--etc/profile-m-z/xonotic.profile53
1 files changed, 53 insertions, 0 deletions
diff --git a/etc/profile-m-z/xonotic.profile b/etc/profile-m-z/xonotic.profile
new file mode 100644
index 000000000..aa8cc7d0e
--- /dev/null
+++ b/etc/profile-m-z/xonotic.profile
@@ -0,0 +1,53 @@
1# Firejail profile for xonotic
2# Description: A free, fast-paced crossplatform first-person shooter
3# This file is overwritten after every install/update
4# Persistent local customizations
5include xonotic.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.xonotic
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.xonotic
20whitelist ${HOME}/.xonotic
21whitelist /usr/share/xonotic
22include whitelist-common.inc
23include whitelist-runuser-common.inc
24include whitelist-usr-share-common.inc
25include whitelist-var-common.inc
26
27apparmor
28caps.drop all
29netfilter
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,inet,inet6
38seccomp
39shell none
40tracelog
41
42disable-mnt
43private-cache
44private-bin basename,bash,blind-id,cut,darkplaces-glx,darkplaces-sdl,dirname,glxinfo,grep,head,ldd,netstat,ps,readlink,sed,sh,uname,xonotic,xonotic-glx,xonotic-linux32-dedicated,xonotic-linux32-glx,xonotic-linux32-sdl,xonotic-linux64-dedicated,xonotic-linux64-glx,xonotic-linux64-sdl,xonotic-sdl,xonotic-sdl-wrapper,zenity
45private-dev
46private-etc alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,machine-id,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl
47private-tmp
48
49dbus-user none
50dbus-system none
51
52read-only ${HOME}
53read-write ${HOME}/.xonotic