aboutsummaryrefslogtreecommitdiffstats
path: root/etc/nethack.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2019-02-26 15:34:21 -0500
committerLibravatar Tad <tad@spotco.us>2019-02-26 15:34:21 -0500
commitb5e42ddf6e4a6b1717609bf19a7e5f70f8f30ca3 (patch)
tree4f28c4ad5998166851f9bc94c374f0cd7333f3f9 /etc/nethack.profile
parentsmall profile fixups (diff)
downloadfirejail-b5e42ddf6e4a6b1717609bf19a7e5f70f8f30ca3.tar.gz
firejail-b5e42ddf6e4a6b1717609bf19a7e5f70f8f30ca3.tar.zst
firejail-b5e42ddf6e4a6b1717609bf19a7e5f70f8f30ca3.zip
Add a profile for nethack
don't know how to play the game so it isn't fully tested therefore not enabled by firecfg but it has been sitting around uncommited for over a year now
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