| 1 |
# Firejail profile for gzdoom-common |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include gzdoom-common.local |
| 5 |
# Persistent global definitions |
| 6 |
# added by caller profile |
| 7 |
#include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.local/share/games/doom |
| 10 |
|
| 11 |
# Allow /bin/sh (blacklisted by disable-shell.inc) |
| 12 |
include allow-bin-sh.inc |
| 13 |
|
| 14 |
blacklist /usr/libexec |
| 15 |
|
| 16 |
include disable-common.inc |
| 17 |
include disable-devel.inc |
| 18 |
include disable-exec.inc |
| 19 |
include disable-interpreters.inc |
| 20 |
include disable-proc.inc |
| 21 |
include disable-programs.inc |
| 22 |
include disable-shell.inc |
| 23 |
include disable-xdg.inc |
| 24 |
|
| 25 |
mkdir ${HOME}/.local/share/games/doom |
| 26 |
whitelist ${HOME}/.local/share/games/doom |
| 27 |
whitelist /usr/share/doom |
| 28 |
whitelist /usr/share/games/doom |
| 29 |
whitelist /usr/share/soundfonts |
| 30 |
include whitelist-usr-share-common.inc |
| 31 |
|
| 32 |
apparmor |
| 33 |
caps.drop all |
| 34 |
ipc-namespace |
| 35 |
machine-id |
| 36 |
netfilter |
| 37 |
nodvd |
| 38 |
nogroups |
| 39 |
nonewprivs |
| 40 |
noprinters |
| 41 |
noroot |
| 42 |
notv |
| 43 |
nou2f |
| 44 |
novideo |
| 45 |
protocol unix,inet,inet6 |
| 46 |
seccomp |
| 47 |
seccomp.block-secondary |
| 48 |
tracelog |
| 49 |
|
| 50 |
disable-mnt |
| 51 |
private-bin bash,dash,gdb,sh,uname,which,xmessage |
| 52 |
private-cache |
| 53 |
private-dev |
| 54 |
private-etc @games,@x11 |
| 55 |
private-tmp |
| 56 |
|
| 57 |
dbus-user none |
| 58 |
dbus-system none |
| 59 |
|
| 60 |
restrict-namespaces |