diff options
author | Tad <tad@spotco.us> | 2017-08-07 01:22:08 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2017-08-07 01:22:08 -0400 |
commit | 9e3ba319be6b9546d7e8f450ca419ee2f3f4040b (patch) | |
tree | 0aebe82de78a61877c267f4dcb2ebcc13a2e37c9 /etc/gjs.profile | |
parent | various profile fixes (#1433) (diff) | |
download | firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.gz firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.zst firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.zip |
Unify all profiles
Diffstat (limited to 'etc/gjs.profile')
-rw-r--r-- | etc/gjs.profile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/etc/gjs.profile b/etc/gjs.profile index f1def3f16..443dccfea 100644 --- a/etc/gjs.profile +++ b/etc/gjs.profile | |||
@@ -1,35 +1,34 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for gjs |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/gjs.local | 4 | include /etc/firejail/gjs.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # gjs (gnome javascript bindings) profile | 8 | noblacklist ~/.cache/libgweather |
9 | 9 | noblacklist ~/.cache/org.gnome.Books | |
10 | # when gjs apps are started via gnome-shell, firejail is not applied because systemd will start them | ||
11 | |||
12 | noblacklist ~/.config/libreoffice | 10 | noblacklist ~/.config/libreoffice |
13 | noblacklist ~/.local/share/gnome-photos | 11 | noblacklist ~/.local/share/gnome-photos |
14 | noblacklist ~/.cache/org.gnome.Books | ||
15 | noblacklist ~/.cache/libgweather | ||
16 | 12 | ||
17 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
18 | include /etc/firejail/disable-programs.inc | ||
19 | include /etc/firejail/disable-devel.inc | 14 | include /etc/firejail/disable-devel.inc |
20 | include /etc/firejail/disable-passwdmgr.inc | 15 | include /etc/firejail/disable-passwdmgr.inc |
16 | include /etc/firejail/disable-programs.inc | ||
21 | 17 | ||
22 | caps.drop all | 18 | caps.drop all |
19 | netfilter | ||
23 | nogroups | 20 | nogroups |
24 | nonewprivs | 21 | nonewprivs |
25 | noroot | 22 | noroot |
26 | protocol unix,inet,inet6 | 23 | protocol unix,inet,inet6 |
27 | seccomp | 24 | seccomp |
28 | netfilter | ||
29 | shell none | 25 | shell none |
30 | tracelog | 26 | tracelog |
31 | 27 | ||
32 | # private-bin gjs,gnome-books,gnome-documents,gnome-photos,gnome-maps,gnome-weather | 28 | # private-bin gjs,gnome-books,gnome-documents,gnome-photos,gnome-maps,gnome-weather |
33 | private-tmp | ||
34 | private-dev | 29 | private-dev |
35 | # private-etc fonts | 30 | # private-etc fonts |
31 | private-tmp | ||
32 | |||
33 | # CLOBBERED COMMENTS | ||
34 | # when gjs apps are started via gnome-shell, firejail is not applied because systemd will start them | ||