| 1 |
# Firejail profile for blender |
| 2 |
# Description: Very fast and versatile 3D modeller/renderer |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include blender.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/blender |
| 10 |
|
| 11 |
# Allow python (blacklisted by disable-interpreters.inc) |
| 12 |
include allow-python2.inc |
| 13 |
include allow-python3.inc |
| 14 |
|
| 15 |
include disable-common.inc |
| 16 |
include disable-devel.inc |
| 17 |
include disable-exec.inc |
| 18 |
include disable-interpreters.inc |
| 19 |
include disable-programs.inc |
| 20 |
|
| 21 |
# Allow usage of AMD GPU by OpenCL |
| 22 |
noblacklist /sys/module |
| 23 |
whitelist /sys/module/amdgpu |
| 24 |
read-only /sys/module/amdgpu |
| 25 |
|
| 26 |
caps.drop all |
| 27 |
netfilter |
| 28 |
nodvd |
| 29 |
nogroups |
| 30 |
noinput |
| 31 |
nonewprivs |
| 32 |
noroot |
| 33 |
notv |
| 34 |
nou2f |
| 35 |
protocol unix,inet,inet6,netlink |
| 36 |
# numpy, used by many add-ons, requires the mbind syscall |
| 37 |
seccomp !mbind |
| 38 |
|
| 39 |
private-dev |
| 40 |
|
| 41 |
restrict-namespaces |