|
| 1 | +# Firejail profile for tremc |
| 2 | +# Description: Curses interface for transmission bittorrent client |
| 3 | +# This file is overwritten after every install/update |
| 4 | +quiet |
| 5 | +# Persistent local customizations |
| 6 | +include tremc.local |
| 7 | +# Persistent global definitions |
| 8 | +include globals.local |
| 9 | + |
| 10 | +# Allow python (blacklisted by disable-interpreters.inc) |
| 11 | +include allow-python2.inc |
| 12 | +include allow-python3.inc |
| 13 | + |
| 14 | +blacklist ${RUNUSER} |
| 15 | +blacklist /usr/libexec |
| 16 | + |
| 17 | +include disable-common.inc |
| 18 | +include disable-devel.inc |
| 19 | +include disable-exec.inc |
| 20 | +include disable-interpreters.inc |
| 21 | +include disable-proc.inc |
| 22 | +include disable-programs.inc |
| 23 | +include disable-shell.inc |
| 24 | +#include disable-write-mnt.inc |
| 25 | +include disable-X11.inc |
| 26 | +include disable-xdg.inc |
| 27 | + |
| 28 | +# I want to add torrent files from various places in ${HOME} |
| 29 | +#include whitelist-common.inc |
| 30 | +include whitelist-run-common.inc |
| 31 | +# blacklist ${RUNUSER} makes this ineffective |
| 32 | +#include whitelist-runuser-common.inc |
| 33 | +include whitelist-usr-share-common.inc |
| 34 | +include whitelist-var-common.inc |
| 35 | + |
| 36 | +apparmor |
| 37 | +caps.drop all |
| 38 | +ipc-namespace |
| 39 | +machine-id |
| 40 | +netfilter |
| 41 | +no3d |
| 42 | +nodvd |
| 43 | +nogroups |
| 44 | +noinput |
| 45 | +nonewprivs |
| 46 | +noprinters |
| 47 | +noroot |
| 48 | +nosound |
| 49 | +notpm |
| 50 | +notv |
| 51 | +nou2f |
| 52 | +novideo |
| 53 | +protocol inet,inet6 |
| 54 | +seccomp |
| 55 | +seccomp.block-secondary |
| 56 | + |
| 57 | +disable-mnt |
| 58 | +# /usr/bin/env is used in gentoo linux python scripts. |
| 59 | +private-bin env,python*,tremc |
| 60 | +private-cache |
| 61 | +private-dev |
| 62 | +private-tmp |
| 63 | + |
| 64 | +dbus-user none |
| 65 | +dbus-system none |
| 66 | + |
| 67 | +deterministic-shutdown |
| 68 | +memory-deny-write-execute |
0 commit comments