summaryrefslogtreecommitdiff
path: root/profiles/freeciv-qt.profile
diff options
context:
space:
mode:
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