diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/android-studio.profile | 37 | ||||
-rw-r--r-- | etc/idea.sh.profile | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/etc/android-studio.profile b/etc/android-studio.profile new file mode 100644 index 000000000..68a3cdc85 --- /dev/null +++ b/etc/android-studio.profile | |||
@@ -0,0 +1,37 @@ | |||
1 | # Persistent global definitions go here | ||
2 | include /etc/firejail/globals.local | ||
3 | |||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/android-studio.local | ||
7 | |||
8 | # Firejail profile for Android Studio | ||
9 | |||
10 | noblacklist ${HOME}/.AndroidStudio* | ||
11 | noblacklist ${HOME}/.android | ||
12 | noblacklist ${HOME}/.gitconfig | ||
13 | noblacklist ${HOME}/.gradle | ||
14 | noblacklist ${HOME}/.java | ||
15 | noblacklist ${HOME}/.local/share/JetBrains | ||
16 | noblacklist ${HOME}/.ssh | ||
17 | noblacklist ${HOME}/.tooling | ||
18 | |||
19 | include /etc/firejail/disable-common.inc | ||
20 | include /etc/firejail/disable-passwdmgr.inc | ||
21 | include /etc/firejail/disable-programs.inc | ||
22 | |||
23 | caps.drop all | ||
24 | netfilter | ||
25 | nogroups | ||
26 | nonewprivs | ||
27 | noroot | ||
28 | #nosound | ||
29 | novideo | ||
30 | protocol unix,inet,inet6 | ||
31 | seccomp | ||
32 | shell none | ||
33 | |||
34 | private-dev | ||
35 | #private-tmp | ||
36 | |||
37 | noexec /tmp | ||
diff --git a/etc/idea.sh.profile b/etc/idea.sh.profile new file mode 100644 index 000000000..771131262 --- /dev/null +++ b/etc/idea.sh.profile | |||
@@ -0,0 +1,37 @@ | |||
1 | # Persistent global definitions go here | ||
2 | include /etc/firejail/globals.local | ||
3 | |||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/idea.sh.local | ||
7 | |||
8 | # Firejail profile for IntelliJ IDEA Community Edition | ||
9 | |||
10 | noblacklist ${HOME}/.android | ||
11 | noblacklist ${HOME}/.gitconfig | ||
12 | noblacklist ${HOME}/.gradle | ||
13 | noblacklist ${HOME}/.IdeaIC* | ||
14 | noblacklist ${HOME}/.java | ||
15 | noblacklist ${HOME}/.local/share/JetBrains | ||
16 | noblacklist ${HOME}/.ssh | ||
17 | noblacklist ${HOME}/.tooling | ||
18 | |||
19 | include /etc/firejail/disable-common.inc | ||
20 | include /etc/firejail/disable-passwdmgr.inc | ||
21 | include /etc/firejail/disable-programs.inc | ||
22 | |||
23 | caps.drop all | ||
24 | netfilter | ||
25 | nogroups | ||
26 | nonewprivs | ||
27 | noroot | ||
28 | #nosound | ||
29 | novideo | ||
30 | protocol unix,inet,inet6 | ||
31 | seccomp | ||
32 | shell none | ||
33 | |||
34 | private-dev | ||
35 | #private-tmp | ||
36 | |||
37 | noexec /tmp | ||