summaryrefslogtreecommitdiffstats
path: root/etc/nethack.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nethack.profile')
-rw-r--r--etc/nethack.profile47
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/nethack.profile b/etc/nethack.profile
new file mode 100644
index 000000000..8f63a133a
--- /dev/null
+++ b/etc/nethack.profile
@@ -0,0 +1,47 @@
1# Firejail profile for nethack
2# Description: A rogue-like single player dungeon exploration game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nethack.local
6# Persistent global definitions
7include globals.local
8
9
10noblacklist /var/games/nethack
11
12include disable-common.inc
13include disable-devel.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17
18whitelist /var/games/nethack
19include whitelist-common.inc
20include whitelist-var-common.inc
21
22caps.drop all
23ipc-namespace
24net none
25no3d
26nodbus
27nodvd
28nogroups
29#nonewprivs
30#noroot
31nosound
32notv
33novideo
34#protocol unix,netlink
35#seccomp
36shell none
37
38disable-mnt
39#private
40private-cache
41private-dev
42private-tmp
43writable-var
44
45#memory-deny-write-execute
46noexec ${HOME}
47noexec /tmp