| 1 |
# Firejail profile for android-studio |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include android-studio.local |
| 5 |
# Persistent global definitions |
| 6 |
include globals.local |
| 7 |
|
| 8 |
noblacklist ${HOME}/.config/Google |
| 9 |
noblacklist ${HOME}/.AndroidStudio* |
| 10 |
noblacklist ${HOME}/.android |
| 11 |
noblacklist ${HOME}/.jack-server |
| 12 |
noblacklist ${HOME}/.jack-settings |
| 13 |
noblacklist ${HOME}/.local/share/JetBrains |
| 14 |
noblacklist ${HOME}/.tooling |
| 15 |
|
| 16 |
# Allows files commonly used by IDEs |
| 17 |
include allow-common-devel.inc |
| 18 |
|
| 19 |
# Allow ssh (blacklisted by disable-common.inc) |
| 20 |
include allow-ssh.inc |
| 21 |
|
| 22 |
include disable-common.inc |
| 23 |
include disable-programs.inc |
| 24 |
|
| 25 |
include whitelist-var-common.inc |
| 26 |
|
| 27 |
caps.drop all |
| 28 |
netfilter |
| 29 |
nodvd |
| 30 |
nogroups |
| 31 |
nonewprivs |
| 32 |
noroot |
| 33 |
notv |
| 34 |
novideo |
| 35 |
protocol unix,inet,inet6 |
| 36 |
seccomp |
| 37 |
|
| 38 |
private-cache |
| 39 |
#private-tmp |
| 40 |
|
| 41 |
# noexec /tmp breaks 'Android Profiler' |
| 42 |
#noexec /tmp |
| 43 |
restrict-namespaces |