aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/xonotic.profile
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-07-09 10:49:17 +0000
committerLibravatar GitHub <noreply@github.com>2020-07-09 10:49:17 +0000
commitdeb6c12454191b7aeff3d259612a00427d1aa6a1 (patch)
treebdf4351c170112ded7b076298b2b4bddd7664f2b /etc/profile-m-z/xonotic.profile
parentUpdate disable-common.inc (#3499) (diff)
downloadfirejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.tar.gz
firejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.tar.zst
firejail-deb6c12454191b7aeff3d259612a00427d1aa6a1.zip
hardening some profiles (#3505)
* hardening some profiles - harden and fix flameshot - wruc: frogatto, ghostwriter - harden gnome-latex - add whitelist opt-in note to keepassxc - add comment to minetest - harden openarena, tremulous, xonotic - add profile for xonotic-sdl-wrapper * followup
Diffstat (limited to 'etc/profile-m-z/xonotic.profile')
-rw-r--r--etc/profile-m-z/xonotic.profile12
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/profile-m-z/xonotic.profile b/etc/profile-m-z/xonotic.profile
index 949988c3b..aa8cc7d0e 100644
--- a/etc/profile-m-z/xonotic.profile
+++ b/etc/profile-m-z/xonotic.profile
@@ -14,12 +14,17 @@ include disable-exec.inc
14include disable-interpreters.inc 14include disable-interpreters.inc
15include disable-passwdmgr.inc 15include disable-passwdmgr.inc
16include disable-programs.inc 16include disable-programs.inc
17include disable-xdg.inc
17 18
18mkdir ${HOME}/.xonotic 19mkdir ${HOME}/.xonotic
19whitelist ${HOME}/.xonotic 20whitelist ${HOME}/.xonotic
21whitelist /usr/share/xonotic
20include whitelist-common.inc 22include whitelist-common.inc
23include whitelist-runuser-common.inc
24include whitelist-usr-share-common.inc
21include whitelist-var-common.inc 25include whitelist-var-common.inc
22 26
27apparmor
23caps.drop all 28caps.drop all
24netfilter 29netfilter
25nodvd 30nodvd
@@ -32,12 +37,17 @@ novideo
32protocol unix,inet,inet6 37protocol unix,inet,inet6
33seccomp 38seccomp
34shell none 39shell none
40tracelog
35 41
36disable-mnt 42disable-mnt
37private-bin bash,blind-id,darkplaces-glx,darkplaces-sdl,dirname,grep,ldd,netstat,ps,readlink,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 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
38private-dev 45private-dev
39private-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 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
40private-tmp 47private-tmp
41 48
42dbus-user none 49dbus-user none
43dbus-system none 50dbus-system none
51
52read-only ${HOME}
53read-write ${HOME}/.xonotic