summaryrefslogtreecommitdiff
path: root/profiles/freeciv-qt.profile
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-14 23:55:30 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-14 23:55:30 -0700
commit176dae16c44794f30cb347dfd84fe84bcc5c9708 (patch)
tree3c3b092e9446c01e5613c7596e5fa89277cb1385 /profiles/freeciv-qt.profile
downloadfirejail-profiles-176dae16c44794f30cb347dfd84fe84bcc5c9708.tar.xz
Initial commit
Diffstat (limited to 'profiles/freeciv-qt.profile')
-rw-r--r--profiles/freeciv-qt.profile35
1 files changed, 35 insertions, 0 deletions
diff --git a/profiles/freeciv-qt.profile b/profiles/freeciv-qt.profile
new file mode 100644
index 0000000..e1d7a5a
--- /dev/null
+++ b/profiles/freeciv-qt.profile
@@ -0,0 +1,35 @@
+# Firejail profile for freeciv-qt
+# Description: A multi-player strategy game, with Qt GUI
+# This file is overwritten after every install/update
+# Persistent local customizations
+include freeciv-qt.local
+# Persistent global definitions
+include globals.local
+
+# No longer required? Test this.
+noblacklist ${PATH}/lua*
+noblacklist /usr/lib/lua
+noblacklist /usr/include/lua*
+noblacklist /usr/share/lua
+
+noblacklist ${HOME}/.freeciv
+
+include disable-common.inc
+include disable-devel.inc
+include disable-exec.inc
+include disable-interpreters.inc
+include disable-passwdmgr.inc
+include disable-programs.inc
+include disable-xdg.inc
+
+# # alsa audio will work with ipc-namespace,
+# # but it hogs the alsa device from other applications
+ignore ipc-namespace
+
+private-bin freeciv-qt,freeciv-mp-qt,freeciv-server,freeciv-manual,freeciv-ruleedit
+private-etc asound.conf,freeciv,group,localtime,machine-id,pulse,resolv.conf
+
+# Breaks freeciv-qt
+ignore memory-deny-write-execute
+
+include freeciv.profile