| 1 |
# Firejail profile for librecad |
| 2 |
# Persistent local customizations |
| 3 |
include librecad.local |
| 4 |
# Persistent global definitions |
| 5 |
include globals.local |
| 6 |
|
| 7 |
noblacklist ${HOME}/.config/LibreCAD |
| 8 |
noblacklist ${HOME}/.local/share/LibreCAD |
| 9 |
|
| 10 |
include disable-common.inc |
| 11 |
include disable-devel.inc |
| 12 |
include disable-exec.inc |
| 13 |
include disable-interpreters.inc |
| 14 |
include disable-programs.inc |
| 15 |
include disable-shell.inc |
| 16 |
include disable-xdg.inc |
| 17 |
|
| 18 |
whitelist /usr/share/librecad |
| 19 |
include whitelist-usr-share-common.inc |
| 20 |
include whitelist-var-common.inc |
| 21 |
|
| 22 |
apparmor |
| 23 |
caps.drop all |
| 24 |
ipc-namespace |
| 25 |
netfilter |
| 26 |
nodvd |
| 27 |
#nogroups |
| 28 |
#noinput |
| 29 |
nonewprivs |
| 30 |
noroot |
| 31 |
notv |
| 32 |
#nou2f |
| 33 |
novideo |
| 34 |
protocol unix,inet,inet6 |
| 35 |
netfilter |
| 36 |
seccomp |
| 37 |
#tracelog |
| 38 |
|
| 39 |
#disable-mnt |
| 40 |
private-bin librecad |
| 41 |
private-dev |
| 42 |
#private-etc alternatives,cups,drirc,fonts,passwd,xdg |
| 43 |
#private-lib |
| 44 |
private-tmp |
| 45 |
|
| 46 |
dbus-user none |
| 47 |
dbus-system none |
| 48 |
|
| 49 |
memory-deny-write-execute |
| 50 |
restrict-namespaces |