|
| 1 | +# Firejail profile for lbreakouthd |
| 2 | +# Persistent local customizations |
| 3 | +include lbreakouthd.local |
| 4 | +# Persistent global definitions |
| 5 | +include globals.local |
| 6 | + |
| 7 | +# Note: this profile requires the current user to be a member of games group |
| 8 | + |
| 9 | +noblacklist ${HOME}/.lbreakouthd |
| 10 | + |
| 11 | +include disable-common.inc |
| 12 | +include disable-devel.inc |
| 13 | +include disable-exec.inc |
| 14 | +include disable-interpreters.inc |
| 15 | +include disable-programs.inc |
| 16 | +include disable-shell.inc |
| 17 | +include disable-xdg.inc |
| 18 | + |
| 19 | +mkdir ${HOME}/.lbreakouthd |
| 20 | +whitelist ${HOME}/.lbreakouthd |
| 21 | +include whitelist-common.inc |
| 22 | + |
| 23 | +whitelist /run/udev/control |
| 24 | +whitelist /run/host/container-manager |
| 25 | +include whitelist-run-common.inc |
| 26 | +whitelist ${RUNUSER}/pulse |
| 27 | +include whitelist-runuser-common.inc |
| 28 | +whitelist /usr/share/games/lbreakouthd |
| 29 | +include whitelist-usr-share-common.inc |
| 30 | +writable-var # game scores stored under /var/games |
| 31 | +include whitelist-var-common.inc |
| 32 | + |
| 33 | +apparmor |
| 34 | +caps.drop all |
| 35 | +ipc-namespace |
| 36 | +net none |
| 37 | +netfilter |
| 38 | +nodvd |
| 39 | +noinput |
| 40 | +nonewprivs |
| 41 | +noroot |
| 42 | +notv |
| 43 | +nou2f |
| 44 | +novideo |
| 45 | +protocol unix |
| 46 | +seccomp |
| 47 | +tracelog |
| 48 | + |
| 49 | +disable-mnt |
| 50 | +private-bin lbreakouthd |
| 51 | +private-dev |
| 52 | +private-etc @x11,@sound,@games |
| 53 | +private-tmp |
| 54 | + |
| 55 | +dbus-user none |
| 56 | +dbus-system none |
| 57 | + |
| 58 | +memory-deny-write-execute |
| 59 | +restrict-namespaces |
0 commit comments